Version Description
02/05/2021 ==
- Tweak: Bump minimum supported version of PHP to 7.0. #6046
- Fix: allow for more terms to be shown for product attributes in the Analytics orders report. #5868
- Tweak: update the content and timing of the NeedSomeInspiration note. #6076
- Fix: Add support for a floating-point number as a SummaryNumber's delta. #5926
- Add: new inbox message - Getting started in Ecommerce - watch this webinar. #6086
- Add: Remote inbox notifications contains comparison and fix product rule. #6073
- Update: store deprecation welcome modal support doc link #6094
- Enhancement: Allowing users to create products by selecting a template. #5892
- Dev: Add wait script for mysql to be ready for phpunit tests in docker. #6185
- Update: Homescreen layout, moving Inbox panel for better interaction. #6122
- Dev: Remove old debug code for connecting to Calypso / Wordpress.com. #6097
- Add: Task list payments - include Mollie as an option. #6257
- Tweak: Refactored extended task list. #6081
- Fix: Fixed the Add First Product email note checks. #6260
- Fix: Onboarding - Fixed "Business Details" error. #6271
- Enhancement: Use the new Paypal payments plugin for onboarding. #6261
- Fix: Show management links when only main task list is hidden. #6291
=
Download this release
Release Info
Developer | becdetat |
Plugin | WooCommerce Admin |
Version | 2.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.9.0 to 2.0.0
- dist/app/index.js +755 -739
- dist/app/index.min.js +1 -1
- dist/app/style.css +1 -1
- dist/app/style.rtl.css +1 -1
- dist/chunks/0.js +16 -16
- dist/chunks/0.min.js +1 -1
- dist/chunks/1.js +1 -1
- dist/chunks/1.min.js +1 -1
- dist/chunks/2.js +2 -2
- dist/chunks/2.min.js +1 -1
- dist/chunks/3.js +33 -33
- dist/chunks/3.min.js +1 -1
- dist/chunks/32.style.css +1 -1
- dist/chunks/32.style.rtl.css +1 -1
- dist/chunks/4.js +15 -19
- dist/chunks/4.min.js +1 -1
- dist/chunks/4.style.css +1 -1
- dist/chunks/4.style.rtl.css +1 -1
- dist/chunks/49.style.css +1 -0
- dist/chunks/49.style.rtl.css +1 -0
- dist/chunks/5.js +14 -14
- dist/chunks/5.min.js +1 -1
- dist/chunks/52.js +17 -17
- dist/chunks/52.min.js +1 -1
- dist/chunks/53.js +12 -12
- dist/chunks/53.min.js +1 -1
- dist/chunks/6.js +404 -164
dist/app/index.js
CHANGED
@@ -95,7 +95,7 @@ this["wc"] = this["wc"] || {}; this["wc"]["app"] =
|
|
95 |
/******/
|
96 |
/******/
|
97 |
/******/ // mini-css-extract-plugin CSS loading
|
98 |
-
/******/ var cssChunks = {"0":1,"3":1,"4":1,"7":1,"9":1,"14":1,"20":1,"28":1,"29":1,"32":1,"34":1,"36":1,"46":1,"47":1,"48":1};
|
99 |
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
|
100 |
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
|
101 |
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
|
@@ -259,7 +259,7 @@ this["wc"] = this["wc"] || {}; this["wc"]["app"] =
|
|
259 |
/******/
|
260 |
/******/
|
261 |
/******/ // Load entry module and return exports
|
262 |
-
/******/ return __webpack_require__(__webpack_require__.s =
|
263 |
/******/ })
|
264 |
/************************************************************************/
|
265 |
/******/ ({
|
@@ -284,7 +284,7 @@ this["wc"] = this["wc"] || {}; this["wc"]["app"] =
|
|
284 |
if (false) { var throwOnDirectAccess, ReactIs; } else {
|
285 |
// By explicitly using `prop-types` you are opting into new production behavior.
|
286 |
// http://fb.me/prop-types-in-prod
|
287 |
-
module.exports = __webpack_require__(
|
288 |
}
|
289 |
|
290 |
|
@@ -297,162 +297,6 @@ if (false) { var throwOnDirectAccess, ReactIs; } else {
|
|
297 |
|
298 |
/***/ }),
|
299 |
|
300 |
-
/***/ 105:
|
301 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
302 |
-
|
303 |
-
"use strict";
|
304 |
-
/* unused harmony export getFullUrl */
|
305 |
-
/* unused harmony export getMatchScore */
|
306 |
-
/* unused harmony export getDefaultMatchExpression */
|
307 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addHistoryListener; });
|
308 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getMatchingItem; });
|
309 |
-
/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21);
|
310 |
-
/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);
|
311 |
-
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(25);
|
312 |
-
|
313 |
-
|
314 |
-
/**
|
315 |
-
* External dependencies
|
316 |
-
*/
|
317 |
-
|
318 |
-
/**
|
319 |
-
* Get the full URL if a relative path is passed.
|
320 |
-
*
|
321 |
-
* @param {string} url URL
|
322 |
-
* @return {string} Full URL
|
323 |
-
*/
|
324 |
-
|
325 |
-
var getFullUrl = function getFullUrl(url) {
|
326 |
-
var _window$location = window.location,
|
327 |
-
origin = _window$location.origin,
|
328 |
-
pathname = _window$location.pathname,
|
329 |
-
search = _window$location.search;
|
330 |
-
|
331 |
-
if (url.indexOf('#') === 0) {
|
332 |
-
return origin + pathname + search + url;
|
333 |
-
}
|
334 |
-
|
335 |
-
if (url.indexOf('http') === 0) {
|
336 |
-
return url;
|
337 |
-
}
|
338 |
-
|
339 |
-
return origin + url;
|
340 |
-
};
|
341 |
-
/**
|
342 |
-
* Get a match score for a menu item given a location.
|
343 |
-
*
|
344 |
-
* @param {Object} location Window location
|
345 |
-
* @param {string} itemUrl URL to compare
|
346 |
-
* @param {string} itemExpression Custom match expression
|
347 |
-
* @return {number} Number of matches or 0 if not matched.
|
348 |
-
*/
|
349 |
-
|
350 |
-
var getMatchScore = function getMatchScore(location, itemUrl) {
|
351 |
-
var itemExpression = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
352 |
-
|
353 |
-
if (!itemUrl) {
|
354 |
-
return;
|
355 |
-
}
|
356 |
-
|
357 |
-
var fullUrl = getFullUrl(itemUrl);
|
358 |
-
var href = location.href; // Return highest possible score for exact match.
|
359 |
-
|
360 |
-
if (fullUrl === href) {
|
361 |
-
return Number.MAX_SAFE_INTEGER;
|
362 |
-
}
|
363 |
-
|
364 |
-
var defaultExpression = getDefaultMatchExpression(fullUrl);
|
365 |
-
var regexp = new RegExp(itemExpression || defaultExpression, 'i');
|
366 |
-
return (decodeURIComponent(href).match(regexp) || []).length;
|
367 |
-
};
|
368 |
-
/**
|
369 |
-
* Get a default expression to match the path and provided params.
|
370 |
-
*
|
371 |
-
* @param {string} url URL to match.
|
372 |
-
* @return {string} Regex expression.
|
373 |
-
*/
|
374 |
-
|
375 |
-
var getDefaultMatchExpression = function getDefaultMatchExpression(url) {
|
376 |
-
var escapedUrl = url.replace(/[-\/\\^$*+?.()|[\]{}]/gi, '\\$&');
|
377 |
-
|
378 |
-
var _escapedUrl$split = escapedUrl.split(/\\\?|#/),
|
379 |
-
_escapedUrl$split2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_escapedUrl$split, 3),
|
380 |
-
path = _escapedUrl$split2[0],
|
381 |
-
args = _escapedUrl$split2[1],
|
382 |
-
hash = _escapedUrl$split2[2];
|
383 |
-
|
384 |
-
var hashExpression = hash ? "(.*#".concat(hash, "$)") : '';
|
385 |
-
var argsExpression = args ? args.split('&').reduce(function (acc, param) {
|
386 |
-
return "".concat(acc, "(?=.*[?|&]").concat(param, "(&|$|#))");
|
387 |
-
}, '') : '';
|
388 |
-
return '^' + path + argsExpression + hashExpression;
|
389 |
-
};
|
390 |
-
/**
|
391 |
-
* Adds a listener that runs on history change.
|
392 |
-
*
|
393 |
-
* @param {Function} listener Listener to add on history change.
|
394 |
-
* @return {Function} Function to remove listeners.
|
395 |
-
*/
|
396 |
-
|
397 |
-
var addHistoryListener = function addHistoryListener(listener) {
|
398 |
-
// Monkey patch pushState to allow trigger the pushstate event listener.
|
399 |
-
if (!window.wcNavigation.historyPatched) {
|
400 |
-
(function (history) {
|
401 |
-
/* global CustomEvent */
|
402 |
-
var pushState = history.pushState;
|
403 |
-
var replaceState = history.replaceState;
|
404 |
-
|
405 |
-
history.pushState = function (state) {
|
406 |
-
var pushStateEvent = new CustomEvent('pushstate', {
|
407 |
-
state: state
|
408 |
-
});
|
409 |
-
window.dispatchEvent(pushStateEvent);
|
410 |
-
return pushState.apply(history, arguments);
|
411 |
-
};
|
412 |
-
|
413 |
-
history.replaceState = function (state) {
|
414 |
-
var replaceStateEvent = new CustomEvent('replacestate', {
|
415 |
-
state: state
|
416 |
-
});
|
417 |
-
window.dispatchEvent(replaceStateEvent);
|
418 |
-
return replaceState.apply(history, arguments);
|
419 |
-
};
|
420 |
-
|
421 |
-
window.wcNavigation.historyPatched = true;
|
422 |
-
})(window.history);
|
423 |
-
}
|
424 |
-
|
425 |
-
window.addEventListener('popstate', listener);
|
426 |
-
window.addEventListener('pushstate', listener);
|
427 |
-
window.addEventListener('replacestate', listener);
|
428 |
-
return function () {
|
429 |
-
window.removeEventListener('popstate', listener);
|
430 |
-
window.removeEventListener('pushstate', listener);
|
431 |
-
window.removeEventListener('replacestate', listener);
|
432 |
-
};
|
433 |
-
};
|
434 |
-
/**
|
435 |
-
* Get the closest matching item.
|
436 |
-
*
|
437 |
-
* @param {Array} items An array of items to match against.
|
438 |
-
*/
|
439 |
-
|
440 |
-
var getMatchingItem = function getMatchingItem(items) {
|
441 |
-
var matchedItem = null;
|
442 |
-
var highestMatchScore = 0;
|
443 |
-
items.forEach(function (item) {
|
444 |
-
var score = getMatchScore(window.location, Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_1__[/* getAdminLink */ "f"])(item.url), item.matchExpression);
|
445 |
-
|
446 |
-
if (score > 0 && score >= highestMatchScore) {
|
447 |
-
highestMatchScore = score;
|
448 |
-
matchedItem = item;
|
449 |
-
}
|
450 |
-
});
|
451 |
-
return matchedItem || null;
|
452 |
-
};
|
453 |
-
|
454 |
-
/***/ }),
|
455 |
-
|
456 |
/***/ 11:
|
457 |
/***/ (function(module, exports) {
|
458 |
|
@@ -496,7 +340,7 @@ module.exports = _createClass;
|
|
496 |
|
497 |
/***/ }),
|
498 |
|
499 |
-
/***/
|
500 |
/***/ (function(module, exports, __webpack_require__) {
|
501 |
|
502 |
"use strict";
|
@@ -505,7 +349,7 @@ var _extends=Object.assign||function(a){for(var c,b=1;b<arguments.length;b++)for
|
|
505 |
|
506 |
/***/ }),
|
507 |
|
508 |
-
/***/
|
509 |
/***/ (function(module, exports) {
|
510 |
|
511 |
// shim for using process in browser
|
@@ -696,14 +540,14 @@ process.umask = function() { return 0; };
|
|
696 |
|
697 |
/***/ }),
|
698 |
|
699 |
-
/***/
|
700 |
/***/ (function(module, exports, __webpack_require__) {
|
701 |
|
702 |
"use strict";
|
703 |
|
704 |
|
705 |
if (true) {
|
706 |
-
module.exports = __webpack_require__(
|
707 |
} else {}
|
708 |
|
709 |
|
@@ -712,7 +556,7 @@ if (true) {
|
|
712 |
/***/ 13:
|
713 |
/***/ (function(module, exports, __webpack_require__) {
|
714 |
|
715 |
-
var setPrototypeOf = __webpack_require__(
|
716 |
|
717 |
function _inherits(subClass, superClass) {
|
718 |
if (typeof superClass !== "function" && superClass !== null) {
|
@@ -733,7 +577,7 @@ module.exports = _inherits;
|
|
733 |
|
734 |
/***/ }),
|
735 |
|
736 |
-
/***/
|
737 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
738 |
|
739 |
"use strict";
|
@@ -762,34 +606,34 @@ var REPORTS_FILTER = 'woocommerce_admin_reports_list';
|
|
762 |
*/
|
763 |
|
764 |
var RevenueReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
765 |
-
return Promise.all(/* import() | analytics-report-revenue */[__webpack_require__.e(0), __webpack_require__.e(16)]).then(__webpack_require__.bind(null,
|
766 |
});
|
767 |
var ProductsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
768 |
-
return Promise.all(/* import() | analytics-report-products */[__webpack_require__.e(0), __webpack_require__.e(3), __webpack_require__.e(15)]).then(__webpack_require__.bind(null,
|
769 |
});
|
770 |
var VariationsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
771 |
-
return Promise.all(/* import() | analytics-report-variations */[__webpack_require__.e(0), __webpack_require__.e(19)]).then(__webpack_require__.bind(null,
|
772 |
});
|
773 |
var OrdersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
774 |
-
return Promise.all(/* import() | analytics-report-orders */[__webpack_require__.e(0), __webpack_require__.e(5), __webpack_require__.e(14)]).then(__webpack_require__.bind(null,
|
775 |
});
|
776 |
var CategoriesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
777 |
-
return Promise.all(/* import() | analytics-report-categories */[__webpack_require__.e(0), __webpack_require__.e(3), __webpack_require__.e(10)]).then(__webpack_require__.bind(null,
|
778 |
});
|
779 |
var CouponsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
780 |
-
return Promise.all(/* import() | analytics-report-coupons */[__webpack_require__.e(0), __webpack_require__.e(11)]).then(__webpack_require__.bind(null,
|
781 |
});
|
782 |
var TaxesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
783 |
-
return Promise.all(/* import() | analytics-report-taxes */[__webpack_require__.e(0), __webpack_require__.e(18)]).then(__webpack_require__.bind(null,
|
784 |
});
|
785 |
var DownloadsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
786 |
-
return Promise.all(/* import() | analytics-report-downloads */[__webpack_require__.e(0), __webpack_require__.e(13)]).then(__webpack_require__.bind(null,
|
787 |
});
|
788 |
var StockReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
789 |
-
return Promise.all(/* import() | analytics-report-stock */[__webpack_require__.e(0), __webpack_require__.e(17)]).then(__webpack_require__.bind(null,
|
790 |
});
|
791 |
var CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
792 |
-
return Promise.all(/* import() | analytics-report-customers */[__webpack_require__.e(0), __webpack_require__.e(12)]).then(__webpack_require__.bind(null,
|
793 |
});
|
794 |
/* harmony default export */ __webpack_exports__["a"] = (function () {
|
795 |
var reports = [{
|
@@ -865,13 +709,13 @@ var CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["la
|
|
865 |
|
866 |
/***/ }),
|
867 |
|
868 |
-
/***/
|
869 |
/***/ (function(module, exports, __webpack_require__) {
|
870 |
|
871 |
"use strict";
|
872 |
|
873 |
|
874 |
-
var reactIs = __webpack_require__(
|
875 |
|
876 |
/**
|
877 |
* Copyright 2015, Yahoo! Inc.
|
@@ -976,31 +820,12 @@ module.exports = hoistNonReactStatics;
|
|
976 |
|
977 |
/***/ }),
|
978 |
|
979 |
-
/***/
|
980 |
-
/***/ (function(module, exports, __webpack_require__) {
|
981 |
-
|
982 |
-
var _typeof = __webpack_require__(30);
|
983 |
-
|
984 |
-
var assertThisInitialized = __webpack_require__(8);
|
985 |
-
|
986 |
-
function _possibleConstructorReturn(self, call) {
|
987 |
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
988 |
-
return call;
|
989 |
-
}
|
990 |
-
|
991 |
-
return assertThisInitialized(self);
|
992 |
-
}
|
993 |
-
|
994 |
-
module.exports = _possibleConstructorReturn;
|
995 |
-
|
996 |
-
/***/ }),
|
997 |
-
|
998 |
-
/***/ 140:
|
999 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1000 |
|
1001 |
"use strict";
|
1002 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useIsScrolled; });
|
1003 |
-
/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1004 |
/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);
|
1005 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
|
1006 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
|
@@ -1037,14 +862,33 @@ function useIsScrolled() {
|
|
1037 |
|
1038 |
/***/ }),
|
1039 |
|
1040 |
-
/***/
|
1041 |
/***/ (function(module, exports) {
|
1042 |
|
1043 |
(function() { module.exports = this["wp"]["plugins"]; }());
|
1044 |
|
1045 |
/***/ }),
|
1046 |
|
1047 |
-
/***/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1048 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1049 |
|
1050 |
"use strict";
|
@@ -1256,7 +1100,7 @@ function speak(message, ariaLive) {
|
|
1256 |
|
1257 |
/***/ }),
|
1258 |
|
1259 |
-
/***/
|
1260 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1261 |
|
1262 |
"use strict";
|
@@ -1335,13 +1179,13 @@ var path_to_regexp = __webpack_require__(182);
|
|
1335 |
var path_to_regexp_default = /*#__PURE__*/__webpack_require__.n(path_to_regexp);
|
1336 |
|
1337 |
// EXTERNAL MODULE: ./node_modules/react-is/index.js
|
1338 |
-
var react_is = __webpack_require__(
|
1339 |
|
1340 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
1341 |
var objectWithoutPropertiesLoose = __webpack_require__(41);
|
1342 |
|
1343 |
// EXTERNAL MODULE: ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
|
1344 |
-
var hoist_non_react_statics_cjs = __webpack_require__(
|
1345 |
var hoist_non_react_statics_cjs_default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics_cjs);
|
1346 |
|
1347 |
// CONCATENATED MODULE: ./node_modules/react-router/esm/react-router.js
|
@@ -2014,19 +1858,19 @@ var lib = __webpack_require__(50);
|
|
2014 |
var external_this_wc_components_ = __webpack_require__(47);
|
2015 |
|
2016 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
2017 |
-
var external_this_wc_navigation_ = __webpack_require__(
|
2018 |
|
2019 |
// EXTERNAL MODULE: ./client/settings/index.js
|
2020 |
var settings = __webpack_require__(25);
|
2021 |
|
2022 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
2023 |
-
var external_this_wc_data_ = __webpack_require__(
|
2024 |
|
2025 |
// EXTERNAL MODULE: external {"this":["wc","tracks"]}
|
2026 |
var external_this_wc_tracks_ = __webpack_require__(28);
|
2027 |
|
2028 |
// EXTERNAL MODULE: ./client/layout/style.scss
|
2029 |
-
var layout_style = __webpack_require__(
|
2030 |
|
2031 |
// EXTERNAL MODULE: external {"this":["wp","hooks"]}
|
2032 |
var external_this_wp_hooks_ = __webpack_require__(42);
|
@@ -2035,10 +1879,10 @@ var external_this_wp_hooks_ = __webpack_require__(42);
|
|
2035 |
var external_this_wp_i18n_ = __webpack_require__(2);
|
2036 |
|
2037 |
// EXTERNAL MODULE: ./client/analytics/report/get-reports.js
|
2038 |
-
var get_reports = __webpack_require__(
|
2039 |
|
2040 |
// EXTERNAL MODULE: ./client/dashboard/utils.js
|
2041 |
-
var utils = __webpack_require__(
|
2042 |
|
2043 |
// CONCATENATED MODULE: ./client/layout/controller.js
|
2044 |
|
@@ -2069,22 +1913,22 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
2069 |
|
2070 |
|
2071 |
var AnalyticsReport = Object(external_this_wp_element_["lazy"])(function () {
|
2072 |
-
return __webpack_require__.e(/* import() | analytics-report */ 9).then(__webpack_require__.bind(null,
|
2073 |
});
|
2074 |
var AnalyticsSettings = Object(external_this_wp_element_["lazy"])(function () {
|
2075 |
-
return __webpack_require__.e(/* import() | analytics-settings */ 20).then(__webpack_require__.bind(null,
|
2076 |
});
|
2077 |
var Dashboard = Object(external_this_wp_element_["lazy"])(function () {
|
2078 |
-
return __webpack_require__.e(/* import() | dashboard */ 28).then(__webpack_require__.bind(null,
|
2079 |
});
|
2080 |
var Homescreen = Object(external_this_wp_element_["lazy"])(function () {
|
2081 |
-
return Promise.all(/* import() | homescreen */[__webpack_require__.e(1), __webpack_require__.e(2), __webpack_require__.e(52), __webpack_require__.e(4), __webpack_require__.e(32)]).then(__webpack_require__.bind(null,
|
2082 |
});
|
2083 |
var MarketingOverview = Object(external_this_wp_element_["lazy"])(function () {
|
2084 |
-
return Promise.all(/* import() | marketing-overview */[__webpack_require__.e(2), __webpack_require__.e(36)]).then(__webpack_require__.bind(null,
|
2085 |
});
|
2086 |
var ProfileWizard = Object(external_this_wp_element_["lazy"])(function () {
|
2087 |
-
return __webpack_require__.e(/* import() | profile-wizard */ 46).then(__webpack_require__.bind(null,
|
2088 |
});
|
2089 |
var PAGES_FILTER = 'woocommerce_admin_pages_list';
|
2090 |
var controller_getPages = function getPages() {
|
@@ -2306,21 +2150,21 @@ var external_this_wp_htmlEntities_ = __webpack_require__(40);
|
|
2306 |
var build_module = __webpack_require__(31);
|
2307 |
|
2308 |
// EXTERNAL MODULE: ./client/header/style.scss
|
2309 |
-
var header_style = __webpack_require__(
|
2310 |
|
2311 |
// EXTERNAL MODULE: ./node_modules/react-click-outside/dist/index.js
|
2312 |
-
var dist = __webpack_require__(
|
2313 |
var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
|
2314 |
|
2315 |
// EXTERNAL MODULE: external {"this":["wp","components"]}
|
2316 |
var external_this_wp_components_ = __webpack_require__(4);
|
2317 |
|
2318 |
// EXTERNAL MODULE: ./node_modules/gridicons/dist/cross-small.js
|
2319 |
-
var cross_small = __webpack_require__(
|
2320 |
var cross_small_default = /*#__PURE__*/__webpack_require__.n(cross_small);
|
2321 |
|
2322 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
2323 |
-
var build_module_icon = __webpack_require__(
|
2324 |
|
2325 |
// EXTERNAL MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js
|
2326 |
var svg = __webpack_require__(196);
|
@@ -2341,7 +2185,7 @@ var help_help = Object(external_this_wp_element_["createElement"])(svg["b" /* SV
|
|
2341 |
/* harmony default export */ var library_help = (help_help);
|
2342 |
//# sourceMappingURL=help.js.map
|
2343 |
// EXTERNAL MODULE: ./client/header/activity-panel/style.scss
|
2344 |
-
var activity_panel_style = __webpack_require__(
|
2345 |
|
2346 |
// CONCATENATED MODULE: ./client/header/activity-panel/toggle-bubble.js
|
2347 |
|
@@ -2440,7 +2284,7 @@ function getLowStockCount() {
|
|
2440 |
return Object(settings["g" /* getSetting */])('lowStockCount', 0);
|
2441 |
}
|
2442 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
|
2443 |
-
var slicedToArray = __webpack_require__(
|
2444 |
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
2445 |
|
2446 |
// CONCATENATED MODULE: ./client/header/activity-panel/tab/index.js
|
@@ -2743,7 +2587,7 @@ var close_close = Object(external_this_wp_element_["createElement"])(svg["b" /*
|
|
2743 |
/* harmony default export */ var library_close = (close_close);
|
2744 |
//# sourceMappingURL=close.js.map
|
2745 |
// EXTERNAL MODULE: ./client/header/activity-panel/highlight-tooltip/style.scss
|
2746 |
-
var highlight_tooltip_style = __webpack_require__(
|
2747 |
|
2748 |
// CONCATENATED MODULE: ./client/header/activity-panel/highlight-tooltip/index.js
|
2749 |
|
@@ -2976,10 +2820,10 @@ function activity_panel_isNativeReflectConstruct() { if (typeof Reflect === "und
|
|
2976 |
|
2977 |
|
2978 |
var HelpPanel = Object(external_this_wp_element_["lazy"])(function () {
|
2979 |
-
return Promise.all(/* import() | activity-panels-help */[__webpack_require__.e(53), __webpack_require__.e(6), __webpack_require__.e(7)]).then(__webpack_require__.bind(null,
|
2980 |
});
|
2981 |
var InboxPanel = Object(external_this_wp_element_["lazy"])(function () {
|
2982 |
-
return Promise.all(/* import() | activity-panels-inbox */[__webpack_require__.e(1), __webpack_require__.e(2), __webpack_require__.e(4), __webpack_require__.e(8)]).then(__webpack_require__.bind(null,
|
2983 |
});
|
2984 |
var activity_panel_ActivityPanel = /*#__PURE__*/function (_Component) {
|
2985 |
inherits_default()(ActivityPanel, _Component);
|
@@ -3070,10 +2914,10 @@ var activity_panel_ActivityPanel = /*#__PURE__*/function (_Component) {
|
|
3070 |
value: function isPerformingSetupTask() {
|
3071 |
var _this$props = this.props,
|
3072 |
requestingTaskListOptions = _this$props.requestingTaskListOptions,
|
3073 |
-
|
3074 |
-
|
3075 |
query = _this$props.query;
|
3076 |
-
var isPerformingSetupTask = query.task && !query.path && (requestingTaskListOptions === true ||
|
3077 |
return isPerformingSetupTask;
|
3078 |
} // @todo Pull in dynamic unread status/count
|
3079 |
|
@@ -3083,14 +2927,14 @@ var activity_panel_ActivityPanel = /*#__PURE__*/function (_Component) {
|
|
3083 |
var _this$props2 = this.props,
|
3084 |
hasUnreadNotes = _this$props2.hasUnreadNotes,
|
3085 |
isEmbedded = _this$props2.isEmbedded,
|
3086 |
-
|
3087 |
-
|
3088 |
var isPerformingSetupTask = this.isPerformingSetupTask(); // Don't show the inbox on the Home screen.
|
3089 |
|
3090 |
var showInbox = (isEmbedded || !this.isHomescreen()) && !isPerformingSetupTask;
|
3091 |
var showHelp = this.isHomescreen() && !isEmbedded || isPerformingSetupTask;
|
3092 |
var showDisplayOptions = !isEmbedded && this.isHomescreen() && !isPerformingSetupTask;
|
3093 |
-
var showStoreSetup = !
|
3094 |
var inbox = showInbox ? {
|
3095 |
name: 'inbox',
|
3096 |
title: Object(external_this_wp_i18n_["__"])('Inbox', 'woocommerce-admin'),
|
@@ -3142,7 +2986,7 @@ var activity_panel_ActivityPanel = /*#__PURE__*/function (_Component) {
|
|
3142 |
|
3143 |
var _this$props3 = this.props,
|
3144 |
updateOptions = _this$props3.updateOptions,
|
3145 |
-
|
3146 |
var _this$state = this.state,
|
3147 |
isPanelOpen = _this$state.isPanelOpen,
|
3148 |
currentTab = _this$state.currentTab,
|
@@ -3172,7 +3016,7 @@ var activity_panel_ActivityPanel = /*#__PURE__*/function (_Component) {
|
|
3172 |
if (currentLocation !== homescreenLocation) {
|
3173 |
// Ensure that if the user is trying to get to the task list they can see it even if
|
3174 |
// it was dismissed.
|
3175 |
-
if (
|
3176 |
this.redirectToHomeScreen();
|
3177 |
} else {
|
3178 |
updateOptions({
|
@@ -3313,15 +3157,15 @@ activity_panel_ActivityPanel.defaultProps = {
|
|
3313 |
getOption = _select.getOption,
|
3314 |
isResolving = _select.isResolving;
|
3315 |
|
3316 |
-
var
|
3317 |
-
var
|
3318 |
var requestingTaskListOptions = isResolving('getOption', ['woocommerce_task_list_complete']) || isResolving('getOption', ['woocommerce_task_list_hidden']);
|
3319 |
var trackedCompletedTasks = getOption('woocommerce_task_list_tracked_completed_tasks') || [];
|
3320 |
return {
|
3321 |
hasUnreadNotes: hasUnreadNotes,
|
3322 |
requestingTaskListOptions: requestingTaskListOptions,
|
3323 |
-
|
3324 |
-
|
3325 |
trackedCompletedTasks: trackedCompletedTasks
|
3326 |
};
|
3327 |
}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
|
@@ -3370,7 +3214,7 @@ var app_icon_AppIcon = function AppIcon() {
|
|
3370 |
}));
|
3371 |
};
|
3372 |
// EXTERNAL MODULE: ./client/mobile-banner/style.scss
|
3373 |
-
var mobile_banner_style = __webpack_require__(
|
3374 |
|
3375 |
// CONCATENATED MODULE: ./client/mobile-banner/constants.js
|
3376 |
// The Play Store link is defined as an exported constant mainly for the sake of testing the Mobile App Banner.
|
@@ -3461,7 +3305,7 @@ var mobile_banner_MobileAppBanner = function MobileAppBanner(_ref) {
|
|
3461 |
return null;
|
3462 |
};
|
3463 |
// EXTERNAL MODULE: ./client/hooks/useIsScrolled.js
|
3464 |
-
var useIsScrolled = __webpack_require__(
|
3465 |
|
3466 |
// CONCATENATED MODULE: ./client/header/index.js
|
3467 |
|
@@ -3590,7 +3434,7 @@ var notices_Notices = /*#__PURE__*/function (_Component) {
|
|
3590 |
|
3591 |
/* harmony default export */ var layout_notices = (notices_Notices);
|
3592 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
3593 |
-
var regenerator = __webpack_require__(
|
3594 |
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
3595 |
|
3596 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
|
@@ -3601,7 +3445,7 @@ var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerat
|
|
3601 |
var web_cjs = __webpack_require__(180);
|
3602 |
|
3603 |
// EXTERNAL MODULE: ./client/layout/transient-notices/snackbar/index.js
|
3604 |
-
var snackbar = __webpack_require__(
|
3605 |
|
3606 |
// CONCATENATED MODULE: ./client/layout/transient-notices/snackbar/list.js
|
3607 |
|
@@ -3752,7 +3596,7 @@ function SnackbarList(_ref) {
|
|
3752 |
|
3753 |
/* harmony default export */ var list = (SnackbarList);
|
3754 |
// EXTERNAL MODULE: ./client/layout/transient-notices/style.scss
|
3755 |
-
var transient_notices_style = __webpack_require__(
|
3756 |
|
3757 |
// CONCATENATED MODULE: ./client/layout/transient-notices/index.js
|
3758 |
|
@@ -3841,10 +3685,10 @@ transient_notices_TransientNotices.propTypes = {
|
|
3841 |
};
|
3842 |
}))(transient_notices_TransientNotices));
|
3843 |
// EXTERNAL MODULE: external {"this":["wp","plugins"]}
|
3844 |
-
var external_this_wp_plugins_ = __webpack_require__(
|
3845 |
|
3846 |
// EXTERNAL MODULE: ./client/navigation/utils.js
|
3847 |
-
var navigation_utils = __webpack_require__(
|
3848 |
|
3849 |
// CONCATENATED MODULE: ./client/layout/navigation.js
|
3850 |
|
@@ -3987,10 +3831,10 @@ function layout_isNativeReflectConstruct() { if (typeof Reflect === "undefined"
|
|
3987 |
|
3988 |
|
3989 |
var StoreAlerts = Object(external_this_wp_element_["lazy"])(function () {
|
3990 |
-
return Promise.all(/* import() | store-alerts */[__webpack_require__.e(1), __webpack_require__.e(47)]).then(__webpack_require__.bind(null,
|
3991 |
});
|
3992 |
var WCPayUsageModal = Object(external_this_wp_element_["lazy"])(function () {
|
3993 |
-
return __webpack_require__.e(/* import() | wcpay-usage-modal */ 51).then(__webpack_require__.bind(null,
|
3994 |
});
|
3995 |
var layout_PrimaryLayout = /*#__PURE__*/function (_Component) {
|
3996 |
inherits_default()(PrimaryLayout, _Component);
|
@@ -4221,7 +4065,7 @@ var EmbedLayout = Object(external_this_wp_compose_["compose"])(window.wcSettings
|
|
4221 |
|
4222 |
/***/ }),
|
4223 |
|
4224 |
-
/***/
|
4225 |
/***/ (function(module, exports) {
|
4226 |
|
4227 |
(function() { module.exports = this["wc"]["number"]; }());
|
@@ -4235,7 +4079,7 @@ var EmbedLayout = Object(external_this_wp_compose_["compose"])(window.wcSettings
|
|
4235 |
|
4236 |
/***/ }),
|
4237 |
|
4238 |
-
/***/
|
4239 |
/***/ (function(module, exports, __webpack_require__) {
|
4240 |
|
4241 |
"use strict";
|
@@ -4290,11 +4134,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4290 |
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
4291 |
|
4292 |
var _extends = _interopDefault(__webpack_require__(24));
|
4293 |
-
var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(
|
4294 |
var React = __webpack_require__(10);
|
4295 |
var React__default = _interopDefault(React);
|
4296 |
-
var _inheritsLoose = _interopDefault(__webpack_require__(
|
4297 |
-
var _assertThisInitialized = _interopDefault(__webpack_require__(
|
4298 |
|
4299 |
var is = {
|
4300 |
arr: Array.isArray,
|
@@ -6794,14 +6638,14 @@ var index = react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext || create
|
|
6794 |
|
6795 |
/* harmony default export */ __webpack_exports__["a"] = (index);
|
6796 |
|
6797 |
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(
|
6798 |
|
6799 |
/***/ }),
|
6800 |
|
6801 |
/***/ 182:
|
6802 |
/***/ (function(module, exports, __webpack_require__) {
|
6803 |
|
6804 |
-
var isarray = __webpack_require__(
|
6805 |
|
6806 |
/**
|
6807 |
* Expose `pathToRegexp`.
|
@@ -7234,19 +7078,19 @@ function pathToRegexp (path, keys, options) {
|
|
7234 |
/***/ 19:
|
7235 |
/***/ (function(module, exports, __webpack_require__) {
|
7236 |
|
7237 |
-
var
|
7238 |
|
7239 |
-
var
|
7240 |
|
7241 |
var unsupportedIterableToArray = __webpack_require__(39);
|
7242 |
|
7243 |
-
var
|
7244 |
|
7245 |
-
function
|
7246 |
-
return
|
7247 |
}
|
7248 |
|
7249 |
-
module.exports =
|
7250 |
|
7251 |
/***/ }),
|
7252 |
|
@@ -7457,42 +7301,42 @@ var SVG = function SVG(_ref) {
|
|
7457 |
/***/ }),
|
7458 |
|
7459 |
/***/ 20:
|
7460 |
-
/***/ (function(module, exports) {
|
7461 |
-
|
7462 |
-
(function() { module.exports = this["wc"]["navigation"]; }());
|
7463 |
-
|
7464 |
-
/***/ }),
|
7465 |
-
|
7466 |
-
/***/ 21:
|
7467 |
/***/ (function(module, exports, __webpack_require__) {
|
7468 |
|
7469 |
-
var
|
7470 |
|
7471 |
-
var
|
7472 |
|
7473 |
var unsupportedIterableToArray = __webpack_require__(39);
|
7474 |
|
7475 |
-
var
|
7476 |
|
7477 |
-
function
|
7478 |
-
return
|
7479 |
}
|
7480 |
|
7481 |
-
module.exports =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7482 |
|
7483 |
/***/ }),
|
7484 |
|
7485 |
/***/ 22:
|
7486 |
/***/ (function(module, exports) {
|
7487 |
|
7488 |
-
(function() { module.exports = this["
|
7489 |
|
7490 |
/***/ }),
|
7491 |
|
7492 |
/***/ 23:
|
7493 |
/***/ (function(module, exports) {
|
7494 |
|
7495 |
-
(function() { module.exports = this["
|
7496 |
|
7497 |
/***/ }),
|
7498 |
|
@@ -7639,7 +7483,7 @@ function getAdminLink(path) {
|
|
7639 |
|
7640 |
/***/ }),
|
7641 |
|
7642 |
-
/***/
|
7643 |
/***/ (function(module, exports, __webpack_require__) {
|
7644 |
|
7645 |
"use strict";
|
@@ -7657,7 +7501,7 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
|
|
7657 |
|
7658 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
7659 |
|
7660 |
-
var hoistNonReactStatic = __webpack_require__(
|
7661 |
var React = __webpack_require__(10);
|
7662 |
var ReactDOM = __webpack_require__(48);
|
7663 |
|
@@ -7723,7 +7567,7 @@ module.exports = function enhanceWithClickOutside(WrappedComponent) {
|
|
7723 |
|
7724 |
/***/ }),
|
7725 |
|
7726 |
-
/***/
|
7727 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7728 |
|
7729 |
"use strict";
|
@@ -7733,10 +7577,10 @@ module.exports = function enhanceWithClickOutside(WrappedComponent) {
|
|
7733 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
7734 |
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
7735 |
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
|
7736 |
-
/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
7737 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
|
7738 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
|
7739 |
-
/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
7740 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4);
|
7741 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__);
|
7742 |
|
@@ -7871,18 +7715,11 @@ function Snackbar(_ref, ref) {
|
|
7871 |
}
|
7872 |
|
7873 |
/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["forwardRef"])(Snackbar));
|
7874 |
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(
|
7875 |
-
|
7876 |
-
/***/ }),
|
7877 |
-
|
7878 |
-
/***/ 28:
|
7879 |
-
/***/ (function(module, exports) {
|
7880 |
-
|
7881 |
-
(function() { module.exports = this["wc"]["tracks"]; }());
|
7882 |
|
7883 |
/***/ }),
|
7884 |
|
7885 |
-
/***/
|
7886 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7887 |
|
7888 |
"use strict";
|
@@ -7925,19 +7762,26 @@ function warning(message) {
|
|
7925 |
}
|
7926 |
}
|
7927 |
//# sourceMappingURL=index.js.map
|
7928 |
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(
|
7929 |
|
7930 |
/***/ }),
|
7931 |
|
7932 |
-
/***/
|
7933 |
/***/ (function(module, exports) {
|
7934 |
|
7935 |
(function() { module.exports = this["wc"]["customerEffortScore"]; }());
|
7936 |
|
7937 |
/***/ }),
|
7938 |
|
7939 |
-
/***/
|
7940 |
-
/***/ (function(module,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7941 |
|
7942 |
"use strict";
|
7943 |
|
@@ -7964,7 +7808,7 @@ __webpack_require__.r(selectors_namespaceObject);
|
|
7964 |
__webpack_require__.d(selectors_namespaceObject, "getCesSurveyQueue", function() { return selectors_getCesSurveyQueue; });
|
7965 |
|
7966 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js
|
7967 |
-
var toConsumableArray = __webpack_require__(
|
7968 |
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
|
7969 |
|
7970 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js
|
@@ -7972,7 +7816,7 @@ var defineProperty = __webpack_require__(5);
|
|
7972 |
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
|
7973 |
|
7974 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
|
7975 |
-
var slicedToArray = __webpack_require__(
|
7976 |
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
7977 |
|
7978 |
// EXTERNAL MODULE: external {"this":["wp","element"]}
|
@@ -7986,7 +7830,7 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
7986 |
var external_this_wc_tracks_ = __webpack_require__(28);
|
7987 |
|
7988 |
// EXTERNAL MODULE: external {"this":["wc","customerEffortScore"]}
|
7989 |
-
var external_this_wc_customerEffortScore_ = __webpack_require__(
|
7990 |
var external_this_wc_customerEffortScore_default = /*#__PURE__*/__webpack_require__.n(external_this_wc_customerEffortScore_);
|
7991 |
|
7992 |
// EXTERNAL MODULE: external {"this":["wp","compose"]}
|
@@ -7996,7 +7840,7 @@ var external_this_wp_compose_ = __webpack_require__(18);
|
|
7996 |
var external_this_wp_data_ = __webpack_require__(15);
|
7997 |
|
7998 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
7999 |
-
var external_this_wc_data_ = __webpack_require__(
|
8000 |
|
8001 |
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
8002 |
var external_this_wp_i18n_ = __webpack_require__(2);
|
@@ -8229,7 +8073,7 @@ function getStoreAgeInWeeks(adminInstallTimestamp) {
|
|
8229 |
};
|
8230 |
}))(CustomerEffortScoreTracks));
|
8231 |
// EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
|
8232 |
-
var constants = __webpack_require__(
|
8233 |
|
8234 |
// EXTERNAL MODULE: external {"this":["wp","dataControls"]}
|
8235 |
var external_this_wp_dataControls_ = __webpack_require__(17);
|
@@ -8293,7 +8137,7 @@ function addCesSurveyForAnalytics() {
|
|
8293 |
return addCesSurvey('analytics_filtered', Object(external_this_wp_i18n_["__"])('How easy was it to filter your store analytics?', 'woocommerce-admin'), 'woocommerce_page_wc-admin', 'woocommerce_page_wc-admin');
|
8294 |
}
|
8295 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
8296 |
-
var regenerator = __webpack_require__(
|
8297 |
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
8298 |
|
8299 |
// CONCATENATED MODULE: ./client/customer-effort-score-tracks/data/resolvers.js
|
@@ -8536,7 +8380,7 @@ CustomerEffortScoreTracksContainer.propTypes = {
|
|
8536 |
|
8537 |
/***/ }),
|
8538 |
|
8539 |
-
/***/
|
8540 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8541 |
|
8542 |
"use strict";
|
@@ -8545,19 +8389,19 @@ CustomerEffortScoreTracksContainer.propTypes = {
|
|
8545 |
var external_this_wp_element_ = __webpack_require__(0);
|
8546 |
|
8547 |
// EXTERNAL MODULE: external {"this":["wp","plugins"]}
|
8548 |
-
var external_this_wp_plugins_ = __webpack_require__(
|
8549 |
|
8550 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
8551 |
-
var external_this_wc_navigation_ = __webpack_require__(
|
8552 |
|
8553 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
8554 |
-
var external_this_wc_data_ = __webpack_require__(
|
8555 |
|
8556 |
// EXTERNAL MODULE: ./client/navigation/style.scss
|
8557 |
-
var style = __webpack_require__(
|
8558 |
|
8559 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
|
8560 |
-
var slicedToArray = __webpack_require__(
|
8561 |
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
8562 |
|
8563 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js
|
@@ -8580,7 +8424,7 @@ var external_this_wc_tracks_ = __webpack_require__(28);
|
|
8580 |
var external_this_wp_data_ = __webpack_require__(15);
|
8581 |
|
8582 |
// EXTERNAL MODULE: ./client/navigation/utils.js
|
8583 |
-
var utils = __webpack_require__(
|
8584 |
|
8585 |
// EXTERNAL MODULE: external {"this":["wp","components"]}
|
8586 |
var external_this_wp_components_ = __webpack_require__(4);
|
@@ -8589,7 +8433,7 @@ var external_this_wp_components_ = __webpack_require__(4);
|
|
8589 |
var external_this_wp_htmlEntities_ = __webpack_require__(40);
|
8590 |
|
8591 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
8592 |
-
var icon = __webpack_require__(
|
8593 |
|
8594 |
// EXTERNAL MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js
|
8595 |
var svg = __webpack_require__(196);
|
@@ -8612,9 +8456,6 @@ var wordpress = Object(external_this_wp_element_["createElement"])(svg["b" /* SV
|
|
8612 |
// EXTERNAL MODULE: ./client/settings/index.js
|
8613 |
var settings = __webpack_require__(25);
|
8614 |
|
8615 |
-
// EXTERNAL MODULE: external "React"
|
8616 |
-
var external_React_ = __webpack_require__(10);
|
8617 |
-
|
8618 |
// EXTERNAL MODULE: ./node_modules/classnames/index.js
|
8619 |
var classnames = __webpack_require__(7);
|
8620 |
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
@@ -8623,11 +8464,12 @@ var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
|
8623 |
var external_lodash_ = __webpack_require__(3);
|
8624 |
|
8625 |
// EXTERNAL MODULE: ./client/hooks/useIsScrolled.js
|
8626 |
-
var useIsScrolled = __webpack_require__(
|
8627 |
|
8628 |
// CONCATENATED MODULE: ./client/navigation/components/header/index.js
|
8629 |
|
8630 |
|
|
|
8631 |
/**
|
8632 |
* External dependencies
|
8633 |
*/
|
@@ -8646,10 +8488,17 @@ var useIsScrolled = __webpack_require__(140);
|
|
8646 |
|
8647 |
|
8648 |
|
|
|
8649 |
var header_Header = function Header() {
|
8650 |
var siteTitle = Object(settings["g" /* getSetting */])('siteTitle', '');
|
8651 |
var siteUrl = Object(settings["g" /* getSetting */])('siteUrl', '');
|
8652 |
var isScrolled = Object(useIsScrolled["a" /* default */])();
|
|
|
|
|
|
|
|
|
|
|
|
|
8653 |
var navClasses = {
|
8654 |
folded: 'is-wc-nav-folded',
|
8655 |
expanded: 'is-wc-nav-expanded'
|
@@ -8658,11 +8507,13 @@ var header_Header = function Header() {
|
|
8658 |
var foldNav = function foldNav() {
|
8659 |
document.body.classList.add(navClasses.folded);
|
8660 |
document.body.classList.remove(navClasses.expanded);
|
|
|
8661 |
};
|
8662 |
|
8663 |
var expandNav = function expandNav() {
|
8664 |
document.body.classList.remove(navClasses.folded);
|
8665 |
document.body.classList.add(navClasses.expanded);
|
|
|
8666 |
};
|
8667 |
|
8668 |
var toggleFolded = function toggleFolded() {
|
@@ -8683,7 +8534,7 @@ var header_Header = function Header() {
|
|
8683 |
}
|
8684 |
};
|
8685 |
|
8686 |
-
Object(
|
8687 |
foldOnMobile();
|
8688 |
var foldEvents = [{
|
8689 |
eventName: 'orientationchange',
|
@@ -8703,6 +8554,10 @@ var header_Header = function Header() {
|
|
8703 |
handler = _foldEvents$_i.handler;
|
8704 |
window.addEventListener(eventName, handler, false);
|
8705 |
}
|
|
|
|
|
|
|
|
|
8706 |
}, []);
|
8707 |
var buttonIcon = Object(external_this_wp_element_["createElement"])(icon["a" /* default */], {
|
8708 |
size: "36px",
|
@@ -8743,7 +8598,10 @@ var header_Header = function Header() {
|
|
8743 |
onClick: function onClick() {
|
8744 |
return toggleFolded();
|
8745 |
},
|
8746 |
-
className: "woocommerce-navigation-header__site-icon"
|
|
|
|
|
|
|
8747 |
}, buttonIcon), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
8748 |
href: siteUrl,
|
8749 |
className: "woocommerce-navigation-header__site-title",
|
@@ -9031,21 +8889,21 @@ var HydratedNavigation = Object(external_this_wc_data_["withNavigationHydration"
|
|
9031 |
|
9032 |
/***/ }),
|
9033 |
|
9034 |
-
/***/
|
9035 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9036 |
|
9037 |
"use strict";
|
9038 |
__webpack_require__.r(__webpack_exports__);
|
9039 |
/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
9040 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
9041 |
-
/* harmony import */ var _wordpress_notices__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
9042 |
-
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
9043 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_2__);
|
9044 |
-
/* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
9045 |
/* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3__);
|
9046 |
-
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
9047 |
-
/* harmony import */ var _customer_effort_score_tracks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
9048 |
-
/* harmony import */ var _navigation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
9049 |
|
9050 |
|
9051 |
/**
|
@@ -9119,7 +8977,21 @@ if (window.wcAdminFeatures && window.wcAdminFeatures['customer-effort-score-trac
|
|
9119 |
Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["render"])(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_customer_effort_score_tracks__WEBPACK_IMPORTED_MODULE_5__[/* CustomerEffortScoreTracksContainer */ "a"], null), root.insertBefore(document.createElement('div'), null));
|
9120 |
})();
|
9121 |
}
|
9122 |
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9123 |
|
9124 |
/***/ }),
|
9125 |
|
@@ -9163,20 +9035,6 @@ module.exports = _typeof;
|
|
9163 |
/***/ 301:
|
9164 |
/***/ (function(module, exports, __webpack_require__) {
|
9165 |
|
9166 |
-
// extracted by mini-css-extract-plugin
|
9167 |
-
|
9168 |
-
/***/ }),
|
9169 |
-
|
9170 |
-
/***/ 302:
|
9171 |
-
/***/ (function(module, exports, __webpack_require__) {
|
9172 |
-
|
9173 |
-
// extracted by mini-css-extract-plugin
|
9174 |
-
|
9175 |
-
/***/ }),
|
9176 |
-
|
9177 |
-
/***/ 303:
|
9178 |
-
/***/ (function(module, exports, __webpack_require__) {
|
9179 |
-
|
9180 |
"use strict";
|
9181 |
|
9182 |
|
@@ -9250,21 +9108,21 @@ module.exports = hoistNonReactStatics;
|
|
9250 |
|
9251 |
/***/ }),
|
9252 |
|
9253 |
-
/***/
|
9254 |
/***/ (function(module, exports, __webpack_require__) {
|
9255 |
|
9256 |
// extracted by mini-css-extract-plugin
|
9257 |
|
9258 |
/***/ }),
|
9259 |
|
9260 |
-
/***/
|
9261 |
/***/ (function(module, exports, __webpack_require__) {
|
9262 |
|
9263 |
// extracted by mini-css-extract-plugin
|
9264 |
|
9265 |
/***/ }),
|
9266 |
|
9267 |
-
/***/
|
9268 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9269 |
|
9270 |
"use strict";
|
@@ -9282,13 +9140,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
9282 |
/**
|
9283 |
* WordPress dependencies
|
9284 |
*/
|
9285 |
-
// Disable reason: JSDoc linter doesn't seem to parse the union (`&`) correctly.
|
9286 |
-
|
9287 |
-
/* eslint-disable jsdoc/valid-types */
|
9288 |
|
9289 |
-
/** @typedef {{icon: JSX.Element, size?: number} & import('
|
9290 |
-
|
9291 |
-
/* eslint-enable jsdoc/valid-types */
|
9292 |
|
9293 |
/**
|
9294 |
* Return an SVG icon.
|
@@ -9317,14 +9170,14 @@ function Icon(_ref) {
|
|
9317 |
|
9318 |
/***/ }),
|
9319 |
|
9320 |
-
/***/
|
9321 |
/***/ (function(module, exports, __webpack_require__) {
|
9322 |
|
9323 |
// extracted by mini-css-extract-plugin
|
9324 |
|
9325 |
/***/ }),
|
9326 |
|
9327 |
-
/***/
|
9328 |
/***/ (function(module, exports) {
|
9329 |
|
9330 |
function _inheritsLoose(subClass, superClass) {
|
@@ -9335,6 +9188,23 @@ function _inheritsLoose(subClass, superClass) {
|
|
9335 |
|
9336 |
module.exports = _inheritsLoose;
|
9337 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9338 |
/***/ }),
|
9339 |
|
9340 |
/***/ 309:
|
@@ -9375,23 +9245,6 @@ var useSlot = _wordpress_components__WEBPACK_IMPORTED_MODULE_0__["useSlot"] || _
|
|
9375 |
|
9376 |
/***/ }),
|
9377 |
|
9378 |
-
/***/ 310:
|
9379 |
-
/***/ (function(module, exports) {
|
9380 |
-
|
9381 |
-
module.exports = Array.isArray || function (arr) {
|
9382 |
-
return Object.prototype.toString.call(arr) == '[object Array]';
|
9383 |
-
};
|
9384 |
-
|
9385 |
-
|
9386 |
-
/***/ }),
|
9387 |
-
|
9388 |
-
/***/ 311:
|
9389 |
-
/***/ (function(module, exports, __webpack_require__) {
|
9390 |
-
|
9391 |
-
// extracted by mini-css-extract-plugin
|
9392 |
-
|
9393 |
-
/***/ }),
|
9394 |
-
|
9395 |
/***/ 32:
|
9396 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9397 |
|
@@ -9420,7 +9273,7 @@ function _extends() {
|
|
9420 |
/***/ 34:
|
9421 |
/***/ (function(module, exports, __webpack_require__) {
|
9422 |
|
9423 |
-
var objectWithoutPropertiesLoose = __webpack_require__(
|
9424 |
|
9425 |
function _objectWithoutProperties(source, excluded) {
|
9426 |
if (source == null) return {};
|
@@ -9608,7 +9461,7 @@ module.exports = _asyncToGenerator;
|
|
9608 |
|
9609 |
/***/ }),
|
9610 |
|
9611 |
-
/***/
|
9612 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9613 |
|
9614 |
"use strict";
|
@@ -9632,7 +9485,7 @@ __webpack_require__.d(selectors_namespaceObject, "getNotices", function() { retu
|
|
9632 |
var external_this_wp_data_ = __webpack_require__(15);
|
9633 |
|
9634 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
9635 |
-
var toConsumableArray = __webpack_require__(
|
9636 |
|
9637 |
// EXTERNAL MODULE: external "lodash"
|
9638 |
var external_lodash_ = __webpack_require__(3);
|
@@ -9726,7 +9579,7 @@ var notices = on_sub_key('context')(function () {
|
|
9726 |
/* harmony default export */ var store_reducer = (notices);
|
9727 |
//# sourceMappingURL=reducer.js.map
|
9728 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
9729 |
-
var regenerator = __webpack_require__(
|
9730 |
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
9731 |
|
9732 |
// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/constants.js
|
@@ -10000,7 +9853,7 @@ function getNotices(state) {
|
|
10000 |
}
|
10001 |
//# sourceMappingURL=selectors.js.map
|
10002 |
// EXTERNAL MODULE: ./node_modules/@wordpress/a11y/build-module/index.js + 4 modules
|
10003 |
-
var build_module = __webpack_require__(
|
10004 |
|
10005 |
// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/controls.js
|
10006 |
/**
|
@@ -10042,17 +9895,17 @@ var build_module = __webpack_require__(142);
|
|
10042 |
|
10043 |
/***/ }),
|
10044 |
|
10045 |
-
/***/
|
10046 |
/***/ (function(module, exports) {
|
10047 |
|
10048 |
-
(function() { module.exports = this["
|
10049 |
|
10050 |
/***/ }),
|
10051 |
|
10052 |
-
/***/
|
10053 |
/***/ (function(module, exports) {
|
10054 |
|
10055 |
-
(function() { module.exports = this["
|
10056 |
|
10057 |
/***/ }),
|
10058 |
|
@@ -10084,9 +9937,9 @@ module.exports = _defineProperty;
|
|
10084 |
"use strict";
|
10085 |
|
10086 |
|
10087 |
-
var stringify = __webpack_require__(
|
10088 |
-
var parse = __webpack_require__(
|
10089 |
-
var formats = __webpack_require__(
|
10090 |
|
10091 |
module.exports = {
|
10092 |
formats: formats,
|
@@ -10103,332 +9956,107 @@ module.exports = {
|
|
10103 |
"use strict";
|
10104 |
|
10105 |
|
10106 |
-
var
|
10107 |
-
var
|
10108 |
|
10109 |
-
var
|
10110 |
-
|
10111 |
-
|
10112 |
-
|
10113 |
-
}
|
10114 |
|
10115 |
-
|
10116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10117 |
|
10118 |
-
var compactQueue = function compactQueue(queue) {
|
10119 |
-
while (queue.length > 1) {
|
10120 |
-
var item = queue.pop();
|
10121 |
-
var obj = item.obj[item.prop];
|
10122 |
|
10123 |
-
|
10124 |
-
var compacted = [];
|
10125 |
|
10126 |
-
|
10127 |
-
|
10128 |
-
compacted.push(obj[j]);
|
10129 |
-
}
|
10130 |
-
}
|
10131 |
|
10132 |
-
|
10133 |
-
|
10134 |
-
|
10135 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10136 |
|
10137 |
-
|
10138 |
-
|
10139 |
-
|
10140 |
-
|
10141 |
-
|
10142 |
-
|
10143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10144 |
|
10145 |
-
return obj;
|
10146 |
-
};
|
10147 |
|
10148 |
-
|
10149 |
-
|
10150 |
-
|
10151 |
-
return target;
|
10152 |
-
}
|
10153 |
|
10154 |
-
|
10155 |
-
if (isArray(target)) {
|
10156 |
-
target.push(source);
|
10157 |
-
} else if (target && typeof target === 'object') {
|
10158 |
-
if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
|
10159 |
-
target[source] = true;
|
10160 |
-
}
|
10161 |
-
} else {
|
10162 |
-
return [target, source];
|
10163 |
-
}
|
10164 |
|
10165 |
-
|
10166 |
-
|
10167 |
|
10168 |
-
|
10169 |
-
|
10170 |
-
|
10171 |
|
10172 |
-
|
10173 |
-
|
10174 |
-
|
10175 |
-
|
10176 |
|
10177 |
-
|
10178 |
-
|
10179 |
-
|
10180 |
-
|
10181 |
-
|
10182 |
-
|
10183 |
-
|
10184 |
-
|
10185 |
-
}
|
10186 |
-
} else {
|
10187 |
-
target[i] = item;
|
10188 |
-
}
|
10189 |
-
});
|
10190 |
-
return target;
|
10191 |
}
|
|
|
10192 |
|
10193 |
-
|
10194 |
-
|
10195 |
|
10196 |
-
|
10197 |
-
acc[key] = merge(acc[key], value, options);
|
10198 |
-
} else {
|
10199 |
-
acc[key] = value;
|
10200 |
-
}
|
10201 |
-
return acc;
|
10202 |
-
}, mergeTarget);
|
10203 |
-
};
|
10204 |
-
|
10205 |
-
var assign = function assignSingleSource(target, source) {
|
10206 |
-
return Object.keys(source).reduce(function (acc, key) {
|
10207 |
-
acc[key] = source[key];
|
10208 |
-
return acc;
|
10209 |
-
}, target);
|
10210 |
-
};
|
10211 |
-
|
10212 |
-
var decode = function (str, decoder, charset) {
|
10213 |
-
var strWithoutPlus = str.replace(/\+/g, ' ');
|
10214 |
-
if (charset === 'iso-8859-1') {
|
10215 |
-
// unescape never throws, no try...catch needed:
|
10216 |
-
return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
|
10217 |
-
}
|
10218 |
-
// utf-8
|
10219 |
-
try {
|
10220 |
-
return decodeURIComponent(strWithoutPlus);
|
10221 |
-
} catch (e) {
|
10222 |
-
return strWithoutPlus;
|
10223 |
-
}
|
10224 |
-
};
|
10225 |
-
|
10226 |
-
var encode = function encode(str, defaultEncoder, charset) {
|
10227 |
-
// This code was originally written by Brian White (mscdex) for the io.js core querystring library.
|
10228 |
-
// It has been adapted here for stricter adherence to RFC 3986
|
10229 |
-
if (str.length === 0) {
|
10230 |
-
return str;
|
10231 |
-
}
|
10232 |
-
|
10233 |
-
var string = str;
|
10234 |
-
if (typeof str === 'symbol') {
|
10235 |
-
string = Symbol.prototype.toString.call(str);
|
10236 |
-
} else if (typeof str !== 'string') {
|
10237 |
-
string = String(str);
|
10238 |
-
}
|
10239 |
-
|
10240 |
-
if (charset === 'iso-8859-1') {
|
10241 |
-
return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
|
10242 |
-
return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
|
10243 |
-
});
|
10244 |
-
}
|
10245 |
-
|
10246 |
-
var out = '';
|
10247 |
-
for (var i = 0; i < string.length; ++i) {
|
10248 |
-
var c = string.charCodeAt(i);
|
10249 |
-
|
10250 |
-
if (
|
10251 |
-
c === 0x2D // -
|
10252 |
-
|| c === 0x2E // .
|
10253 |
-
|| c === 0x5F // _
|
10254 |
-
|| c === 0x7E // ~
|
10255 |
-
|| (c >= 0x30 && c <= 0x39) // 0-9
|
10256 |
-
|| (c >= 0x41 && c <= 0x5A) // a-z
|
10257 |
-
|| (c >= 0x61 && c <= 0x7A) // A-Z
|
10258 |
-
) {
|
10259 |
-
out += string.charAt(i);
|
10260 |
-
continue;
|
10261 |
-
}
|
10262 |
-
|
10263 |
-
if (c < 0x80) {
|
10264 |
-
out = out + hexTable[c];
|
10265 |
-
continue;
|
10266 |
-
}
|
10267 |
-
|
10268 |
-
if (c < 0x800) {
|
10269 |
-
out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
|
10270 |
-
continue;
|
10271 |
-
}
|
10272 |
-
|
10273 |
-
if (c < 0xD800 || c >= 0xE000) {
|
10274 |
-
out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
|
10275 |
-
continue;
|
10276 |
-
}
|
10277 |
-
|
10278 |
-
i += 1;
|
10279 |
-
c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
|
10280 |
-
out += hexTable[0xF0 | (c >> 18)]
|
10281 |
-
+ hexTable[0x80 | ((c >> 12) & 0x3F)]
|
10282 |
-
+ hexTable[0x80 | ((c >> 6) & 0x3F)]
|
10283 |
-
+ hexTable[0x80 | (c & 0x3F)];
|
10284 |
-
}
|
10285 |
-
|
10286 |
-
return out;
|
10287 |
-
};
|
10288 |
-
|
10289 |
-
var compact = function compact(value) {
|
10290 |
-
var queue = [{ obj: { o: value }, prop: 'o' }];
|
10291 |
-
var refs = [];
|
10292 |
-
|
10293 |
-
for (var i = 0; i < queue.length; ++i) {
|
10294 |
-
var item = queue[i];
|
10295 |
-
var obj = item.obj[item.prop];
|
10296 |
-
|
10297 |
-
var keys = Object.keys(obj);
|
10298 |
-
for (var j = 0; j < keys.length; ++j) {
|
10299 |
-
var key = keys[j];
|
10300 |
-
var val = obj[key];
|
10301 |
-
if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
|
10302 |
-
queue.push({ obj: obj, prop: key });
|
10303 |
-
refs.push(val);
|
10304 |
-
}
|
10305 |
-
}
|
10306 |
-
}
|
10307 |
-
|
10308 |
-
compactQueue(queue);
|
10309 |
-
|
10310 |
-
return value;
|
10311 |
-
};
|
10312 |
-
|
10313 |
-
var isRegExp = function isRegExp(obj) {
|
10314 |
-
return Object.prototype.toString.call(obj) === '[object RegExp]';
|
10315 |
-
};
|
10316 |
-
|
10317 |
-
var isBuffer = function isBuffer(obj) {
|
10318 |
-
if (!obj || typeof obj !== 'object') {
|
10319 |
-
return false;
|
10320 |
-
}
|
10321 |
-
|
10322 |
-
return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
|
10323 |
-
};
|
10324 |
-
|
10325 |
-
var combine = function combine(a, b) {
|
10326 |
-
return [].concat(a, b);
|
10327 |
-
};
|
10328 |
-
|
10329 |
-
var maybeMap = function maybeMap(val, fn) {
|
10330 |
-
if (isArray(val)) {
|
10331 |
-
var mapped = [];
|
10332 |
-
for (var i = 0; i < val.length; i += 1) {
|
10333 |
-
mapped.push(fn(val[i]));
|
10334 |
-
}
|
10335 |
-
return mapped;
|
10336 |
-
}
|
10337 |
-
return fn(val);
|
10338 |
-
};
|
10339 |
-
|
10340 |
-
module.exports = {
|
10341 |
-
arrayToObject: arrayToObject,
|
10342 |
-
assign: assign,
|
10343 |
-
combine: combine,
|
10344 |
-
compact: compact,
|
10345 |
-
decode: decode,
|
10346 |
-
encode: encode,
|
10347 |
-
isBuffer: isBuffer,
|
10348 |
-
isRegExp: isRegExp,
|
10349 |
-
maybeMap: maybeMap,
|
10350 |
-
merge: merge
|
10351 |
-
};
|
10352 |
-
|
10353 |
-
|
10354 |
-
/***/ }),
|
10355 |
-
|
10356 |
-
/***/ 54:
|
10357 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10358 |
-
|
10359 |
-
"use strict";
|
10360 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return domReady; });
|
10361 |
-
/**
|
10362 |
-
* @typedef {() => void} Callback
|
10363 |
-
*
|
10364 |
-
* TODO: Remove this typedef and inline `() => void` type.
|
10365 |
-
*
|
10366 |
-
* This typedef is used so that a descriptive type is provided in our
|
10367 |
-
* automatically generated documentation.
|
10368 |
-
*
|
10369 |
-
* An in-line type `() => void` would be preferable, but the generated
|
10370 |
-
* documentation is `null` in that case.
|
10371 |
-
*
|
10372 |
-
* @see https://github.com/WordPress/gutenberg/issues/18045
|
10373 |
-
*/
|
10374 |
-
|
10375 |
-
/**
|
10376 |
-
* Specify a function to execute when the DOM is fully loaded.
|
10377 |
-
*
|
10378 |
-
* @param {Callback} callback A function to execute after the DOM is ready.
|
10379 |
-
*
|
10380 |
-
* @example
|
10381 |
-
* ```js
|
10382 |
-
* import domReady from '@wordpress/dom-ready';
|
10383 |
-
*
|
10384 |
-
* domReady( function() {
|
10385 |
-
* //do something after DOM loads.
|
10386 |
-
* } );
|
10387 |
-
* ```
|
10388 |
-
*
|
10389 |
-
* @return {void}
|
10390 |
-
*/
|
10391 |
-
function domReady(callback) {
|
10392 |
-
if (document.readyState === 'complete' || // DOMContentLoaded + Images/Styles/etc loaded, so we call directly.
|
10393 |
-
document.readyState === 'interactive' // DOMContentLoaded fires at this point, so we call directly.
|
10394 |
-
) {
|
10395 |
-
return void callback();
|
10396 |
-
} // DOMContentLoaded has not fired yet, delay callback until then.
|
10397 |
-
|
10398 |
-
|
10399 |
-
document.addEventListener('DOMContentLoaded', callback);
|
10400 |
-
}
|
10401 |
-
//# sourceMappingURL=index.js.map
|
10402 |
-
|
10403 |
-
/***/ }),
|
10404 |
-
|
10405 |
-
/***/ 55:
|
10406 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10407 |
-
|
10408 |
-
"use strict";
|
10409 |
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
10410 |
-
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41);
|
10411 |
-
|
10412 |
-
function _objectWithoutProperties(source, excluded) {
|
10413 |
-
if (source == null) return {};
|
10414 |
-
var target = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
|
10415 |
-
var key, i;
|
10416 |
-
|
10417 |
-
if (Object.getOwnPropertySymbols) {
|
10418 |
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
10419 |
-
|
10420 |
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
10421 |
-
key = sourceSymbolKeys[i];
|
10422 |
-
if (excluded.indexOf(key) >= 0) continue;
|
10423 |
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
10424 |
-
target[key] = source[key];
|
10425 |
-
}
|
10426 |
-
}
|
10427 |
-
|
10428 |
-
return target;
|
10429 |
-
}
|
10430 |
-
|
10431 |
-
/***/ }),
|
10432 |
|
10433 |
/***/ 56:
|
10434 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
@@ -11309,38 +10937,263 @@ try {
|
|
11309 |
}
|
11310 |
|
11311 |
|
11312 |
-
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11313 |
|
11314 |
-
|
11315 |
-
|
|
|
11316 |
|
11317 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11318 |
|
|
|
11319 |
|
11320 |
-
|
11321 |
-
|
11322 |
|
11323 |
-
var
|
|
|
|
|
11324 |
|
11325 |
-
var
|
11326 |
-
|
11327 |
-
|
|
|
|
|
|
|
11328 |
};
|
11329 |
|
11330 |
-
|
11331 |
-
|
11332 |
-
|
11333 |
-
|
11334 |
-
|
11335 |
-
|
11336 |
-
|
11337 |
-
|
11338 |
-
|
11339 |
-
}
|
11340 |
}
|
11341 |
-
|
11342 |
-
|
11343 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11344 |
|
11345 |
|
11346 |
/***/ }),
|
@@ -12480,14 +12333,14 @@ function createMemoryHistory(props) {
|
|
12480 |
|
12481 |
/***/ }),
|
12482 |
|
12483 |
-
/***/
|
12484 |
/***/ (function(module, exports) {
|
12485 |
|
12486 |
(function() { module.exports = this["wp"]["date"]; }());
|
12487 |
|
12488 |
/***/ }),
|
12489 |
|
12490 |
-
/***/
|
12491 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12492 |
|
12493 |
"use strict";
|
@@ -12500,7 +12353,7 @@ var QUEUE_OPTION_NAME = 'woocommerce_ces_tracks_queue';
|
|
12500 |
|
12501 |
/***/ }),
|
12502 |
|
12503 |
-
/***/
|
12504 |
/***/ (function(module, exports) {
|
12505 |
|
12506 |
function _setPrototypeOf(o, p) {
|
@@ -12516,7 +12369,7 @@ module.exports = _setPrototypeOf;
|
|
12516 |
|
12517 |
/***/ }),
|
12518 |
|
12519 |
-
/***/
|
12520 |
/***/ (function(module, exports, __webpack_require__) {
|
12521 |
|
12522 |
"use strict";
|
@@ -12529,7 +12382,7 @@ module.exports = _setPrototypeOf;
|
|
12529 |
|
12530 |
|
12531 |
|
12532 |
-
var ReactPropTypesSecret = __webpack_require__(
|
12533 |
|
12534 |
function emptyFunction() {}
|
12535 |
function emptyFunctionWithReset() {}
|
@@ -12588,7 +12441,7 @@ module.exports = function() {
|
|
12588 |
|
12589 |
/***/ }),
|
12590 |
|
12591 |
-
/***/
|
12592 |
/***/ (function(module, exports, __webpack_require__) {
|
12593 |
|
12594 |
"use strict";
|
@@ -12609,21 +12462,14 @@ module.exports = ReactPropTypesSecret;
|
|
12609 |
/***/ }),
|
12610 |
|
12611 |
/***/ 8:
|
12612 |
-
/***/ (function(module, exports) {
|
12613 |
-
|
12614 |
-
function _assertThisInitialized(self) {
|
12615 |
-
if (self === void 0) {
|
12616 |
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
12617 |
-
}
|
12618 |
|
12619 |
-
|
12620 |
-
}
|
12621 |
|
12622 |
-
module.exports = _assertThisInitialized;
|
12623 |
|
12624 |
/***/ }),
|
12625 |
|
12626 |
-
/***/
|
12627 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12628 |
|
12629 |
"use strict";
|
@@ -12644,7 +12490,7 @@ function _iterableToArray(iter) {
|
|
12644 |
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
|
12645 |
}
|
12646 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
12647 |
-
var unsupportedIterableToArray = __webpack_require__(
|
12648 |
|
12649 |
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
12650 |
function _nonIterableSpread() {
|
@@ -12661,7 +12507,7 @@ function _toConsumableArray(arr) {
|
|
12661 |
|
12662 |
/***/ }),
|
12663 |
|
12664 |
-
/***/
|
12665 |
/***/ (function(module, exports) {
|
12666 |
|
12667 |
var g;
|
@@ -12689,13 +12535,169 @@ module.exports = g;
|
|
12689 |
/***/ }),
|
12690 |
|
12691 |
/***/ 86:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12692 |
/***/ (function(module, exports, __webpack_require__) {
|
12693 |
|
12694 |
"use strict";
|
12695 |
|
12696 |
|
12697 |
-
var utils = __webpack_require__(
|
12698 |
-
var formats = __webpack_require__(
|
12699 |
var has = Object.prototype.hasOwnProperty;
|
12700 |
|
12701 |
var arrayPrefixGenerators = {
|
@@ -12759,6 +12761,7 @@ var stringify = function stringify(
|
|
12759 |
sort,
|
12760 |
allowDots,
|
12761 |
serializeDate,
|
|
|
12762 |
formatter,
|
12763 |
encodeValuesOnly,
|
12764 |
charset
|
@@ -12774,12 +12777,12 @@ var stringify = function stringify(
|
|
12774 |
return serializeDate(value);
|
12775 |
}
|
12776 |
return value;
|
12777 |
-
})
|
12778 |
}
|
12779 |
|
12780 |
if (obj === null) {
|
12781 |
if (strictNullHandling) {
|
12782 |
-
return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key') : prefix;
|
12783 |
}
|
12784 |
|
12785 |
obj = '';
|
@@ -12787,8 +12790,8 @@ var stringify = function stringify(
|
|
12787 |
|
12788 |
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
|
12789 |
if (encoder) {
|
12790 |
-
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key');
|
12791 |
-
return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value'))];
|
12792 |
}
|
12793 |
return [formatter(prefix) + '=' + formatter(String(obj))];
|
12794 |
}
|
@@ -12800,7 +12803,10 @@ var stringify = function stringify(
|
|
12800 |
}
|
12801 |
|
12802 |
var objKeys;
|
12803 |
-
if (isArray(
|
|
|
|
|
|
|
12804 |
objKeys = filter;
|
12805 |
} else {
|
12806 |
var keys = Object.keys(obj);
|
@@ -12809,7 +12815,7 @@ var stringify = function stringify(
|
|
12809 |
|
12810 |
for (var i = 0; i < objKeys.length; ++i) {
|
12811 |
var key = objKeys[i];
|
12812 |
-
var value = obj[key];
|
12813 |
|
12814 |
if (skipNulls && value === null) {
|
12815 |
continue;
|
@@ -12830,6 +12836,7 @@ var stringify = function stringify(
|
|
12830 |
sort,
|
12831 |
allowDots,
|
12832 |
serializeDate,
|
|
|
12833 |
formatter,
|
12834 |
encodeValuesOnly,
|
12835 |
charset
|
@@ -12877,6 +12884,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
12877 |
encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
|
12878 |
encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
|
12879 |
filter: filter,
|
|
|
12880 |
formatter: formatter,
|
12881 |
serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
|
12882 |
skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
|
@@ -12942,6 +12950,7 @@ module.exports = function (object, opts) {
|
|
12942 |
options.sort,
|
12943 |
options.allowDots,
|
12944 |
options.serializeDate,
|
|
|
12945 |
options.formatter,
|
12946 |
options.encodeValuesOnly,
|
12947 |
options.charset
|
@@ -12967,13 +12976,13 @@ module.exports = function (object, opts) {
|
|
12967 |
|
12968 |
/***/ }),
|
12969 |
|
12970 |
-
/***/
|
12971 |
/***/ (function(module, exports, __webpack_require__) {
|
12972 |
|
12973 |
"use strict";
|
12974 |
|
12975 |
|
12976 |
-
var utils = __webpack_require__(
|
12977 |
|
12978 |
var has = Object.prototype.hasOwnProperty;
|
12979 |
var isArray = Array.isArray;
|
@@ -13113,7 +13122,7 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
13113 |
}
|
13114 |
}
|
13115 |
|
13116 |
-
leaf = obj;
|
13117 |
}
|
13118 |
|
13119 |
return leaf;
|
@@ -13233,14 +13242,21 @@ module.exports = function (str, opts) {
|
|
13233 |
/***/ }),
|
13234 |
|
13235 |
/***/ 9:
|
13236 |
-
/***/ (function(module, exports
|
13237 |
|
13238 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
13239 |
|
|
|
13240 |
|
13241 |
/***/ }),
|
13242 |
|
13243 |
-
/***/
|
13244 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13245 |
|
13246 |
"use strict";
|
@@ -13258,7 +13274,7 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
13258 |
|
13259 |
/***/ }),
|
13260 |
|
13261 |
-
/***/
|
13262 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13263 |
|
13264 |
"use strict";
|
@@ -13269,7 +13285,7 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
13269 |
/* unused harmony export getProductList */
|
13270 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getPriceValue; });
|
13271 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return isWCAdmin; });
|
13272 |
-
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
13273 |
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);
|
13274 |
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(40);
|
13275 |
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_1__);
|
@@ -13421,7 +13437,7 @@ function isWCAdmin(url) {
|
|
13421 |
|
13422 |
/***/ }),
|
13423 |
|
13424 |
-
/***/
|
13425 |
/***/ (function(module, exports) {
|
13426 |
|
13427 |
function _objectWithoutPropertiesLoose(source, excluded) {
|
95 |
/******/
|
96 |
/******/
|
97 |
/******/ // mini-css-extract-plugin CSS loading
|
98 |
+
/******/ var cssChunks = {"0":1,"3":1,"4":1,"7":1,"9":1,"14":1,"20":1,"28":1,"29":1,"32":1,"34":1,"36":1,"46":1,"47":1,"48":1,"49":1};
|
99 |
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
|
100 |
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
|
101 |
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
|
259 |
/******/
|
260 |
/******/
|
261 |
/******/ // Load entry module and return exports
|
262 |
+
/******/ return __webpack_require__(__webpack_require__.s = 296);
|
263 |
/******/ })
|
264 |
/************************************************************************/
|
265 |
/******/ ({
|
284 |
if (false) { var throwOnDirectAccess, ReactIs; } else {
|
285 |
// By explicitly using `prop-types` you are opting into new production behavior.
|
286 |
// http://fb.me/prop-types-in-prod
|
287 |
+
module.exports = __webpack_require__(75)();
|
288 |
}
|
289 |
|
290 |
|
297 |
|
298 |
/***/ }),
|
299 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
300 |
/***/ 11:
|
301 |
/***/ (function(module, exports) {
|
302 |
|
340 |
|
341 |
/***/ }),
|
342 |
|
343 |
+
/***/ 120:
|
344 |
/***/ (function(module, exports, __webpack_require__) {
|
345 |
|
346 |
"use strict";
|
349 |
|
350 |
/***/ }),
|
351 |
|
352 |
+
/***/ 124:
|
353 |
/***/ (function(module, exports) {
|
354 |
|
355 |
// shim for using process in browser
|
540 |
|
541 |
/***/ }),
|
542 |
|
543 |
+
/***/ 125:
|
544 |
/***/ (function(module, exports, __webpack_require__) {
|
545 |
|
546 |
"use strict";
|
547 |
|
548 |
|
549 |
if (true) {
|
550 |
+
module.exports = __webpack_require__(150);
|
551 |
} else {}
|
552 |
|
553 |
|
556 |
/***/ 13:
|
557 |
/***/ (function(module, exports, __webpack_require__) {
|
558 |
|
559 |
+
var setPrototypeOf = __webpack_require__(74);
|
560 |
|
561 |
function _inherits(subClass, superClass) {
|
562 |
if (typeof superClass !== "function" && superClass !== null) {
|
577 |
|
578 |
/***/ }),
|
579 |
|
580 |
+
/***/ 136:
|
581 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
582 |
|
583 |
"use strict";
|
606 |
*/
|
607 |
|
608 |
var RevenueReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
609 |
+
return Promise.all(/* import() | analytics-report-revenue */[__webpack_require__.e(0), __webpack_require__.e(16)]).then(__webpack_require__.bind(null, 484));
|
610 |
});
|
611 |
var ProductsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
612 |
+
return Promise.all(/* import() | analytics-report-products */[__webpack_require__.e(0), __webpack_require__.e(3), __webpack_require__.e(15)]).then(__webpack_require__.bind(null, 480));
|
613 |
});
|
614 |
var VariationsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
615 |
+
return Promise.all(/* import() | analytics-report-variations */[__webpack_require__.e(0), __webpack_require__.e(19)]).then(__webpack_require__.bind(null, 485));
|
616 |
});
|
617 |
var OrdersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
618 |
+
return Promise.all(/* import() | analytics-report-orders */[__webpack_require__.e(0), __webpack_require__.e(5), __webpack_require__.e(14)]).then(__webpack_require__.bind(null, 486));
|
619 |
});
|
620 |
var CategoriesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
621 |
+
return Promise.all(/* import() | analytics-report-categories */[__webpack_require__.e(0), __webpack_require__.e(3), __webpack_require__.e(10)]).then(__webpack_require__.bind(null, 482));
|
622 |
});
|
623 |
var CouponsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
624 |
+
return Promise.all(/* import() | analytics-report-coupons */[__webpack_require__.e(0), __webpack_require__.e(11)]).then(__webpack_require__.bind(null, 487));
|
625 |
});
|
626 |
var TaxesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
627 |
+
return Promise.all(/* import() | analytics-report-taxes */[__webpack_require__.e(0), __webpack_require__.e(18)]).then(__webpack_require__.bind(null, 488));
|
628 |
});
|
629 |
var DownloadsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
630 |
+
return Promise.all(/* import() | analytics-report-downloads */[__webpack_require__.e(0), __webpack_require__.e(13)]).then(__webpack_require__.bind(null, 489));
|
631 |
});
|
632 |
var StockReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
633 |
+
return Promise.all(/* import() | analytics-report-stock */[__webpack_require__.e(0), __webpack_require__.e(17)]).then(__webpack_require__.bind(null, 481));
|
634 |
});
|
635 |
var CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
636 |
+
return Promise.all(/* import() | analytics-report-customers */[__webpack_require__.e(0), __webpack_require__.e(12)]).then(__webpack_require__.bind(null, 483));
|
637 |
});
|
638 |
/* harmony default export */ __webpack_exports__["a"] = (function () {
|
639 |
var reports = [{
|
709 |
|
710 |
/***/ }),
|
711 |
|
712 |
+
/***/ 137:
|
713 |
/***/ (function(module, exports, __webpack_require__) {
|
714 |
|
715 |
"use strict";
|
716 |
|
717 |
|
718 |
+
var reactIs = __webpack_require__(125);
|
719 |
|
720 |
/**
|
721 |
* Copyright 2015, Yahoo! Inc.
|
820 |
|
821 |
/***/ }),
|
822 |
|
823 |
+
/***/ 138:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
824 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
825 |
|
826 |
"use strict";
|
827 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useIsScrolled; });
|
828 |
+
/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19);
|
829 |
/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);
|
830 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
|
831 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
|
862 |
|
863 |
/***/ }),
|
864 |
|
865 |
+
/***/ 139:
|
866 |
/***/ (function(module, exports) {
|
867 |
|
868 |
(function() { module.exports = this["wp"]["plugins"]; }());
|
869 |
|
870 |
/***/ }),
|
871 |
|
872 |
+
/***/ 14:
|
873 |
+
/***/ (function(module, exports, __webpack_require__) {
|
874 |
+
|
875 |
+
var _typeof = __webpack_require__(30);
|
876 |
+
|
877 |
+
var assertThisInitialized = __webpack_require__(9);
|
878 |
+
|
879 |
+
function _possibleConstructorReturn(self, call) {
|
880 |
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
881 |
+
return call;
|
882 |
+
}
|
883 |
+
|
884 |
+
return assertThisInitialized(self);
|
885 |
+
}
|
886 |
+
|
887 |
+
module.exports = _possibleConstructorReturn;
|
888 |
+
|
889 |
+
/***/ }),
|
890 |
+
|
891 |
+
/***/ 140:
|
892 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
893 |
|
894 |
"use strict";
|
1100 |
|
1101 |
/***/ }),
|
1102 |
|
1103 |
+
/***/ 141:
|
1104 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1105 |
|
1106 |
"use strict";
|
1179 |
var path_to_regexp_default = /*#__PURE__*/__webpack_require__.n(path_to_regexp);
|
1180 |
|
1181 |
// EXTERNAL MODULE: ./node_modules/react-is/index.js
|
1182 |
+
var react_is = __webpack_require__(125);
|
1183 |
|
1184 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
1185 |
var objectWithoutPropertiesLoose = __webpack_require__(41);
|
1186 |
|
1187 |
// EXTERNAL MODULE: ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
|
1188 |
+
var hoist_non_react_statics_cjs = __webpack_require__(137);
|
1189 |
var hoist_non_react_statics_cjs_default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics_cjs);
|
1190 |
|
1191 |
// CONCATENATED MODULE: ./node_modules/react-router/esm/react-router.js
|
1858 |
var external_this_wc_components_ = __webpack_require__(47);
|
1859 |
|
1860 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
1861 |
+
var external_this_wc_navigation_ = __webpack_require__(21);
|
1862 |
|
1863 |
// EXTERNAL MODULE: ./client/settings/index.js
|
1864 |
var settings = __webpack_require__(25);
|
1865 |
|
1866 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
1867 |
+
var external_this_wc_data_ = __webpack_require__(23);
|
1868 |
|
1869 |
// EXTERNAL MODULE: external {"this":["wc","tracks"]}
|
1870 |
var external_this_wc_tracks_ = __webpack_require__(28);
|
1871 |
|
1872 |
// EXTERNAL MODULE: ./client/layout/style.scss
|
1873 |
+
var layout_style = __webpack_require__(299);
|
1874 |
|
1875 |
// EXTERNAL MODULE: external {"this":["wp","hooks"]}
|
1876 |
var external_this_wp_hooks_ = __webpack_require__(42);
|
1879 |
var external_this_wp_i18n_ = __webpack_require__(2);
|
1880 |
|
1881 |
// EXTERNAL MODULE: ./client/analytics/report/get-reports.js
|
1882 |
+
var get_reports = __webpack_require__(136);
|
1883 |
|
1884 |
// EXTERNAL MODULE: ./client/dashboard/utils.js
|
1885 |
+
var utils = __webpack_require__(94);
|
1886 |
|
1887 |
// CONCATENATED MODULE: ./client/layout/controller.js
|
1888 |
|
1913 |
|
1914 |
|
1915 |
var AnalyticsReport = Object(external_this_wp_element_["lazy"])(function () {
|
1916 |
+
return __webpack_require__.e(/* import() | analytics-report */ 9).then(__webpack_require__.bind(null, 578));
|
1917 |
});
|
1918 |
var AnalyticsSettings = Object(external_this_wp_element_["lazy"])(function () {
|
1919 |
+
return __webpack_require__.e(/* import() | analytics-settings */ 20).then(__webpack_require__.bind(null, 595));
|
1920 |
});
|
1921 |
var Dashboard = Object(external_this_wp_element_["lazy"])(function () {
|
1922 |
+
return __webpack_require__.e(/* import() | dashboard */ 28).then(__webpack_require__.bind(null, 579));
|
1923 |
});
|
1924 |
var Homescreen = Object(external_this_wp_element_["lazy"])(function () {
|
1925 |
+
return Promise.all(/* import() | homescreen */[__webpack_require__.e(1), __webpack_require__.e(2), __webpack_require__.e(52), __webpack_require__.e(4), __webpack_require__.e(32)]).then(__webpack_require__.bind(null, 592));
|
1926 |
});
|
1927 |
var MarketingOverview = Object(external_this_wp_element_["lazy"])(function () {
|
1928 |
+
return Promise.all(/* import() | marketing-overview */[__webpack_require__.e(2), __webpack_require__.e(36)]).then(__webpack_require__.bind(null, 596));
|
1929 |
});
|
1930 |
var ProfileWizard = Object(external_this_wp_element_["lazy"])(function () {
|
1931 |
+
return __webpack_require__.e(/* import() | profile-wizard */ 46).then(__webpack_require__.bind(null, 593));
|
1932 |
});
|
1933 |
var PAGES_FILTER = 'woocommerce_admin_pages_list';
|
1934 |
var controller_getPages = function getPages() {
|
2150 |
var build_module = __webpack_require__(31);
|
2151 |
|
2152 |
// EXTERNAL MODULE: ./client/header/style.scss
|
2153 |
+
var header_style = __webpack_require__(300);
|
2154 |
|
2155 |
// EXTERNAL MODULE: ./node_modules/react-click-outside/dist/index.js
|
2156 |
+
var dist = __webpack_require__(276);
|
2157 |
var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
|
2158 |
|
2159 |
// EXTERNAL MODULE: external {"this":["wp","components"]}
|
2160 |
var external_this_wp_components_ = __webpack_require__(4);
|
2161 |
|
2162 |
// EXTERNAL MODULE: ./node_modules/gridicons/dist/cross-small.js
|
2163 |
+
var cross_small = __webpack_require__(120);
|
2164 |
var cross_small_default = /*#__PURE__*/__webpack_require__.n(cross_small);
|
2165 |
|
2166 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
2167 |
+
var build_module_icon = __webpack_require__(304);
|
2168 |
|
2169 |
// EXTERNAL MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js
|
2170 |
var svg = __webpack_require__(196);
|
2185 |
/* harmony default export */ var library_help = (help_help);
|
2186 |
//# sourceMappingURL=help.js.map
|
2187 |
// EXTERNAL MODULE: ./client/header/activity-panel/style.scss
|
2188 |
+
var activity_panel_style = __webpack_require__(302);
|
2189 |
|
2190 |
// CONCATENATED MODULE: ./client/header/activity-panel/toggle-bubble.js
|
2191 |
|
2284 |
return Object(settings["g" /* getSetting */])('lowStockCount', 0);
|
2285 |
}
|
2286 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
|
2287 |
+
var slicedToArray = __webpack_require__(19);
|
2288 |
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
2289 |
|
2290 |
// CONCATENATED MODULE: ./client/header/activity-panel/tab/index.js
|
2587 |
/* harmony default export */ var library_close = (close_close);
|
2588 |
//# sourceMappingURL=close.js.map
|
2589 |
// EXTERNAL MODULE: ./client/header/activity-panel/highlight-tooltip/style.scss
|
2590 |
+
var highlight_tooltip_style = __webpack_require__(303);
|
2591 |
|
2592 |
// CONCATENATED MODULE: ./client/header/activity-panel/highlight-tooltip/index.js
|
2593 |
|
2820 |
|
2821 |
|
2822 |
var HelpPanel = Object(external_this_wp_element_["lazy"])(function () {
|
2823 |
+
return Promise.all(/* import() | activity-panels-help */[__webpack_require__.e(53), __webpack_require__.e(6), __webpack_require__.e(7)]).then(__webpack_require__.bind(null, 589));
|
2824 |
});
|
2825 |
var InboxPanel = Object(external_this_wp_element_["lazy"])(function () {
|
2826 |
+
return Promise.all(/* import() | activity-panels-inbox */[__webpack_require__.e(1), __webpack_require__.e(2), __webpack_require__.e(4), __webpack_require__.e(8)]).then(__webpack_require__.bind(null, 576));
|
2827 |
});
|
2828 |
var activity_panel_ActivityPanel = /*#__PURE__*/function (_Component) {
|
2829 |
inherits_default()(ActivityPanel, _Component);
|
2914 |
value: function isPerformingSetupTask() {
|
2915 |
var _this$props = this.props,
|
2916 |
requestingTaskListOptions = _this$props.requestingTaskListOptions,
|
2917 |
+
setupTaskListComplete = _this$props.setupTaskListComplete,
|
2918 |
+
setupTaskListHidden = _this$props.setupTaskListHidden,
|
2919 |
query = _this$props.query;
|
2920 |
+
var isPerformingSetupTask = query.task && !query.path && (requestingTaskListOptions === true || setupTaskListHidden === false && setupTaskListComplete === false);
|
2921 |
return isPerformingSetupTask;
|
2922 |
} // @todo Pull in dynamic unread status/count
|
2923 |
|
2927 |
var _this$props2 = this.props,
|
2928 |
hasUnreadNotes = _this$props2.hasUnreadNotes,
|
2929 |
isEmbedded = _this$props2.isEmbedded,
|
2930 |
+
setupTaskListComplete = _this$props2.setupTaskListComplete,
|
2931 |
+
setupTaskListHidden = _this$props2.setupTaskListHidden;
|
2932 |
var isPerformingSetupTask = this.isPerformingSetupTask(); // Don't show the inbox on the Home screen.
|
2933 |
|
2934 |
var showInbox = (isEmbedded || !this.isHomescreen()) && !isPerformingSetupTask;
|
2935 |
var showHelp = this.isHomescreen() && !isEmbedded || isPerformingSetupTask;
|
2936 |
var showDisplayOptions = !isEmbedded && this.isHomescreen() && !isPerformingSetupTask;
|
2937 |
+
var showStoreSetup = !setupTaskListComplete && !setupTaskListHidden && !isPerformingSetupTask && (!this.isHomescreen() || isEmbedded);
|
2938 |
var inbox = showInbox ? {
|
2939 |
name: 'inbox',
|
2940 |
title: Object(external_this_wp_i18n_["__"])('Inbox', 'woocommerce-admin'),
|
2986 |
|
2987 |
var _this$props3 = this.props,
|
2988 |
updateOptions = _this$props3.updateOptions,
|
2989 |
+
setupTaskListHidden = _this$props3.setupTaskListHidden;
|
2990 |
var _this$state = this.state,
|
2991 |
isPanelOpen = _this$state.isPanelOpen,
|
2992 |
currentTab = _this$state.currentTab,
|
3016 |
if (currentLocation !== homescreenLocation) {
|
3017 |
// Ensure that if the user is trying to get to the task list they can see it even if
|
3018 |
// it was dismissed.
|
3019 |
+
if (setupTaskListHidden === 'no') {
|
3020 |
this.redirectToHomeScreen();
|
3021 |
} else {
|
3022 |
updateOptions({
|
3157 |
getOption = _select.getOption,
|
3158 |
isResolving = _select.isResolving;
|
3159 |
|
3160 |
+
var setupTaskListComplete = getOption('woocommerce_task_list_complete') === 'yes';
|
3161 |
+
var setupTaskListHidden = getOption('woocommerce_task_list_hidden') === 'yes';
|
3162 |
var requestingTaskListOptions = isResolving('getOption', ['woocommerce_task_list_complete']) || isResolving('getOption', ['woocommerce_task_list_hidden']);
|
3163 |
var trackedCompletedTasks = getOption('woocommerce_task_list_tracked_completed_tasks') || [];
|
3164 |
return {
|
3165 |
hasUnreadNotes: hasUnreadNotes,
|
3166 |
requestingTaskListOptions: requestingTaskListOptions,
|
3167 |
+
setupTaskListComplete: setupTaskListComplete,
|
3168 |
+
setupTaskListHidden: setupTaskListHidden,
|
3169 |
trackedCompletedTasks: trackedCompletedTasks
|
3170 |
};
|
3171 |
}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
|
3214 |
}));
|
3215 |
};
|
3216 |
// EXTERNAL MODULE: ./client/mobile-banner/style.scss
|
3217 |
+
var mobile_banner_style = __webpack_require__(305);
|
3218 |
|
3219 |
// CONCATENATED MODULE: ./client/mobile-banner/constants.js
|
3220 |
// The Play Store link is defined as an exported constant mainly for the sake of testing the Mobile App Banner.
|
3305 |
return null;
|
3306 |
};
|
3307 |
// EXTERNAL MODULE: ./client/hooks/useIsScrolled.js
|
3308 |
+
var useIsScrolled = __webpack_require__(138);
|
3309 |
|
3310 |
// CONCATENATED MODULE: ./client/header/index.js
|
3311 |
|
3434 |
|
3435 |
/* harmony default export */ var layout_notices = (notices_Notices);
|
3436 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
3437 |
+
var regenerator = __webpack_require__(8);
|
3438 |
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
3439 |
|
3440 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
|
3445 |
var web_cjs = __webpack_require__(180);
|
3446 |
|
3447 |
// EXTERNAL MODULE: ./client/layout/transient-notices/snackbar/index.js
|
3448 |
+
var snackbar = __webpack_require__(277);
|
3449 |
|
3450 |
// CONCATENATED MODULE: ./client/layout/transient-notices/snackbar/list.js
|
3451 |
|
3596 |
|
3597 |
/* harmony default export */ var list = (SnackbarList);
|
3598 |
// EXTERNAL MODULE: ./client/layout/transient-notices/style.scss
|
3599 |
+
var transient_notices_style = __webpack_require__(307);
|
3600 |
|
3601 |
// CONCATENATED MODULE: ./client/layout/transient-notices/index.js
|
3602 |
|
3685 |
};
|
3686 |
}))(transient_notices_TransientNotices));
|
3687 |
// EXTERNAL MODULE: external {"this":["wp","plugins"]}
|
3688 |
+
var external_this_wp_plugins_ = __webpack_require__(139);
|
3689 |
|
3690 |
// EXTERNAL MODULE: ./client/navigation/utils.js
|
3691 |
+
var navigation_utils = __webpack_require__(86);
|
3692 |
|
3693 |
// CONCATENATED MODULE: ./client/layout/navigation.js
|
3694 |
|
3831 |
|
3832 |
|
3833 |
var StoreAlerts = Object(external_this_wp_element_["lazy"])(function () {
|
3834 |
+
return Promise.all(/* import() | store-alerts */[__webpack_require__.e(1), __webpack_require__.e(47)]).then(__webpack_require__.bind(null, 597));
|
3835 |
});
|
3836 |
var WCPayUsageModal = Object(external_this_wp_element_["lazy"])(function () {
|
3837 |
+
return __webpack_require__.e(/* import() | wcpay-usage-modal */ 51).then(__webpack_require__.bind(null, 524));
|
3838 |
});
|
3839 |
var layout_PrimaryLayout = /*#__PURE__*/function (_Component) {
|
3840 |
inherits_default()(PrimaryLayout, _Component);
|
4065 |
|
4066 |
/***/ }),
|
4067 |
|
4068 |
+
/***/ 142:
|
4069 |
/***/ (function(module, exports) {
|
4070 |
|
4071 |
(function() { module.exports = this["wc"]["number"]; }());
|
4079 |
|
4080 |
/***/ }),
|
4081 |
|
4082 |
+
/***/ 150:
|
4083 |
/***/ (function(module, exports, __webpack_require__) {
|
4084 |
|
4085 |
"use strict";
|
4134 |
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
4135 |
|
4136 |
var _extends = _interopDefault(__webpack_require__(24));
|
4137 |
+
var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(96));
|
4138 |
var React = __webpack_require__(10);
|
4139 |
var React__default = _interopDefault(React);
|
4140 |
+
var _inheritsLoose = _interopDefault(__webpack_require__(306));
|
4141 |
+
var _assertThisInitialized = _interopDefault(__webpack_require__(9));
|
4142 |
|
4143 |
var is = {
|
4144 |
arr: Array.isArray,
|
6638 |
|
6639 |
/* harmony default export */ __webpack_exports__["a"] = (index);
|
6640 |
|
6641 |
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(82)))
|
6642 |
|
6643 |
/***/ }),
|
6644 |
|
6645 |
/***/ 182:
|
6646 |
/***/ (function(module, exports, __webpack_require__) {
|
6647 |
|
6648 |
+
var isarray = __webpack_require__(308)
|
6649 |
|
6650 |
/**
|
6651 |
* Expose `pathToRegexp`.
|
7078 |
/***/ 19:
|
7079 |
/***/ (function(module, exports, __webpack_require__) {
|
7080 |
|
7081 |
+
var arrayWithHoles = __webpack_require__(60);
|
7082 |
|
7083 |
+
var iterableToArrayLimit = __webpack_require__(61);
|
7084 |
|
7085 |
var unsupportedIterableToArray = __webpack_require__(39);
|
7086 |
|
7087 |
+
var nonIterableRest = __webpack_require__(62);
|
7088 |
|
7089 |
+
function _slicedToArray(arr, i) {
|
7090 |
+
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
|
7091 |
}
|
7092 |
|
7093 |
+
module.exports = _slicedToArray;
|
7094 |
|
7095 |
/***/ }),
|
7096 |
|
7301 |
/***/ }),
|
7302 |
|
7303 |
/***/ 20:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7304 |
/***/ (function(module, exports, __webpack_require__) {
|
7305 |
|
7306 |
+
var arrayWithoutHoles = __webpack_require__(57);
|
7307 |
|
7308 |
+
var iterableToArray = __webpack_require__(58);
|
7309 |
|
7310 |
var unsupportedIterableToArray = __webpack_require__(39);
|
7311 |
|
7312 |
+
var nonIterableSpread = __webpack_require__(59);
|
7313 |
|
7314 |
+
function _toConsumableArray(arr) {
|
7315 |
+
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
|
7316 |
}
|
7317 |
|
7318 |
+
module.exports = _toConsumableArray;
|
7319 |
+
|
7320 |
+
/***/ }),
|
7321 |
+
|
7322 |
+
/***/ 21:
|
7323 |
+
/***/ (function(module, exports) {
|
7324 |
+
|
7325 |
+
(function() { module.exports = this["wc"]["navigation"]; }());
|
7326 |
|
7327 |
/***/ }),
|
7328 |
|
7329 |
/***/ 22:
|
7330 |
/***/ (function(module, exports) {
|
7331 |
|
7332 |
+
(function() { module.exports = this["wp"]["url"]; }());
|
7333 |
|
7334 |
/***/ }),
|
7335 |
|
7336 |
/***/ 23:
|
7337 |
/***/ (function(module, exports) {
|
7338 |
|
7339 |
+
(function() { module.exports = this["wc"]["data"]; }());
|
7340 |
|
7341 |
/***/ }),
|
7342 |
|
7483 |
|
7484 |
/***/ }),
|
7485 |
|
7486 |
+
/***/ 276:
|
7487 |
/***/ (function(module, exports, __webpack_require__) {
|
7488 |
|
7489 |
"use strict";
|
7501 |
|
7502 |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
7503 |
|
7504 |
+
var hoistNonReactStatic = __webpack_require__(301);
|
7505 |
var React = __webpack_require__(10);
|
7506 |
var ReactDOM = __webpack_require__(48);
|
7507 |
|
7567 |
|
7568 |
/***/ }),
|
7569 |
|
7570 |
+
/***/ 277:
|
7571 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7572 |
|
7573 |
"use strict";
|
7577 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
7578 |
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
7579 |
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
|
7580 |
+
/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(140);
|
7581 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
|
7582 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
|
7583 |
+
/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(278);
|
7584 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4);
|
7585 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__);
|
7586 |
|
7715 |
}
|
7716 |
|
7717 |
/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["forwardRef"])(Snackbar));
|
7718 |
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(124)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7719 |
|
7720 |
/***/ }),
|
7721 |
|
7722 |
+
/***/ 278:
|
7723 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7724 |
|
7725 |
"use strict";
|
7762 |
}
|
7763 |
}
|
7764 |
//# sourceMappingURL=index.js.map
|
7765 |
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(124)))
|
7766 |
|
7767 |
/***/ }),
|
7768 |
|
7769 |
+
/***/ 279:
|
7770 |
/***/ (function(module, exports) {
|
7771 |
|
7772 |
(function() { module.exports = this["wc"]["customerEffortScore"]; }());
|
7773 |
|
7774 |
/***/ }),
|
7775 |
|
7776 |
+
/***/ 28:
|
7777 |
+
/***/ (function(module, exports) {
|
7778 |
+
|
7779 |
+
(function() { module.exports = this["wc"]["tracks"]; }());
|
7780 |
+
|
7781 |
+
/***/ }),
|
7782 |
+
|
7783 |
+
/***/ 286:
|
7784 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7785 |
|
7786 |
"use strict";
|
7787 |
|
7808 |
__webpack_require__.d(selectors_namespaceObject, "getCesSurveyQueue", function() { return selectors_getCesSurveyQueue; });
|
7809 |
|
7810 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js
|
7811 |
+
var toConsumableArray = __webpack_require__(20);
|
7812 |
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
|
7813 |
|
7814 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js
|
7816 |
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
|
7817 |
|
7818 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
|
7819 |
+
var slicedToArray = __webpack_require__(19);
|
7820 |
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
7821 |
|
7822 |
// EXTERNAL MODULE: external {"this":["wp","element"]}
|
7830 |
var external_this_wc_tracks_ = __webpack_require__(28);
|
7831 |
|
7832 |
// EXTERNAL MODULE: external {"this":["wc","customerEffortScore"]}
|
7833 |
+
var external_this_wc_customerEffortScore_ = __webpack_require__(279);
|
7834 |
var external_this_wc_customerEffortScore_default = /*#__PURE__*/__webpack_require__.n(external_this_wc_customerEffortScore_);
|
7835 |
|
7836 |
// EXTERNAL MODULE: external {"this":["wp","compose"]}
|
7840 |
var external_this_wp_data_ = __webpack_require__(15);
|
7841 |
|
7842 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
7843 |
+
var external_this_wc_data_ = __webpack_require__(23);
|
7844 |
|
7845 |
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
7846 |
var external_this_wp_i18n_ = __webpack_require__(2);
|
8073 |
};
|
8074 |
}))(CustomerEffortScoreTracks));
|
8075 |
// EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
|
8076 |
+
var constants = __webpack_require__(73);
|
8077 |
|
8078 |
// EXTERNAL MODULE: external {"this":["wp","dataControls"]}
|
8079 |
var external_this_wp_dataControls_ = __webpack_require__(17);
|
8137 |
return addCesSurvey('analytics_filtered', Object(external_this_wp_i18n_["__"])('How easy was it to filter your store analytics?', 'woocommerce-admin'), 'woocommerce_page_wc-admin', 'woocommerce_page_wc-admin');
|
8138 |
}
|
8139 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
8140 |
+
var regenerator = __webpack_require__(8);
|
8141 |
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
8142 |
|
8143 |
// CONCATENATED MODULE: ./client/customer-effort-score-tracks/data/resolvers.js
|
8380 |
|
8381 |
/***/ }),
|
8382 |
|
8383 |
+
/***/ 287:
|
8384 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8385 |
|
8386 |
"use strict";
|
8389 |
var external_this_wp_element_ = __webpack_require__(0);
|
8390 |
|
8391 |
// EXTERNAL MODULE: external {"this":["wp","plugins"]}
|
8392 |
+
var external_this_wp_plugins_ = __webpack_require__(139);
|
8393 |
|
8394 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
8395 |
+
var external_this_wc_navigation_ = __webpack_require__(21);
|
8396 |
|
8397 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
8398 |
+
var external_this_wc_data_ = __webpack_require__(23);
|
8399 |
|
8400 |
// EXTERNAL MODULE: ./client/navigation/style.scss
|
8401 |
+
var style = __webpack_require__(309);
|
8402 |
|
8403 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
|
8404 |
+
var slicedToArray = __webpack_require__(19);
|
8405 |
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
8406 |
|
8407 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js
|
8424 |
var external_this_wp_data_ = __webpack_require__(15);
|
8425 |
|
8426 |
// EXTERNAL MODULE: ./client/navigation/utils.js
|
8427 |
+
var utils = __webpack_require__(86);
|
8428 |
|
8429 |
// EXTERNAL MODULE: external {"this":["wp","components"]}
|
8430 |
var external_this_wp_components_ = __webpack_require__(4);
|
8433 |
var external_this_wp_htmlEntities_ = __webpack_require__(40);
|
8434 |
|
8435 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
8436 |
+
var icon = __webpack_require__(304);
|
8437 |
|
8438 |
// EXTERNAL MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js
|
8439 |
var svg = __webpack_require__(196);
|
8456 |
// EXTERNAL MODULE: ./client/settings/index.js
|
8457 |
var settings = __webpack_require__(25);
|
8458 |
|
|
|
|
|
|
|
8459 |
// EXTERNAL MODULE: ./node_modules/classnames/index.js
|
8460 |
var classnames = __webpack_require__(7);
|
8461 |
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
8464 |
var external_lodash_ = __webpack_require__(3);
|
8465 |
|
8466 |
// EXTERNAL MODULE: ./client/hooks/useIsScrolled.js
|
8467 |
+
var useIsScrolled = __webpack_require__(138);
|
8468 |
|
8469 |
// CONCATENATED MODULE: ./client/navigation/components/header/index.js
|
8470 |
|
8471 |
|
8472 |
+
|
8473 |
/**
|
8474 |
* External dependencies
|
8475 |
*/
|
8488 |
|
8489 |
|
8490 |
|
8491 |
+
|
8492 |
var header_Header = function Header() {
|
8493 |
var siteTitle = Object(settings["g" /* getSetting */])('siteTitle', '');
|
8494 |
var siteUrl = Object(settings["g" /* getSetting */])('siteUrl', '');
|
8495 |
var isScrolled = Object(useIsScrolled["a" /* default */])();
|
8496 |
+
|
8497 |
+
var _useState = Object(external_this_wp_element_["useState"])(document.body.classList.contains(false)),
|
8498 |
+
_useState2 = slicedToArray_default()(_useState, 2),
|
8499 |
+
isFolded = _useState2[0],
|
8500 |
+
setIsFolded = _useState2[1];
|
8501 |
+
|
8502 |
var navClasses = {
|
8503 |
folded: 'is-wc-nav-folded',
|
8504 |
expanded: 'is-wc-nav-expanded'
|
8507 |
var foldNav = function foldNav() {
|
8508 |
document.body.classList.add(navClasses.folded);
|
8509 |
document.body.classList.remove(navClasses.expanded);
|
8510 |
+
setIsFolded(true);
|
8511 |
};
|
8512 |
|
8513 |
var expandNav = function expandNav() {
|
8514 |
document.body.classList.remove(navClasses.folded);
|
8515 |
document.body.classList.add(navClasses.expanded);
|
8516 |
+
setIsFolded(false);
|
8517 |
};
|
8518 |
|
8519 |
var toggleFolded = function toggleFolded() {
|
8534 |
}
|
8535 |
};
|
8536 |
|
8537 |
+
Object(external_this_wp_element_["useEffect"])(function () {
|
8538 |
foldOnMobile();
|
8539 |
var foldEvents = [{
|
8540 |
eventName: 'orientationchange',
|
8554 |
handler = _foldEvents$_i.handler;
|
8555 |
window.addEventListener(eventName, handler, false);
|
8556 |
}
|
8557 |
+
|
8558 |
+
Object(utils["a" /* addHistoryListener */])(function () {
|
8559 |
+
return foldOnMobile();
|
8560 |
+
});
|
8561 |
}, []);
|
8562 |
var buttonIcon = Object(external_this_wp_element_["createElement"])(icon["a" /* default */], {
|
8563 |
size: "36px",
|
8598 |
onClick: function onClick() {
|
8599 |
return toggleFolded();
|
8600 |
},
|
8601 |
+
className: "woocommerce-navigation-header__site-icon",
|
8602 |
+
"aria-label": "Fold navigation",
|
8603 |
+
role: "switch",
|
8604 |
+
"aria-checked": isFolded ? 'true' : 'false'
|
8605 |
}, buttonIcon), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
8606 |
href: siteUrl,
|
8607 |
className: "woocommerce-navigation-header__site-title",
|
8889 |
|
8890 |
/***/ }),
|
8891 |
|
8892 |
+
/***/ 296:
|
8893 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8894 |
|
8895 |
"use strict";
|
8896 |
__webpack_require__.r(__webpack_exports__);
|
8897 |
/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
8898 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
8899 |
+
/* harmony import */ var _wordpress_notices__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(471);
|
8900 |
+
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23);
|
8901 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_2__);
|
8902 |
+
/* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(298);
|
8903 |
/* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3__);
|
8904 |
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(141);
|
8905 |
+
/* harmony import */ var _customer_effort_score_tracks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(286);
|
8906 |
+
/* harmony import */ var _navigation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(287);
|
8907 |
|
8908 |
|
8909 |
/**
|
8977 |
Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["render"])(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_customer_effort_score_tracks__WEBPACK_IMPORTED_MODULE_5__[/* CustomerEffortScoreTracksContainer */ "a"], null), root.insertBefore(document.createElement('div'), null));
|
8978 |
})();
|
8979 |
}
|
8980 |
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(82)))
|
8981 |
+
|
8982 |
+
/***/ }),
|
8983 |
+
|
8984 |
+
/***/ 298:
|
8985 |
+
/***/ (function(module, exports, __webpack_require__) {
|
8986 |
+
|
8987 |
+
// extracted by mini-css-extract-plugin
|
8988 |
+
|
8989 |
+
/***/ }),
|
8990 |
+
|
8991 |
+
/***/ 299:
|
8992 |
+
/***/ (function(module, exports, __webpack_require__) {
|
8993 |
+
|
8994 |
+
// extracted by mini-css-extract-plugin
|
8995 |
|
8996 |
/***/ }),
|
8997 |
|
9035 |
/***/ 301:
|
9036 |
/***/ (function(module, exports, __webpack_require__) {
|
9037 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9038 |
"use strict";
|
9039 |
|
9040 |
|
9108 |
|
9109 |
/***/ }),
|
9110 |
|
9111 |
+
/***/ 302:
|
9112 |
/***/ (function(module, exports, __webpack_require__) {
|
9113 |
|
9114 |
// extracted by mini-css-extract-plugin
|
9115 |
|
9116 |
/***/ }),
|
9117 |
|
9118 |
+
/***/ 303:
|
9119 |
/***/ (function(module, exports, __webpack_require__) {
|
9120 |
|
9121 |
// extracted by mini-css-extract-plugin
|
9122 |
|
9123 |
/***/ }),
|
9124 |
|
9125 |
+
/***/ 304:
|
9126 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9127 |
|
9128 |
"use strict";
|
9140 |
/**
|
9141 |
* WordPress dependencies
|
9142 |
*/
|
|
|
|
|
|
|
9143 |
|
9144 |
+
/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
|
|
|
|
|
9145 |
|
9146 |
/**
|
9147 |
* Return an SVG icon.
|
9170 |
|
9171 |
/***/ }),
|
9172 |
|
9173 |
+
/***/ 305:
|
9174 |
/***/ (function(module, exports, __webpack_require__) {
|
9175 |
|
9176 |
// extracted by mini-css-extract-plugin
|
9177 |
|
9178 |
/***/ }),
|
9179 |
|
9180 |
+
/***/ 306:
|
9181 |
/***/ (function(module, exports) {
|
9182 |
|
9183 |
function _inheritsLoose(subClass, superClass) {
|
9188 |
|
9189 |
module.exports = _inheritsLoose;
|
9190 |
|
9191 |
+
/***/ }),
|
9192 |
+
|
9193 |
+
/***/ 307:
|
9194 |
+
/***/ (function(module, exports, __webpack_require__) {
|
9195 |
+
|
9196 |
+
// extracted by mini-css-extract-plugin
|
9197 |
+
|
9198 |
+
/***/ }),
|
9199 |
+
|
9200 |
+
/***/ 308:
|
9201 |
+
/***/ (function(module, exports) {
|
9202 |
+
|
9203 |
+
module.exports = Array.isArray || function (arr) {
|
9204 |
+
return Object.prototype.toString.call(arr) == '[object Array]';
|
9205 |
+
};
|
9206 |
+
|
9207 |
+
|
9208 |
/***/ }),
|
9209 |
|
9210 |
/***/ 309:
|
9245 |
|
9246 |
/***/ }),
|
9247 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9248 |
/***/ 32:
|
9249 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9250 |
|
9273 |
/***/ 34:
|
9274 |
/***/ (function(module, exports, __webpack_require__) {
|
9275 |
|
9276 |
+
var objectWithoutPropertiesLoose = __webpack_require__(96);
|
9277 |
|
9278 |
function _objectWithoutProperties(source, excluded) {
|
9279 |
if (source == null) return {};
|
9461 |
|
9462 |
/***/ }),
|
9463 |
|
9464 |
+
/***/ 471:
|
9465 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9466 |
|
9467 |
"use strict";
|
9485 |
var external_this_wp_data_ = __webpack_require__(15);
|
9486 |
|
9487 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
9488 |
+
var toConsumableArray = __webpack_require__(80);
|
9489 |
|
9490 |
// EXTERNAL MODULE: external "lodash"
|
9491 |
var external_lodash_ = __webpack_require__(3);
|
9579 |
/* harmony default export */ var store_reducer = (notices);
|
9580 |
//# sourceMappingURL=reducer.js.map
|
9581 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
9582 |
+
var regenerator = __webpack_require__(8);
|
9583 |
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
9584 |
|
9585 |
// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/constants.js
|
9853 |
}
|
9854 |
//# sourceMappingURL=selectors.js.map
|
9855 |
// EXTERNAL MODULE: ./node_modules/@wordpress/a11y/build-module/index.js + 4 modules
|
9856 |
+
var build_module = __webpack_require__(140);
|
9857 |
|
9858 |
// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/controls.js
|
9859 |
/**
|
9895 |
|
9896 |
/***/ }),
|
9897 |
|
9898 |
+
/***/ 479:
|
9899 |
/***/ (function(module, exports) {
|
9900 |
|
9901 |
+
(function() { module.exports = this["wc"]["csvExport"]; }());
|
9902 |
|
9903 |
/***/ }),
|
9904 |
|
9905 |
+
/***/ 48:
|
9906 |
/***/ (function(module, exports) {
|
9907 |
|
9908 |
+
(function() { module.exports = this["ReactDOM"]; }());
|
9909 |
|
9910 |
/***/ }),
|
9911 |
|
9937 |
"use strict";
|
9938 |
|
9939 |
|
9940 |
+
var stringify = __webpack_require__(87);
|
9941 |
+
var parse = __webpack_require__(88);
|
9942 |
+
var formats = __webpack_require__(52);
|
9943 |
|
9944 |
module.exports = {
|
9945 |
formats: formats,
|
9956 |
"use strict";
|
9957 |
|
9958 |
|
9959 |
+
var replace = String.prototype.replace;
|
9960 |
+
var percentTwenties = /%20/g;
|
9961 |
|
9962 |
+
var Format = {
|
9963 |
+
RFC1738: 'RFC1738',
|
9964 |
+
RFC3986: 'RFC3986'
|
9965 |
+
};
|
|
|
9966 |
|
9967 |
+
module.exports = {
|
9968 |
+
'default': Format.RFC3986,
|
9969 |
+
formatters: {
|
9970 |
+
RFC1738: function (value) {
|
9971 |
+
return replace.call(value, percentTwenties, '+');
|
9972 |
+
},
|
9973 |
+
RFC3986: function (value) {
|
9974 |
+
return String(value);
|
9975 |
+
}
|
9976 |
+
},
|
9977 |
+
RFC1738: Format.RFC1738,
|
9978 |
+
RFC3986: Format.RFC3986
|
9979 |
+
};
|
9980 |
|
|
|
|
|
|
|
|
|
9981 |
|
9982 |
+
/***/ }),
|
|
|
9983 |
|
9984 |
+
/***/ 54:
|
9985 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
9986 |
|
9987 |
+
"use strict";
|
9988 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return domReady; });
|
9989 |
+
/**
|
9990 |
+
* @typedef {() => void} Callback
|
9991 |
+
*
|
9992 |
+
* TODO: Remove this typedef and inline `() => void` type.
|
9993 |
+
*
|
9994 |
+
* This typedef is used so that a descriptive type is provided in our
|
9995 |
+
* automatically generated documentation.
|
9996 |
+
*
|
9997 |
+
* An in-line type `() => void` would be preferable, but the generated
|
9998 |
+
* documentation is `null` in that case.
|
9999 |
+
*
|
10000 |
+
* @see https://github.com/WordPress/gutenberg/issues/18045
|
10001 |
+
*/
|
10002 |
|
10003 |
+
/**
|
10004 |
+
* Specify a function to execute when the DOM is fully loaded.
|
10005 |
+
*
|
10006 |
+
* @param {Callback} callback A function to execute after the DOM is ready.
|
10007 |
+
*
|
10008 |
+
* @example
|
10009 |
+
* ```js
|
10010 |
+
* import domReady from '@wordpress/dom-ready';
|
10011 |
+
*
|
10012 |
+
* domReady( function() {
|
10013 |
+
* //do something after DOM loads.
|
10014 |
+
* } );
|
10015 |
+
* ```
|
10016 |
+
*
|
10017 |
+
* @return {void}
|
10018 |
+
*/
|
10019 |
+
function domReady(callback) {
|
10020 |
+
if (document.readyState === 'complete' || // DOMContentLoaded + Images/Styles/etc loaded, so we call directly.
|
10021 |
+
document.readyState === 'interactive' // DOMContentLoaded fires at this point, so we call directly.
|
10022 |
+
) {
|
10023 |
+
return void callback();
|
10024 |
+
} // DOMContentLoaded has not fired yet, delay callback until then.
|
10025 |
|
|
|
|
|
10026 |
|
10027 |
+
document.addEventListener('DOMContentLoaded', callback);
|
10028 |
+
}
|
10029 |
+
//# sourceMappingURL=index.js.map
|
|
|
|
|
10030 |
|
10031 |
+
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10032 |
|
10033 |
+
/***/ 55:
|
10034 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10035 |
|
10036 |
+
"use strict";
|
10037 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
10038 |
+
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41);
|
10039 |
|
10040 |
+
function _objectWithoutProperties(source, excluded) {
|
10041 |
+
if (source == null) return {};
|
10042 |
+
var target = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
|
10043 |
+
var key, i;
|
10044 |
|
10045 |
+
if (Object.getOwnPropertySymbols) {
|
10046 |
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
10047 |
+
|
10048 |
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
10049 |
+
key = sourceSymbolKeys[i];
|
10050 |
+
if (excluded.indexOf(key) >= 0) continue;
|
10051 |
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
10052 |
+
target[key] = source[key];
|
|
|
|
|
|
|
|
|
|
|
|
|
10053 |
}
|
10054 |
+
}
|
10055 |
|
10056 |
+
return target;
|
10057 |
+
}
|
10058 |
|
10059 |
+
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10060 |
|
10061 |
/***/ 56:
|
10062 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10937 |
}
|
10938 |
|
10939 |
|
10940 |
+
/***/ }),
|
10941 |
+
|
10942 |
+
/***/ 68:
|
10943 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10944 |
+
|
10945 |
+
"use strict";
|
10946 |
+
|
10947 |
+
|
10948 |
+
var formats = __webpack_require__(52);
|
10949 |
+
|
10950 |
+
var has = Object.prototype.hasOwnProperty;
|
10951 |
+
var isArray = Array.isArray;
|
10952 |
+
|
10953 |
+
var hexTable = (function () {
|
10954 |
+
var array = [];
|
10955 |
+
for (var i = 0; i < 256; ++i) {
|
10956 |
+
array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
|
10957 |
+
}
|
10958 |
+
|
10959 |
+
return array;
|
10960 |
+
}());
|
10961 |
+
|
10962 |
+
var compactQueue = function compactQueue(queue) {
|
10963 |
+
while (queue.length > 1) {
|
10964 |
+
var item = queue.pop();
|
10965 |
+
var obj = item.obj[item.prop];
|
10966 |
+
|
10967 |
+
if (isArray(obj)) {
|
10968 |
+
var compacted = [];
|
10969 |
+
|
10970 |
+
for (var j = 0; j < obj.length; ++j) {
|
10971 |
+
if (typeof obj[j] !== 'undefined') {
|
10972 |
+
compacted.push(obj[j]);
|
10973 |
+
}
|
10974 |
+
}
|
10975 |
+
|
10976 |
+
item.obj[item.prop] = compacted;
|
10977 |
+
}
|
10978 |
+
}
|
10979 |
+
};
|
10980 |
+
|
10981 |
+
var arrayToObject = function arrayToObject(source, options) {
|
10982 |
+
var obj = options && options.plainObjects ? Object.create(null) : {};
|
10983 |
+
for (var i = 0; i < source.length; ++i) {
|
10984 |
+
if (typeof source[i] !== 'undefined') {
|
10985 |
+
obj[i] = source[i];
|
10986 |
+
}
|
10987 |
+
}
|
10988 |
+
|
10989 |
+
return obj;
|
10990 |
+
};
|
10991 |
+
|
10992 |
+
var merge = function merge(target, source, options) {
|
10993 |
+
/* eslint no-param-reassign: 0 */
|
10994 |
+
if (!source) {
|
10995 |
+
return target;
|
10996 |
+
}
|
10997 |
+
|
10998 |
+
if (typeof source !== 'object') {
|
10999 |
+
if (isArray(target)) {
|
11000 |
+
target.push(source);
|
11001 |
+
} else if (target && typeof target === 'object') {
|
11002 |
+
if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
|
11003 |
+
target[source] = true;
|
11004 |
+
}
|
11005 |
+
} else {
|
11006 |
+
return [target, source];
|
11007 |
+
}
|
11008 |
+
|
11009 |
+
return target;
|
11010 |
+
}
|
11011 |
+
|
11012 |
+
if (!target || typeof target !== 'object') {
|
11013 |
+
return [target].concat(source);
|
11014 |
+
}
|
11015 |
+
|
11016 |
+
var mergeTarget = target;
|
11017 |
+
if (isArray(target) && !isArray(source)) {
|
11018 |
+
mergeTarget = arrayToObject(target, options);
|
11019 |
+
}
|
11020 |
+
|
11021 |
+
if (isArray(target) && isArray(source)) {
|
11022 |
+
source.forEach(function (item, i) {
|
11023 |
+
if (has.call(target, i)) {
|
11024 |
+
var targetItem = target[i];
|
11025 |
+
if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
|
11026 |
+
target[i] = merge(targetItem, item, options);
|
11027 |
+
} else {
|
11028 |
+
target.push(item);
|
11029 |
+
}
|
11030 |
+
} else {
|
11031 |
+
target[i] = item;
|
11032 |
+
}
|
11033 |
+
});
|
11034 |
+
return target;
|
11035 |
+
}
|
11036 |
+
|
11037 |
+
return Object.keys(source).reduce(function (acc, key) {
|
11038 |
+
var value = source[key];
|
11039 |
+
|
11040 |
+
if (has.call(acc, key)) {
|
11041 |
+
acc[key] = merge(acc[key], value, options);
|
11042 |
+
} else {
|
11043 |
+
acc[key] = value;
|
11044 |
+
}
|
11045 |
+
return acc;
|
11046 |
+
}, mergeTarget);
|
11047 |
+
};
|
11048 |
+
|
11049 |
+
var assign = function assignSingleSource(target, source) {
|
11050 |
+
return Object.keys(source).reduce(function (acc, key) {
|
11051 |
+
acc[key] = source[key];
|
11052 |
+
return acc;
|
11053 |
+
}, target);
|
11054 |
+
};
|
11055 |
+
|
11056 |
+
var decode = function (str, decoder, charset) {
|
11057 |
+
var strWithoutPlus = str.replace(/\+/g, ' ');
|
11058 |
+
if (charset === 'iso-8859-1') {
|
11059 |
+
// unescape never throws, no try...catch needed:
|
11060 |
+
return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
|
11061 |
+
}
|
11062 |
+
// utf-8
|
11063 |
+
try {
|
11064 |
+
return decodeURIComponent(strWithoutPlus);
|
11065 |
+
} catch (e) {
|
11066 |
+
return strWithoutPlus;
|
11067 |
+
}
|
11068 |
+
};
|
11069 |
+
|
11070 |
+
var encode = function encode(str, defaultEncoder, charset, kind, format) {
|
11071 |
+
// This code was originally written by Brian White (mscdex) for the io.js core querystring library.
|
11072 |
+
// It has been adapted here for stricter adherence to RFC 3986
|
11073 |
+
if (str.length === 0) {
|
11074 |
+
return str;
|
11075 |
+
}
|
11076 |
+
|
11077 |
+
var string = str;
|
11078 |
+
if (typeof str === 'symbol') {
|
11079 |
+
string = Symbol.prototype.toString.call(str);
|
11080 |
+
} else if (typeof str !== 'string') {
|
11081 |
+
string = String(str);
|
11082 |
+
}
|
11083 |
+
|
11084 |
+
if (charset === 'iso-8859-1') {
|
11085 |
+
return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
|
11086 |
+
return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
|
11087 |
+
});
|
11088 |
+
}
|
11089 |
+
|
11090 |
+
var out = '';
|
11091 |
+
for (var i = 0; i < string.length; ++i) {
|
11092 |
+
var c = string.charCodeAt(i);
|
11093 |
+
|
11094 |
+
if (
|
11095 |
+
c === 0x2D // -
|
11096 |
+
|| c === 0x2E // .
|
11097 |
+
|| c === 0x5F // _
|
11098 |
+
|| c === 0x7E // ~
|
11099 |
+
|| (c >= 0x30 && c <= 0x39) // 0-9
|
11100 |
+
|| (c >= 0x41 && c <= 0x5A) // a-z
|
11101 |
+
|| (c >= 0x61 && c <= 0x7A) // A-Z
|
11102 |
+
|| (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
|
11103 |
+
) {
|
11104 |
+
out += string.charAt(i);
|
11105 |
+
continue;
|
11106 |
+
}
|
11107 |
+
|
11108 |
+
if (c < 0x80) {
|
11109 |
+
out = out + hexTable[c];
|
11110 |
+
continue;
|
11111 |
+
}
|
11112 |
+
|
11113 |
+
if (c < 0x800) {
|
11114 |
+
out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
|
11115 |
+
continue;
|
11116 |
+
}
|
11117 |
+
|
11118 |
+
if (c < 0xD800 || c >= 0xE000) {
|
11119 |
+
out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
|
11120 |
+
continue;
|
11121 |
+
}
|
11122 |
+
|
11123 |
+
i += 1;
|
11124 |
+
c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
|
11125 |
+
out += hexTable[0xF0 | (c >> 18)]
|
11126 |
+
+ hexTable[0x80 | ((c >> 12) & 0x3F)]
|
11127 |
+
+ hexTable[0x80 | ((c >> 6) & 0x3F)]
|
11128 |
+
+ hexTable[0x80 | (c & 0x3F)];
|
11129 |
+
}
|
11130 |
+
|
11131 |
+
return out;
|
11132 |
+
};
|
11133 |
+
|
11134 |
+
var compact = function compact(value) {
|
11135 |
+
var queue = [{ obj: { o: value }, prop: 'o' }];
|
11136 |
+
var refs = [];
|
11137 |
|
11138 |
+
for (var i = 0; i < queue.length; ++i) {
|
11139 |
+
var item = queue[i];
|
11140 |
+
var obj = item.obj[item.prop];
|
11141 |
|
11142 |
+
var keys = Object.keys(obj);
|
11143 |
+
for (var j = 0; j < keys.length; ++j) {
|
11144 |
+
var key = keys[j];
|
11145 |
+
var val = obj[key];
|
11146 |
+
if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
|
11147 |
+
queue.push({ obj: obj, prop: key });
|
11148 |
+
refs.push(val);
|
11149 |
+
}
|
11150 |
+
}
|
11151 |
+
}
|
11152 |
|
11153 |
+
compactQueue(queue);
|
11154 |
|
11155 |
+
return value;
|
11156 |
+
};
|
11157 |
|
11158 |
+
var isRegExp = function isRegExp(obj) {
|
11159 |
+
return Object.prototype.toString.call(obj) === '[object RegExp]';
|
11160 |
+
};
|
11161 |
|
11162 |
+
var isBuffer = function isBuffer(obj) {
|
11163 |
+
if (!obj || typeof obj !== 'object') {
|
11164 |
+
return false;
|
11165 |
+
}
|
11166 |
+
|
11167 |
+
return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
|
11168 |
};
|
11169 |
|
11170 |
+
var combine = function combine(a, b) {
|
11171 |
+
return [].concat(a, b);
|
11172 |
+
};
|
11173 |
+
|
11174 |
+
var maybeMap = function maybeMap(val, fn) {
|
11175 |
+
if (isArray(val)) {
|
11176 |
+
var mapped = [];
|
11177 |
+
for (var i = 0; i < val.length; i += 1) {
|
11178 |
+
mapped.push(fn(val[i]));
|
|
|
11179 |
}
|
11180 |
+
return mapped;
|
11181 |
+
}
|
11182 |
+
return fn(val);
|
11183 |
+
};
|
11184 |
+
|
11185 |
+
module.exports = {
|
11186 |
+
arrayToObject: arrayToObject,
|
11187 |
+
assign: assign,
|
11188 |
+
combine: combine,
|
11189 |
+
compact: compact,
|
11190 |
+
decode: decode,
|
11191 |
+
encode: encode,
|
11192 |
+
isBuffer: isBuffer,
|
11193 |
+
isRegExp: isRegExp,
|
11194 |
+
maybeMap: maybeMap,
|
11195 |
+
merge: merge
|
11196 |
+
};
|
11197 |
|
11198 |
|
11199 |
/***/ }),
|
12333 |
|
12334 |
/***/ }),
|
12335 |
|
12336 |
+
/***/ 72:
|
12337 |
/***/ (function(module, exports) {
|
12338 |
|
12339 |
(function() { module.exports = this["wp"]["date"]; }());
|
12340 |
|
12341 |
/***/ }),
|
12342 |
|
12343 |
+
/***/ 73:
|
12344 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12345 |
|
12346 |
"use strict";
|
12353 |
|
12354 |
/***/ }),
|
12355 |
|
12356 |
+
/***/ 74:
|
12357 |
/***/ (function(module, exports) {
|
12358 |
|
12359 |
function _setPrototypeOf(o, p) {
|
12369 |
|
12370 |
/***/ }),
|
12371 |
|
12372 |
+
/***/ 75:
|
12373 |
/***/ (function(module, exports, __webpack_require__) {
|
12374 |
|
12375 |
"use strict";
|
12382 |
|
12383 |
|
12384 |
|
12385 |
+
var ReactPropTypesSecret = __webpack_require__(76);
|
12386 |
|
12387 |
function emptyFunction() {}
|
12388 |
function emptyFunctionWithReset() {}
|
12441 |
|
12442 |
/***/ }),
|
12443 |
|
12444 |
+
/***/ 76:
|
12445 |
/***/ (function(module, exports, __webpack_require__) {
|
12446 |
|
12447 |
"use strict";
|
12462 |
/***/ }),
|
12463 |
|
12464 |
/***/ 8:
|
12465 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
12466 |
|
12467 |
+
module.exports = __webpack_require__(67);
|
|
|
12468 |
|
|
|
12469 |
|
12470 |
/***/ }),
|
12471 |
|
12472 |
+
/***/ 80:
|
12473 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12474 |
|
12475 |
"use strict";
|
12490 |
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
|
12491 |
}
|
12492 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
12493 |
+
var unsupportedIterableToArray = __webpack_require__(93);
|
12494 |
|
12495 |
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
12496 |
function _nonIterableSpread() {
|
12507 |
|
12508 |
/***/ }),
|
12509 |
|
12510 |
+
/***/ 82:
|
12511 |
/***/ (function(module, exports) {
|
12512 |
|
12513 |
var g;
|
12535 |
/***/ }),
|
12536 |
|
12537 |
/***/ 86:
|
12538 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
12539 |
+
|
12540 |
+
"use strict";
|
12541 |
+
/* unused harmony export getFullUrl */
|
12542 |
+
/* unused harmony export getMatchScore */
|
12543 |
+
/* unused harmony export getDefaultMatchExpression */
|
12544 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addHistoryListener; });
|
12545 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getMatchingItem; });
|
12546 |
+
/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19);
|
12547 |
+
/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);
|
12548 |
+
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(25);
|
12549 |
+
|
12550 |
+
|
12551 |
+
/**
|
12552 |
+
* External dependencies
|
12553 |
+
*/
|
12554 |
+
|
12555 |
+
/**
|
12556 |
+
* Get the full URL if a relative path is passed.
|
12557 |
+
*
|
12558 |
+
* @param {string} url URL
|
12559 |
+
* @return {string} Full URL
|
12560 |
+
*/
|
12561 |
+
|
12562 |
+
var getFullUrl = function getFullUrl(url) {
|
12563 |
+
var _window$location = window.location,
|
12564 |
+
origin = _window$location.origin,
|
12565 |
+
pathname = _window$location.pathname,
|
12566 |
+
search = _window$location.search;
|
12567 |
+
|
12568 |
+
if (url.indexOf('#') === 0) {
|
12569 |
+
return origin + pathname + search + url;
|
12570 |
+
}
|
12571 |
+
|
12572 |
+
if (url.indexOf('http') === 0) {
|
12573 |
+
return url;
|
12574 |
+
}
|
12575 |
+
|
12576 |
+
return origin + url;
|
12577 |
+
};
|
12578 |
+
/**
|
12579 |
+
* Get a match score for a menu item given a location.
|
12580 |
+
*
|
12581 |
+
* @param {Object} location Window location
|
12582 |
+
* @param {string} itemUrl URL to compare
|
12583 |
+
* @param {string} itemExpression Custom match expression
|
12584 |
+
* @return {number} Number of matches or 0 if not matched.
|
12585 |
+
*/
|
12586 |
+
|
12587 |
+
var getMatchScore = function getMatchScore(location, itemUrl) {
|
12588 |
+
var itemExpression = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
12589 |
+
|
12590 |
+
if (!itemUrl) {
|
12591 |
+
return;
|
12592 |
+
}
|
12593 |
+
|
12594 |
+
var fullUrl = getFullUrl(itemUrl);
|
12595 |
+
var href = location.href; // Return highest possible score for exact match.
|
12596 |
+
|
12597 |
+
if (fullUrl === href) {
|
12598 |
+
return Number.MAX_SAFE_INTEGER;
|
12599 |
+
}
|
12600 |
+
|
12601 |
+
var defaultExpression = getDefaultMatchExpression(fullUrl);
|
12602 |
+
var regexp = new RegExp(itemExpression || defaultExpression, 'i');
|
12603 |
+
return (decodeURIComponent(href).match(regexp) || []).length;
|
12604 |
+
};
|
12605 |
+
/**
|
12606 |
+
* Get a default expression to match the path and provided params.
|
12607 |
+
*
|
12608 |
+
* @param {string} url URL to match.
|
12609 |
+
* @return {string} Regex expression.
|
12610 |
+
*/
|
12611 |
+
|
12612 |
+
var getDefaultMatchExpression = function getDefaultMatchExpression(url) {
|
12613 |
+
var escapedUrl = url.replace(/[-\/\\^$*+?.()|[\]{}]/gi, '\\$&');
|
12614 |
+
|
12615 |
+
var _escapedUrl$split = escapedUrl.split(/\\\?|#/),
|
12616 |
+
_escapedUrl$split2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_escapedUrl$split, 3),
|
12617 |
+
path = _escapedUrl$split2[0],
|
12618 |
+
args = _escapedUrl$split2[1],
|
12619 |
+
hash = _escapedUrl$split2[2];
|
12620 |
+
|
12621 |
+
var hashExpression = hash ? "(.*#".concat(hash, "$)") : '';
|
12622 |
+
var argsExpression = args ? args.split('&').reduce(function (acc, param) {
|
12623 |
+
return "".concat(acc, "(?=.*[?|&]").concat(param, "(&|$|#))");
|
12624 |
+
}, '') : '';
|
12625 |
+
return '^' + path + argsExpression + hashExpression;
|
12626 |
+
};
|
12627 |
+
/**
|
12628 |
+
* Adds a listener that runs on history change.
|
12629 |
+
*
|
12630 |
+
* @param {Function} listener Listener to add on history change.
|
12631 |
+
* @return {Function} Function to remove listeners.
|
12632 |
+
*/
|
12633 |
+
|
12634 |
+
var addHistoryListener = function addHistoryListener(listener) {
|
12635 |
+
// Monkey patch pushState to allow trigger the pushstate event listener.
|
12636 |
+
if (!window.wcNavigation.historyPatched) {
|
12637 |
+
(function (history) {
|
12638 |
+
/* global CustomEvent */
|
12639 |
+
var pushState = history.pushState;
|
12640 |
+
var replaceState = history.replaceState;
|
12641 |
+
|
12642 |
+
history.pushState = function (state) {
|
12643 |
+
var pushStateEvent = new CustomEvent('pushstate', {
|
12644 |
+
state: state
|
12645 |
+
});
|
12646 |
+
window.dispatchEvent(pushStateEvent);
|
12647 |
+
return pushState.apply(history, arguments);
|
12648 |
+
};
|
12649 |
+
|
12650 |
+
history.replaceState = function (state) {
|
12651 |
+
var replaceStateEvent = new CustomEvent('replacestate', {
|
12652 |
+
state: state
|
12653 |
+
});
|
12654 |
+
window.dispatchEvent(replaceStateEvent);
|
12655 |
+
return replaceState.apply(history, arguments);
|
12656 |
+
};
|
12657 |
+
|
12658 |
+
window.wcNavigation.historyPatched = true;
|
12659 |
+
})(window.history);
|
12660 |
+
}
|
12661 |
+
|
12662 |
+
window.addEventListener('popstate', listener);
|
12663 |
+
window.addEventListener('pushstate', listener);
|
12664 |
+
window.addEventListener('replacestate', listener);
|
12665 |
+
return function () {
|
12666 |
+
window.removeEventListener('popstate', listener);
|
12667 |
+
window.removeEventListener('pushstate', listener);
|
12668 |
+
window.removeEventListener('replacestate', listener);
|
12669 |
+
};
|
12670 |
+
};
|
12671 |
+
/**
|
12672 |
+
* Get the closest matching item.
|
12673 |
+
*
|
12674 |
+
* @param {Array} items An array of items to match against.
|
12675 |
+
*/
|
12676 |
+
|
12677 |
+
var getMatchingItem = function getMatchingItem(items) {
|
12678 |
+
var matchedItem = null;
|
12679 |
+
var highestMatchScore = 0;
|
12680 |
+
items.forEach(function (item) {
|
12681 |
+
var score = getMatchScore(window.location, Object(_woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_1__[/* getAdminLink */ "f"])(item.url), item.matchExpression);
|
12682 |
+
|
12683 |
+
if (score > 0 && score >= highestMatchScore) {
|
12684 |
+
highestMatchScore = score;
|
12685 |
+
matchedItem = item;
|
12686 |
+
}
|
12687 |
+
});
|
12688 |
+
return matchedItem || null;
|
12689 |
+
};
|
12690 |
+
|
12691 |
+
/***/ }),
|
12692 |
+
|
12693 |
+
/***/ 87:
|
12694 |
/***/ (function(module, exports, __webpack_require__) {
|
12695 |
|
12696 |
"use strict";
|
12697 |
|
12698 |
|
12699 |
+
var utils = __webpack_require__(68);
|
12700 |
+
var formats = __webpack_require__(52);
|
12701 |
var has = Object.prototype.hasOwnProperty;
|
12702 |
|
12703 |
var arrayPrefixGenerators = {
|
12761 |
sort,
|
12762 |
allowDots,
|
12763 |
serializeDate,
|
12764 |
+
format,
|
12765 |
formatter,
|
12766 |
encodeValuesOnly,
|
12767 |
charset
|
12777 |
return serializeDate(value);
|
12778 |
}
|
12779 |
return value;
|
12780 |
+
});
|
12781 |
}
|
12782 |
|
12783 |
if (obj === null) {
|
12784 |
if (strictNullHandling) {
|
12785 |
+
return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;
|
12786 |
}
|
12787 |
|
12788 |
obj = '';
|
12790 |
|
12791 |
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
|
12792 |
if (encoder) {
|
12793 |
+
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
|
12794 |
+
return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
|
12795 |
}
|
12796 |
return [formatter(prefix) + '=' + formatter(String(obj))];
|
12797 |
}
|
12803 |
}
|
12804 |
|
12805 |
var objKeys;
|
12806 |
+
if (generateArrayPrefix === 'comma' && isArray(obj)) {
|
12807 |
+
// we need to join elements in
|
12808 |
+
objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : undefined }];
|
12809 |
+
} else if (isArray(filter)) {
|
12810 |
objKeys = filter;
|
12811 |
} else {
|
12812 |
var keys = Object.keys(obj);
|
12815 |
|
12816 |
for (var i = 0; i < objKeys.length; ++i) {
|
12817 |
var key = objKeys[i];
|
12818 |
+
var value = typeof key === 'object' && key.value !== undefined ? key.value : obj[key];
|
12819 |
|
12820 |
if (skipNulls && value === null) {
|
12821 |
continue;
|
12836 |
sort,
|
12837 |
allowDots,
|
12838 |
serializeDate,
|
12839 |
+
format,
|
12840 |
formatter,
|
12841 |
encodeValuesOnly,
|
12842 |
charset
|
12884 |
encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
|
12885 |
encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
|
12886 |
filter: filter,
|
12887 |
+
format: format,
|
12888 |
formatter: formatter,
|
12889 |
serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
|
12890 |
skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
|
12950 |
options.sort,
|
12951 |
options.allowDots,
|
12952 |
options.serializeDate,
|
12953 |
+
options.format,
|
12954 |
options.formatter,
|
12955 |
options.encodeValuesOnly,
|
12956 |
options.charset
|
12976 |
|
12977 |
/***/ }),
|
12978 |
|
12979 |
+
/***/ 88:
|
12980 |
/***/ (function(module, exports, __webpack_require__) {
|
12981 |
|
12982 |
"use strict";
|
12983 |
|
12984 |
|
12985 |
+
var utils = __webpack_require__(68);
|
12986 |
|
12987 |
var has = Object.prototype.hasOwnProperty;
|
12988 |
var isArray = Array.isArray;
|
13122 |
}
|
13123 |
}
|
13124 |
|
13125 |
+
leaf = obj;
|
13126 |
}
|
13127 |
|
13128 |
return leaf;
|
13242 |
/***/ }),
|
13243 |
|
13244 |
/***/ 9:
|
13245 |
+
/***/ (function(module, exports) {
|
13246 |
|
13247 |
+
function _assertThisInitialized(self) {
|
13248 |
+
if (self === void 0) {
|
13249 |
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
13250 |
+
}
|
13251 |
+
|
13252 |
+
return self;
|
13253 |
+
}
|
13254 |
|
13255 |
+
module.exports = _assertThisInitialized;
|
13256 |
|
13257 |
/***/ }),
|
13258 |
|
13259 |
+
/***/ 93:
|
13260 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13261 |
|
13262 |
"use strict";
|
13274 |
|
13275 |
/***/ }),
|
13276 |
|
13277 |
+
/***/ 94:
|
13278 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
13279 |
|
13280 |
"use strict";
|
13285 |
/* unused harmony export getProductList */
|
13286 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getPriceValue; });
|
13287 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return isWCAdmin; });
|
13288 |
+
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20);
|
13289 |
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);
|
13290 |
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(40);
|
13291 |
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_1__);
|
13437 |
|
13438 |
/***/ }),
|
13439 |
|
13440 |
+
/***/ 96:
|
13441 |
/***/ (function(module, exports) {
|
13442 |
|
13443 |
function _objectWithoutPropertiesLoose(source, excluded) {
|
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 n,r,i=t[0],a=t[1],c=0,u=[];c<i.length;c++)r=i[c],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&u.push(o[r][0]),o[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(l&&l(t);u.length;)u.shift()()}var n={},r={21:0},o={21:0};function i(e){var t=function(e){return a.p+"chunks/"+({7:"activity-panels-help",8:"activity-panels-inbox",9:"analytics-report",10:"analytics-report-categories",11:"analytics-report-coupons",12:"analytics-report-customers",13:"analytics-report-downloads",14:"analytics-report-orders",15:"analytics-report-products",16:"analytics-report-revenue",17:"analytics-report-stock",18:"analytics-report-taxes",19:"analytics-report-variations",20:"analytics-settings",27:"customizable-dashboard",28:"dashboard",29:"dashboard-charts",32:"homescreen",34:"leaderboards",36:"marketing-overview",46:"profile-wizard",47:"store-alerts",48:"store-performance",49:"task-list",51:"wcpay-usage-modal"}[e]||e)+".min.js"}(e);return window.wcAdminAssets&&window.wcAdminAssets.version&&(t+="?ver="+window.wcAdminAssets.version),t}function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{0:1,3:1,4:1,7:1,9:1,14:1,20:1,28:1,29:1,32:1,34:1,36:1,46:1,47:1,48:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="rtl"===document.dir?"./chunks/"+e+".style.rtl.css":"./chunks/"+e+".style.css",i=a.p+o,c=document.getElementsByTagName("link"),u=0;u<c.length;u++){var s=(f=c[u]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(s===o||s===i))return t()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){var f;if((s=(f=l[u]).getAttribute("data-href"))===o||s===i)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.setAttribute("data-webpack",!0),p.onload=t,p.onerror=function(t){var o=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=o,delete r[e],p.parentNode.removeChild(p),n(a)},p.href=i,window.wcAdminAssets&&window.wcAdminAssets.version&&(p.href+="?ver="+window.wcAdminAssets.version),document.getElementsByTagName("head")[0].appendChild(p)})).then((function(){r[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var c=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=c);var u,s=document.createElement("script");s.charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.src=i(e);var l=new Error;u=function(t){s.onerror=s.onload=null,clearTimeout(f);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",l.name="ChunkLoadError",l.type=r,l.request=i,n[1](l)}o[e]=void 0}};var f=setTimeout((function(){u({type:"timeout",target:s})}),12e4);s.onerror=s.onload=u,document.head.appendChild(s)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var c=window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[],u=c.push.bind(c);c.push=t,c=c.slice();for(var s=0;s<c.length;s++)t(c[s]);var l=u;return a(a.s=298)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t,n){e.exports=n(76)()},10:function(e,t){!function(){e.exports=this.React}()},105:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return s}));var r=n(21),o=n.n(r),i=n(25),a=function(e){var t=window.location,n=t.origin,r=t.pathname,o=t.search;return 0===e.indexOf("#")?n+r+o+e:0===e.indexOf("http")?e:n+e},c=function(e){var t=e.replace(/[-\/\\^$*+?.()|[\]{}]/gi,"\\$&").split(/\\\?|#/),n=o()(t,3),r=n[0],i=n[1],a=n[2],c=a?"(.*#".concat(a,"$)"):"";return"^"+r+(i?i.split("&").reduce((function(e,t){return"".concat(e,"(?=.*[?|&]").concat(t,"(&|$|#))")}),""):"")+c},u=function(e){var t,n,r;return window.wcNavigation.historyPatched||(t=window.history,n=t.pushState,r=t.replaceState,t.pushState=function(e){var r=new CustomEvent("pushstate",{state:e});return window.dispatchEvent(r),n.apply(t,arguments)},t.replaceState=function(e){var n=new CustomEvent("replacestate",{state:e});return window.dispatchEvent(n),r.apply(t,arguments)},window.wcNavigation.historyPatched=!0),window.addEventListener("popstate",e),window.addEventListener("pushstate",e),window.addEventListener("replacestate",e),function(){window.removeEventListener("popstate",e),window.removeEventListener("pushstate",e),window.removeEventListener("replacestate",e)}},s=function(e){var t=null,n=0;return e.forEach((function(e){var r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(t){var r=a(t),o=e.href;if(r===o)return Number.MAX_SAFE_INTEGER;var i=c(r),u=new RegExp(n||i,"i");return(decodeURIComponent(o).match(u)||[]).length}}(window.location,Object(i.f)(e.url),e.matchExpression);r>0&&r>=n&&(n=r,t=e)})),t||null}},11:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},110:function(e,t){!function(){e.exports=this.wc.currency}()},12:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},121:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,o=e.onClick,i=(e.icon,e.className),c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),u=["gridicon","gridicons-cross-small",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:u,height:n,width:n,onClick:o},c,{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,i=n(10),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},125:function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,s=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?s=u.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=c(p);l=!0;for(var t=s.length;t;){for(u=s,s=[];++f<t;)u&&u[f].run();f=-1,t=s.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new m(e,t)),1!==s.length||l||c(d)},m.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=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,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}},126:function(e,t,n){"use strict";e.exports=n(152)},13:function(e,t,n){var r=n(75);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&&r(e,t)}},138:function(e,t,n){"use strict";var r=n(2),o=n(42),i=n(0),a=n(25),c=Object(a.g)("manageStock","no"),u=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,489))})),s=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(3),n.e(15)]).then(n.bind(null,485))})),l=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(19)]).then(n.bind(null,490))})),f=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(5),n.e(14)]).then(n.bind(null,491))})),p=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(3),n.e(10)]).then(n.bind(null,487))})),d=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(11)]).then(n.bind(null,492))})),m=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(18)]).then(n.bind(null,493))})),h=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(13)]).then(n.bind(null,494))})),v=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,486))})),y=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(12)]).then(n.bind(null,488))}));t.a=function(){var e=[{report:"revenue",title:Object(r.__)("Revenue","woocommerce-admin"),component:u,navArgs:{id:"woocommerce-analytics-revenue"}},{report:"products",title:Object(r.__)("Products","woocommerce-admin"),component:s,navArgs:{id:"woocommerce-analytics-products"}},{report:"variations",title:Object(r.__)("Variations","woocommerce-admin"),component:l,navArgs:{id:"woocommerce-analytics-variations"}},{report:"orders",title:Object(r.__)("Orders","woocommerce-admin"),component:f,navArgs:{id:"woocommerce-analytics-orders"}},{report:"categories",title:Object(r.__)("Categories","woocommerce-admin"),component:p,navArgs:{id:"woocommerce-analytics-categories"}},{report:"coupons",title:Object(r.__)("Coupons","woocommerce-admin"),component:d,navArgs:{id:"woocommerce-analytics-coupons"}},{report:"taxes",title:Object(r.__)("Taxes","woocommerce-admin"),component:m,navArgs:{id:"woocommerce-analytics-taxes"}},"yes"===c?{report:"stock",title:Object(r.__)("Stock","woocommerce-admin"),component:v,navArgs:{id:"woocommerce-analytics-stock"}}:null,{report:"customers",title:Object(r.__)("Customers","woocommerce-admin"),component:y},{report:"downloads",title:Object(r.__)("Downloads","woocommerce-admin"),component:h,navArgs:{id:"woocommerce-analytics-downloads"}}].filter(Boolean);return Object(o.applyFilters)("woocommerce_admin_reports_list",e)}},139:function(e,t,n){"use strict";var r=n(126),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={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},c={};function u(e){return r.isMemo(e)?a:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=a;var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=d(n);o&&o!==m&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var c=u(t),h=u(n),v=0;v<a.length;++v){var y=a[v];if(!(i[y]||r&&r[y]||h&&h[y]||c&&c[y])){var b=p(n,y);try{s(t,y,b)}catch(e){}}}}return t}},14:function(e,t,n){var r=n(30),o=n(8);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},140:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(21),o=n.n(r),i=n(0);function a(){var e=Object(i.useState)(!1),t=o()(e,2),n=t[0],r=t[1],a=Object(i.useRef)(null);return Object(i.useEffect)((function(){var e=function(){r(window.pageYOffset>20)},t=function(){a.current=window.requestAnimationFrame(e)};return window.addEventListener("scroll",t),function(){window.removeEventListener("scroll",t),window.cancelAnimationFrame(a.current)}}),[]),n}},141:function(e,t){!function(){e.exports=this.wp.plugins}()},142:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(54),o=n(2);function i(){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 n=document,r=n.body;return r&&r.appendChild(t),t}var a="";function c(e,t){!function(){for(var e=document.getElementsByClassName("a11y-speak-region"),t=document.getElementById("a11y-speak-intro-text"),n=0;n<e.length;n++)e[n].textContent="";t&&t.setAttribute("hidden","hidden")}(),e=function(e){return e=e.replace(/<[^<>]+>/g," "),a===e&&(e+=" "),a=e,e}(e);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),o=document.getElementById("a11y-speak-polite");r&&"assertive"===t?r.textContent=e:o&&(o.textContent=e),n&&n.removeAttribute("hidden")}Object(r.a)((function(){var e=document.getElementById("a11y-speak-intro-text"),t=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===e&&function(){var e=document.createElement("p");e.id="a11y-speak-intro-text",e.className="a11y-speak-intro-text",e.textContent=Object(o.__)("Notifications"),e.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;"),e.setAttribute("hidden","hidden");var t=document.body;t&&t.appendChild(e)}(),null===t&&i("assertive"),null===n&&i("polite")}))},143:function(e,t,n){"use strict";n.d(t,"c",(function(){return bt})),n.d(t,"b",(function(){return jt})),n.d(t,"a",(function(){return _t}));var r=n(24),o=n.n(r),i=n(34),a=n.n(i),c=n(5),u=n.n(c),s=n(11),l=n.n(s),f=n(12),p=n.n(f),d=n(13),m=n.n(d),h=n(14),v=n.n(h),y=n(6),b=n.n(y),g=n(0),w=n(18),O=n(15),j=n(38),_=n(10),E=n.n(_),k=n(1),x=n.n(k),S=n(70),P=n(181),C=n(56),A=n(32),T=n(182),N=n.n(T),L=(n(126),n(41)),R=(n(139),function(e){var t=Object(P.a)();return t.displayName=e,t}("Router-History")),M=function(e){var t=Object(P.a)();return t.displayName=e,t}("Router"),D=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(j.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return E.a.createElement(M.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},E.a.createElement(R.Provider,{children:this.props.children||null,value:this.props.history}))},t}(E.a.Component);E.a.Component;E.a.Component;var I={},V=0;function F(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,c=void 0!==a&&a,u=n.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=I[n]||(I[n]={});if(r[e])return r[e];var o=[],i={regexp:N()(e,o,t),keys:o};return V<1e4&&(r[e]=i,V++),i}(n,{end:i,strict:c,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(e);if(!u)return null;var l=u[0],f=u.slice(1),p=e===l;return i&&!p?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var q=function(e){function t(){return e.apply(this,arguments)||this}return Object(j.a)(t,e),t.prototype.render=function(){var e=this;return E.a.createElement(M.Consumer,null,(function(t){t||Object(C.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?F(n.pathname,e.props):t.match,o=Object(A.a)({},t,{location:n,match:r}),i=e.props,a=i.children,c=i.component,u=i.render;return Array.isArray(a)&&0===a.length&&(a=null),E.a.createElement(M.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:c?E.a.createElement(c,o):u?u(o):null:"function"==typeof a?a(o):null)}))},t}(E.a.Component);function U(e){return"/"===e.charAt(0)?e:"/"+e}function B(e,t){if(!e)return t;var n=U(e);return 0!==t.pathname.indexOf(n)?t:Object(A.a)({},t,{pathname:t.pathname.substr(n.length)})}function H(e){return"string"==typeof e?e:Object(S.d)(e)}function z(e){return function(){Object(C.a)(!1)}}function $(){}E.a.Component;var W=function(e){function t(){return e.apply(this,arguments)||this}return Object(j.a)(t,e),t.prototype.render=function(){var e=this;return E.a.createElement(M.Consumer,null,(function(t){t||Object(C.a)(!1);var n,r,o=e.props.location||t.location;return E.a.Children.forEach(e.props.children,(function(e){if(null==r&&E.a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?F(o.pathname,Object(A.a)({},e.props,{path:i})):t.match}})),r?E.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(E.a.Component);E.a.useContext;var Q=n(3),G=n(50),Y=n(47),Z=n(20),K=n(25),J=n(22),X=n(28),ee=(n(301),n(42)),te=n(2),ne=n(138),re=n(92);function oe(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=b()(e);if(t){var o=b()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var ie=Object(g.lazy)((function(){return n.e(9).then(n.bind(null,582))})),ae=Object(g.lazy)((function(){return n.e(20).then(n.bind(null,599))})),ce=Object(g.lazy)((function(){return n.e(28).then(n.bind(null,583))})),ue=Object(g.lazy)((function(){return Promise.all([n.e(1),n.e(2),n.e(52),n.e(4),n.e(32)]).then(n.bind(null,596))})),se=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(36)]).then(n.bind(null,600))})),le=Object(g.lazy)((function(){return n.e(46).then(n.bind(null,597))})),fe=function(){var e=[],t=[["",wcSettings.woocommerceTranslation]];return e.push({container:ue,path:"/",breadcrumbs:[].concat(t,[Object(te.__)("Home","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-home"}}),window.wcAdminFeatures.analytics&&(e.push({container:ce,path:"/analytics/overview",breadcrumbs:[].concat(t,[["/analytics/overview",Object(te.__)("Analytics","woocommerce-admin")],Object(te.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",navArgs:{id:"woocommerce-analytics-overview"}}),e.push({container:ae,path:"/analytics/settings",breadcrumbs:[].concat(t,[["/analytics/revenue",Object(te.__)("Analytics","woocommerce-admin")],Object(te.__)("Settings","woocommerce-admin")]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",navArgs:{id:"woocommerce-analytics-settings"}}),e.push({container:ie,path:"/customers",breadcrumbs:[].concat(t,[Object(te.__)("Customers","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-analytics-customers"}}),e.push({container:ie,path:"/analytics/:report",breadcrumbs:function(e){var n=e.match,r=Object(Q.find)(Object(ne.a)(),{report:n.params.report});return r?[].concat(t,[["/analytics/revenue",Object(te.__)("Analytics","woocommerce-admin")],r.title]):[]},wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"})),window.wcAdminFeatures.marketing&&e.push({container:se,path:"/marketing",breadcrumbs:[].concat(t,[["/marketing",Object(te.__)("Marketing","woocommerce-admin")],Object(te.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce-marketing",navArgs:{id:"woocommerce-marketing-overview"}}),window.wcAdminFeatures.onboarding&&e.push({container:le,path:"/setup-wizard",breadcrumbs:[].concat(t,[["/setup-wizard",Object(te.__)("Setup Wizard","woocommerce-admin")]])}),Object(ee.applyFilters)("woocommerce_admin_pages_list",e)},pe=function(e){m()(n,e);var t=oe(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"componentDidMount",value:function(){window.document.documentElement.scrollTop=0,window.document.body.classList.remove("woocommerce-admin-is-loading")}},{key:"componentDidUpdate",value:function(e){var t=Object(Q.omit)(e.query,"chartType","filter","paged"),n=Object(Q.omit)(this.props.query,"chartType","filter","paged");e.query.paged>1&&!Object(Q.isEqual)(t,n)&&Object(Z.getHistory)().replace(Object(Z.getNewPath)({paged:1})),e.match.url!==this.props.match.url&&(window.document.documentElement.scrollTop=0)}},{key:"render",value:function(){var e=this.props,t=e.page,n=e.match,r=e.query,o=n.url,i=n.params;return window.wpNavMenuUrlUpdate(r),window.wpNavMenuClassChange(t,o),Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},Object(g.createElement)(t.container,{params:i,path:o,pathMatch:t.path,query:r}))}}]),n}(g.Component);window.wpNavMenuUrlUpdate=function(e){var t=Object(Z.getPersistedQuery)(e),n=Object(Z.getQueryExcludedScreens)();Array.from(document.querySelectorAll("#adminmenu a")).forEach((function(e){return function(e,t,n){if(Object(re.f)(e.href)){var r=Object(Q.last)(e.href.split("?")),o=Object(G.parse)(r),i=o.path||"homescreen",a=Object(Z.getScreenFromPath)(i),c=n.includes(a),u="admin.php?"+Object(G.stringify)(Object.assign(o,c?{}:t));e.href=u,e.onclick=function(e){e.preventDefault(),Object(Z.getHistory)().push(u)}}}(e,t,n)}))},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 n="/"===t?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(t),r="/"===t?'li > a[href$="'.concat(n,'"], li > a[href*="').concat(n,'?"]'):'li > a[href*="'.concat(n,'"]'),o=document.querySelectorAll(r);if(Array.from(o).forEach((function(e){e.parentElement.classList.add("current")})),e.wpOpenMenu){var i=document.querySelector("#"+e.wpOpenMenu);i&&(i.classList.remove("wp-not-current-submenu"),i.classList.add("wp-has-current-submenu"),i.classList.add("wp-menu-open"),i.classList.add("current"))}document.querySelector("#wpwrap").classList.remove("wp-responsive-open")};var de=n(7),me=n.n(de),he=n(40),ve=n(31),ye=(n(302),n(278)),be=n.n(ye),ge=n(4),we=n(121),Oe=n.n(we),je=n(306),_e=n(196),Ee=Object(g.createElement)(_e.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(g.createElement)(_e.a,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"})),ke=(n(304),function(e){var t=e.height,n=void 0===t?24:t,r=e.width,o=void 0===r?24:r,i=e.hasUnread,a=void 0!==i&&i,c=me()("woocommerce-layout__activity-panel-toggle-bubble",{"has-unread":a});return Object(g.createElement)("div",{className:c},Object(g.createElement)("svg",{height:n,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"})))});ke.propTypes={height:x.a.number,width:x.a.number,hasUnread:x.a.bool};var xe=ke,Se=n(195);var Pe=n(21),Ce=n.n(Pe),Ae=function(e){var t=e.icon,n=e.title,r=e.name,o=e.unread,i=e.selected,a=e.isPanelOpen,c=e.onTabClick,u=me()("woocommerce-layout__activity-panel-tab",{"is-active":a&&i,"has-unread":o}),s="activity-panel-tab-".concat(r);return Object(g.createElement)(ge.Button,{role:"tab",className:u,"aria-selected":i,"aria-controls":"activity-panel-".concat(r),key:s,id:s,onClick:function(){c(r)}},t,n," ",o&&Object(g.createElement)("span",{className:"screen-reader-text"},Object(te.__)("unread activity","woocommerce-admin")))},Te=function(e){var t=e.tabs,n=e.onTabClick,r=e.selectedTab,i=e.tabOpen,a=void 0!==i&&i,c=Object(g.useState)({tabOpen:a,currentTab:r}),u=Ce()(c,2),s=u[0],l=s.tabOpen,f=s.currentTab,p=u[1];return Object(g.useEffect)((function(){p({tabOpen:a,currentTab:r})}),[a,r]),Object(g.createElement)(ge.NavigableMenu,{role:"tablist",orientation:"horizontal",className:"woocommerce-layout__activity-panel-tabs"},t&&t.map((function(e,t){if(e.component){var r=e.component,i=e.options;return Object(g.createElement)(r,o()({key:t},i))}return Object(g.createElement)(Ae,o()({key:t,index:t,isPanelOpen:l,selected:f===e.name},e,{onTabClick:function(){var t=f!==e.name&&""!==f||!l;t&&f===e.name||Object(X.recordEvent)("activity_panel_open",{tab:e.name}),p({tabOpen:t,currentTab:e.name}),n(e,t)}}))})))},Ne=function(){return Object(g.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon setup-progress",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("path",{d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",stroke:"#DCDCDE",strokeWidth:"2"}),Object(g.createElement)("path",{d:"M4 12V12C4 16.4183 7.58172 20 12 20V20C16.4183 20 20 16.4183 20 12V12C20 7.58172 16.4183 4 12 4V4",strokeWidth:"2",strokeLinecap:"round"}))},Le=function(){return Object(g.createElement)(g.Fragment,null,Object(g.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"24",height:"24",viewBox:"3 3 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("path",{d:"M13.8053 15.3982C13.8053 15.7965 13.4867 16.1947 13.0089 16.1947H6.79646C6.55752 16.1947 6.39823 16.115 6.23894 15.9558C6.07965 15.7965 6 15.6372 6 15.3982V6.79646C6 6.63717 6.15929 6.39823 6.23894 6.23894C6.39823 6.07965 6.55752 6 6.79646 6H13.0089C13.4071 6 13.8053 6.31858 13.8053 6.79646V15.3982Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(g.createElement)("path",{d:"M23.9203 10.6195C23.9203 11.0177 23.6017 11.4159 23.1238 11.4159H16.9115C16.6725 11.4159 16.5132 11.3363 16.3539 11.177C16.1946 11.0177 16.115 10.8584 16.115 10.6195V6.79646C16.115 6.39823 16.4336 6 16.9115 6H23.1238C23.5221 6 23.9203 6.31858 23.9203 6.79646V10.6195Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(g.createElement)("path",{d:"M13.8053 23.2035C13.8053 23.4424 13.7257 23.6017 13.5664 23.761C13.4071 23.9203 13.2478 23.9999 13.0089 23.9999H6.79646C6.39823 23.9999 6 23.6813 6 23.2035V19.3804C6 19.1415 6.07965 18.9822 6.23894 18.8229C6.39823 18.6636 6.55752 18.584 6.79646 18.584H13.0089C13.4071 18.584 13.8053 18.9026 13.8053 19.3804V23.2035Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(g.createElement)("path",{d:"M16.9912 23.9999C16.7522 23.9999 16.5929 23.9202 16.4336 23.7609C16.2743 23.6016 16.1947 23.4423 16.1947 23.2034V14.6016C16.1947 14.3627 16.2743 14.2034 16.4336 14.0441C16.5929 13.8848 16.7522 13.8052 16.9912 13.8052H23.2036C23.4425 13.8052 23.6018 13.8848 23.7611 14.0441C23.9204 14.2034 24 14.3627 24 14.6016V23.2034C24 23.6016 23.6814 23.9999 23.2036 23.9999H16.9912Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),Object(te.__)("Display","woocommerce-admin"))},Re=[{value:"single_column",label:Object(g.createElement)(g.Fragment,null,Object(g.createElement)((function(){return Object(g.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("rect",{x:"0.5",y:"0.5",width:"11",height:"13",strokeWidth:"1"}))}),null),Object(te.__)("Single column","woocommerce-admin"))},{value:"two_columns",label:Object(g.createElement)(g.Fragment,null,Object(g.createElement)((function(){return Object(g.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("rect",{x:"0.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"}),Object(g.createElement)("rect",{x:"9.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"}))}),null),Object(te.__)("Two columns","woocommerce-admin"))}],Me=function(){var e=Object(O.useSelect)((function(e){return(0,e(J.OPTIONS_STORE_NAME).getOption)("woocommerce_default_homepage_layout")||"single_column"})),t=Object(J.useUserPreferences)(),n=t.updateUserPreferences,r=t.homepage_layout;return Object(g.createElement)(ge.DropdownMenu,{icon:Object(g.createElement)(Le,null),label:Object(te.__)("Display options","woocommerce-admin"),toggleProps:{className:"woocommerce-layout__activity-panel-tab display-options",onClick:function(){return Object(X.recordEvent)("homescreen_display_click")}},popoverProps:{className:"woocommerce-layout__activity-panel-popover"}},(function(t){var o=t.onClose;return Object(g.createElement)(ge.MenuGroup,{className:"woocommerce-layout__homescreen-display-options",label:Object(te.__)("Layout","woocommerce-admin")},Object(g.createElement)(ge.MenuItemsChoice,{choices:Re,onSelect:function(e){n({homepage_layout:e}),o(),Object(X.recordEvent)("homescreen_display_option",{display_option:e})},value:r||e}))}))},De=Object(g.createElement)(_e.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(g.createElement)(_e.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"})),Ie=(n(305),"highlight-tooltip__show");function Ve(e){var t=e.title,n=e.closeButtonText,r=e.content,o=e.show,i=void 0===o||o,a=e.id,c=e.onClose,u=e.delay,s=e.onShow,l=void 0===s?Q.noop:s,f=Object(g.useState)(u>0?null:i),p=Ce()(f,2),d=p[0],m=p[1],h=Object(g.useState)(null),v=Ce()(h,2),y=v[0],b=v[1];Object(g.useEffect)((function(){var e,t=document.getElementById(a);if(t&&!y){var n=t.parentElement;(e=document.createElement("div")).classList.add("highlight-tooltip__container"),n.appendChild(e),b(e)}var r=w(e);return function(){e&&e.parentElement.removeChild(e);r&&clearTimeout(r)}}),[]),Object(g.useEffect)((function(){!d&&y&&y.classList.remove(Ie)}),[d]),Object(g.useEffect)((function(){i!==d&&null!==d&&y&&(m(i),i?y&&w(y):y.classList.remove(Ie))}),[i]);var w=function(e){var t=null;return u>0?t=setTimeout((function(){t=null,e&&e.classList.add(Ie),m(i),l()}),u):d||(e&&e.classList.add(Ie),m(!0),l()),t},O=function(){m(!1),c&&c()};return y?Object(g.createPortal)(Object(g.createElement)("div",{className:"highlight-tooltip__portal"},d?Object(g.createElement)(g.Fragment,null,Object(g.createElement)(ge.IsolatedEventContainer,{className:"highlight-tooltip__overlay"}),Object(g.createElement)(ge.Popover,{className:"highlight-tooltip__popover",noArrow:!1,focusOnMount:"container"},Object(g.createElement)(ge.Card,{size:"medium"},Object(g.createElement)(ge.CardHeader,null,t,Object(g.createElement)(ge.Button,{isSmall:!0,onClick:O,icon:De})),Object(g.createElement)(ge.CardBody,null,r||null),Object(g.createElement)(ge.CardFooter,{isBorderless:!0},Object(g.createElement)(ge.Button,{size:"small",isPrimary:!0,onClick:O},n||Object(te.__)("Close","woocommerce-admin")))))):null),y):null}function Fe(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=b()(e);if(t){var o=b()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}Ve.propTypes={id:x.a.string.isRequired,title:x.a.string.isRequired,closeButtonText:x.a.string.isRequired,content:x.a.oneOfType([x.a.string,x.a.node]),show:x.a.bool,onClose:x.a.func,delay:x.a.number,onShow:x.a.func};var qe=Object(g.lazy)((function(){return Promise.all([n.e(53),n.e(6),n.e(7)]).then(n.bind(null,593))})),Ue=Object(g.lazy)((function(){return Promise.all([n.e(1),n.e(2),n.e(4),n.e(8)]).then(n.bind(null,580))})),Be=function(e){m()(n,e);var t=Fe(n);function n(e){var r;return l()(this,n),(r=t.call(this,e)).state={isPanelOpen:!1,mobileOpen:!1,currentTab:"",isPanelSwitching:!1},r}return p()(n,[{key:"togglePanel",value:function(e,t){var n=e.name;this.setState((function(e){var r=n!==e.currentTab&&""!==e.currentTab&&t&&e.isPanelOpen;return{isPanelOpen:t,mobileOpen:t,currentTab:n,isPanelSwitching:r}}))}},{key:"closePanel",value:function(){this.setState((function(){return{isPanelOpen:!1,currentTab:""}}))}},{key:"clearPanel",value:function(){this.setState((function(){return{isPanelSwitching:!1}}))}},{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.isPanelOpen,n=e.target.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.target.closest(".components-snackbar__action");t&&!n&&this.closePanel()}},{key:"isHomescreen",value:function(){return"/"===this.props.getHistory().location.pathname}},{key:"isPerformingSetupTask",value:function(){var e=this.props,t=e.requestingTaskListOptions,n=e.taskListComplete,r=e.taskListHidden,o=e.query,i=o.task&&!o.path&&(!0===t||!1===r&&!1===n);return i}},{key:"getTabs",value:function(){var e=this.props,t=e.hasUnreadNotes,n=e.isEmbedded,r=e.taskListComplete,o=e.taskListHidden,i=this.isPerformingSetupTask(),a=(n||!this.isHomescreen())&&!i,c=this.isHomescreen()&&!n||i,u=!n&&this.isHomescreen()&&!i,s=!r&&!o&&!i&&(!this.isHomescreen()||n),l=a?{name:"inbox",title:Object(te.__)("Inbox","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"inbox"),unread:t}:null,f=s?{name:"setup",title:Object(te.__)("Store Setup","woocommerce-admin"),icon:Object(g.createElement)(Ne,null)}:null,p=c?{name:"help",title:Object(te.__)("Help","woocommerce-admin"),icon:Object(g.createElement)(je.a,{icon:Ee})}:null;return[l,f,u?{component:Me}:null,p].filter(Boolean)}},{key:"getPanelContent",value:function(e){var t=this.props.query.task;switch(e){case"inbox":return Object(g.createElement)(Ue,null);case"help":return Object(g.createElement)(qe,{taskName:t});default:return null}}},{key:"renderPanel",value:function(){var e=this,t=this.props,n=t.updateOptions,r=t.taskListHidden,o=this.state,i=o.isPanelOpen,a=o.currentTab,c=o.isPanelSwitching,u=Object(Q.find)(this.getTabs(),{name:a});if(!u)return Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-wrapper"});var s=function(){e.clearPanel()};if("display-options"===a)return null;if("setup"===a)return window.location.href!==Object(K.f)("admin.php?page=wc-admin")&&("no"===r?this.redirectToHomeScreen():n({woocommerce_task_list_hidden:"no"}).then(this.redirectToHomeScreen)),null;var l=me()("woocommerce-layout__activity-panel-wrapper",{"is-open":i,"is-switching":c});return Object(g.createElement)("div",{className:l,tabIndex:0,role:"tabpanel","aria-label":u.title,onTransitionEnd:s,onAnimationEnd:s},Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+a,id:"activity-panel-"+a},Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},this.getPanelContent(a))))}},{key:"redirectToHomeScreen",value:function(){Object(re.f)(window.location.href)?Object(Z.getHistory)().push(Object(Z.getNewPath)({},"/",{})):window.location.href=Object(K.f)("admin.php?page=wc-admin")}},{key:"closedHelpPanelHighlight",value:function(){var e=this.props.userPreferencesData;Object(X.recordEvent)("help_tooltip_click"),e&&e.updateUserPreferences&&e.updateUserPreferences({help_panel_highlight_shown:"yes"})}},{key:"shouldShowHelpTooltip",value:function(){var e=this.props,t=e.userPreferencesData,n=e.trackedCompletedTasks,r=e.query.task,o=t&&t.task_list_tracked_started_tasks,i=t&&t.help_panel_highlight_shown;return!(!(r&&"yes"!==i&&(o||{})[r]>1)||n.includes(r))}},{key:"render",value:function(){var e=this,t=this.getTabs(),n=this.state,r=n.mobileOpen,o=n.currentTab,i=n.isPanelOpen,a=Object(Q.uniqueId)("activity-panel-header_"),c=me()("woocommerce-layout__activity-panel",{"is-mobile-open":this.state.mobileOpen}),u=this.shouldShowHelpTooltip(),s=t.some((function(e){return e.unread})),l=s?Object(te.__)("View Activity Panel, you have unread activity","woocommerce-admin"):Object(te.__)("View Activity Panel","woocommerce-admin");return Object(g.createElement)("div",null,Object(g.createElement)(Y.H,{id:a,className:"screen-reader-text"},Object(te.__)("Store Activity","woocommerce-admin")),Object(g.createElement)(Y.Section,{component:"aside",id:"woocommerce-activity-panel","aria-labelledby":a},Object(g.createElement)(ge.Button,{onClick:function(){e.toggleMobile()},label:r?Object(te.__)("Close Activity Panel","woocommerce-admin"):l,"aria-expanded":r,className:"woocommerce-layout__activity-panel-mobile-toggle"},r?Object(g.createElement)(Oe.a,null):Object(g.createElement)(xe,{hasUnread:s})),Object(g.createElement)("div",{className:c},Object(g.createElement)(Te,{tabs:t,tabOpen:i,selectedTab:o,onTabClick:function(t,n){e.togglePanel(t,n)}}),this.renderPanel())),u?Object(g.createElement)(Ve,{delay:1e3,title:Object(te.__)("We're here for help","woocommerce-admin"),content:Object(te.__)("If you have any questions, feel free to explore the WooCommerce docs listed here.","woocommerce-admin"),closeButtonText:Object(te.__)("Got it","woocommerce-admin"),id:"activity-panel-tab-help",onClose:function(){return e.closedHelpPanelHighlight()},onShow:function(){return Object(X.recordEvent)("help_tooltip_view")}}):null)}}]),n}(g.Component);Be.defaultProps={getHistory:Z.getHistory};var He=Object(w.compose)(Object(O.withSelect)((function(e){var t=function(e){var t=e(J.NOTES_STORE_NAME),n=t.getNotes,r=t.getNotesError,o=t.isResolving,i=(0,e(J.USER_STORE_NAME).getCurrentUser)(),a=parseInt(i&&i.woocommerce_meta&&i.woocommerce_meta.activity_panel_inbox_last_read,10);if(!a)return null;var c={page:1,per_page:J.QUERY_DEFAULTS.pageSize,status:"unactioned",type:J.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc"},u=n(c),s=Boolean(r("getNotes",[c])),l=o("getNotes",[c]);return s||l?null:Object(Se.a)(u,a)>0}(e),n=e(J.OPTIONS_STORE_NAME),r=n.getOption,o=n.isResolving,i="yes"===r("woocommerce_task_list_complete"),a="yes"===r("woocommerce_task_list_hidden");return{hasUnreadNotes:t,requestingTaskListOptions:o("getOption",["woocommerce_task_list_complete"])||o("getOption",["woocommerce_task_list_hidden"]),taskListComplete:i,taskListHidden:a,trackedCompletedTasks:r("woocommerce_task_list_tracked_completed_tasks")||[]}})),Object(O.withDispatch)((function(e){return{updateOptions:e(J.OPTIONS_STORE_NAME).updateOptions}})),be.a)(Be),ze=function(){return/iPhone|iPad|iPod/i.test(window.navigator.userAgent)?"ios":/Android/i.test(window.navigator.userAgent)?"android":"unknown"},$e=function(){return Object(g.createElement)("svg",{width:"37",height:"37",viewBox:"0 0 92 92",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("rect",{width:"92",height:"92",rx:"21.3953",fill:"#7F54B3"}),Object(g.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.5937 28.043H19.8094C16.4781 28.0459 13.7783 30.7705 13.7754 34.1324V54.4501C13.7783 57.812 16.4781 60.5366 19.8094 60.5395H44.8229L56.2573 66.9607L53.6672 60.5395H72.599C74.2009 60.5402 75.7374 59.8983 76.8702 58.7552C78.0029 57.612 78.639 56.0614 78.6383 54.4447V34.1324C78.6376 32.5157 78.0002 30.9657 76.8664 29.8235C75.7327 28.6814 74.1956 28.0408 72.5937 28.043ZM19.1057 32.4208C18.4658 32.4324 17.8646 32.7359 17.467 33.2482C17.0888 33.7635 16.9404 34.4175 17.058 35.0502C18.5962 45.0986 20.0338 51.8757 21.371 55.3816C21.8779 56.658 22.4896 57.2703 23.2063 57.2185C24.3075 57.1489 25.6263 55.5968 27.1627 52.5621C27.9964 50.8412 29.2602 48.2662 30.9539 44.837C32.3785 49.88 34.309 53.6787 36.7456 56.2331C37.4291 56.9436 38.1204 57.2748 38.8195 57.2266C39.4185 57.1931 39.953 56.8315 40.217 56.2813C40.4753 55.7358 40.5806 55.1278 40.5211 54.5248C40.3516 52.0703 40.5919 48.667 41.2421 44.3149C41.9081 39.8057 42.7523 36.5818 43.7749 34.6432C43.9822 34.2526 44.0733 33.8087 44.037 33.366C44.0039 32.7587 43.7116 32.1969 43.2374 31.829C42.7745 31.4367 42.1799 31.2446 41.5803 31.2935C40.8334 31.3325 40.1682 31.7885 39.8499 32.4797C38.2331 35.5019 37.0812 40.4109 36.3943 47.2068C35.2823 44.2394 34.4509 41.1703 33.9114 38.0412C33.623 36.4613 32.9037 35.7125 31.7536 35.7946C30.9592 35.8589 30.3063 36.3944 29.7819 37.4012L24.0348 48.5643C23.0997 44.6692 22.2205 39.9289 21.3972 34.3433C21.1997 32.9652 20.4358 32.3244 19.1057 32.4208ZM69.9089 34.6877C71.6969 35.0381 73.2407 36.2 74.1186 37.8559C74.9693 39.3247 75.3946 41.1161 75.3946 43.23C75.4148 45.9567 74.7062 48.6357 73.3477 50.9687C71.7778 53.7023 69.7195 55.0691 67.1727 55.0691C66.6933 55.0668 66.2153 55.0128 65.7467 54.9078C63.9584 54.5581 62.4143 53.396 61.5371 51.7396C60.6864 50.2452 60.261 48.4411 60.261 46.3272C60.2357 43.6127 60.945 40.9454 62.3079 38.6295C63.9023 35.8959 65.9607 34.5291 68.4829 34.5291C68.9623 34.5304 69.4402 34.5836 69.9089 34.6877ZM68.7937 49.4848C69.7707 48.5773 70.4399 47.2269 70.8012 45.4337V45.4419C70.9315 44.7826 70.9959 44.1112 70.9933 43.4382C70.986 42.5849 70.8291 41.74 70.5302 40.9452C70.1443 39.901 69.6304 39.3124 68.9884 39.1793C68.0378 38.9643 67.1239 39.5256 66.2469 40.8632C65.5812 41.8393 65.109 42.9432 64.8577 44.1106C64.7276 44.7708 64.6632 45.4432 64.6657 46.1171C64.6739 46.9677 64.8308 47.8096 65.1287 48.6019C65.5146 49.6388 66.0294 50.2274 66.6731 50.3678C67.3169 50.5081 68.0237 50.2138 68.7937 49.4848ZM57.9079 37.8559C57.0291 36.2008 55.4854 35.0392 53.6976 34.6877C53.2279 34.5837 52.749 34.5306 52.2687 34.5291C49.7443 34.5291 47.6856 35.8959 46.0927 38.6295C44.7295 40.9454 44.0201 43.6127 44.0454 46.3272C44.0454 48.4411 44.4699 50.2452 45.319 51.7396C46.1976 53.3949 47.7414 54.5566 49.5294 54.9078C49.999 55.0126 50.4779 55.0667 50.9582 55.0691C53.5055 55.0691 55.5642 53.7023 57.1343 50.9687C58.4922 48.6355 59.2001 45.9565 59.1789 43.23C59.1789 41.1161 58.7544 39.3247 57.9053 37.8559H57.9079ZM54.5903 45.4337C54.2307 47.2269 53.5614 48.5773 52.5825 49.4848C51.8115 50.2065 51.101 50.5017 50.4589 50.3678C49.8169 50.2338 49.3011 49.6461 48.9169 48.6019C48.6181 47.8097 48.4603 46.9678 48.4511 46.1171C48.4495 45.4431 48.5148 44.7707 48.6459 44.1106C48.8971 42.9432 49.3694 41.8393 50.0353 40.8632C50.9124 39.5256 51.8264 38.9643 52.7773 39.1793C53.4193 39.3124 53.9333 39.901 54.3193 40.9452C54.617 41.7404 54.7739 42.585 54.7824 43.4382C54.785 44.1112 54.7207 44.7826 54.5903 45.4419V45.4337Z",fill:"white"}))},We=(n(307),function(e){var t=e.onInstall,n=e.onDismiss;Object(g.useEffect)((function(){var e=document.getElementsByClassName("woocommerce-layout")[0];return"android"===ze()&&e&&e.classList.add("woocommerce-layout__show-app-banner"),function(){e&&e.classList.remove("woocommerce-layout__show-app-banner")}}),[]);var r=Object(g.useState)(!1),o=Ce()(r,2),i=o[0],a=o[1];return"android"!==ze()||i?null:Object(g.createElement)("div",{className:"woocommerce-mobile-app-banner"},Object(g.createElement)(ge.Icon,{icon:"no-alt","data-testid":"dismiss-btn",onClick:function(){n(),a(!0),Object(X.recordEvent)("wcadmin_mobile_android_banner_click",{action:"dismiss"})}}),Object(g.createElement)($e,null),Object(g.createElement)("div",{className:"woocommerce-mobile-app-banner__description"},Object(g.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(te.__)("Run your store from anywhere","woocommerce-admin")),Object(g.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(te.__)("Download the WooCommerce app","woocommerce-admin"))),Object(g.createElement)(ge.Button,{href:"https://play.google.com/store/apps/details?id=com.woocommerce.android",isSecondary:!0,onClick:function(){t(),a(!0),Object(X.recordEvent)("wcadmin_mobile_android_banner_click",{action:"install"})}},Object(te.__)("Install","woocommerce-admin")))}),Qe=n(140);function Ge(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 Ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ze=function(e){var t=e.sections,n=e.isEmbedded,r=void 0!==n&&n,o=e.query,i=Object(g.useRef)(null),c=Object(K.g)("siteTitle",""),u=t.slice(-1)[0],s=Object(Qe.a)(),l=Object(J.useUserPreferences)(),f=l.updateUserPreferences,p=a()(l,["updateUserPreferences"]),d="yes"===p.android_app_banner_dismissed,m=me()("woocommerce-layout__header",{"is-scrolled":s});Object(g.useEffect)((function(){if(!r){var e=t.map((function(e){return Array.isArray(e)?e[1]:e})).reverse().join(" ‹ "),n=Object(he.decodeEntities)(Object(te.sprintf)(Object(te.__)("%1$s ‹ %2$s — WooCommerce","woocommerce-admin"),e,c));document.title!==n&&(document.title=n)}}),[r,t,c]);var h=function(){f({android_app_banner_dismissed:"yes"})};return Object(g.createElement)("div",{className:m,ref:i},!d&&Object(g.createElement)(We,{onDismiss:h,onInstall:h}),Object(g.createElement)(ve.f,{className:"woocommerce-layout__header-heading",as:"h1",variant:"subtitle.small"},Object(he.decodeEntities)(u)),window.wcAdminFeatures["activity-panels"]&&Object(g.createElement)(He,{isEmbedded:r,query:o,userPreferencesData:Ye(Ye({},p),{},{updateUserPreferences:f})}))};function Ke(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=b()(e);if(t){var o=b()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var Je=function(e){m()(n,e);var t=Ke(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"render",value:function(){return Object(g.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}]),n}(g.Component),Xe=n(9),et=n.n(Xe),tt=n(43),nt=n.n(tt),rt=n(180),ot=n(279);var it=function(e){var t=e.notices,n=e.className,r=e.children,i=e.onRemove,a=void 0===i?Q.noop:i,c=e.onRemove2,u=void 0===c?Q.noop:c,s=Object(w.useReducedMotion)(),l=Object(g.useState)((function(){return new WeakMap})),f=Ce()(l,1)[0],p=Object(rt.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=nt()(et.a.mark((function t(n){return et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n({opacity:1,height:f.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=nt()(et.a.mark((function e(t){return et.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:s});n=me()("components-snackbar-list",n);var d=function(e){return function(){a(e.id),u(e.id)}};return Object(g.createElement)("div",{className:n},r,p.map((function(e){var t=e.item,n=e.key,r=e.props;return Object(g.createElement)(rt.animated.div,{key:n,style:r},Object(g.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&f.set(t,e)}},Object(g.createElement)(ot.a,o()({},Object(Q.omit)(t,["content"]),{onRemove:d(t)}),t.content)))})))};n(309);function at(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=b()(e);if(t){var o=b()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var ct=function(e){m()(n,e);var t=at(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.notices,r=e.onRemove,o=e.onRemove2,i=me()("woocommerce-transient-notices","components-notices__snackbar",t);return Object(g.createElement)(it,{notices:n,className:i,onRemove:r,onRemove2:o})}}]),n}(g.Component);ct.propTypes={className:x.a.string,notices:x.a.array};var ut=Object(w.compose)(Object(O.withSelect)((function(e){var t=e("core/notices").getNotices(),n=e("core/notices2").getNotices();return{notices:t.concat(n)}})),Object(O.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice,onRemove2:e("core/notices2").removeNotice}})))(ct),st=n(141),lt=n(105);function ft(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 pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ft(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dt(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 mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ht(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=b()(e);if(t){var o=b()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}Object(st.registerPlugin)("wc-admin-navigation",{render:function(){var e=Object(g.useState)(Object(Z.getPersistedQuery)()),t=Ce()(e,2),n=t[0],r=t[1],o=function(e){return Object(Z.getQueryExcludedScreens)().includes(Object(Z.getScreenFromPath)(e))};if(Object(g.useEffect)((function(){return Object(lt.a)((function(){setTimeout((function(){o()||r(Object(Z.getPersistedQuery)())}),0)}))}),[]),!Object(re.f)(window.location.href))return null;var i=Object(ne.a)().filter((function(e){return e.navArgs})),a=fe().filter((function(e){return e.navArgs})).map((function(e){return"/analytics/settings"===e.path?pt(pt({},e),{},{breadcrumbs:[Object(te.__)("Analytics","woocommerce-admin")]}):e}));return Object(g.createElement)(g.Fragment,null,a.map((function(e){return Object(g.createElement)(Z.WooNavigationItem,{item:e.navArgs.id,key:e.navArgs.id},Object(g.createElement)(Y.Link,{className:"components-button",href:Object(Z.getNewPath)(o(e.path)?{}:n,e.path,{}),type:"wc-admin"},e.breadcrumbs[e.breadcrumbs.length-1]))})),i.map((function(e){return Object(g.createElement)(Z.WooNavigationItem,{item:e.navArgs.id,key:e.navArgs.id},Object(g.createElement)(Y.Link,{className:"components-button",href:Object(Z.getNewPath)(o(e.report)?{}:n,"/analytics/".concat(e.report),{}),type:"wc-admin"},e.title))})))}});var vt=Object(g.lazy)((function(){return Promise.all([n.e(1),n.e(47)]).then(n.bind(null,601))})),yt=Object(g.lazy)((function(){return n.e(51).then(n.bind(null,529))})),bt=function(e){m()(n,e);var t=ht(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{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)(vt,null)),Object(g.createElement)(Je,null),e)}}]),n}(g.Component),gt=function(e){m()(n,e);var t=ht(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"componentDidMount",value:function(){this.recordPageViewTrack()}},{key:"componentDidUpdate",value:function(e){var t=Object(Q.get)(e,"location.pathname"),n=Object(Q.get)(this.props,"location.pathname");t&&n&&t!==n&&this.recordPageViewTrack()}},{key:"recordPageViewTrack",value:function(){var e=this.props,t=e.activePlugins,n=e.installedPlugins,r=e.isEmbedded,o=e.isJetpackConnected,i={has_navigation:!!window.wcNavigation};if(r){var a=document.location.pathname+document.location.search;Object(X.recordPageView)(a,mt({is_embedded:!0},i))}else{var c=Object(Q.get)(this.props,"location.pathname");if(c){var u=c.substring(1).replace(/\//g,"_");0===u.length&&(u="home_screen"),Object(X.recordPageView)(u,mt({jetpack_installed:n.includes("jetpack"),jetpack_active:t.includes("jetpack"),jetpack_connected:o},i))}}}},{key:"getQuery",value:function(e){if(!e)return{};var t=e.substring(1);return Object(G.parse)(t)}},{key:"isWCPaySettingsPage",value:function(){var e=Object(Z.getQuery)(),t=e.page,n=e.section,r=e.tab;return"wc-settings"===t&&"checkout"===r&&"woocommerce_payments"===n}},{key:"render",value:function(){var e=this.props,t=e.isEmbedded,n=a()(e,["isEmbedded"]),r=this.props,i=r.location,c=r.page.breadcrumbs,u=this.getQuery(i&&i.search);return Object(g.createElement)("div",{className:"woocommerce-layout"},Object(g.createElement)(Ze,{sections:Object(Q.isFunction)(c)?c(this.props):c,isEmbedded:t,query:u}),Object(g.createElement)(ut,null),!t&&Object(g.createElement)(bt,null,Object(g.createElement)("div",{className:"woocommerce-layout__main"},Object(g.createElement)(pe,o()({},n,{query:u})))),t&&this.isWCPaySettingsPage()&&Object(g.createElement)(g.Suspense,{fallback:null},Object(g.createElement)(yt,null)))}}]),n}(g.Component);gt.propTypes={isEmbedded:x.a.bool,page:x.a.shape({container:x.a.oneOfType([x.a.func,x.a.object]),path:x.a.string,breadcrumbs:x.a.oneOfType([x.a.func,x.a.arrayOf(x.a.oneOfType([x.a.arrayOf(x.a.string),x.a.string]))]).isRequired,wpOpenMenu:x.a.string}).isRequired};var wt=Object(w.compose)(Object(J.withPluginsHydration)(mt(mt({},window.wcSettings.plugins||{}),{},{jetpackStatus:window.wcSettings.dataEndpoints&&window.wcSettings.dataEndpoints.jetpackStatus||!1})),Object(O.withSelect)((function(e,t){if(!t.isEmbedded){var n=e(J.PLUGINS_STORE_NAME),r=n.getActivePlugins,o=n.getInstalledPlugins,i=n.isJetpackConnected;return{activePlugins:r(),isJetpackConnected:i(),installedPlugins:o()}}})))(gt),Ot=function(e){m()(n,e);var t=ht(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"render",value:function(){return Object(g.createElement)(D,{history:Object(Z.getHistory)()},Object(g.createElement)(W,null,fe().map((function(e){return Object(g.createElement)(q,{key:e.path,path:e.path,exact:!0,render:function(t){return Object(g.createElement)(wt,o()({page:e},t))}})}))))}}]),n}(g.Component),jt=Object(w.compose)(window.wcSettings.preloadOptions?Object(J.withOptionsHydration)(mt({},window.wcSettings.preloadOptions)):Q.identity)(Ot),_t=Object(w.compose)(window.wcSettings.preloadOptions?Object(J.withOptionsHydration)(mt({},window.wcSettings.preloadOptions)):Q.identity)((function(){return Object(g.createElement)(wt,{page:{breadcrumbs:Object(K.g)("embedBreadcrumbs",[])},isEmbedded:!0})}))},144:function(e,t){!function(){e.exports=this.wc.number}()},15:function(e,t){!function(){e.exports=this.wp.data}()},152:function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case u:case c:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case v:case s:return e;default:return t}}case i:return t}}}function _(e){return j(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=u,t.StrictMode=c,t.Suspense=m,t.isAsyncMode=function(e){return _(e)||j(e)===f},t.isConcurrentMode=_,t.isContextConsumer=function(e){return j(e)===l},t.isContextProvider=function(e){return j(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return j(e)===d},t.isFragment=function(e){return j(e)===a},t.isLazy=function(e){return j(e)===y},t.isMemo=function(e){return j(e)===v},t.isPortal=function(e){return j(e)===i},t.isProfiler=function(e){return j(e)===u},t.isStrictMode=function(e){return j(e)===c},t.isSuspense=function(e){return j(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===u||e===c||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===w||e.$$typeof===O||e.$$typeof===b)},t.typeOf=j},16:function(e,t){!function(){e.exports=this.moment}()},17:function(e,t){!function(){e.exports=this.wp.dataControls}()},18:function(e,t){!function(){e.exports=this.wp.compose}()},180:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(24)),i=r(n(94)),a=n(10),c=r(a),u=r(n(308)),s=r(n(8)),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 n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!l.und(n)||e===t}};function f(){var e=a.useState(!1)[1];return a.useCallback((function(){return e((function(e){return!e}))}),[])}function p(e,t){return l.und(e)||l.nul(e)?t:e}function d(e){return l.und(e)?[]:l.arr(e)?e:[e]}function m(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return l.fun(e)?e.apply(void 0,n):e}function h(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,i(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 n=Object.keys(e).reduce((function(n,r){var i;return l.und(t[r])?o({},n,((i={})[r]=e[r],i)):n}),{});return o({to:t},n)}var v,y,b=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,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof b&&e.addChild(s(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof b&&e.removeChild(s(t))}))},t}return u(t,e),t}(b),w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof b&&e.addChild(s(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof b&&e.removeChild(s(t))}))},t}u(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof b)&&(t[n]=r instanceof b?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(b);function O(e,t){v={fn:e,transform:t}}function j(e){y=e}var _,E=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},k=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function x(e){_=e}var S,P=function(){return Date.now()};function C(e){S=e}var A,T,N=function(e){return e.current};function L(e){A=e}var R=Object.freeze({get applyAnimatedValues(){return v},injectApplyAnimatedValues:O,get colorNames(){return y},injectColorNames:j,get requestFrame(){return E},get cancelFrame(){return k},injectFrame:function(e,t){E=e,k=t},get interpolation(){return _},injectStringInterpolator:x,get now(){return P},injectNow:function(e){P=e},get defaultElement(){return S},injectDefaultElement:C,get animatedApi(){return N},injectAnimatedApi:function(e){N=e},get createAnimatedStyle(){return A},injectCreateAnimatedStyle:L,get manualFrameloop(){return T},injectManualFrameloop:function(e){T=e}}),M=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?o({},t,{style:A(t.style)}):t,r.update=n,r.attach(),r}return u(t,e),t}(w),D=!1,I=new Set,V=function e(){if(!D)return!1;var t=P(),n=I,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var a=i,c=!1,u=0;u<a.configs.length;u++){for(var s=a.configs[u],l=void 0,f=void 0,p=0;p<s.animatedValues.length;p++){var d=s.animatedValues[p];if(!d.done){var m=s.fromValues[p],h=s.toValues[p],v=d.lastPosition,y=h instanceof b,g=Array.isArray(s.initialVelocity)?s.initialVelocity[p]:s.initialVelocity;if(y&&(h=h.getValue()),s.immediate)d.setValue(h),d.done=!0;else if("string"!=typeof m&&"string"!=typeof h){if(void 0!==s.duration)v=m+s.easing((t-d.startTime)/s.duration)*(h-m),l=t>=d.startTime+s.duration;else if(s.decay)v=m+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-d.startTime))),(l=Math.abs(d.lastPosition-v)<.1)&&(h=v);else{f=void 0!==d.lastTime?d.lastTime:t,g=void 0!==d.lastVelocity?d.lastVelocity:s.initialVelocity,t>f+64&&(f=t);for(var w=Math.floor(t-f),O=0;O<w;++O){v+=1*(g+=1*((-s.tension*(v-h)+-s.friction*g)/s.mass)/1e3)/1e3}var j=!(!s.clamp||0===s.tension)&&(m<h?v>h:v<h),_=Math.abs(g)<=s.precision,k=0===s.tension||Math.abs(h-v)<=s.precision;l=j||_&&k,d.lastVelocity=g,d.lastTime=t}y&&!s.toValues[p].done&&(l=!1),l?(d.value!==h&&(v=h),d.done=!0):c=!0,d.setValue(v),d.lastPosition=v}else d.setValue(h),d.done=!0}}a.props.onFrame&&(a.values[s.name]=s.interpolation.getValue())}a.props.onFrame&&a.props.onFrame(a.values),c||(I.delete(a),a.stop(!0))}return I.size?T?T():E(e):D=!1,D};function F(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return F({range:e,output:t,extrapolate:n});if(_&&"string"==typeof e.output[0])return _(e);var r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",u=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,c,u){var s=u?u(e):e;if(s<t){if("identity"===a)return s;"clamp"===a&&(s=t)}if(s>n){if("identity"===c)return s;"clamp"===c&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],u,a,c,r.map)}}var q=function(e){function t(n,r,o,i){var a;return(a=e.call(this)||this).calc=void 0,a.payload=n instanceof g&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],a.calc=F(r,o,i),a}u(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=F(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(g);var U=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}u(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new q(this,e,t,n)},t}(b),B=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new U(e)})),n}u(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new q(this,e,t)},t}(g),H=0,z=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=H++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,a=t.to,c=i(t,["delay","to"]);if(l.arr(a)||l.fun(a))this.queue.push(o({},c,{delay:r,to:a}));else if(a){var u={};Object.entries(a).forEach((function(e){var t,n=e[0],i=e[1],a=o({to:(t={},t[n]=i,t),delay:m(r,n)},c),s=u[a.delay]&&u[a.delay].to;u[a.delay]=o({},u[a.delay],a,{to:o({},s,a.to)})})),this.queue=Object.values(u)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(c),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,i=e.to,a=void 0===i?{}:i;l.obj(r)&&(n.merged=o({},r,n.merged)),l.obj(a)&&(n.merged=o({},n.merged,a))}));var r=this.local=++this.guid,a=this.localQueue=this.queue;this.queue=[],a.forEach((function(t,o){var c=t.delay,u=i(t,["delay"]),s=function(t){o===a.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},f=l.arr(u.to)||l.fun(u.to);c?setTimeout((function(){r===n.guid&&(f?n.runAsync(u,s):n.diff(u).start(s))}),c):f?n.runAsync(u,s):n.diff(u).start(s)}))}else l.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,I.has(t)||I.add(t),D||(D=!0,E(T||V));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,I.has(t)&&I.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),a=this.local,c=Promise.resolve(void 0);if(l.arr(r.to))for(var u=function(e){var t=e,i=o({},r,h(r.to[t]));l.arr(i.config)&&(i.config=i.config[t]),c=c.then((function(){if(a===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},s=0;s<r.to.length;s++)u(s);else if(l.fun(r.to)){var f,p=0;c=c.then((function(){return r.to((function(e){var t=o({},r,h(e));if(l.arr(t.config)&&(t.config=t.config[p]),p++,a===n.guid)return f=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return f}))}))}c.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var n=this.props,r=n.from,i=void 0===r?{}:r,a=n.to,c=void 0===a?{}:a,u=n.config,s=void 0===u?{}:u,f=n.reverse,h=n.attach,v=n.reset,b=n.immediate;if(f){var g=[c,i];i=g[0],c=g[1]}this.merged=o({},i,this.merged,c),this.hasChanged=!1;var w=h&&h(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],a=n[1],c=e[r]||{},u=l.num(a),f=l.str(a)&&!a.startsWith("#")&&!/\d/.test(a)&&!y[a],h=l.arr(a),g=!u&&!h&&!f,O=l.und(i[r])?a:i[r],j=u||h||f?a:1,E=m(s,r);w&&(j=w.animations[r].parent);var k,x=c.parent,S=c.interpolation,C=d(w?j.getPayload():j),A=a;g&&(A=_({range:[0,1],output:[a,a]})(1));var T,N=S&&S.getValue(),L=!l.und(x)&&c.animatedValues.some((function(e){return!e.done})),R=!l.equ(A,N),M=!l.equ(A,c.previous),D=!l.equ(E,c.config);if(v||M&&R||D){var I;if(u||f)x=S=c.parent||new U(O);else if(h)x=S=c.parent||new B(O);else if(g){var V=c.interpolation&&c.interpolation.calc(c.parent.value);V=void 0===V||v?O:V,c.parent?(x=c.parent).setValue(0,!1):x=new U(0);var F={output:[V,a]};c.interpolation?(S=c.interpolation,c.interpolation.updateConfig(F)):S=x.interpolate(F)}return C=d(w?j.getPayload():j),k=d(x.getPayload()),v&&!g&&x.setValue(O,!1),t.hasChanged=!0,k.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=L?e.lastVelocity:void 0,e.lastTime=L?e.lastTime:void 0,e.startTime=P(),e.done=!1,e.animatedStyles.clear()})),m(b,r)&&x.setValue(g?j:a,!1),o({},e,((I={})[r]=o({},c,{name:r,parent:x,interpolation:S,animatedValues:k,toValues:C,previous:A,config:E,fromValues:d(x.getValue()),immediate:m(b,r),initialVelocity:p(E.velocity,0),clamp:p(E.clamp,!1),precision:p(E.precision,.01),tension:p(E.tension,170),friction:p(E.friction,26),mass:p(E.mass,1),duration:E.duration,easing:p(E.easing,(function(e){return e})),decay:E.decay}),I))}return R?e:(g&&(x.setValue(1,!1),S.updateConfig({output:[A,A]})),x.done=!0,t.hasChanged=!0,o({},e,((T={})[r]=o({},e[r],{previous:A}),T)))}),this.animations),this.hasChanged)for(var O in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[O]=this.animations[O].interpolation,this.values[O]=this.animations[O].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}(),$=function(e,t){var n=a.useRef(!1),r=a.useRef(),o=l.fun(t),i=a.useMemo((function(){var n;return r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var i=new z,a=o?m(t,r,i):t[r];return 0===r&&(n=a.ref),i.update(a),n||i.start(),i})),n]}),[e]),c=i[0],u=i[1];r.current=c;a.useImperativeHandle(u,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var s=a.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(o?m(e,n,t):e[n]),u||t.start()}))}}),[e]);a.useEffect((function(){n.current?o||s(t):u||r.current.forEach((function(e){return e.start()}))})),a.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var f=r.current.map((function(e){return e.getValues()}));return o?[f,s,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:f},W=0,Q=function(e,t){return("function"==typeof t?e.map(t):d(t)).map(String)},G=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,a=i(e,["items","keys"]);return t=d(void 0!==t?t:null),o({items:t,keys:Q(t,r)},a)};function Y(e,t){var n=function(){if(o){if(i>=r.length)return"break";a=r[i++]}else{if((i=r.next()).done)return"break";a=i.value}var n=a.key,c=function(e){return e.key!==n};(l.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(c),e.current.deleted=e.current.deleted.filter(c))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var a;if("break"===n())break}e.current.forceUpdate()}var Z=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof b||(t=v.transform(t)),n.payload=t,n}return u(t,e),t}(w),K={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},J="[-+]?\\d*\\.?\\d+";function X(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+X(J,J,J)),te=new RegExp("rgba"+X(J,J,J,J)),ne=new RegExp("hsl"+X(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),re=new RegExp("hsla"+X(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",J)),oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ie=/^#([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})$/,ce=/^#([0-9a-fA-F]{8})$/;function ue(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function se(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=ue(o,r,e+1/3),a=ue(o,r,e),c=ue(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*c)<<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 pe(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function de(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function me(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ae.exec(t))?parseInt(n[1]+"ff",16)>>>0:K.hasOwnProperty(t)?K[t]:(n=ee.exec(t))?(le(n[1])<<24|le(n[2])<<16|le(n[3])<<8|255)>>>0:(n=te.exec(t))?(le(n[1])<<24|le(n[2])<<16|le(n[3])<<8|pe(n[4]))>>>0:(n=oe.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=ce.exec(t))?parseInt(n[1],16)>>>0:(n=ie.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ne.exec(t))?(255|se(fe(n[1]),de(n[2]),de(n[3])))>>>0:(n=re.exec(t))?(se(fe(n[1]),de(n[2]),de(n[3]))|pe(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var he=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ve=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ye=new RegExp("("+Object.keys(K).join("|")+")","g"),be={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 we(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}be=Object.keys(be).reduce((function(e,t){return ge.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),be);var Oe={};L((function(e){return new Z(e)})),C("div"),x((function(e){var t=e.output.map((function(e){return e.replace(ve,me)})).map((function(e){return e.replace(ye,me)})),n=t[0].match(he).map((function(){return[]}));t.forEach((function(e){e.match(he).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(he).map((function(t,r){return F(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(he,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),j(K),O((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,a=t.scrollLeft,c=i(t,["style","children","scrollTop","scrollLeft"]),u="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var l=0===s.indexOf("--"),f=we(s,n[s],l);"float"===s&&(s="cssFloat"),l?e.style.setProperty(s,f):e.style[s]=f}for(var p in c){var d=u?p:Oe[p]||(Oe[p]=p.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(d)&&e.setAttribute(d,c[p])}}),(function(e){return e}));var je,_e,Ee=(je=function(e){return a.forwardRef((function(t,n){var r=f(),u=a.useRef(!0),s=a.useRef(null),p=a.useRef(null),d=a.useCallback((function(e){var t=s.current;s.current=new M(e,(function(){var e=!1;p.current&&(e=v.fn(p.current,s.current.getAnimatedValue())),p.current&&!1!==e||r()})),t&&t.detach()}),[]);a.useEffect((function(){return function(){u.current=!1,s.current&&s.current.detach()}}),[]),a.useImperativeHandle(n,(function(){return N(p,u,r)})),d(t);var m,h=s.current.getValue(),y=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),b=(m=e,!l.fun(m)||m.prototype instanceof c.Component?function(e){return p.current=function(e,t){return t&&(l.fun(t)?t(e):l.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return c.createElement(e,o({},y,{ref:b}))}))},void 0===(_e=!1)&&(_e=!0),function(e){return(l.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=_e?t[0].toLowerCase()+t.substring(1):t;return e[n]=je(n),e}),je)}),ke=Ee(["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=Ee,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=V,t.animated=ke,t.a=ke,t.interpolate=function(e,t,n){return e&&new q(e,t,n)},t.Globals=R,t.useSpring=function(e){var t=l.fun(e),n=$(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=a.useRef(!1),r=l.fun(t),i=m(t),c=a.useRef(),u=$(e,(function(e,t){return 0===e&&(c.current=[]),c.current.push(t),o({},i,{config:m(i.config,e),attach:e>0&&function(){return c.current[e-1]}})})),s=u[0],f=u[1],p=u[2],d=a.useMemo((function(){return function(e){return f((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,a=c.current[r];return o({},e,{config:m(e.config||i.config,t),attach:a&&function(){return a}})}))}}),[e,i.reverse]);return a.useEffect((function(){n.current&&!r&&d(t)})),a.useEffect((function(){n.current=!0}),[]),r?[s,d,p]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),c=G(r),u=c.lazy,s=void 0!==u&&u,l=(c.unique,c.reset),p=void 0!==l&&l,d=(c.enter,c.leave,c.update,c.onDestroyed),h=(c.keys,c.items,c.onFrame),v=c.onRest,y=c.onStart,b=c.ref,g=i(c,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),w=f(),O=a.useRef(!1),j=a.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!O.current&&new Map,forceUpdate:w});return a.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(j.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(j.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(j.current.instances).map((function(e){return e[1]}))}}})),j.current=function(e,t){var n=e.first,r=e.prevProps,a=i(e,["first","prevProps"]),c=G(t),u=c.items,s=c.keys,l=c.initial,f=c.from,p=c.enter,d=c.leave,h=c.update,v=c.trail,y=void 0===v?0:v,b=c.unique,g=c.config,w=c.order,O=void 0===w?["enter","leave","update"]:w,j=G(r),_=j.keys,E=j.items,k=o({},a.current),x=[].concat(a.deleted),S=Object.keys(k),P=new Set(S),C=new Set(s),A=s.filter((function(e){return!P.has(e)})),T=a.transitions.filter((function(e){return!e.destroyed&&!C.has(e.originalKey)})).map((function(e){return e.originalKey})),N=s.filter((function(e){return P.has(e)})),L=-y;for(;O.length;){switch(O.shift()){case"enter":A.forEach((function(e,t){b&&x.find((function(t){return t.originalKey===e}))&&(x=x.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=u[r],i=n&&void 0!==l?"initial":"enter";k[e]={slot:i,originalKey:e,key:b?String(e):W++,item:o,trail:L+=y,config:m(g,o,i),from:m(n&&void 0!==l?l||{}:f,o),to:m(p,o)}}));break;case"leave":T.forEach((function(e){var t=_.indexOf(e),n=E[t];x.unshift(o({},k[e],{slot:"leave",destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:L+=y,config:m(g,n,"leave"),to:m(d,n)})),delete k[e]}));break;case"update":N.forEach((function(e){var t=s.indexOf(e),n=u[t];k[e]=o({},k[e],{item:n,slot:"update",trail:L+=y,config:m(g,n,"update"),to:m(h,n)})}))}}var R=s.map((function(e){return k[e]}));return x.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=R.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),R=[].concat(R.slice(0,t),[r],R.slice(t))})),o({},a,{changed:A.length||T.length||N.length,first:n&&0===A.length,transitions:R,current:k,deleted:x,prevProps:t})}(j.current,r),j.current.changed&&j.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,a=e.trail,c=e.key,u=e.item;j.current.instances.has(c)||j.current.instances.set(c,new z);var l=j.current.instances.get(c),f=o({},g,{to:r,from:n,config:i,ref:b,onRest:function(n){j.current.mounted&&(e.destroyed&&(b||s||Y(j,c),d&&d(u)),!Array.from(j.current.instances).some((function(e){return!e[1].idle}))&&(b||s)&&j.current.deleted.length>0&&Y(j),v&&v(u,t,n))},onStart:y&&function(){return y(u,t)},onFrame:h&&function(e){return h(u,t,e)},delay:a,reset:p&&"enter"===t});l.update(f),j.current.paused||l.start()})),a.useEffect((function(){return j.current.mounted=O.current=!0,function(){j.current.mounted=O.current=!1,Array.from(j.current.instances).map((function(e){return e[1].destroy()})),j.current.instances.clear()}}),[]),j.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:j.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=a.useRef();a.useEffect((function(){l.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var i=e.current;if(i){var a=i.controllers;if(a.length){var c=n*t[r];a.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+c})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=$},181:function(e,t,n){"use strict";(function(e){var r=n(10),o=n.n(r),i=n(38),a=n(1),c=n.n(a),u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function s(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(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var l=o.a.createContext||function(e,t){var n,o,a,l="__create-react-context-"+((u[a="__global_unique_id__"]=(u[a]||0)+1)+"__"),f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=s(t.props.value),t}Object(i.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(r.Component);f.childContextTypes=((n={})[l]=c.a.object.isRequired,n);var p=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(i.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},r.getValue=function(){return this.context[l]?this.context[l].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return p.contextTypes=((o={})[l]=c.a.object,o),{Provider:f,Consumer:p}};t.a=l}).call(this,n(83))},182:function(e,t,n){var r=n(310);e.exports=d,e.exports.parse=i,e.exports.compile=function(e,t){return c(i(e,t),t)},e.exports.tokensToFunction=c,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,c="",l=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],p=n[1],d=n.index;if(c+=e.slice(a,d),a=d+f.length,p)c+=p[1];else{var m=e[a],h=n[2],v=n[3],y=n[4],b=n[5],g=n[6],w=n[7];c&&(r.push(c),c="");var O=null!=h&&null!=m&&m!==h,j="+"===g||"*"===g,_="?"===g||"*"===g,E=n[2]||l,k=y||b;r.push({name:v||i++,prefix:h||"",delimiter:E,optional:_,repeat:j,partial:O,asterisk:!!w,pattern:k?s(k):w?".*":"[^"+u(E)+"]+?"})}}return a<e.length&&(c+=e.substr(a)),c&&r.push(c),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function c(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",c=t||{},u=(o||{}).pretty?a:encodeURIComponent,s=0;s<e.length;s++){var l=e[s];if("string"!=typeof l){var f,p=c[l.name];if(null==p){if(l.optional){l.partial&&(i+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(p)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<p.length;d++){if(f=u(p[d]),!n[s].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===d?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(p),!n[s].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');i+=l.prefix+f}}else i+=l}return i}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",c=0;c<e.length;c++){var s=e[c];if("string"==typeof s)a+=u(s);else{var p=u(s.prefix),d="(?:"+s.pattern+")";t.push(s),s.repeat&&(d+="(?:"+p+d+")*"),a+=d=s.optional?s.partial?p+"("+d+")?":"(?:"+p+"("+d+"))?":p+"("+d+")"}}var m=u(n.delimiter||"/"),h=a.slice(-m.length)===m;return o||(a=(h?a.slice(0,-m.length):a)+"(?:"+m+"(?=$))?"),a+=i?"$":o&&h?"":"(?="+m+"|$)",l(new RegExp("^"+a,f(n)),t)}function d(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(d(e[o],t,n).source);return l(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return p(i(e,n),t,n)}(e,t,n)}},19:function(e,t,n){var r=n(57),o=n(58),i=n(39),a=n(59);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},195:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n(3);function o(e,t){return Object(r.filter)(e,(function(e){var n=e.is_deleted,r=e.date_created_gmt,o=e.status;if(!n)return(!t||!r||new Date(r+"Z").getTime()>t)&&"unactioned"===o})).length}function i(e){return Object(r.filter)(e,(function(e){return!e.is_deleted})).length>0}},196:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f}));var r=n(36),o=n(55),i=n(7),a=n.n(i),c=n(0);function u(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=function(e){return Object(c.createElement)("path",e)},f=function(e){var t=e.className,n=e.isPressed,r=s(s({},Object(o.a)(e,["className","isPressed"])),{},{className:a()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":!0,focusable:!1});return Object(c.createElement)("svg",r)}},2:function(e,t){!function(){e.exports=this.wp.i18n}()},20:function(e,t){!function(){e.exports=this.wc.navigation}()},21:function(e,t,n){var r=n(60),o=n(61),i=n(39),a=n(62);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},22:function(e,t){!function(){e.exports=this.wc.data}()},23:function(e,t){!function(){e.exports=this.wp.url}()},24:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return d})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return h})),n.d(t,"f",(function(){return v}));var r=n(30),o=n.n(r),i=n(2),a=["wcAdminSettings","preloadSettings"],c="object"===("undefined"==typeof wcSettings?"undefined":o()(wcSettings))?wcSettings:{},u=Object.keys(c).reduce((function(e,t){return a.includes(t)||(e[t]=c[t]),e}),{}),s=u.adminUrl,l=(u.countries,u.currency),f=u.locale,p=u.orderStatuses,d=(u.siteTitle,u.wcAssetUrl);function m(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(a.includes(e))throw new Error(Object(i.__)("Mutable settings should be accessed via data store."));var r=u.hasOwnProperty(e)?u[e]:t;return n(r,t)}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(a.includes(e))throw new Error(Object(i.__)("Mutable settings should be mutated via data store."));u[e]=n(t)}function v(e){return(s||"")+e}},27:function(e,t){!function(){e.exports=this.wp.apiFetch}()},278:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=n(303),a=n(10),c=n(48);e.exports=function(e){var t=e.displayName||e.name,n=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);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,(n.__proto__||Object.getPrototypeOf(n)).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)}(n,t),o(n,[{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,n=this.props,o=n.wrappedRef,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["wrappedRef"]);return a.createElement(e,r({},i,{ref:function(e){t.__wrappedInstance=e,t.__domNode=c.findDOMNode(e),o&&o(e)}}))}}]),n}(a.Component);return n.displayName="clickOutside("+t+")",i(n,e)}},279:function(e,t,n){"use strict";(function(e){var r=n(0),o=n(3),i=n(7),a=n.n(i),c=n(142),u=n(2),s=(n(280),n(4));t.a=Object(r.forwardRef)((function(t,n){var i=t.className,l=t.children,f=t.spokenMessage,p=void 0===f?l:f,d=t.politeness,m=void 0===d?"polite":d,h=t.actions,v=void 0===h?[]:h,y=t.onRemove,b=void 0===y?o.noop:y,g=t.icon,w=void 0===g?null:g,O=t.explicitDismiss,j=void 0!==O&&O,_=t.onDismiss,E=void 0===_?null:_;function k(e){e&&e.preventDefault&&e.preventDefault(),E(),b()}E=E||o.noop,function(e,t){var n="string"==typeof e?e:Object(r.renderToString)(e);Object(r.useEffect)((function(){n&&Object(c.a)(n,t)}),[n,t])}(p,m),Object(r.useEffect)((function(){var e=setTimeout((function(){j||(E(),b())}),1e4);return function(){return clearTimeout(e)}}),[j,E,b]);var x=a()(i,"components-snackbar",{"components-snackbar-explicit-dismiss":!!j});v&&v.length>1&&(void 0!==e&&e.env,v=[v[0]]);var S=a()("components-snackbar__content",{"components-snackbar__content-with-icon":!!w});return Object(r.createElement)("div",{ref:n,className:x,onClick:j?o.noop:k,tabIndex:"0",role:j?"":"button",onKeyPress:j?o.noop:k,"aria-label":j?"":Object(u.__)("Dismiss this notice")},Object(r.createElement)("div",{className:S},w&&Object(r.createElement)("div",{className:"components-snackbar__icon"},w),l,v.map((function(e,t){var n=e.label,o=e.onClick,i=e.url;return Object(r.createElement)(s.Button,{key:t,href:i,isTertiary:!0,onClick:function(e){return function(e,t){e.stopPropagation(),b(),t&&t(e)}(e,o)},className:"components-snackbar__action"},n)})),j&&Object(r.createElement)("span",{role:"button","aria-label":"Dismiss this notice",tabIndex:"0",className:"components-snackbar__dismiss-button",onClick:k,onKeyPress:k},"✕")))}))}).call(this,n(125))},28:function(e,t){!function(){e.exports=this.wc.tracks}()},280:function(e,t,n){"use strict";(function(e){function r(t){void 0!==e&&e.env}n.d(t,"a",(function(){return r}))}).call(this,n(125))},281:function(e,t){!function(){e.exports=this.wc.customerEffortScore}()},288:function(e,t,n){"use strict";n.d(t,"a",(function(){return B}));var r={};n.r(r),n.d(r,"setCesSurveyQueue",(function(){return C})),n.d(r,"addCesSurvey",(function(){return A})),n.d(r,"addCesSurveyForAnalytics",(function(){return T}));var o={};n.r(o),n.d(o,"getCesSurveyQueue",(function(){return M}));var i={};n.r(i),n.d(i,"getCesSurveyQueue",(function(){return D}));var a=n(19),c=n.n(a),u=n(5),s=n.n(u),l=n(21),f=n.n(l),p=n(0),d=n(1),m=n.n(d),h=n(28),v=n(281),y=n.n(v),b=n(18),g=n(15),w=n(22),O=n(2);function j(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e){var t=e.action,n=e.trackProps,r=e.label,o=e.onSubmitLabel,i=void 0===o?Object(O.__)("Thank you for your feedback!","woocommerce-admin"):o,a=e.cesShownForActions,u=e.allowTracking,l=e.resolving,d=e.storeAgeInWeeks,m=e.updateOptions,v=e.createNotice,b=Object(p.useState)(!1),g=f()(b,2),w=g[0],j=g[1];if(l)return null;if(!u)return null;if(-1!==a.indexOf(t)&&!w)return null;var E=function(){m(s()({},"woocommerce_ces_shown_for_actions",[t].concat(c()(a))))};return Object(p.createElement)(y.a,{recordScoreCallback:function(e,r){Object(h.recordEvent)("ces_feedback",_({action:t,score:e,comments:r||"",store_age:d},n)),v("success",i)},label:r,onNoticeShownCallback:function(){Object(h.recordEvent)("ces_snackbar_view",_({action:t,store_age:d},n))},onNoticeDismissedCallback:function(){Object(h.recordEvent)("ces_snackbar_dismiss",_({action:t,store_age:d},n)),E()},onModalShownCallback:function(){j(!0),Object(h.recordEvent)("ces_view",_({action:t,store_age:d},n)),E()},icon:Object(p.createElement)("span",{style:{height:21,width:21},role:"img","aria-label":Object(O.__)("Pencil icon","woocommerce-admin")},"✏️")})}E.propTypes={action:m.a.string.isRequired,trackProps:m.a.object,label:m.a.string.isRequired,onSubmitLabel:m.a.string,cesShownForActions:m.a.arrayOf(m.a.string).isRequired,allowTracking:m.a.bool,resolving:m.a.bool.isRequired,storeAgeInWeeks:m.a.number,updateOptions:m.a.func,createNotice:m.a.func};var k=Object(b.compose)(Object(g.withSelect)((function(e){var t=e(w.OPTIONS_STORE_NAME),n=t.getOption,r=t.isResolving,o=n("woocommerce_ces_shown_for_actions")||[],i=function(e){if(0===e)return null;var t=Date.now()-1e3*e;return Math.round(t/w.WEEK)}(n("woocommerce_admin_install_timestamp")||0);return{cesShownForActions:o,allowTracking:"yes"===(n("woocommerce_allow_tracking")||"no"),storeAgeInWeeks:i,resolving:r("getOption",["woocommerce_ces_shown_for_actions"])||null===i||r("getOption",["woocommerce_admin_install_timestamp"])||r("getOption",["woocommerce_allow_tracking"])}})),Object(g.withDispatch)((function(e){return{updateOptions:e(w.OPTIONS_STORE_NAME).updateOptions,createNotice:e("core/notices").createNotice}})))(E),x=n(74),S=n(17),P={SET_CES_SURVEY_QUEUE:"SET_CES_SURVEY_QUEUE",ADD_CES_SURVEY:"ADD_CES_SURVEY"};function C(e){return{type:P.SET_CES_SURVEY_QUEUE,queue:e}}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.pagenow,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.adminpage,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;return{type:P.ADD_CES_SURVEY,action:e,label:t,pageNow:n,adminPage:r,onsubmit_label:o}}function T(){return A("analytics_filtered",Object(O.__)("How easy was it to filter your store analytics?","woocommerce-admin"),"woocommerce_page_wc-admin","woocommerce_page_wc-admin")}var N=n(9),L=n.n(N),R=L.a.mark(M);function M(){var e;return L.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(S.apiFetch)({path:"".concat(x.a,"/options?options=").concat(x.b)});case 2:if(!(e=t.sent)){t.next=8;break}return t.next=6,C(e[x.b]||[]);case 6:t.next=9;break;case 8:throw new Error;case 9:case"end":return t.stop()}}),R)}function D(e){return e.queue}function I(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 V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var F={queue:[]},q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:F,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case P.SET_CES_SURVEY_QUEUE:return V(V({},e),{},{queue:t.queue});case P.ADD_CES_SURVEY:var n=e.queue.filter((function(e){return e.action===t.action}));if(n.length)return e;var r={action:t.action,label:t.label,pagenow:t.pageNow,adminpage:t.adminPage,onSubmitLabel:t.onSubmitLabel};return V(V({},e),{},{queue:[].concat(c()(e.queue),[r])});default:return e}};Object(g.registerStore)(x.c,{actions:r,selectors:i,resolvers:o,controls:S.controls,reducer:q});function U(e){var t=e.queue,n=e.resolving,r=e.clearQueue;if(n)return null;var o=t.filter((function(e){return e.pagenow===window.pagenow&&e.adminpage===window.adminpage}));return o.length&&r(),Object(p.createElement)(p.Fragment,null,o.map((function(e,t){return Object(p.createElement)(k,{key:t,action:e.action,label:e.label,onSubmitLabel:e.onsubmit_label,trackProps:e.props||{}})})))}U.propTypes={queue:m.a.arrayOf(m.a.object),resolving:m.a.bool,clearQueue:m.a.func};var B=Object(b.compose)(Object(g.withSelect)((function(e){var t=e(x.c),n=t.getCesSurveyQueue,r=t.isResolving;return{queue:n(),resolving:r("getOption",[x.b])}})),Object(g.withDispatch)((function(e){var t=e(w.OPTIONS_STORE_NAME).updateOptions;return{clearQueue:function(){t({woocommerce_clear_ces_tracks_queue_for_page:{pagenow:window.pagenow,adminpage:window.adminpage}})}}})))(U)},289:function(e,t,n){"use strict";var r=n(0),o=n(141),i=n(20),a=n(22),c=(n(311),n(21)),u=n.n(c),s=n(5),l=n.n(s),f=n(2),p=n(18),d=n(31),m=n(28),h=n(15),v=n(105),y=n(4),b=n(40),g=n(306),w=n(196),O=Object(r.createElement)(w.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(w.a,{d:"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"})),j=n(25),_=n(10),E=n(7),k=n.n(E),x=n(3),S=n(140),P=function(){var e=Object(j.g)("siteTitle",""),t=Object(j.g)("siteUrl",""),n=Object(S.a)(),o="is-wc-nav-folded",i="is-wc-nav-expanded",a=function(){document.body.classList.add(o),document.body.classList.remove(i)},c=function(){document.body.classList.remove(o),document.body.classList.add(i)},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body.clientWidth;e<=960?a():c()};Object(_.useEffect)((function(){u();for(var e=0,t=[{eventName:"orientationchange",handler:function(e){return u(e.target.screen.availWidth)}},{eventName:"resize",handler:Object(x.debounce)((function(){return u()}),200)}];e<t.length;e++){var n=t[e],r=n.eventName,o=n.handler;window.addEventListener(r,o,!1)}}),[]);var s=Object(r.createElement)(g.a,{size:"36px",icon:O}),l=Object(h.useSelect)((function(e){var t=e("core/data").isResolving,n=(0,e("core").getEntityRecord)("root","__unstableBase",void 0)||{};return{isRequestingSiteIcon:t("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:n.siteIconUrl}})),p=l.isRequestingSiteIcon,d=l.siteIconUrl;d?s=Object(r.createElement)("img",{alt:Object(f.__)("Site Icon"),src:d}):p&&(s=null);var m=k()("woocommerce-navigation-header",{"is-scrolled":n});return Object(r.createElement)("div",{className:m},Object(r.createElement)(y.Button,{onClick:function(){document.body.classList.contains(o)?c():a()},className:"woocommerce-navigation-header__site-icon"},s),Object(r.createElement)(y.Button,{href:t,className:"woocommerce-navigation-header__site-title",as:"span"},Object(b.decodeEntities)(e)))},C=function(e){var t=e.item,n=Object(i.useNavSlot)("woocommerce_navigation_"+t.id),o=Boolean(n.fills&&n.fills.length),a=function(e){Object(m.recordEvent)("navigation_click",{menu_item:e})};return o&&!t.isCategory?Object(r.createElement)(d.d,{key:t.id,item:t.id},Object(r.createElement)("div",{onClick:function(){return a(t.id)}},Object(r.createElement)(i.WooNavigationItem.Slot,{name:t.id}))):Object(r.createElement)(d.d,{key:t.id,item:t.id,title:t.title,href:t.url,navigateToMenu:!t.url&&t.id,onClick:function(){return a(t.id)}})};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}function T(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){l()(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}var N=Object(p.compose)(Object(h.withSelect)((function(e){var t=e(a.NAVIGATION_STORE_NAME),n=t.getActiveItem,r=t.getMenuItems;return{activeItem:n(),menuItems:r()}})))((function(e){var t=e.menuItems;Object(r.useEffect)((function(){document.getElementById("adminmenumain").classList.add("folded")}),[]);var n=window.wcNavigation,o=n.rootBackLabel,i=n.rootBackUrl,a=t.reduce((function(e,t){return t.isCategory?T(T({},e),{},l()({},t.id,t)):e}),{woocommerce:{capability:"manage_woocommerce",id:"woocommerce",isCategory:!0,menuId:"primary",migrate:!0,order:10,parent:"",title:"WooCommerce"}}),c=Object.values(a),s=Object(r.useState)("woocommerce-home"),p=u()(s,2),h=p[0],y=p[1],b=Object(r.useState)("woocommerce"),g=u()(b,2),w=g[0],O=g[1];Object(r.useEffect)((function(){var e=Object(v.b)(t);return e&&(y(e),O(e.parent)),Object(v.a)((function(){setTimeout((function(){var e=Object(v.b)(t);e&&y(e)}),0)}))}),[t]);var j=Object(r.useMemo)((function(){return t.reduce((function(e,t){return e[t.parent]||(e[t.parent]={}),"woocommerce"!==t.parent&&a[t.parent]&&a[t.parent].menuId!==t.menuId||(e[t.parent][t.menuId]||(e[t.parent][t.menuId]=[]),e[t.parent][t.menuId].push(t)),e}),{})}),[t]),_=Object(r.useRef)(null),E=function(e){Object(m.recordEvent)("navigation_back_click",{category:e})},k="woocommerce"===w&&i;return Object(r.createElement)("div",{className:"woocommerce-navigation"},Object(r.createElement)(P,null),Object(r.createElement)("div",{className:"woocommerce-navigation__wrapper",ref:_},Object(r.createElement)(d.a,{activeItem:h?h.id:null,activeMenu:w,onActivateMenu:function(){_&&_.current&&(_.current.scrollTop=0),O.apply(void 0,arguments)}},k&&Object(r.createElement)(d.b,{className:"woocommerce-navigation__back-to-dashboard",href:i,backButtonLabel:o,onClick:function(){return E("woocommerce")}}),c.map((function(e){var t=j[e.id]||{},n=t.primary,o=t.secondary,i=t.plugins;return Object(r.createElement)(d.e,{key:e.id,title:e.title,menu:e.id,parentMenu:e.parent,backButtonLabel:e.backButtonLabel||null,onBackButtonClick:k?null:function(){return E(e.id)}},!!n&&Object(r.createElement)(d.c,null,n.map((function(e){return Object(r.createElement)(C,{key:e.id,item:e})}))),!!i&&Object(r.createElement)(d.c,{title:"woocommerce"===e.id?Object(f.__)("Extensions","woocommerce-admin"):null},i.map((function(e){return Object(r.createElement)(C,{key:e.id,item:e})}))),!!o&&Object(r.createElement)(d.c,{onBackButtonClick:function(){return E(e.id)}},o.map((function(e){return Object(r.createElement)(C,{key:e.id,item:e})}))))})))))})),L=Object(a.withNavigationHydration)(window.wcNavigation)((function(){return Object(r.createElement)(i.NavSlotFillProvider,null,Object(r.createElement)(N,null),Object(r.createElement)(o.PluginArea,null))}));t.a=L},29:function(e,t){!function(){e.exports=this.wc.date}()},298:function(e,t,n){"use strict";n.r(t),function(e){var t=n(0),r=(n(476),n(22)),o=(n(300),n(143)),i=n(288),a=n(289);n.p=e.wcAdminAssets.path;var c=document.getElementById("root"),u=document.getElementById("woocommerce-embedded-root"),s=window.wcSettings.currentUserData;if(c){var l=Object(r.withSettingsHydration)("wc_admin",window.wcSettings)(o.b);window.wcSettings.preloadSettings&&window.wcSettings.preloadSettings.general&&(l=Object(r.withSettingsHydration)("general",{general:window.wcSettings.preloadSettings.general})(l)),s&&(l=Object(r.withCurrentUserHydration)(s)(l)),Object(t.render)(Object(t.createElement)(l,null),c)}else if(u){var f=Object(r.withSettingsHydration)("wc_admin",window.wcSettings)(o.a);s&&(f=Object(r.withCurrentUserHydration)(s)(f)),Object(t.render)(Object(t.createElement)(f,null),u),u.classList.remove("is-embed-loading");var p=document.getElementById("wpbody-content"),d=p.querySelector(".wrap.woocommerce")||p.querySelector('[class="wrap"]'),m=document.createElement("div");Object(t.render)(Object(t.createElement)("div",{className:"woocommerce-layout"},Object(t.createElement)(o.c,null)),p.insertBefore(m,d))}var h,v=document.getElementById("woocommerce-embedded-navigation");v&&Object(t.render)(Object(t.createElement)(a.a,null),v),window.wcAdminFeatures&&!0===window.wcAdminFeatures["customer-effort-score-tracks"]&&(h=c||u,Object(t.render)(Object(t.createElement)(i.a,null),h.insertBefore(document.createElement("div"),null)))}.call(this,n(83))},3:function(e,t){!function(){e.exports=this.lodash}()},30:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},300:function(e,t,n){},301:function(e,t,n){},302:function(e,t,n){},303:function(e,t,n){"use strict";var r={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},i=Object.defineProperty,a=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,s=Object.getPrototypeOf,l=s&&s(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(l){var p=s(n);p&&p!==l&&e(t,p,f)}var d=a(n);c&&(d=d.concat(c(n)));for(var m=0;m<d.length;++m){var h=d[m];if(!(r[h]||o[h]||f&&f[h])){var v=u(n,h);try{i(t,h,v)}catch(e){}}}return t}return t}},304:function(e,t,n){},305:function(e,t,n){},306:function(e,t,n){"use strict";var r=n(36),o=n(55),i=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,c=void 0===n?24:n,u=Object(o.a)(e,["icon","size"]);return Object(i.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:c,height:c},u))}},307:function(e,t,n){},308:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},309:function(e,t,n){},31:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return l}));var r=n(4),o=r.Navigation||r.__experimentalNavigation,i=r.NavigationBackButton||r.__experimentalNavigationBackButton,a=r.NavigationGroup||r.__experimentalNavigationGroup,c=r.NavigationMenu||r.__experimentalNavigationMenu,u=r.NavigationItem||r.__experimentalNavigationItem,s=r.Text||r.__experimentalText,l=r.useSlot||r.__experimentalUseSlot},310:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},311:function(e,t,n){},32:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},34:function(e,t,n){var r=n(94);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},36:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},37:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},38:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},39:function(e,t,n){var r=n(37);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},4:function(e,t){!function(){e.exports=this.wp.components}()},40:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},41:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},42:function(e,t){!function(){e.exports=this.wp.hooks}()},43:function(e,t){function n(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,u,"next",e)}function u(e){n(a,o,i,c,u,"throw",e)}c(void 0)}))}}},47:function(e,t){!function(){e.exports=this.wc.components}()},476:function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"createNotice",(function(){return h})),n.d(r,"createSuccessNotice",(function(){return v})),n.d(r,"createInfoNotice",(function(){return y})),n.d(r,"createErrorNotice",(function(){return b})),n.d(r,"createWarningNotice",(function(){return g})),n.d(r,"removeNotice",(function(){return w}));var o={};n.r(o),n.d(o,"getNotices",(function(){return j}));var i=n(15),a=n(81),c=n(3),u=n(36);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}function l(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(u.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}var f=function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:l({},n,Object(u.a)({},o,i))}}}("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(c.reject)(e,{id:t.notice.id})),[t.notice]);case"REMOVE_NOTICE":return Object(c.reject)(e,{id:t.id})}return e})),p=n(9),d=n.n(p),m=d.a.mark(h);function h(){var e,t,n,r,o,i,a,u,s,l,f,p,h,v,y,b,g=arguments;return d.a.wrap((function(d){for(;;)switch(d.prev=d.next){case 0:if(e=g.length>0&&void 0!==g[0]?g[0]:"info",t=g.length>1?g[1]:void 0,n=g.length>2&&void 0!==g[2]?g[2]:{},r=n.speak,o=void 0===r||r,i=n.isDismissible,a=void 0===i||i,u=n.context,s=void 0===u?"global":u,l=n.id,f=void 0===l?Object(c.uniqueId)(s):l,p=n.actions,h=void 0===p?[]:p,v=n.type,y=void 0===v?"default":v,b=n.__unstableHTML,t=String(t),!o){d.next=8;break}return d.next=8,{type:"SPEAK",message:t,ariaLive:"snackbar"===y?"polite":"assertive"};case 8:return d.next=10,{type:"CREATE_NOTICE",context:s,notice:{id:f,status:e,content:t,__unstableHTML:b,isDismissible:a,actions:h,type:y}};case 10:case"end":return d.stop()}}),m)}function v(e,t){return h("success",e,t)}function y(e,t){return h("info",e,t)}function b(e,t){return h("error",e,t)}function g(e,t){return h("warning",e,t)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return{type:"REMOVE_NOTICE",id:e,context:t}}var O=[];function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return e[t]||O}var _=n(142),E={SPEAK:function(e){Object(_.a)(e.message,e.ariaLive||"assertive")}};Object(i.registerStore)("core/notices",{reducer:f,actions:r,selectors:o,controls:E})},48:function(e,t){!function(){e.exports=this.ReactDOM}()},484:function(e,t){!function(){e.exports=this.wc.csvExport}()},5:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},50:function(e,t,n){"use strict";var r=n(86),o=n(87),i=n(68);e.exports={formats:i,parse:o,stringify:r}},52:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,i=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 n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],c=Object.keys(a),u=0;u<c.length;++u){var s=c[u],l=a[s];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:s}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n){if(0===e.length)return e;var r=e;if("symbol"==typeof e?r=Symbol.prototype.toString.call(e):"string"!=typeof e&&(r=String(e)),"iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<r.length;++a){var c=r.charCodeAt(a);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?o+=r.charAt(a):c<128?o+=i[c]:c<2048?o+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?o+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(a+=1,c=65536+((1023&c)<<10|1023&r.charCodeAt(a)),o+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}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)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var c=t;return o(t)&&!o(n)&&(c=a(t,i)),o(t)&&o(n)?(n.forEach((function(n,o){if(r.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,i):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return r.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),c)}}},54:function(e,t,n){"use strict";function r(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.d(t,"a",(function(){return r}))},55:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(41);function o(e,t){if(null==e)return{};var n,o,i=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},56:function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},57:function(e,t,n){var r=n(37);e.exports=function(e){if(Array.isArray(e))return r(e)}},58:function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},59: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.")}},6:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},60:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},61:function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}},62: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.")}},67:function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l={};function f(){}function p(){}function d(){}var m={};m[o]=function(){return this};var h=Object.getPrototypeOf,v=h&&h(h(E([])));v&&v!==t&&n.call(v,o)&&(m=v);var y=d.prototype=f.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,c){var u=s(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.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,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function E(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 r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:k}}function k(){return{value:void 0,done:!0}}return p.prototype=y.constructor=d,d.constructor=p,p.displayName=c(d,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,c(e,a,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(g.prototype),g.prototype[i]=function(){return this},e.AsyncIterator=g,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new g(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),c(y,a,"Generator"),y[o]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=E,_.prototype={constructor:_,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(j),!e)for(var t in this)"t"===t.charAt(0)&&n.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 r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):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),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},68:function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g,i=n(52),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=i.assign({default:a.RFC3986,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}}},a)},69:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},7:function(e,t,n){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=n.apply(null,o);a&&e.push(a)}else if("object"===i)for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return n})):window.classNames=n}()},70:function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"c",(function(){return j})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return d}));var r=n(32);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],c=e&&o(e),u=t&&o(t),s=c||u;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var l=a[a.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,p=a.length;p>=0;p--){var d=a[p];"."===d?i(a,p):".."===d?(i(a,p),f++):f&&(i(a,p),f--)}if(!s)for(;f--;f)a.unshift("..");!s||""===a[0]||a[0]&&o(a[0])||a.unshift("");var m=a.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};function c(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var u=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=c(t),o=c(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},s=n(56);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 p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function h(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&u(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}function g(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),y||Object(s.a)(!1);var t,n=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,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,c=a.forceRefresh,u=void 0!==c&&c,h=a.getUserConfirmation,w=void 0===h?b:h,O=a.keyLength,j=void 0===O?6:O,_=e.basename?p(l(e.basename)):"";function E(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return _&&(i=f(i,_)),m(i,r,n)}function k(){return Math.random().toString(36).substr(2,j)}var x=v();function S(e){Object(r.a)(F,e),F.length=n.length,x.notifyListeners(F.location,F.action)}function P(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||T(E(e.state))}function C(){T(E(g()))}var A=!1;function T(e){if(A)A=!1,S();else{x.confirmTransitionTo(e,"POP",w,(function(t){t?S({action:"POP",location:e}):function(e){var t=F.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,M(o))}(e)}))}}var N=E(g()),L=[N.key];function R(e){return _+d(e)}function M(e){n.go(e)}var D=0;function I(e){1===(D+=e)&&1===e?(window.addEventListener("popstate",P),i&&window.addEventListener("hashchange",C)):0===D&&(window.removeEventListener("popstate",P),i&&window.removeEventListener("hashchange",C))}var V=!1;var F={length:n.length,action:"POP",location:N,createHref:R,push:function(e,t){var r=m(e,t,k(),F.location);x.confirmTransitionTo(r,"PUSH",w,(function(e){if(e){var t=R(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),u)window.location.href=t;else{var c=L.indexOf(F.location.key),s=L.slice(0,c+1);s.push(r.key),L=s,S({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=m(e,t,k(),F.location);x.confirmTransitionTo(r,"REPLACE",w,(function(e){if(e){var t=R(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),u)window.location.replace(t);else{var c=L.indexOf(F.location.key);-1!==c&&(L[c]=r.key),S({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return V||(I(1),V=!0),function(){return V&&(V=!1,I(-1)),t()}},listen:function(e){var t=x.appendListener(e);return I(1),function(){I(-1),t()}}};return F}function O(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,c=void 0===a?0:a,u=t.keyLength,s=void 0===u?6:u,l=v();function f(e){Object(r.a)(w,e),w.length=w.entries.length,l.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,s)}var h=O(c,0,i.length-1),y=i.map((function(e){return m(e,void 0,"string"==typeof e?p():e.key||p())})),b=d;function g(e){var t=O(w.index+e,0,w.entries.length-1),r=w.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:y.length,action:"POP",location:y[h],index:h,entries:y,createHref:b,push:function(e,t){var r=m(e,t,p(),w.location);l.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=m(e,t,p(),w.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return w}},73:function(e,t){!function(){e.exports=this.wp.date}()},74:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r="wc/customer-effort-score",o="/wc-admin",i="woocommerce_ces_tracks_queue"},75:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},76:function(e,t,n){"use strict";var r=n(77);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},77:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8: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}},81:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(69);var o=n(91);function i(e){return function(e){if(Array.isArray(e))return Object(r.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.")}()}},83:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},86:function(e,t,n){"use strict";var r=n(52),o=n(68),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=Array.prototype.push,s=function(e,t){u.apply(e,c(t)?t:[t])},l=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},d=function e(t,n,o,i,a,u,l,f,d,m,h,v,y){var b,g=t;if("function"==typeof l?g=l(n,g):g instanceof Date?g=m(g):"comma"===o&&c(g)&&(g=r.maybeMap(g,(function(e){return e instanceof Date?m(e):e})).join(",")),null===g){if(i)return u&&!v?u(n,p.encoder,y,"key"):n;g=""}if("string"==typeof(b=g)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||r.isBuffer(g))return u?[h(v?n:u(n,p.encoder,y,"key"))+"="+h(u(g,p.encoder,y,"value"))]:[h(n)+"="+h(String(g))];var w,O=[];if(void 0===g)return O;if(c(l))w=l;else{var j=Object.keys(g);w=f?j.sort(f):j}for(var _=0;_<w.length;++_){var E=w[_],k=g[E];if(!a||null!==k){var x=c(g)?"function"==typeof o?o(n,E):n:n+(d?"."+E:"["+E+"]");s(O,e(k,x,o,i,a,u,l,f,d,m,h,v,y))}}return O};e.exports=function(e,t){var n,r=e,u=function(e){if(!e)return p;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||p.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 n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=p.filter;return("function"==typeof e.filter||c(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof u.filter?r=(0,u.filter)("",r):c(u.filter)&&(n=u.filter);var l,f=[];if("object"!=typeof r||null===r)return"";l=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var m=a[l];n||(n=Object.keys(r)),u.sort&&n.sort(u.sort);for(var h=0;h<n.length;++h){var v=n[h];u.skipNulls&&null===r[v]||s(f,d(r[v],v,m,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.formatter,u.encodeValuesOnly,u.charset))}var y=f.join(u.delimiter),b=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),y.length>0?b+y:""}},87:function(e,t,n){"use strict";var r=n(52),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},s=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(i),s=c?i.slice(0,c.index):i,l=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;l.push(s)}for(var f=0;n.depth>0&&null!==(c=a.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(c[1])}return c&&l.push("["+i.slice(c.index)+"]"),function(e,t,n,r){for(var o=r?t:u(t,n),i=e.length-1;i>=0;--i){var a,c=e[i];if("[]"===c&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var s="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,l=parseInt(s,10);n.parseArrays||""!==s?!isNaN(l)&&c!==s&&String(l)===s&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:a[s]=o:a={0:o}}o=a}return o}(l,t,n,r)}};e.exports=function(e,t){var n=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||r.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 n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,s={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=l.split(t.delimiter,f),d=-1,m=t.charset;if(t.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[n]?m="utf-8":"utf8=%26%2310003%3B"===p[n]&&(m="iso-8859-1"),d=n,n=p.length);for(n=0;n<p.length;++n)if(n!==d){var h,v,y=p[n],b=y.indexOf("]="),g=-1===b?y.indexOf("="):b+1;-1===g?(h=t.decoder(y,a.decoder,m,"key"),v=t.strictNullHandling?null:""):(h=t.decoder(y.slice(0,g),a.decoder,m,"key"),v=r.maybeMap(u(y.slice(g+1),t),(function(e){return t.decoder(e,a.decoder,m,"value")}))),v&&t.interpretNumericEntities&&"iso-8859-1"===m&&(v=c(v)),y.indexOf("[]=")>-1&&(v=i(v)?[v]:v),o.call(s,h)?s[h]=r.combine(s[h],v):s[h]=v}return s}(e,n):e,f=n.plainObjects?Object.create(null):{},p=Object.keys(l),d=0;d<p.length;++d){var m=p[d],h=s(m,l[m],n,"string"==typeof e);f=r.merge(f,h,n)}return r.compact(f)}},9:function(e,t,n){e.exports=n(67)},91:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(69);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},92:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return m}));var r=n(19),o=n.n(r),i=n(40),a=n(3),c=n(25);function u(e){return e?e.split(":")[0]:null}function s(e){var t=u(e);return Object(a.without)(Object(c.g)("onboarding",{euCountries:[]}).euCountries,"GB").includes(t)&&(t="EU"),t}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=p(e,t,n),o=r.map((function(e){return e.id||e.product}));return o}function f(e,t){var n={};n.products=p(e,!0,t),n.remainingProducts=p(e,!1,t);var r=o()(new Set([].concat(o()(n.products),o()(n.remainingProducts))));return n.uniqueItemsList=r.map((function(e){return e.label?{type:"extension",name:e.label}:{type:"theme",name:e.title}})),n}function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=Object(c.g)("onboarding",{}),o=[];if(!r.productTypes)return o;var i=e.product_types||[];i.forEach((function(e){r.productTypes[e]&&r.productTypes[e].product&&(t||!n.includes(r.productTypes[e].slug))&&o.push(r.productTypes[e])}));var a=r.themes.find((function(t){return t.slug===e.theme}));return a&&a.id&&d(a.price)>0&&(t||!a.is_installed)&&o.push(a),o}function d(e){return Number(Object(i.decodeEntities)(e).replace(/[^0-9.-]+/g,""))}function m(e){return/admin.php\?page=wc-admin/.test(e)}},94:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);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 n,r,i=t[0],a=t[1],c=0,u=[];c<i.length;c++)r=i[c],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&u.push(o[r][0]),o[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(l&&l(t);u.length;)u.shift()()}var n={},r={21:0},o={21:0};function i(e){var t=function(e){return a.p+"chunks/"+({7:"activity-panels-help",8:"activity-panels-inbox",9:"analytics-report",10:"analytics-report-categories",11:"analytics-report-coupons",12:"analytics-report-customers",13:"analytics-report-downloads",14:"analytics-report-orders",15:"analytics-report-products",16:"analytics-report-revenue",17:"analytics-report-stock",18:"analytics-report-taxes",19:"analytics-report-variations",20:"analytics-settings",27:"customizable-dashboard",28:"dashboard",29:"dashboard-charts",32:"homescreen",34:"leaderboards",36:"marketing-overview",46:"profile-wizard",47:"store-alerts",48:"store-performance",49:"task-list",51:"wcpay-usage-modal"}[e]||e)+".min.js"}(e);return window.wcAdminAssets&&window.wcAdminAssets.version&&(t+="?ver="+window.wcAdminAssets.version),t}function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{0:1,3:1,4:1,7:1,9:1,14:1,20:1,28:1,29:1,32:1,34:1,36:1,46:1,47:1,48:1,49:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="rtl"===document.dir?"./chunks/"+e+".style.rtl.css":"./chunks/"+e+".style.css",i=a.p+o,c=document.getElementsByTagName("link"),u=0;u<c.length;u++){var s=(f=c[u]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(s===o||s===i))return t()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){var f;if((s=(f=l[u]).getAttribute("data-href"))===o||s===i)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.setAttribute("data-webpack",!0),p.onload=t,p.onerror=function(t){var o=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=o,delete r[e],p.parentNode.removeChild(p),n(a)},p.href=i,window.wcAdminAssets&&window.wcAdminAssets.version&&(p.href+="?ver="+window.wcAdminAssets.version),document.getElementsByTagName("head")[0].appendChild(p)})).then((function(){r[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var c=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=c);var u,s=document.createElement("script");s.charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.src=i(e);var l=new Error;u=function(t){s.onerror=s.onload=null,clearTimeout(f);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",l.name="ChunkLoadError",l.type=r,l.request=i,n[1](l)}o[e]=void 0}};var f=setTimeout((function(){u({type:"timeout",target:s})}),12e4);s.onerror=s.onload=u,document.head.appendChild(s)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var c=window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[],u=c.push.bind(c);c.push=t,c=c.slice();for(var s=0;s<c.length;s++)t(c[s]);var l=u;return a(a.s=296)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t,n){e.exports=n(75)()},10:function(e,t){!function(){e.exports=this.React}()},11:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},110:function(e,t){!function(){e.exports=this.wc.currency}()},12:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},120:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,n=void 0===t?24:t,o=e.onClick,i=(e.icon,e.className),c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),u=["gridicon","gridicons-cross-small",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:u,height:n,width:n,onClick:o},c,{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,i=n(10),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},124:function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,s=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?s=u.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=c(p);l=!0;for(var t=s.length;t;){for(u=s,s=[];++f<t;)u&&u[f].run();f=-1,t=s.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new m(e,t)),1!==s.length||l||c(d)},m.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=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,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}},125:function(e,t,n){"use strict";e.exports=n(150)},13:function(e,t,n){var r=n(74);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&&r(e,t)}},136:function(e,t,n){"use strict";var r=n(2),o=n(42),i=n(0),a=n(25),c=Object(a.g)("manageStock","no"),u=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,484))})),s=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(3),n.e(15)]).then(n.bind(null,480))})),l=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(19)]).then(n.bind(null,485))})),f=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(5),n.e(14)]).then(n.bind(null,486))})),p=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(3),n.e(10)]).then(n.bind(null,482))})),d=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(11)]).then(n.bind(null,487))})),m=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(18)]).then(n.bind(null,488))})),h=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(13)]).then(n.bind(null,489))})),v=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,481))})),y=Object(i.lazy)((function(){return Promise.all([n.e(0),n.e(12)]).then(n.bind(null,483))}));t.a=function(){var e=[{report:"revenue",title:Object(r.__)("Revenue","woocommerce-admin"),component:u,navArgs:{id:"woocommerce-analytics-revenue"}},{report:"products",title:Object(r.__)("Products","woocommerce-admin"),component:s,navArgs:{id:"woocommerce-analytics-products"}},{report:"variations",title:Object(r.__)("Variations","woocommerce-admin"),component:l,navArgs:{id:"woocommerce-analytics-variations"}},{report:"orders",title:Object(r.__)("Orders","woocommerce-admin"),component:f,navArgs:{id:"woocommerce-analytics-orders"}},{report:"categories",title:Object(r.__)("Categories","woocommerce-admin"),component:p,navArgs:{id:"woocommerce-analytics-categories"}},{report:"coupons",title:Object(r.__)("Coupons","woocommerce-admin"),component:d,navArgs:{id:"woocommerce-analytics-coupons"}},{report:"taxes",title:Object(r.__)("Taxes","woocommerce-admin"),component:m,navArgs:{id:"woocommerce-analytics-taxes"}},"yes"===c?{report:"stock",title:Object(r.__)("Stock","woocommerce-admin"),component:v,navArgs:{id:"woocommerce-analytics-stock"}}:null,{report:"customers",title:Object(r.__)("Customers","woocommerce-admin"),component:y},{report:"downloads",title:Object(r.__)("Downloads","woocommerce-admin"),component:h,navArgs:{id:"woocommerce-analytics-downloads"}}].filter(Boolean);return Object(o.applyFilters)("woocommerce_admin_reports_list",e)}},137:function(e,t,n){"use strict";var r=n(125),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={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},c={};function u(e){return r.isMemo(e)?a:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=a;var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=d(n);o&&o!==m&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var c=u(t),h=u(n),v=0;v<a.length;++v){var y=a[v];if(!(i[y]||r&&r[y]||h&&h[y]||c&&c[y])){var b=p(n,y);try{s(t,y,b)}catch(e){}}}}return t}},138:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(19),o=n.n(r),i=n(0);function a(){var e=Object(i.useState)(!1),t=o()(e,2),n=t[0],r=t[1],a=Object(i.useRef)(null);return Object(i.useEffect)((function(){var e=function(){r(window.pageYOffset>20)},t=function(){a.current=window.requestAnimationFrame(e)};return window.addEventListener("scroll",t),function(){window.removeEventListener("scroll",t),window.cancelAnimationFrame(a.current)}}),[]),n}},139:function(e,t){!function(){e.exports=this.wp.plugins}()},14:function(e,t,n){var r=n(30),o=n(9);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},140:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(54),o=n(2);function i(){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 n=document,r=n.body;return r&&r.appendChild(t),t}var a="";function c(e,t){!function(){for(var e=document.getElementsByClassName("a11y-speak-region"),t=document.getElementById("a11y-speak-intro-text"),n=0;n<e.length;n++)e[n].textContent="";t&&t.setAttribute("hidden","hidden")}(),e=function(e){return e=e.replace(/<[^<>]+>/g," "),a===e&&(e+=" "),a=e,e}(e);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),o=document.getElementById("a11y-speak-polite");r&&"assertive"===t?r.textContent=e:o&&(o.textContent=e),n&&n.removeAttribute("hidden")}Object(r.a)((function(){var e=document.getElementById("a11y-speak-intro-text"),t=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===e&&function(){var e=document.createElement("p");e.id="a11y-speak-intro-text",e.className="a11y-speak-intro-text",e.textContent=Object(o.__)("Notifications"),e.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;"),e.setAttribute("hidden","hidden");var t=document.body;t&&t.appendChild(e)}(),null===t&&i("assertive"),null===n&&i("polite")}))},141:function(e,t,n){"use strict";n.d(t,"c",(function(){return bt})),n.d(t,"b",(function(){return jt})),n.d(t,"a",(function(){return _t}));var r=n(24),o=n.n(r),i=n(34),a=n.n(i),c=n(5),u=n.n(c),s=n(11),l=n.n(s),f=n(12),p=n.n(f),d=n(13),m=n.n(d),h=n(14),v=n.n(h),y=n(6),b=n.n(y),g=n(0),w=n(18),O=n(15),j=n(38),_=n(10),E=n.n(_),k=n(1),x=n.n(k),S=n(70),P=n(181),C=n(56),A=n(32),T=n(182),N=n.n(T),L=(n(125),n(41)),R=(n(137),function(e){var t=Object(P.a)();return t.displayName=e,t}("Router-History")),M=function(e){var t=Object(P.a)();return t.displayName=e,t}("Router"),D=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(j.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return E.a.createElement(M.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},E.a.createElement(R.Provider,{children:this.props.children||null,value:this.props.history}))},t}(E.a.Component);E.a.Component;E.a.Component;var I={},V=0;function F(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,c=void 0!==a&&a,u=n.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=I[n]||(I[n]={});if(r[e])return r[e];var o=[],i={regexp:N()(e,o,t),keys:o};return V<1e4&&(r[e]=i,V++),i}(n,{end:i,strict:c,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(e);if(!u)return null;var l=u[0],f=u.slice(1),p=e===l;return i&&!p?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var q=function(e){function t(){return e.apply(this,arguments)||this}return Object(j.a)(t,e),t.prototype.render=function(){var e=this;return E.a.createElement(M.Consumer,null,(function(t){t||Object(C.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?F(n.pathname,e.props):t.match,o=Object(A.a)({},t,{location:n,match:r}),i=e.props,a=i.children,c=i.component,u=i.render;return Array.isArray(a)&&0===a.length&&(a=null),E.a.createElement(M.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:c?E.a.createElement(c,o):u?u(o):null:"function"==typeof a?a(o):null)}))},t}(E.a.Component);function U(e){return"/"===e.charAt(0)?e:"/"+e}function B(e,t){if(!e)return t;var n=U(e);return 0!==t.pathname.indexOf(n)?t:Object(A.a)({},t,{pathname:t.pathname.substr(n.length)})}function H(e){return"string"==typeof e?e:Object(S.d)(e)}function z(e){return function(){Object(C.a)(!1)}}function $(){}E.a.Component;var W=function(e){function t(){return e.apply(this,arguments)||this}return Object(j.a)(t,e),t.prototype.render=function(){var e=this;return E.a.createElement(M.Consumer,null,(function(t){t||Object(C.a)(!1);var n,r,o=e.props.location||t.location;return E.a.Children.forEach(e.props.children,(function(e){if(null==r&&E.a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?F(o.pathname,Object(A.a)({},e.props,{path:i})):t.match}})),r?E.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(E.a.Component);E.a.useContext;var Q=n(3),G=n(50),Y=n(47),Z=n(21),K=n(25),J=n(23),X=n(28),ee=(n(299),n(42)),te=n(2),ne=n(136),re=n(94);function oe(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=b()(e);if(t){var o=b()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var ie=Object(g.lazy)((function(){return n.e(9).then(n.bind(null,578))})),ae=Object(g.lazy)((function(){return n.e(20).then(n.bind(null,595))})),ce=Object(g.lazy)((function(){return n.e(28).then(n.bind(null,579))})),ue=Object(g.lazy)((function(){return Promise.all([n.e(1),n.e(2),n.e(52),n.e(4),n.e(32)]).then(n.bind(null,592))})),se=Object(g.lazy)((function(){return Promise.all([n.e(2),n.e(36)]).then(n.bind(null,596))})),le=Object(g.lazy)((function(){return n.e(46).then(n.bind(null,593))})),fe=function(){var e=[],t=[["",wcSettings.woocommerceTranslation]];return e.push({container:ue,path:"/",breadcrumbs:[].concat(t,[Object(te.__)("Home","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-home"}}),window.wcAdminFeatures.analytics&&(e.push({container:ce,path:"/analytics/overview",breadcrumbs:[].concat(t,[["/analytics/overview",Object(te.__)("Analytics","woocommerce-admin")],Object(te.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",navArgs:{id:"woocommerce-analytics-overview"}}),e.push({container:ae,path:"/analytics/settings",breadcrumbs:[].concat(t,[["/analytics/revenue",Object(te.__)("Analytics","woocommerce-admin")],Object(te.__)("Settings","woocommerce-admin")]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",navArgs:{id:"woocommerce-analytics-settings"}}),e.push({container:ie,path:"/customers",breadcrumbs:[].concat(t,[Object(te.__)("Customers","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-analytics-customers"}}),e.push({container:ie,path:"/analytics/:report",breadcrumbs:function(e){var n=e.match,r=Object(Q.find)(Object(ne.a)(),{report:n.params.report});return r?[].concat(t,[["/analytics/revenue",Object(te.__)("Analytics","woocommerce-admin")],r.title]):[]},wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"})),window.wcAdminFeatures.marketing&&e.push({container:se,path:"/marketing",breadcrumbs:[].concat(t,[["/marketing",Object(te.__)("Marketing","woocommerce-admin")],Object(te.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce-marketing",navArgs:{id:"woocommerce-marketing-overview"}}),window.wcAdminFeatures.onboarding&&e.push({container:le,path:"/setup-wizard",breadcrumbs:[].concat(t,[["/setup-wizard",Object(te.__)("Setup Wizard","woocommerce-admin")]])}),Object(ee.applyFilters)("woocommerce_admin_pages_list",e)},pe=function(e){m()(n,e);var t=oe(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"componentDidMount",value:function(){window.document.documentElement.scrollTop=0,window.document.body.classList.remove("woocommerce-admin-is-loading")}},{key:"componentDidUpdate",value:function(e){var t=Object(Q.omit)(e.query,"chartType","filter","paged"),n=Object(Q.omit)(this.props.query,"chartType","filter","paged");e.query.paged>1&&!Object(Q.isEqual)(t,n)&&Object(Z.getHistory)().replace(Object(Z.getNewPath)({paged:1})),e.match.url!==this.props.match.url&&(window.document.documentElement.scrollTop=0)}},{key:"render",value:function(){var e=this.props,t=e.page,n=e.match,r=e.query,o=n.url,i=n.params;return window.wpNavMenuUrlUpdate(r),window.wpNavMenuClassChange(t,o),Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},Object(g.createElement)(t.container,{params:i,path:o,pathMatch:t.path,query:r}))}}]),n}(g.Component);window.wpNavMenuUrlUpdate=function(e){var t=Object(Z.getPersistedQuery)(e),n=Object(Z.getQueryExcludedScreens)();Array.from(document.querySelectorAll("#adminmenu a")).forEach((function(e){return function(e,t,n){if(Object(re.f)(e.href)){var r=Object(Q.last)(e.href.split("?")),o=Object(G.parse)(r),i=o.path||"homescreen",a=Object(Z.getScreenFromPath)(i),c=n.includes(a),u="admin.php?"+Object(G.stringify)(Object.assign(o,c?{}:t));e.href=u,e.onclick=function(e){e.preventDefault(),Object(Z.getHistory)().push(u)}}}(e,t,n)}))},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 n="/"===t?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(t),r="/"===t?'li > a[href$="'.concat(n,'"], li > a[href*="').concat(n,'?"]'):'li > a[href*="'.concat(n,'"]'),o=document.querySelectorAll(r);if(Array.from(o).forEach((function(e){e.parentElement.classList.add("current")})),e.wpOpenMenu){var i=document.querySelector("#"+e.wpOpenMenu);i&&(i.classList.remove("wp-not-current-submenu"),i.classList.add("wp-has-current-submenu"),i.classList.add("wp-menu-open"),i.classList.add("current"))}document.querySelector("#wpwrap").classList.remove("wp-responsive-open")};var de=n(7),me=n.n(de),he=n(40),ve=n(31),ye=(n(300),n(276)),be=n.n(ye),ge=n(4),we=n(120),Oe=n.n(we),je=n(304),_e=n(196),Ee=Object(g.createElement)(_e.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(g.createElement)(_e.a,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"})),ke=(n(302),function(e){var t=e.height,n=void 0===t?24:t,r=e.width,o=void 0===r?24:r,i=e.hasUnread,a=void 0!==i&&i,c=me()("woocommerce-layout__activity-panel-toggle-bubble",{"has-unread":a});return Object(g.createElement)("div",{className:c},Object(g.createElement)("svg",{height:n,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"})))});ke.propTypes={height:x.a.number,width:x.a.number,hasUnread:x.a.bool};var xe=ke,Se=n(195);var Pe=n(19),Ce=n.n(Pe),Ae=function(e){var t=e.icon,n=e.title,r=e.name,o=e.unread,i=e.selected,a=e.isPanelOpen,c=e.onTabClick,u=me()("woocommerce-layout__activity-panel-tab",{"is-active":a&&i,"has-unread":o}),s="activity-panel-tab-".concat(r);return Object(g.createElement)(ge.Button,{role:"tab",className:u,"aria-selected":i,"aria-controls":"activity-panel-".concat(r),key:s,id:s,onClick:function(){c(r)}},t,n," ",o&&Object(g.createElement)("span",{className:"screen-reader-text"},Object(te.__)("unread activity","woocommerce-admin")))},Te=function(e){var t=e.tabs,n=e.onTabClick,r=e.selectedTab,i=e.tabOpen,a=void 0!==i&&i,c=Object(g.useState)({tabOpen:a,currentTab:r}),u=Ce()(c,2),s=u[0],l=s.tabOpen,f=s.currentTab,p=u[1];return Object(g.useEffect)((function(){p({tabOpen:a,currentTab:r})}),[a,r]),Object(g.createElement)(ge.NavigableMenu,{role:"tablist",orientation:"horizontal",className:"woocommerce-layout__activity-panel-tabs"},t&&t.map((function(e,t){if(e.component){var r=e.component,i=e.options;return Object(g.createElement)(r,o()({key:t},i))}return Object(g.createElement)(Ae,o()({key:t,index:t,isPanelOpen:l,selected:f===e.name},e,{onTabClick:function(){var t=f!==e.name&&""!==f||!l;t&&f===e.name||Object(X.recordEvent)("activity_panel_open",{tab:e.name}),p({tabOpen:t,currentTab:e.name}),n(e,t)}}))})))},Ne=function(){return Object(g.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon setup-progress",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("path",{d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",stroke:"#DCDCDE",strokeWidth:"2"}),Object(g.createElement)("path",{d:"M4 12V12C4 16.4183 7.58172 20 12 20V20C16.4183 20 20 16.4183 20 12V12C20 7.58172 16.4183 4 12 4V4",strokeWidth:"2",strokeLinecap:"round"}))},Le=function(){return Object(g.createElement)(g.Fragment,null,Object(g.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"24",height:"24",viewBox:"3 3 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("path",{d:"M13.8053 15.3982C13.8053 15.7965 13.4867 16.1947 13.0089 16.1947H6.79646C6.55752 16.1947 6.39823 16.115 6.23894 15.9558C6.07965 15.7965 6 15.6372 6 15.3982V6.79646C6 6.63717 6.15929 6.39823 6.23894 6.23894C6.39823 6.07965 6.55752 6 6.79646 6H13.0089C13.4071 6 13.8053 6.31858 13.8053 6.79646V15.3982Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(g.createElement)("path",{d:"M23.9203 10.6195C23.9203 11.0177 23.6017 11.4159 23.1238 11.4159H16.9115C16.6725 11.4159 16.5132 11.3363 16.3539 11.177C16.1946 11.0177 16.115 10.8584 16.115 10.6195V6.79646C16.115 6.39823 16.4336 6 16.9115 6H23.1238C23.5221 6 23.9203 6.31858 23.9203 6.79646V10.6195Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(g.createElement)("path",{d:"M13.8053 23.2035C13.8053 23.4424 13.7257 23.6017 13.5664 23.761C13.4071 23.9203 13.2478 23.9999 13.0089 23.9999H6.79646C6.39823 23.9999 6 23.6813 6 23.2035V19.3804C6 19.1415 6.07965 18.9822 6.23894 18.8229C6.39823 18.6636 6.55752 18.584 6.79646 18.584H13.0089C13.4071 18.584 13.8053 18.9026 13.8053 19.3804V23.2035Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),Object(g.createElement)("path",{d:"M16.9912 23.9999C16.7522 23.9999 16.5929 23.9202 16.4336 23.7609C16.2743 23.6016 16.1947 23.4423 16.1947 23.2034V14.6016C16.1947 14.3627 16.2743 14.2034 16.4336 14.0441C16.5929 13.8848 16.7522 13.8052 16.9912 13.8052H23.2036C23.4425 13.8052 23.6018 13.8848 23.7611 14.0441C23.9204 14.2034 24 14.3627 24 14.6016V23.2034C24 23.6016 23.6814 23.9999 23.2036 23.9999H16.9912Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),Object(te.__)("Display","woocommerce-admin"))},Re=[{value:"single_column",label:Object(g.createElement)(g.Fragment,null,Object(g.createElement)((function(){return Object(g.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("rect",{x:"0.5",y:"0.5",width:"11",height:"13",strokeWidth:"1"}))}),null),Object(te.__)("Single column","woocommerce-admin"))},{value:"two_columns",label:Object(g.createElement)(g.Fragment,null,Object(g.createElement)((function(){return Object(g.createElement)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("rect",{x:"0.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"}),Object(g.createElement)("rect",{x:"9.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"}))}),null),Object(te.__)("Two columns","woocommerce-admin"))}],Me=function(){var e=Object(O.useSelect)((function(e){return(0,e(J.OPTIONS_STORE_NAME).getOption)("woocommerce_default_homepage_layout")||"single_column"})),t=Object(J.useUserPreferences)(),n=t.updateUserPreferences,r=t.homepage_layout;return Object(g.createElement)(ge.DropdownMenu,{icon:Object(g.createElement)(Le,null),label:Object(te.__)("Display options","woocommerce-admin"),toggleProps:{className:"woocommerce-layout__activity-panel-tab display-options",onClick:function(){return Object(X.recordEvent)("homescreen_display_click")}},popoverProps:{className:"woocommerce-layout__activity-panel-popover"}},(function(t){var o=t.onClose;return Object(g.createElement)(ge.MenuGroup,{className:"woocommerce-layout__homescreen-display-options",label:Object(te.__)("Layout","woocommerce-admin")},Object(g.createElement)(ge.MenuItemsChoice,{choices:Re,onSelect:function(e){n({homepage_layout:e}),o(),Object(X.recordEvent)("homescreen_display_option",{display_option:e})},value:r||e}))}))},De=Object(g.createElement)(_e.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(g.createElement)(_e.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"})),Ie=(n(303),"highlight-tooltip__show");function Ve(e){var t=e.title,n=e.closeButtonText,r=e.content,o=e.show,i=void 0===o||o,a=e.id,c=e.onClose,u=e.delay,s=e.onShow,l=void 0===s?Q.noop:s,f=Object(g.useState)(u>0?null:i),p=Ce()(f,2),d=p[0],m=p[1],h=Object(g.useState)(null),v=Ce()(h,2),y=v[0],b=v[1];Object(g.useEffect)((function(){var e,t=document.getElementById(a);if(t&&!y){var n=t.parentElement;(e=document.createElement("div")).classList.add("highlight-tooltip__container"),n.appendChild(e),b(e)}var r=w(e);return function(){e&&e.parentElement.removeChild(e);r&&clearTimeout(r)}}),[]),Object(g.useEffect)((function(){!d&&y&&y.classList.remove(Ie)}),[d]),Object(g.useEffect)((function(){i!==d&&null!==d&&y&&(m(i),i?y&&w(y):y.classList.remove(Ie))}),[i]);var w=function(e){var t=null;return u>0?t=setTimeout((function(){t=null,e&&e.classList.add(Ie),m(i),l()}),u):d||(e&&e.classList.add(Ie),m(!0),l()),t},O=function(){m(!1),c&&c()};return y?Object(g.createPortal)(Object(g.createElement)("div",{className:"highlight-tooltip__portal"},d?Object(g.createElement)(g.Fragment,null,Object(g.createElement)(ge.IsolatedEventContainer,{className:"highlight-tooltip__overlay"}),Object(g.createElement)(ge.Popover,{className:"highlight-tooltip__popover",noArrow:!1,focusOnMount:"container"},Object(g.createElement)(ge.Card,{size:"medium"},Object(g.createElement)(ge.CardHeader,null,t,Object(g.createElement)(ge.Button,{isSmall:!0,onClick:O,icon:De})),Object(g.createElement)(ge.CardBody,null,r||null),Object(g.createElement)(ge.CardFooter,{isBorderless:!0},Object(g.createElement)(ge.Button,{size:"small",isPrimary:!0,onClick:O},n||Object(te.__)("Close","woocommerce-admin")))))):null),y):null}function Fe(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=b()(e);if(t){var o=b()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}Ve.propTypes={id:x.a.string.isRequired,title:x.a.string.isRequired,closeButtonText:x.a.string.isRequired,content:x.a.oneOfType([x.a.string,x.a.node]),show:x.a.bool,onClose:x.a.func,delay:x.a.number,onShow:x.a.func};var qe=Object(g.lazy)((function(){return Promise.all([n.e(53),n.e(6),n.e(7)]).then(n.bind(null,589))})),Ue=Object(g.lazy)((function(){return Promise.all([n.e(1),n.e(2),n.e(4),n.e(8)]).then(n.bind(null,576))})),Be=function(e){m()(n,e);var t=Fe(n);function n(e){var r;return l()(this,n),(r=t.call(this,e)).state={isPanelOpen:!1,mobileOpen:!1,currentTab:"",isPanelSwitching:!1},r}return p()(n,[{key:"togglePanel",value:function(e,t){var n=e.name;this.setState((function(e){var r=n!==e.currentTab&&""!==e.currentTab&&t&&e.isPanelOpen;return{isPanelOpen:t,mobileOpen:t,currentTab:n,isPanelSwitching:r}}))}},{key:"closePanel",value:function(){this.setState((function(){return{isPanelOpen:!1,currentTab:""}}))}},{key:"clearPanel",value:function(){this.setState((function(){return{isPanelSwitching:!1}}))}},{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.isPanelOpen,n=e.target.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.target.closest(".components-snackbar__action");t&&!n&&this.closePanel()}},{key:"isHomescreen",value:function(){return"/"===this.props.getHistory().location.pathname}},{key:"isPerformingSetupTask",value:function(){var e=this.props,t=e.requestingTaskListOptions,n=e.setupTaskListComplete,r=e.setupTaskListHidden,o=e.query,i=o.task&&!o.path&&(!0===t||!1===r&&!1===n);return i}},{key:"getTabs",value:function(){var e=this.props,t=e.hasUnreadNotes,n=e.isEmbedded,r=e.setupTaskListComplete,o=e.setupTaskListHidden,i=this.isPerformingSetupTask(),a=(n||!this.isHomescreen())&&!i,c=this.isHomescreen()&&!n||i,u=!n&&this.isHomescreen()&&!i,s=!r&&!o&&!i&&(!this.isHomescreen()||n),l=a?{name:"inbox",title:Object(te.__)("Inbox","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"inbox"),unread:t}:null,f=s?{name:"setup",title:Object(te.__)("Store Setup","woocommerce-admin"),icon:Object(g.createElement)(Ne,null)}:null,p=c?{name:"help",title:Object(te.__)("Help","woocommerce-admin"),icon:Object(g.createElement)(je.a,{icon:Ee})}:null;return[l,f,u?{component:Me}:null,p].filter(Boolean)}},{key:"getPanelContent",value:function(e){var t=this.props.query.task;switch(e){case"inbox":return Object(g.createElement)(Ue,null);case"help":return Object(g.createElement)(qe,{taskName:t});default:return null}}},{key:"renderPanel",value:function(){var e=this,t=this.props,n=t.updateOptions,r=t.setupTaskListHidden,o=this.state,i=o.isPanelOpen,a=o.currentTab,c=o.isPanelSwitching,u=Object(Q.find)(this.getTabs(),{name:a});if(!u)return Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-wrapper"});var s=function(){e.clearPanel()};if("display-options"===a)return null;if("setup"===a)return window.location.href!==Object(K.f)("admin.php?page=wc-admin")&&("no"===r?this.redirectToHomeScreen():n({woocommerce_task_list_hidden:"no"}).then(this.redirectToHomeScreen)),null;var l=me()("woocommerce-layout__activity-panel-wrapper",{"is-open":i,"is-switching":c});return Object(g.createElement)("div",{className:l,tabIndex:0,role:"tabpanel","aria-label":u.title,onTransitionEnd:s,onAnimationEnd:s},Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+a,id:"activity-panel-"+a},Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},this.getPanelContent(a))))}},{key:"redirectToHomeScreen",value:function(){Object(re.f)(window.location.href)?Object(Z.getHistory)().push(Object(Z.getNewPath)({},"/",{})):window.location.href=Object(K.f)("admin.php?page=wc-admin")}},{key:"closedHelpPanelHighlight",value:function(){var e=this.props.userPreferencesData;Object(X.recordEvent)("help_tooltip_click"),e&&e.updateUserPreferences&&e.updateUserPreferences({help_panel_highlight_shown:"yes"})}},{key:"shouldShowHelpTooltip",value:function(){var e=this.props,t=e.userPreferencesData,n=e.trackedCompletedTasks,r=e.query.task,o=t&&t.task_list_tracked_started_tasks,i=t&&t.help_panel_highlight_shown;return!(!(r&&"yes"!==i&&(o||{})[r]>1)||n.includes(r))}},{key:"render",value:function(){var e=this,t=this.getTabs(),n=this.state,r=n.mobileOpen,o=n.currentTab,i=n.isPanelOpen,a=Object(Q.uniqueId)("activity-panel-header_"),c=me()("woocommerce-layout__activity-panel",{"is-mobile-open":this.state.mobileOpen}),u=this.shouldShowHelpTooltip(),s=t.some((function(e){return e.unread})),l=s?Object(te.__)("View Activity Panel, you have unread activity","woocommerce-admin"):Object(te.__)("View Activity Panel","woocommerce-admin");return Object(g.createElement)("div",null,Object(g.createElement)(Y.H,{id:a,className:"screen-reader-text"},Object(te.__)("Store Activity","woocommerce-admin")),Object(g.createElement)(Y.Section,{component:"aside",id:"woocommerce-activity-panel","aria-labelledby":a},Object(g.createElement)(ge.Button,{onClick:function(){e.toggleMobile()},label:r?Object(te.__)("Close Activity Panel","woocommerce-admin"):l,"aria-expanded":r,className:"woocommerce-layout__activity-panel-mobile-toggle"},r?Object(g.createElement)(Oe.a,null):Object(g.createElement)(xe,{hasUnread:s})),Object(g.createElement)("div",{className:c},Object(g.createElement)(Te,{tabs:t,tabOpen:i,selectedTab:o,onTabClick:function(t,n){e.togglePanel(t,n)}}),this.renderPanel())),u?Object(g.createElement)(Ve,{delay:1e3,title:Object(te.__)("We're here for help","woocommerce-admin"),content:Object(te.__)("If you have any questions, feel free to explore the WooCommerce docs listed here.","woocommerce-admin"),closeButtonText:Object(te.__)("Got it","woocommerce-admin"),id:"activity-panel-tab-help",onClose:function(){return e.closedHelpPanelHighlight()},onShow:function(){return Object(X.recordEvent)("help_tooltip_view")}}):null)}}]),n}(g.Component);Be.defaultProps={getHistory:Z.getHistory};var He=Object(w.compose)(Object(O.withSelect)((function(e){var t=function(e){var t=e(J.NOTES_STORE_NAME),n=t.getNotes,r=t.getNotesError,o=t.isResolving,i=(0,e(J.USER_STORE_NAME).getCurrentUser)(),a=parseInt(i&&i.woocommerce_meta&&i.woocommerce_meta.activity_panel_inbox_last_read,10);if(!a)return null;var c={page:1,per_page:J.QUERY_DEFAULTS.pageSize,status:"unactioned",type:J.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc"},u=n(c),s=Boolean(r("getNotes",[c])),l=o("getNotes",[c]);return s||l?null:Object(Se.a)(u,a)>0}(e),n=e(J.OPTIONS_STORE_NAME),r=n.getOption,o=n.isResolving,i="yes"===r("woocommerce_task_list_complete"),a="yes"===r("woocommerce_task_list_hidden");return{hasUnreadNotes:t,requestingTaskListOptions:o("getOption",["woocommerce_task_list_complete"])||o("getOption",["woocommerce_task_list_hidden"]),setupTaskListComplete:i,setupTaskListHidden:a,trackedCompletedTasks:r("woocommerce_task_list_tracked_completed_tasks")||[]}})),Object(O.withDispatch)((function(e){return{updateOptions:e(J.OPTIONS_STORE_NAME).updateOptions}})),be.a)(Be),ze=function(){return/iPhone|iPad|iPod/i.test(window.navigator.userAgent)?"ios":/Android/i.test(window.navigator.userAgent)?"android":"unknown"},$e=function(){return Object(g.createElement)("svg",{width:"37",height:"37",viewBox:"0 0 92 92",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(g.createElement)("rect",{width:"92",height:"92",rx:"21.3953",fill:"#7F54B3"}),Object(g.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.5937 28.043H19.8094C16.4781 28.0459 13.7783 30.7705 13.7754 34.1324V54.4501C13.7783 57.812 16.4781 60.5366 19.8094 60.5395H44.8229L56.2573 66.9607L53.6672 60.5395H72.599C74.2009 60.5402 75.7374 59.8983 76.8702 58.7552C78.0029 57.612 78.639 56.0614 78.6383 54.4447V34.1324C78.6376 32.5157 78.0002 30.9657 76.8664 29.8235C75.7327 28.6814 74.1956 28.0408 72.5937 28.043ZM19.1057 32.4208C18.4658 32.4324 17.8646 32.7359 17.467 33.2482C17.0888 33.7635 16.9404 34.4175 17.058 35.0502C18.5962 45.0986 20.0338 51.8757 21.371 55.3816C21.8779 56.658 22.4896 57.2703 23.2063 57.2185C24.3075 57.1489 25.6263 55.5968 27.1627 52.5621C27.9964 50.8412 29.2602 48.2662 30.9539 44.837C32.3785 49.88 34.309 53.6787 36.7456 56.2331C37.4291 56.9436 38.1204 57.2748 38.8195 57.2266C39.4185 57.1931 39.953 56.8315 40.217 56.2813C40.4753 55.7358 40.5806 55.1278 40.5211 54.5248C40.3516 52.0703 40.5919 48.667 41.2421 44.3149C41.9081 39.8057 42.7523 36.5818 43.7749 34.6432C43.9822 34.2526 44.0733 33.8087 44.037 33.366C44.0039 32.7587 43.7116 32.1969 43.2374 31.829C42.7745 31.4367 42.1799 31.2446 41.5803 31.2935C40.8334 31.3325 40.1682 31.7885 39.8499 32.4797C38.2331 35.5019 37.0812 40.4109 36.3943 47.2068C35.2823 44.2394 34.4509 41.1703 33.9114 38.0412C33.623 36.4613 32.9037 35.7125 31.7536 35.7946C30.9592 35.8589 30.3063 36.3944 29.7819 37.4012L24.0348 48.5643C23.0997 44.6692 22.2205 39.9289 21.3972 34.3433C21.1997 32.9652 20.4358 32.3244 19.1057 32.4208ZM69.9089 34.6877C71.6969 35.0381 73.2407 36.2 74.1186 37.8559C74.9693 39.3247 75.3946 41.1161 75.3946 43.23C75.4148 45.9567 74.7062 48.6357 73.3477 50.9687C71.7778 53.7023 69.7195 55.0691 67.1727 55.0691C66.6933 55.0668 66.2153 55.0128 65.7467 54.9078C63.9584 54.5581 62.4143 53.396 61.5371 51.7396C60.6864 50.2452 60.261 48.4411 60.261 46.3272C60.2357 43.6127 60.945 40.9454 62.3079 38.6295C63.9023 35.8959 65.9607 34.5291 68.4829 34.5291C68.9623 34.5304 69.4402 34.5836 69.9089 34.6877ZM68.7937 49.4848C69.7707 48.5773 70.4399 47.2269 70.8012 45.4337V45.4419C70.9315 44.7826 70.9959 44.1112 70.9933 43.4382C70.986 42.5849 70.8291 41.74 70.5302 40.9452C70.1443 39.901 69.6304 39.3124 68.9884 39.1793C68.0378 38.9643 67.1239 39.5256 66.2469 40.8632C65.5812 41.8393 65.109 42.9432 64.8577 44.1106C64.7276 44.7708 64.6632 45.4432 64.6657 46.1171C64.6739 46.9677 64.8308 47.8096 65.1287 48.6019C65.5146 49.6388 66.0294 50.2274 66.6731 50.3678C67.3169 50.5081 68.0237 50.2138 68.7937 49.4848ZM57.9079 37.8559C57.0291 36.2008 55.4854 35.0392 53.6976 34.6877C53.2279 34.5837 52.749 34.5306 52.2687 34.5291C49.7443 34.5291 47.6856 35.8959 46.0927 38.6295C44.7295 40.9454 44.0201 43.6127 44.0454 46.3272C44.0454 48.4411 44.4699 50.2452 45.319 51.7396C46.1976 53.3949 47.7414 54.5566 49.5294 54.9078C49.999 55.0126 50.4779 55.0667 50.9582 55.0691C53.5055 55.0691 55.5642 53.7023 57.1343 50.9687C58.4922 48.6355 59.2001 45.9565 59.1789 43.23C59.1789 41.1161 58.7544 39.3247 57.9053 37.8559H57.9079ZM54.5903 45.4337C54.2307 47.2269 53.5614 48.5773 52.5825 49.4848C51.8115 50.2065 51.101 50.5017 50.4589 50.3678C49.8169 50.2338 49.3011 49.6461 48.9169 48.6019C48.6181 47.8097 48.4603 46.9678 48.4511 46.1171C48.4495 45.4431 48.5148 44.7707 48.6459 44.1106C48.8971 42.9432 49.3694 41.8393 50.0353 40.8632C50.9124 39.5256 51.8264 38.9643 52.7773 39.1793C53.4193 39.3124 53.9333 39.901 54.3193 40.9452C54.617 41.7404 54.7739 42.585 54.7824 43.4382C54.785 44.1112 54.7207 44.7826 54.5903 45.4419V45.4337Z",fill:"white"}))},We=(n(305),function(e){var t=e.onInstall,n=e.onDismiss;Object(g.useEffect)((function(){var e=document.getElementsByClassName("woocommerce-layout")[0];return"android"===ze()&&e&&e.classList.add("woocommerce-layout__show-app-banner"),function(){e&&e.classList.remove("woocommerce-layout__show-app-banner")}}),[]);var r=Object(g.useState)(!1),o=Ce()(r,2),i=o[0],a=o[1];return"android"!==ze()||i?null:Object(g.createElement)("div",{className:"woocommerce-mobile-app-banner"},Object(g.createElement)(ge.Icon,{icon:"no-alt","data-testid":"dismiss-btn",onClick:function(){n(),a(!0),Object(X.recordEvent)("wcadmin_mobile_android_banner_click",{action:"dismiss"})}}),Object(g.createElement)($e,null),Object(g.createElement)("div",{className:"woocommerce-mobile-app-banner__description"},Object(g.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(te.__)("Run your store from anywhere","woocommerce-admin")),Object(g.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(te.__)("Download the WooCommerce app","woocommerce-admin"))),Object(g.createElement)(ge.Button,{href:"https://play.google.com/store/apps/details?id=com.woocommerce.android",isSecondary:!0,onClick:function(){t(),a(!0),Object(X.recordEvent)("wcadmin_mobile_android_banner_click",{action:"install"})}},Object(te.__)("Install","woocommerce-admin")))}),Qe=n(138);function Ge(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 Ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ze=function(e){var t=e.sections,n=e.isEmbedded,r=void 0!==n&&n,o=e.query,i=Object(g.useRef)(null),c=Object(K.g)("siteTitle",""),u=t.slice(-1)[0],s=Object(Qe.a)(),l=Object(J.useUserPreferences)(),f=l.updateUserPreferences,p=a()(l,["updateUserPreferences"]),d="yes"===p.android_app_banner_dismissed,m=me()("woocommerce-layout__header",{"is-scrolled":s});Object(g.useEffect)((function(){if(!r){var e=t.map((function(e){return Array.isArray(e)?e[1]:e})).reverse().join(" ‹ "),n=Object(he.decodeEntities)(Object(te.sprintf)(Object(te.__)("%1$s ‹ %2$s — WooCommerce","woocommerce-admin"),e,c));document.title!==n&&(document.title=n)}}),[r,t,c]);var h=function(){f({android_app_banner_dismissed:"yes"})};return Object(g.createElement)("div",{className:m,ref:i},!d&&Object(g.createElement)(We,{onDismiss:h,onInstall:h}),Object(g.createElement)(ve.f,{className:"woocommerce-layout__header-heading",as:"h1",variant:"subtitle.small"},Object(he.decodeEntities)(u)),window.wcAdminFeatures["activity-panels"]&&Object(g.createElement)(He,{isEmbedded:r,query:o,userPreferencesData:Ye(Ye({},p),{},{updateUserPreferences:f})}))};function Ke(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=b()(e);if(t){var o=b()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var Je=function(e){m()(n,e);var t=Ke(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"render",value:function(){return Object(g.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}]),n}(g.Component),Xe=n(8),et=n.n(Xe),tt=n(43),nt=n.n(tt),rt=n(180),ot=n(277);var it=function(e){var t=e.notices,n=e.className,r=e.children,i=e.onRemove,a=void 0===i?Q.noop:i,c=e.onRemove2,u=void 0===c?Q.noop:c,s=Object(w.useReducedMotion)(),l=Object(g.useState)((function(){return new WeakMap})),f=Ce()(l,1)[0],p=Object(rt.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=nt()(et.a.mark((function t(n){return et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n({opacity:1,height:f.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=nt()(et.a.mark((function e(t){return et.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:s});n=me()("components-snackbar-list",n);var d=function(e){return function(){a(e.id),u(e.id)}};return Object(g.createElement)("div",{className:n},r,p.map((function(e){var t=e.item,n=e.key,r=e.props;return Object(g.createElement)(rt.animated.div,{key:n,style:r},Object(g.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&f.set(t,e)}},Object(g.createElement)(ot.a,o()({},Object(Q.omit)(t,["content"]),{onRemove:d(t)}),t.content)))})))};n(307);function at(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=b()(e);if(t){var o=b()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var ct=function(e){m()(n,e);var t=at(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.notices,r=e.onRemove,o=e.onRemove2,i=me()("woocommerce-transient-notices","components-notices__snackbar",t);return Object(g.createElement)(it,{notices:n,className:i,onRemove:r,onRemove2:o})}}]),n}(g.Component);ct.propTypes={className:x.a.string,notices:x.a.array};var ut=Object(w.compose)(Object(O.withSelect)((function(e){var t=e("core/notices").getNotices(),n=e("core/notices2").getNotices();return{notices:t.concat(n)}})),Object(O.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice,onRemove2:e("core/notices2").removeNotice}})))(ct),st=n(139),lt=n(86);function ft(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 pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ft(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dt(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 mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ht(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=b()(e);if(t){var o=b()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}Object(st.registerPlugin)("wc-admin-navigation",{render:function(){var e=Object(g.useState)(Object(Z.getPersistedQuery)()),t=Ce()(e,2),n=t[0],r=t[1],o=function(e){return Object(Z.getQueryExcludedScreens)().includes(Object(Z.getScreenFromPath)(e))};if(Object(g.useEffect)((function(){return Object(lt.a)((function(){setTimeout((function(){o()||r(Object(Z.getPersistedQuery)())}),0)}))}),[]),!Object(re.f)(window.location.href))return null;var i=Object(ne.a)().filter((function(e){return e.navArgs})),a=fe().filter((function(e){return e.navArgs})).map((function(e){return"/analytics/settings"===e.path?pt(pt({},e),{},{breadcrumbs:[Object(te.__)("Analytics","woocommerce-admin")]}):e}));return Object(g.createElement)(g.Fragment,null,a.map((function(e){return Object(g.createElement)(Z.WooNavigationItem,{item:e.navArgs.id,key:e.navArgs.id},Object(g.createElement)(Y.Link,{className:"components-button",href:Object(Z.getNewPath)(o(e.path)?{}:n,e.path,{}),type:"wc-admin"},e.breadcrumbs[e.breadcrumbs.length-1]))})),i.map((function(e){return Object(g.createElement)(Z.WooNavigationItem,{item:e.navArgs.id,key:e.navArgs.id},Object(g.createElement)(Y.Link,{className:"components-button",href:Object(Z.getNewPath)(o(e.report)?{}:n,"/analytics/".concat(e.report),{}),type:"wc-admin"},e.title))})))}});var vt=Object(g.lazy)((function(){return Promise.all([n.e(1),n.e(47)]).then(n.bind(null,597))})),yt=Object(g.lazy)((function(){return n.e(51).then(n.bind(null,524))})),bt=function(e){m()(n,e);var t=ht(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{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)(vt,null)),Object(g.createElement)(Je,null),e)}}]),n}(g.Component),gt=function(e){m()(n,e);var t=ht(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"componentDidMount",value:function(){this.recordPageViewTrack()}},{key:"componentDidUpdate",value:function(e){var t=Object(Q.get)(e,"location.pathname"),n=Object(Q.get)(this.props,"location.pathname");t&&n&&t!==n&&this.recordPageViewTrack()}},{key:"recordPageViewTrack",value:function(){var e=this.props,t=e.activePlugins,n=e.installedPlugins,r=e.isEmbedded,o=e.isJetpackConnected,i={has_navigation:!!window.wcNavigation};if(r){var a=document.location.pathname+document.location.search;Object(X.recordPageView)(a,mt({is_embedded:!0},i))}else{var c=Object(Q.get)(this.props,"location.pathname");if(c){var u=c.substring(1).replace(/\//g,"_");0===u.length&&(u="home_screen"),Object(X.recordPageView)(u,mt({jetpack_installed:n.includes("jetpack"),jetpack_active:t.includes("jetpack"),jetpack_connected:o},i))}}}},{key:"getQuery",value:function(e){if(!e)return{};var t=e.substring(1);return Object(G.parse)(t)}},{key:"isWCPaySettingsPage",value:function(){var e=Object(Z.getQuery)(),t=e.page,n=e.section,r=e.tab;return"wc-settings"===t&&"checkout"===r&&"woocommerce_payments"===n}},{key:"render",value:function(){var e=this.props,t=e.isEmbedded,n=a()(e,["isEmbedded"]),r=this.props,i=r.location,c=r.page.breadcrumbs,u=this.getQuery(i&&i.search);return Object(g.createElement)("div",{className:"woocommerce-layout"},Object(g.createElement)(Ze,{sections:Object(Q.isFunction)(c)?c(this.props):c,isEmbedded:t,query:u}),Object(g.createElement)(ut,null),!t&&Object(g.createElement)(bt,null,Object(g.createElement)("div",{className:"woocommerce-layout__main"},Object(g.createElement)(pe,o()({},n,{query:u})))),t&&this.isWCPaySettingsPage()&&Object(g.createElement)(g.Suspense,{fallback:null},Object(g.createElement)(yt,null)))}}]),n}(g.Component);gt.propTypes={isEmbedded:x.a.bool,page:x.a.shape({container:x.a.oneOfType([x.a.func,x.a.object]),path:x.a.string,breadcrumbs:x.a.oneOfType([x.a.func,x.a.arrayOf(x.a.oneOfType([x.a.arrayOf(x.a.string),x.a.string]))]).isRequired,wpOpenMenu:x.a.string}).isRequired};var wt=Object(w.compose)(Object(J.withPluginsHydration)(mt(mt({},window.wcSettings.plugins||{}),{},{jetpackStatus:window.wcSettings.dataEndpoints&&window.wcSettings.dataEndpoints.jetpackStatus||!1})),Object(O.withSelect)((function(e,t){if(!t.isEmbedded){var n=e(J.PLUGINS_STORE_NAME),r=n.getActivePlugins,o=n.getInstalledPlugins,i=n.isJetpackConnected;return{activePlugins:r(),isJetpackConnected:i(),installedPlugins:o()}}})))(gt),Ot=function(e){m()(n,e);var t=ht(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"render",value:function(){return Object(g.createElement)(D,{history:Object(Z.getHistory)()},Object(g.createElement)(W,null,fe().map((function(e){return Object(g.createElement)(q,{key:e.path,path:e.path,exact:!0,render:function(t){return Object(g.createElement)(wt,o()({page:e},t))}})}))))}}]),n}(g.Component),jt=Object(w.compose)(window.wcSettings.preloadOptions?Object(J.withOptionsHydration)(mt({},window.wcSettings.preloadOptions)):Q.identity)(Ot),_t=Object(w.compose)(window.wcSettings.preloadOptions?Object(J.withOptionsHydration)(mt({},window.wcSettings.preloadOptions)):Q.identity)((function(){return Object(g.createElement)(wt,{page:{breadcrumbs:Object(K.g)("embedBreadcrumbs",[])},isEmbedded:!0})}))},142:function(e,t){!function(){e.exports=this.wc.number}()},15:function(e,t){!function(){e.exports=this.wp.data}()},150:function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case u:case c:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case v:case s:return e;default:return t}}case i:return t}}}function _(e){return j(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=u,t.StrictMode=c,t.Suspense=m,t.isAsyncMode=function(e){return _(e)||j(e)===f},t.isConcurrentMode=_,t.isContextConsumer=function(e){return j(e)===l},t.isContextProvider=function(e){return j(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return j(e)===d},t.isFragment=function(e){return j(e)===a},t.isLazy=function(e){return j(e)===y},t.isMemo=function(e){return j(e)===v},t.isPortal=function(e){return j(e)===i},t.isProfiler=function(e){return j(e)===u},t.isStrictMode=function(e){return j(e)===c},t.isSuspense=function(e){return j(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===u||e===c||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===w||e.$$typeof===O||e.$$typeof===b)},t.typeOf=j},16:function(e,t){!function(){e.exports=this.moment}()},17:function(e,t){!function(){e.exports=this.wp.dataControls}()},18:function(e,t){!function(){e.exports=this.wp.compose}()},180:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(24)),i=r(n(96)),a=n(10),c=r(a),u=r(n(306)),s=r(n(9)),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 n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!l.und(n)||e===t}};function f(){var e=a.useState(!1)[1];return a.useCallback((function(){return e((function(e){return!e}))}),[])}function p(e,t){return l.und(e)||l.nul(e)?t:e}function d(e){return l.und(e)?[]:l.arr(e)?e:[e]}function m(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return l.fun(e)?e.apply(void 0,n):e}function h(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,i(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 n=Object.keys(e).reduce((function(n,r){var i;return l.und(t[r])?o({},n,((i={})[r]=e[r],i)):n}),{});return o({to:t},n)}var v,y,b=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,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof b&&e.addChild(s(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof b&&e.removeChild(s(t))}))},t}return u(t,e),t}(b),w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof b&&e.addChild(s(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof b&&e.removeChild(s(t))}))},t}u(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof b)&&(t[n]=r instanceof b?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(b);function O(e,t){v={fn:e,transform:t}}function j(e){y=e}var _,E=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},k=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function x(e){_=e}var S,P=function(){return Date.now()};function C(e){S=e}var A,T,N=function(e){return e.current};function L(e){A=e}var R=Object.freeze({get applyAnimatedValues(){return v},injectApplyAnimatedValues:O,get colorNames(){return y},injectColorNames:j,get requestFrame(){return E},get cancelFrame(){return k},injectFrame:function(e,t){E=e,k=t},get interpolation(){return _},injectStringInterpolator:x,get now(){return P},injectNow:function(e){P=e},get defaultElement(){return S},injectDefaultElement:C,get animatedApi(){return N},injectAnimatedApi:function(e){N=e},get createAnimatedStyle(){return A},injectCreateAnimatedStyle:L,get manualFrameloop(){return T},injectManualFrameloop:function(e){T=e}}),M=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?o({},t,{style:A(t.style)}):t,r.update=n,r.attach(),r}return u(t,e),t}(w),D=!1,I=new Set,V=function e(){if(!D)return!1;var t=P(),n=I,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var a=i,c=!1,u=0;u<a.configs.length;u++){for(var s=a.configs[u],l=void 0,f=void 0,p=0;p<s.animatedValues.length;p++){var d=s.animatedValues[p];if(!d.done){var m=s.fromValues[p],h=s.toValues[p],v=d.lastPosition,y=h instanceof b,g=Array.isArray(s.initialVelocity)?s.initialVelocity[p]:s.initialVelocity;if(y&&(h=h.getValue()),s.immediate)d.setValue(h),d.done=!0;else if("string"!=typeof m&&"string"!=typeof h){if(void 0!==s.duration)v=m+s.easing((t-d.startTime)/s.duration)*(h-m),l=t>=d.startTime+s.duration;else if(s.decay)v=m+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-d.startTime))),(l=Math.abs(d.lastPosition-v)<.1)&&(h=v);else{f=void 0!==d.lastTime?d.lastTime:t,g=void 0!==d.lastVelocity?d.lastVelocity:s.initialVelocity,t>f+64&&(f=t);for(var w=Math.floor(t-f),O=0;O<w;++O){v+=1*(g+=1*((-s.tension*(v-h)+-s.friction*g)/s.mass)/1e3)/1e3}var j=!(!s.clamp||0===s.tension)&&(m<h?v>h:v<h),_=Math.abs(g)<=s.precision,k=0===s.tension||Math.abs(h-v)<=s.precision;l=j||_&&k,d.lastVelocity=g,d.lastTime=t}y&&!s.toValues[p].done&&(l=!1),l?(d.value!==h&&(v=h),d.done=!0):c=!0,d.setValue(v),d.lastPosition=v}else d.setValue(h),d.done=!0}}a.props.onFrame&&(a.values[s.name]=s.interpolation.getValue())}a.props.onFrame&&a.props.onFrame(a.values),c||(I.delete(a),a.stop(!0))}return I.size?T?T():E(e):D=!1,D};function F(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return F({range:e,output:t,extrapolate:n});if(_&&"string"==typeof e.output[0])return _(e);var r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",u=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,c,u){var s=u?u(e):e;if(s<t){if("identity"===a)return s;"clamp"===a&&(s=t)}if(s>n){if("identity"===c)return s;"clamp"===c&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],u,a,c,r.map)}}var q=function(e){function t(n,r,o,i){var a;return(a=e.call(this)||this).calc=void 0,a.payload=n instanceof g&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],a.calc=F(r,o,i),a}u(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=F(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(g);var U=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}u(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new q(this,e,t,n)},t}(b),B=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new U(e)})),n}u(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new q(this,e,t)},t}(g),H=0,z=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=H++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,a=t.to,c=i(t,["delay","to"]);if(l.arr(a)||l.fun(a))this.queue.push(o({},c,{delay:r,to:a}));else if(a){var u={};Object.entries(a).forEach((function(e){var t,n=e[0],i=e[1],a=o({to:(t={},t[n]=i,t),delay:m(r,n)},c),s=u[a.delay]&&u[a.delay].to;u[a.delay]=o({},u[a.delay],a,{to:o({},s,a.to)})})),this.queue=Object.values(u)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(c),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,i=e.to,a=void 0===i?{}:i;l.obj(r)&&(n.merged=o({},r,n.merged)),l.obj(a)&&(n.merged=o({},n.merged,a))}));var r=this.local=++this.guid,a=this.localQueue=this.queue;this.queue=[],a.forEach((function(t,o){var c=t.delay,u=i(t,["delay"]),s=function(t){o===a.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},f=l.arr(u.to)||l.fun(u.to);c?setTimeout((function(){r===n.guid&&(f?n.runAsync(u,s):n.diff(u).start(s))}),c):f?n.runAsync(u,s):n.diff(u).start(s)}))}else l.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,I.has(t)||I.add(t),D||(D=!0,E(T||V));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,I.has(t)&&I.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),a=this.local,c=Promise.resolve(void 0);if(l.arr(r.to))for(var u=function(e){var t=e,i=o({},r,h(r.to[t]));l.arr(i.config)&&(i.config=i.config[t]),c=c.then((function(){if(a===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},s=0;s<r.to.length;s++)u(s);else if(l.fun(r.to)){var f,p=0;c=c.then((function(){return r.to((function(e){var t=o({},r,h(e));if(l.arr(t.config)&&(t.config=t.config[p]),p++,a===n.guid)return f=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return f}))}))}c.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var n=this.props,r=n.from,i=void 0===r?{}:r,a=n.to,c=void 0===a?{}:a,u=n.config,s=void 0===u?{}:u,f=n.reverse,h=n.attach,v=n.reset,b=n.immediate;if(f){var g=[c,i];i=g[0],c=g[1]}this.merged=o({},i,this.merged,c),this.hasChanged=!1;var w=h&&h(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],a=n[1],c=e[r]||{},u=l.num(a),f=l.str(a)&&!a.startsWith("#")&&!/\d/.test(a)&&!y[a],h=l.arr(a),g=!u&&!h&&!f,O=l.und(i[r])?a:i[r],j=u||h||f?a:1,E=m(s,r);w&&(j=w.animations[r].parent);var k,x=c.parent,S=c.interpolation,C=d(w?j.getPayload():j),A=a;g&&(A=_({range:[0,1],output:[a,a]})(1));var T,N=S&&S.getValue(),L=!l.und(x)&&c.animatedValues.some((function(e){return!e.done})),R=!l.equ(A,N),M=!l.equ(A,c.previous),D=!l.equ(E,c.config);if(v||M&&R||D){var I;if(u||f)x=S=c.parent||new U(O);else if(h)x=S=c.parent||new B(O);else if(g){var V=c.interpolation&&c.interpolation.calc(c.parent.value);V=void 0===V||v?O:V,c.parent?(x=c.parent).setValue(0,!1):x=new U(0);var F={output:[V,a]};c.interpolation?(S=c.interpolation,c.interpolation.updateConfig(F)):S=x.interpolate(F)}return C=d(w?j.getPayload():j),k=d(x.getPayload()),v&&!g&&x.setValue(O,!1),t.hasChanged=!0,k.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=L?e.lastVelocity:void 0,e.lastTime=L?e.lastTime:void 0,e.startTime=P(),e.done=!1,e.animatedStyles.clear()})),m(b,r)&&x.setValue(g?j:a,!1),o({},e,((I={})[r]=o({},c,{name:r,parent:x,interpolation:S,animatedValues:k,toValues:C,previous:A,config:E,fromValues:d(x.getValue()),immediate:m(b,r),initialVelocity:p(E.velocity,0),clamp:p(E.clamp,!1),precision:p(E.precision,.01),tension:p(E.tension,170),friction:p(E.friction,26),mass:p(E.mass,1),duration:E.duration,easing:p(E.easing,(function(e){return e})),decay:E.decay}),I))}return R?e:(g&&(x.setValue(1,!1),S.updateConfig({output:[A,A]})),x.done=!0,t.hasChanged=!0,o({},e,((T={})[r]=o({},e[r],{previous:A}),T)))}),this.animations),this.hasChanged)for(var O in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[O]=this.animations[O].interpolation,this.values[O]=this.animations[O].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}(),$=function(e,t){var n=a.useRef(!1),r=a.useRef(),o=l.fun(t),i=a.useMemo((function(){var n;return r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var i=new z,a=o?m(t,r,i):t[r];return 0===r&&(n=a.ref),i.update(a),n||i.start(),i})),n]}),[e]),c=i[0],u=i[1];r.current=c;a.useImperativeHandle(u,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var s=a.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(o?m(e,n,t):e[n]),u||t.start()}))}}),[e]);a.useEffect((function(){n.current?o||s(t):u||r.current.forEach((function(e){return e.start()}))})),a.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var f=r.current.map((function(e){return e.getValues()}));return o?[f,s,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:f},W=0,Q=function(e,t){return("function"==typeof t?e.map(t):d(t)).map(String)},G=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,a=i(e,["items","keys"]);return t=d(void 0!==t?t:null),o({items:t,keys:Q(t,r)},a)};function Y(e,t){var n=function(){if(o){if(i>=r.length)return"break";a=r[i++]}else{if((i=r.next()).done)return"break";a=i.value}var n=a.key,c=function(e){return e.key!==n};(l.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(c),e.current.deleted=e.current.deleted.filter(c))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var a;if("break"===n())break}e.current.forceUpdate()}var Z=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof b||(t=v.transform(t)),n.payload=t,n}return u(t,e),t}(w),K={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},J="[-+]?\\d*\\.?\\d+";function X(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+X(J,J,J)),te=new RegExp("rgba"+X(J,J,J,J)),ne=new RegExp("hsl"+X(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),re=new RegExp("hsla"+X(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",J)),oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ie=/^#([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})$/,ce=/^#([0-9a-fA-F]{8})$/;function ue(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function se(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=ue(o,r,e+1/3),a=ue(o,r,e),c=ue(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*c)<<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 pe(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function de(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function me(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ae.exec(t))?parseInt(n[1]+"ff",16)>>>0:K.hasOwnProperty(t)?K[t]:(n=ee.exec(t))?(le(n[1])<<24|le(n[2])<<16|le(n[3])<<8|255)>>>0:(n=te.exec(t))?(le(n[1])<<24|le(n[2])<<16|le(n[3])<<8|pe(n[4]))>>>0:(n=oe.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=ce.exec(t))?parseInt(n[1],16)>>>0:(n=ie.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ne.exec(t))?(255|se(fe(n[1]),de(n[2]),de(n[3])))>>>0:(n=re.exec(t))?(se(fe(n[1]),de(n[2]),de(n[3]))|pe(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var he=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ve=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ye=new RegExp("("+Object.keys(K).join("|")+")","g"),be={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 we(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}be=Object.keys(be).reduce((function(e,t){return ge.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),be);var Oe={};L((function(e){return new Z(e)})),C("div"),x((function(e){var t=e.output.map((function(e){return e.replace(ve,me)})).map((function(e){return e.replace(ye,me)})),n=t[0].match(he).map((function(){return[]}));t.forEach((function(e){e.match(he).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(he).map((function(t,r){return F(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(he,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),j(K),O((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,a=t.scrollLeft,c=i(t,["style","children","scrollTop","scrollLeft"]),u="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var l=0===s.indexOf("--"),f=we(s,n[s],l);"float"===s&&(s="cssFloat"),l?e.style.setProperty(s,f):e.style[s]=f}for(var p in c){var d=u?p:Oe[p]||(Oe[p]=p.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(d)&&e.setAttribute(d,c[p])}}),(function(e){return e}));var je,_e,Ee=(je=function(e){return a.forwardRef((function(t,n){var r=f(),u=a.useRef(!0),s=a.useRef(null),p=a.useRef(null),d=a.useCallback((function(e){var t=s.current;s.current=new M(e,(function(){var e=!1;p.current&&(e=v.fn(p.current,s.current.getAnimatedValue())),p.current&&!1!==e||r()})),t&&t.detach()}),[]);a.useEffect((function(){return function(){u.current=!1,s.current&&s.current.detach()}}),[]),a.useImperativeHandle(n,(function(){return N(p,u,r)})),d(t);var m,h=s.current.getValue(),y=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),b=(m=e,!l.fun(m)||m.prototype instanceof c.Component?function(e){return p.current=function(e,t){return t&&(l.fun(t)?t(e):l.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return c.createElement(e,o({},y,{ref:b}))}))},void 0===(_e=!1)&&(_e=!0),function(e){return(l.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=_e?t[0].toLowerCase()+t.substring(1):t;return e[n]=je(n),e}),je)}),ke=Ee(["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=Ee,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=V,t.animated=ke,t.a=ke,t.interpolate=function(e,t,n){return e&&new q(e,t,n)},t.Globals=R,t.useSpring=function(e){var t=l.fun(e),n=$(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=a.useRef(!1),r=l.fun(t),i=m(t),c=a.useRef(),u=$(e,(function(e,t){return 0===e&&(c.current=[]),c.current.push(t),o({},i,{config:m(i.config,e),attach:e>0&&function(){return c.current[e-1]}})})),s=u[0],f=u[1],p=u[2],d=a.useMemo((function(){return function(e){return f((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,a=c.current[r];return o({},e,{config:m(e.config||i.config,t),attach:a&&function(){return a}})}))}}),[e,i.reverse]);return a.useEffect((function(){n.current&&!r&&d(t)})),a.useEffect((function(){n.current=!0}),[]),r?[s,d,p]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),c=G(r),u=c.lazy,s=void 0!==u&&u,l=(c.unique,c.reset),p=void 0!==l&&l,d=(c.enter,c.leave,c.update,c.onDestroyed),h=(c.keys,c.items,c.onFrame),v=c.onRest,y=c.onStart,b=c.ref,g=i(c,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),w=f(),O=a.useRef(!1),j=a.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!O.current&&new Map,forceUpdate:w});return a.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(j.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(j.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(j.current.instances).map((function(e){return e[1]}))}}})),j.current=function(e,t){var n=e.first,r=e.prevProps,a=i(e,["first","prevProps"]),c=G(t),u=c.items,s=c.keys,l=c.initial,f=c.from,p=c.enter,d=c.leave,h=c.update,v=c.trail,y=void 0===v?0:v,b=c.unique,g=c.config,w=c.order,O=void 0===w?["enter","leave","update"]:w,j=G(r),_=j.keys,E=j.items,k=o({},a.current),x=[].concat(a.deleted),S=Object.keys(k),P=new Set(S),C=new Set(s),A=s.filter((function(e){return!P.has(e)})),T=a.transitions.filter((function(e){return!e.destroyed&&!C.has(e.originalKey)})).map((function(e){return e.originalKey})),N=s.filter((function(e){return P.has(e)})),L=-y;for(;O.length;){switch(O.shift()){case"enter":A.forEach((function(e,t){b&&x.find((function(t){return t.originalKey===e}))&&(x=x.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=u[r],i=n&&void 0!==l?"initial":"enter";k[e]={slot:i,originalKey:e,key:b?String(e):W++,item:o,trail:L+=y,config:m(g,o,i),from:m(n&&void 0!==l?l||{}:f,o),to:m(p,o)}}));break;case"leave":T.forEach((function(e){var t=_.indexOf(e),n=E[t];x.unshift(o({},k[e],{slot:"leave",destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:L+=y,config:m(g,n,"leave"),to:m(d,n)})),delete k[e]}));break;case"update":N.forEach((function(e){var t=s.indexOf(e),n=u[t];k[e]=o({},k[e],{item:n,slot:"update",trail:L+=y,config:m(g,n,"update"),to:m(h,n)})}))}}var R=s.map((function(e){return k[e]}));return x.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=R.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),R=[].concat(R.slice(0,t),[r],R.slice(t))})),o({},a,{changed:A.length||T.length||N.length,first:n&&0===A.length,transitions:R,current:k,deleted:x,prevProps:t})}(j.current,r),j.current.changed&&j.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,a=e.trail,c=e.key,u=e.item;j.current.instances.has(c)||j.current.instances.set(c,new z);var l=j.current.instances.get(c),f=o({},g,{to:r,from:n,config:i,ref:b,onRest:function(n){j.current.mounted&&(e.destroyed&&(b||s||Y(j,c),d&&d(u)),!Array.from(j.current.instances).some((function(e){return!e[1].idle}))&&(b||s)&&j.current.deleted.length>0&&Y(j),v&&v(u,t,n))},onStart:y&&function(){return y(u,t)},onFrame:h&&function(e){return h(u,t,e)},delay:a,reset:p&&"enter"===t});l.update(f),j.current.paused||l.start()})),a.useEffect((function(){return j.current.mounted=O.current=!0,function(){j.current.mounted=O.current=!1,Array.from(j.current.instances).map((function(e){return e[1].destroy()})),j.current.instances.clear()}}),[]),j.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:j.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=a.useRef();a.useEffect((function(){l.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var i=e.current;if(i){var a=i.controllers;if(a.length){var c=n*t[r];a.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+c})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=$},181:function(e,t,n){"use strict";(function(e){var r=n(10),o=n.n(r),i=n(38),a=n(1),c=n.n(a),u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function s(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(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var l=o.a.createContext||function(e,t){var n,o,a,l="__create-react-context-"+((u[a="__global_unique_id__"]=(u[a]||0)+1)+"__"),f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=s(t.props.value),t}Object(i.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(r.Component);f.childContextTypes=((n={})[l]=c.a.object.isRequired,n);var p=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(i.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},r.getValue=function(){return this.context[l]?this.context[l].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return p.contextTypes=((o={})[l]=c.a.object,o),{Provider:f,Consumer:p}};t.a=l}).call(this,n(82))},182:function(e,t,n){var r=n(308);e.exports=d,e.exports.parse=i,e.exports.compile=function(e,t){return c(i(e,t),t)},e.exports.tokensToFunction=c,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,c="",l=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],p=n[1],d=n.index;if(c+=e.slice(a,d),a=d+f.length,p)c+=p[1];else{var m=e[a],h=n[2],v=n[3],y=n[4],b=n[5],g=n[6],w=n[7];c&&(r.push(c),c="");var O=null!=h&&null!=m&&m!==h,j="+"===g||"*"===g,_="?"===g||"*"===g,E=n[2]||l,k=y||b;r.push({name:v||i++,prefix:h||"",delimiter:E,optional:_,repeat:j,partial:O,asterisk:!!w,pattern:k?s(k):w?".*":"[^"+u(E)+"]+?"})}}return a<e.length&&(c+=e.substr(a)),c&&r.push(c),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function c(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",c=t||{},u=(o||{}).pretty?a:encodeURIComponent,s=0;s<e.length;s++){var l=e[s];if("string"!=typeof l){var f,p=c[l.name];if(null==p){if(l.optional){l.partial&&(i+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(p)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<p.length;d++){if(f=u(p[d]),!n[s].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===d?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(p),!n[s].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');i+=l.prefix+f}}else i+=l}return i}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",c=0;c<e.length;c++){var s=e[c];if("string"==typeof s)a+=u(s);else{var p=u(s.prefix),d="(?:"+s.pattern+")";t.push(s),s.repeat&&(d+="(?:"+p+d+")*"),a+=d=s.optional?s.partial?p+"("+d+")?":"(?:"+p+"("+d+"))?":p+"("+d+")"}}var m=u(n.delimiter||"/"),h=a.slice(-m.length)===m;return o||(a=(h?a.slice(0,-m.length):a)+"(?:"+m+"(?=$))?"),a+=i?"$":o&&h?"":"(?="+m+"|$)",l(new RegExp("^"+a,f(n)),t)}function d(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(d(e[o],t,n).source);return l(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return p(i(e,n),t,n)}(e,t,n)}},19:function(e,t,n){var r=n(60),o=n(61),i=n(39),a=n(62);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},195:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n(3);function o(e,t){return Object(r.filter)(e,(function(e){var n=e.is_deleted,r=e.date_created_gmt,o=e.status;if(!n)return(!t||!r||new Date(r+"Z").getTime()>t)&&"unactioned"===o})).length}function i(e){return Object(r.filter)(e,(function(e){return!e.is_deleted})).length>0}},196:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f}));var r=n(36),o=n(55),i=n(7),a=n.n(i),c=n(0);function u(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=function(e){return Object(c.createElement)("path",e)},f=function(e){var t=e.className,n=e.isPressed,r=s(s({},Object(o.a)(e,["className","isPressed"])),{},{className:a()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":!0,focusable:!1});return Object(c.createElement)("svg",r)}},2:function(e,t){!function(){e.exports=this.wp.i18n}()},20:function(e,t,n){var r=n(57),o=n(58),i=n(39),a=n(59);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},21:function(e,t){!function(){e.exports=this.wc.navigation}()},22:function(e,t){!function(){e.exports=this.wp.url}()},23:function(e,t){!function(){e.exports=this.wc.data}()},24:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return d})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return h})),n.d(t,"f",(function(){return v}));var r=n(30),o=n.n(r),i=n(2),a=["wcAdminSettings","preloadSettings"],c="object"===("undefined"==typeof wcSettings?"undefined":o()(wcSettings))?wcSettings:{},u=Object.keys(c).reduce((function(e,t){return a.includes(t)||(e[t]=c[t]),e}),{}),s=u.adminUrl,l=(u.countries,u.currency),f=u.locale,p=u.orderStatuses,d=(u.siteTitle,u.wcAssetUrl);function m(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(a.includes(e))throw new Error(Object(i.__)("Mutable settings should be accessed via data store."));var r=u.hasOwnProperty(e)?u[e]:t;return n(r,t)}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(a.includes(e))throw new Error(Object(i.__)("Mutable settings should be mutated via data store."));u[e]=n(t)}function v(e){return(s||"")+e}},27:function(e,t){!function(){e.exports=this.wp.apiFetch}()},276:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=n(301),a=n(10),c=n(48);e.exports=function(e){var t=e.displayName||e.name,n=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);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,(n.__proto__||Object.getPrototypeOf(n)).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)}(n,t),o(n,[{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,n=this.props,o=n.wrappedRef,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["wrappedRef"]);return a.createElement(e,r({},i,{ref:function(e){t.__wrappedInstance=e,t.__domNode=c.findDOMNode(e),o&&o(e)}}))}}]),n}(a.Component);return n.displayName="clickOutside("+t+")",i(n,e)}},277:function(e,t,n){"use strict";(function(e){var r=n(0),o=n(3),i=n(7),a=n.n(i),c=n(140),u=n(2),s=(n(278),n(4));t.a=Object(r.forwardRef)((function(t,n){var i=t.className,l=t.children,f=t.spokenMessage,p=void 0===f?l:f,d=t.politeness,m=void 0===d?"polite":d,h=t.actions,v=void 0===h?[]:h,y=t.onRemove,b=void 0===y?o.noop:y,g=t.icon,w=void 0===g?null:g,O=t.explicitDismiss,j=void 0!==O&&O,_=t.onDismiss,E=void 0===_?null:_;function k(e){e&&e.preventDefault&&e.preventDefault(),E(),b()}E=E||o.noop,function(e,t){var n="string"==typeof e?e:Object(r.renderToString)(e);Object(r.useEffect)((function(){n&&Object(c.a)(n,t)}),[n,t])}(p,m),Object(r.useEffect)((function(){var e=setTimeout((function(){j||(E(),b())}),1e4);return function(){return clearTimeout(e)}}),[j,E,b]);var x=a()(i,"components-snackbar",{"components-snackbar-explicit-dismiss":!!j});v&&v.length>1&&(void 0!==e&&e.env,v=[v[0]]);var S=a()("components-snackbar__content",{"components-snackbar__content-with-icon":!!w});return Object(r.createElement)("div",{ref:n,className:x,onClick:j?o.noop:k,tabIndex:"0",role:j?"":"button",onKeyPress:j?o.noop:k,"aria-label":j?"":Object(u.__)("Dismiss this notice")},Object(r.createElement)("div",{className:S},w&&Object(r.createElement)("div",{className:"components-snackbar__icon"},w),l,v.map((function(e,t){var n=e.label,o=e.onClick,i=e.url;return Object(r.createElement)(s.Button,{key:t,href:i,isTertiary:!0,onClick:function(e){return function(e,t){e.stopPropagation(),b(),t&&t(e)}(e,o)},className:"components-snackbar__action"},n)})),j&&Object(r.createElement)("span",{role:"button","aria-label":"Dismiss this notice",tabIndex:"0",className:"components-snackbar__dismiss-button",onClick:k,onKeyPress:k},"✕")))}))}).call(this,n(124))},278:function(e,t,n){"use strict";(function(e){function r(t){void 0!==e&&e.env}n.d(t,"a",(function(){return r}))}).call(this,n(124))},279:function(e,t){!function(){e.exports=this.wc.customerEffortScore}()},28:function(e,t){!function(){e.exports=this.wc.tracks}()},286:function(e,t,n){"use strict";n.d(t,"a",(function(){return B}));var r={};n.r(r),n.d(r,"setCesSurveyQueue",(function(){return C})),n.d(r,"addCesSurvey",(function(){return A})),n.d(r,"addCesSurveyForAnalytics",(function(){return T}));var o={};n.r(o),n.d(o,"getCesSurveyQueue",(function(){return M}));var i={};n.r(i),n.d(i,"getCesSurveyQueue",(function(){return D}));var a=n(20),c=n.n(a),u=n(5),s=n.n(u),l=n(19),f=n.n(l),p=n(0),d=n(1),m=n.n(d),h=n(28),v=n(279),y=n.n(v),b=n(18),g=n(15),w=n(23),O=n(2);function j(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e){var t=e.action,n=e.trackProps,r=e.label,o=e.onSubmitLabel,i=void 0===o?Object(O.__)("Thank you for your feedback!","woocommerce-admin"):o,a=e.cesShownForActions,u=e.allowTracking,l=e.resolving,d=e.storeAgeInWeeks,m=e.updateOptions,v=e.createNotice,b=Object(p.useState)(!1),g=f()(b,2),w=g[0],j=g[1];if(l)return null;if(!u)return null;if(-1!==a.indexOf(t)&&!w)return null;var E=function(){m(s()({},"woocommerce_ces_shown_for_actions",[t].concat(c()(a))))};return Object(p.createElement)(y.a,{recordScoreCallback:function(e,r){Object(h.recordEvent)("ces_feedback",_({action:t,score:e,comments:r||"",store_age:d},n)),v("success",i)},label:r,onNoticeShownCallback:function(){Object(h.recordEvent)("ces_snackbar_view",_({action:t,store_age:d},n))},onNoticeDismissedCallback:function(){Object(h.recordEvent)("ces_snackbar_dismiss",_({action:t,store_age:d},n)),E()},onModalShownCallback:function(){j(!0),Object(h.recordEvent)("ces_view",_({action:t,store_age:d},n)),E()},icon:Object(p.createElement)("span",{style:{height:21,width:21},role:"img","aria-label":Object(O.__)("Pencil icon","woocommerce-admin")},"✏️")})}E.propTypes={action:m.a.string.isRequired,trackProps:m.a.object,label:m.a.string.isRequired,onSubmitLabel:m.a.string,cesShownForActions:m.a.arrayOf(m.a.string).isRequired,allowTracking:m.a.bool,resolving:m.a.bool.isRequired,storeAgeInWeeks:m.a.number,updateOptions:m.a.func,createNotice:m.a.func};var k=Object(b.compose)(Object(g.withSelect)((function(e){var t=e(w.OPTIONS_STORE_NAME),n=t.getOption,r=t.isResolving,o=n("woocommerce_ces_shown_for_actions")||[],i=function(e){if(0===e)return null;var t=Date.now()-1e3*e;return Math.round(t/w.WEEK)}(n("woocommerce_admin_install_timestamp")||0);return{cesShownForActions:o,allowTracking:"yes"===(n("woocommerce_allow_tracking")||"no"),storeAgeInWeeks:i,resolving:r("getOption",["woocommerce_ces_shown_for_actions"])||null===i||r("getOption",["woocommerce_admin_install_timestamp"])||r("getOption",["woocommerce_allow_tracking"])}})),Object(g.withDispatch)((function(e){return{updateOptions:e(w.OPTIONS_STORE_NAME).updateOptions,createNotice:e("core/notices").createNotice}})))(E),x=n(73),S=n(17),P={SET_CES_SURVEY_QUEUE:"SET_CES_SURVEY_QUEUE",ADD_CES_SURVEY:"ADD_CES_SURVEY"};function C(e){return{type:P.SET_CES_SURVEY_QUEUE,queue:e}}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.pagenow,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.adminpage,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;return{type:P.ADD_CES_SURVEY,action:e,label:t,pageNow:n,adminPage:r,onsubmit_label:o}}function T(){return A("analytics_filtered",Object(O.__)("How easy was it to filter your store analytics?","woocommerce-admin"),"woocommerce_page_wc-admin","woocommerce_page_wc-admin")}var N=n(8),L=n.n(N),R=L.a.mark(M);function M(){var e;return L.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(S.apiFetch)({path:"".concat(x.a,"/options?options=").concat(x.b)});case 2:if(!(e=t.sent)){t.next=8;break}return t.next=6,C(e[x.b]||[]);case 6:t.next=9;break;case 8:throw new Error;case 9:case"end":return t.stop()}}),R)}function D(e){return e.queue}function I(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 V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var F={queue:[]},q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:F,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case P.SET_CES_SURVEY_QUEUE:return V(V({},e),{},{queue:t.queue});case P.ADD_CES_SURVEY:var n=e.queue.filter((function(e){return e.action===t.action}));if(n.length)return e;var r={action:t.action,label:t.label,pagenow:t.pageNow,adminpage:t.adminPage,onSubmitLabel:t.onSubmitLabel};return V(V({},e),{},{queue:[].concat(c()(e.queue),[r])});default:return e}};Object(g.registerStore)(x.c,{actions:r,selectors:i,resolvers:o,controls:S.controls,reducer:q});function U(e){var t=e.queue,n=e.resolving,r=e.clearQueue;if(n)return null;var o=t.filter((function(e){return e.pagenow===window.pagenow&&e.adminpage===window.adminpage}));return o.length&&r(),Object(p.createElement)(p.Fragment,null,o.map((function(e,t){return Object(p.createElement)(k,{key:t,action:e.action,label:e.label,onSubmitLabel:e.onsubmit_label,trackProps:e.props||{}})})))}U.propTypes={queue:m.a.arrayOf(m.a.object),resolving:m.a.bool,clearQueue:m.a.func};var B=Object(b.compose)(Object(g.withSelect)((function(e){var t=e(x.c),n=t.getCesSurveyQueue,r=t.isResolving;return{queue:n(),resolving:r("getOption",[x.b])}})),Object(g.withDispatch)((function(e){var t=e(w.OPTIONS_STORE_NAME).updateOptions;return{clearQueue:function(){t({woocommerce_clear_ces_tracks_queue_for_page:{pagenow:window.pagenow,adminpage:window.adminpage}})}}})))(U)},287:function(e,t,n){"use strict";var r=n(0),o=n(139),i=n(21),a=n(23),c=(n(309),n(19)),u=n.n(c),s=n(5),l=n.n(s),f=n(2),p=n(18),d=n(31),m=n(28),h=n(15),v=n(86),y=n(4),b=n(40),g=n(304),w=n(196),O=Object(r.createElement)(w.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(w.a,{d:"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"})),j=n(25),_=n(7),E=n.n(_),k=n(3),x=n(138),S=function(){var e=Object(j.g)("siteTitle",""),t=Object(j.g)("siteUrl",""),n=Object(x.a)(),o=Object(r.useState)(document.body.classList.contains(!1)),i=u()(o,2),a=i[0],c=i[1],s="is-wc-nav-folded",l="is-wc-nav-expanded",p=function(){document.body.classList.add(s),document.body.classList.remove(l),c(!0)},d=function(){document.body.classList.remove(s),document.body.classList.add(l),c(!1)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body.clientWidth;e<=960?p():d()};Object(r.useEffect)((function(){m();for(var e=0,t=[{eventName:"orientationchange",handler:function(e){return m(e.target.screen.availWidth)}},{eventName:"resize",handler:Object(k.debounce)((function(){return m()}),200)}];e<t.length;e++){var n=t[e],r=n.eventName,o=n.handler;window.addEventListener(r,o,!1)}Object(v.a)((function(){return m()}))}),[]);var w=Object(r.createElement)(g.a,{size:"36px",icon:O}),_=Object(h.useSelect)((function(e){var t=e("core/data").isResolving,n=(0,e("core").getEntityRecord)("root","__unstableBase",void 0)||{};return{isRequestingSiteIcon:t("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:n.siteIconUrl}})),S=_.isRequestingSiteIcon,P=_.siteIconUrl;P?w=Object(r.createElement)("img",{alt:Object(f.__)("Site Icon"),src:P}):S&&(w=null);var C=E()("woocommerce-navigation-header",{"is-scrolled":n});return Object(r.createElement)("div",{className:C},Object(r.createElement)(y.Button,{onClick:function(){document.body.classList.contains(s)?d():p()},className:"woocommerce-navigation-header__site-icon","aria-label":"Fold navigation",role:"switch","aria-checked":a?"true":"false"},w),Object(r.createElement)(y.Button,{href:t,className:"woocommerce-navigation-header__site-title",as:"span"},Object(b.decodeEntities)(e)))},P=function(e){var t=e.item,n=Object(i.useNavSlot)("woocommerce_navigation_"+t.id),o=Boolean(n.fills&&n.fills.length),a=function(e){Object(m.recordEvent)("navigation_click",{menu_item:e})};return o&&!t.isCategory?Object(r.createElement)(d.d,{key:t.id,item:t.id},Object(r.createElement)("div",{onClick:function(){return a(t.id)}},Object(r.createElement)(i.WooNavigationItem.Slot,{name:t.id}))):Object(r.createElement)(d.d,{key:t.id,item:t.id,title:t.title,href:t.url,navigateToMenu:!t.url&&t.id,onClick:function(){return a(t.id)}})};function C(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 A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=Object(p.compose)(Object(h.withSelect)((function(e){var t=e(a.NAVIGATION_STORE_NAME),n=t.getActiveItem,r=t.getMenuItems;return{activeItem:n(),menuItems:r()}})))((function(e){var t=e.menuItems;Object(r.useEffect)((function(){document.getElementById("adminmenumain").classList.add("folded")}),[]);var n=window.wcNavigation,o=n.rootBackLabel,i=n.rootBackUrl,a=t.reduce((function(e,t){return t.isCategory?A(A({},e),{},l()({},t.id,t)):e}),{woocommerce:{capability:"manage_woocommerce",id:"woocommerce",isCategory:!0,menuId:"primary",migrate:!0,order:10,parent:"",title:"WooCommerce"}}),c=Object.values(a),s=Object(r.useState)("woocommerce-home"),p=u()(s,2),h=p[0],y=p[1],b=Object(r.useState)("woocommerce"),g=u()(b,2),w=g[0],O=g[1];Object(r.useEffect)((function(){var e=Object(v.b)(t);return e&&(y(e),O(e.parent)),Object(v.a)((function(){setTimeout((function(){var e=Object(v.b)(t);e&&y(e)}),0)}))}),[t]);var j=Object(r.useMemo)((function(){return t.reduce((function(e,t){return e[t.parent]||(e[t.parent]={}),"woocommerce"!==t.parent&&a[t.parent]&&a[t.parent].menuId!==t.menuId||(e[t.parent][t.menuId]||(e[t.parent][t.menuId]=[]),e[t.parent][t.menuId].push(t)),e}),{})}),[t]),_=Object(r.useRef)(null),E=function(e){Object(m.recordEvent)("navigation_back_click",{category:e})},k="woocommerce"===w&&i;return Object(r.createElement)("div",{className:"woocommerce-navigation"},Object(r.createElement)(S,null),Object(r.createElement)("div",{className:"woocommerce-navigation__wrapper",ref:_},Object(r.createElement)(d.a,{activeItem:h?h.id:null,activeMenu:w,onActivateMenu:function(){_&&_.current&&(_.current.scrollTop=0),O.apply(void 0,arguments)}},k&&Object(r.createElement)(d.b,{className:"woocommerce-navigation__back-to-dashboard",href:i,backButtonLabel:o,onClick:function(){return E("woocommerce")}}),c.map((function(e){var t=j[e.id]||{},n=t.primary,o=t.secondary,i=t.plugins;return Object(r.createElement)(d.e,{key:e.id,title:e.title,menu:e.id,parentMenu:e.parent,backButtonLabel:e.backButtonLabel||null,onBackButtonClick:k?null:function(){return E(e.id)}},!!n&&Object(r.createElement)(d.c,null,n.map((function(e){return Object(r.createElement)(P,{key:e.id,item:e})}))),!!i&&Object(r.createElement)(d.c,{title:"woocommerce"===e.id?Object(f.__)("Extensions","woocommerce-admin"):null},i.map((function(e){return Object(r.createElement)(P,{key:e.id,item:e})}))),!!o&&Object(r.createElement)(d.c,{onBackButtonClick:function(){return E(e.id)}},o.map((function(e){return Object(r.createElement)(P,{key:e.id,item:e})}))))})))))})),N=Object(a.withNavigationHydration)(window.wcNavigation)((function(){return Object(r.createElement)(i.NavSlotFillProvider,null,Object(r.createElement)(T,null),Object(r.createElement)(o.PluginArea,null))}));t.a=N},29:function(e,t){!function(){e.exports=this.wc.date}()},296:function(e,t,n){"use strict";n.r(t),function(e){var t=n(0),r=(n(471),n(23)),o=(n(298),n(141)),i=n(286),a=n(287);n.p=e.wcAdminAssets.path;var c=document.getElementById("root"),u=document.getElementById("woocommerce-embedded-root"),s=window.wcSettings.currentUserData;if(c){var l=Object(r.withSettingsHydration)("wc_admin",window.wcSettings)(o.b);window.wcSettings.preloadSettings&&window.wcSettings.preloadSettings.general&&(l=Object(r.withSettingsHydration)("general",{general:window.wcSettings.preloadSettings.general})(l)),s&&(l=Object(r.withCurrentUserHydration)(s)(l)),Object(t.render)(Object(t.createElement)(l,null),c)}else if(u){var f=Object(r.withSettingsHydration)("wc_admin",window.wcSettings)(o.a);s&&(f=Object(r.withCurrentUserHydration)(s)(f)),Object(t.render)(Object(t.createElement)(f,null),u),u.classList.remove("is-embed-loading");var p=document.getElementById("wpbody-content"),d=p.querySelector(".wrap.woocommerce")||p.querySelector('[class="wrap"]'),m=document.createElement("div");Object(t.render)(Object(t.createElement)("div",{className:"woocommerce-layout"},Object(t.createElement)(o.c,null)),p.insertBefore(m,d))}var h,v=document.getElementById("woocommerce-embedded-navigation");v&&Object(t.render)(Object(t.createElement)(a.a,null),v),window.wcAdminFeatures&&!0===window.wcAdminFeatures["customer-effort-score-tracks"]&&(h=c||u,Object(t.render)(Object(t.createElement)(i.a,null),h.insertBefore(document.createElement("div"),null)))}.call(this,n(82))},298:function(e,t,n){},299:function(e,t,n){},3:function(e,t){!function(){e.exports=this.lodash}()},30:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},300:function(e,t,n){},301:function(e,t,n){"use strict";var r={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},i=Object.defineProperty,a=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,s=Object.getPrototypeOf,l=s&&s(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(l){var p=s(n);p&&p!==l&&e(t,p,f)}var d=a(n);c&&(d=d.concat(c(n)));for(var m=0;m<d.length;++m){var h=d[m];if(!(r[h]||o[h]||f&&f[h])){var v=u(n,h);try{i(t,h,v)}catch(e){}}}return t}return t}},302:function(e,t,n){},303:function(e,t,n){},304:function(e,t,n){"use strict";var r=n(36),o=n(55),i=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,c=void 0===n?24:n,u=Object(o.a)(e,["icon","size"]);return Object(i.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:c,height:c},u))}},305:function(e,t,n){},306:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},307:function(e,t,n){},308:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},309:function(e,t,n){},31:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return l}));var r=n(4),o=r.Navigation||r.__experimentalNavigation,i=r.NavigationBackButton||r.__experimentalNavigationBackButton,a=r.NavigationGroup||r.__experimentalNavigationGroup,c=r.NavigationMenu||r.__experimentalNavigationMenu,u=r.NavigationItem||r.__experimentalNavigationItem,s=r.Text||r.__experimentalText,l=r.useSlot||r.__experimentalUseSlot},32:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},34:function(e,t,n){var r=n(96);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},36:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},37:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},38:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},39:function(e,t,n){var r=n(37);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},4:function(e,t){!function(){e.exports=this.wp.components}()},40:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},41:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},42:function(e,t){!function(){e.exports=this.wp.hooks}()},43:function(e,t){function n(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,u,"next",e)}function u(e){n(a,o,i,c,u,"throw",e)}c(void 0)}))}}},47:function(e,t){!function(){e.exports=this.wc.components}()},471:function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"createNotice",(function(){return h})),n.d(r,"createSuccessNotice",(function(){return v})),n.d(r,"createInfoNotice",(function(){return y})),n.d(r,"createErrorNotice",(function(){return b})),n.d(r,"createWarningNotice",(function(){return g})),n.d(r,"removeNotice",(function(){return w}));var o={};n.r(o),n.d(o,"getNotices",(function(){return j}));var i=n(15),a=n(80),c=n(3),u=n(36);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}function l(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(u.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}var f=function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:l({},n,Object(u.a)({},o,i))}}}("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(c.reject)(e,{id:t.notice.id})),[t.notice]);case"REMOVE_NOTICE":return Object(c.reject)(e,{id:t.id})}return e})),p=n(8),d=n.n(p),m=d.a.mark(h);function h(){var e,t,n,r,o,i,a,u,s,l,f,p,h,v,y,b,g=arguments;return d.a.wrap((function(d){for(;;)switch(d.prev=d.next){case 0:if(e=g.length>0&&void 0!==g[0]?g[0]:"info",t=g.length>1?g[1]:void 0,n=g.length>2&&void 0!==g[2]?g[2]:{},r=n.speak,o=void 0===r||r,i=n.isDismissible,a=void 0===i||i,u=n.context,s=void 0===u?"global":u,l=n.id,f=void 0===l?Object(c.uniqueId)(s):l,p=n.actions,h=void 0===p?[]:p,v=n.type,y=void 0===v?"default":v,b=n.__unstableHTML,t=String(t),!o){d.next=8;break}return d.next=8,{type:"SPEAK",message:t,ariaLive:"snackbar"===y?"polite":"assertive"};case 8:return d.next=10,{type:"CREATE_NOTICE",context:s,notice:{id:f,status:e,content:t,__unstableHTML:b,isDismissible:a,actions:h,type:y}};case 10:case"end":return d.stop()}}),m)}function v(e,t){return h("success",e,t)}function y(e,t){return h("info",e,t)}function b(e,t){return h("error",e,t)}function g(e,t){return h("warning",e,t)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return{type:"REMOVE_NOTICE",id:e,context:t}}var O=[];function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return e[t]||O}var _=n(140),E={SPEAK:function(e){Object(_.a)(e.message,e.ariaLive||"assertive")}};Object(i.registerStore)("core/notices",{reducer:f,actions:r,selectors:o,controls:E})},479:function(e,t){!function(){e.exports=this.wc.csvExport}()},48:function(e,t){!function(){e.exports=this.ReactDOM}()},5:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},50:function(e,t,n){"use strict";var r=n(87),o=n(88),i=n(52);e.exports={formats:i,parse:o,stringify:r}},52:function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g,i="RFC1738",a="RFC3986";e.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:a}},54:function(e,t,n){"use strict";function r(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.d(t,"a",(function(){return r}))},55:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(41);function o(e,t){if(null==e)return{};var n,o,i=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},56:function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},57:function(e,t,n){var r=n(37);e.exports=function(e){if(Array.isArray(e))return r(e)}},58:function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},59: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.")}},6:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},60:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},61:function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}},62: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.")}},67:function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l={};function f(){}function p(){}function d(){}var m={};m[o]=function(){return this};var h=Object.getPrototypeOf,v=h&&h(h(E([])));v&&v!==t&&n.call(v,o)&&(m=v);var y=d.prototype=f.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,c){var u=s(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.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,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function E(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 r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:k}}function k(){return{value:void 0,done:!0}}return p.prototype=y.constructor=d,d.constructor=p,p.displayName=c(d,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,c(e,a,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(g.prototype),g.prototype[i]=function(){return this},e.AsyncIterator=g,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new g(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),c(y,a,"Generator"),y[o]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=E,_.prototype={constructor:_,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(j),!e)for(var t in this)"t"===t.charAt(0)&&n.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 r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):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),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},68:function(e,t,n){"use strict";var r=n(52),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:c,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],c=Object.keys(a),u=0;u<c.length;++u){var s=c[u],l=a[s];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:s}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var c=e;if("symbol"==typeof e?c=Symbol.prototype.toString.call(e):"string"!=typeof e&&(c=String(e)),"iso-8859-1"===n)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",s=0;s<c.length;++s){var l=c.charCodeAt(s);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)?u+=c.charAt(s):l<128?u+=a[l]:l<2048?u+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?u+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(s+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(s)),u+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return u},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)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=c(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&n&&"object"==typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)}}},69:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},7:function(e,t,n){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=n.apply(null,o);a&&e.push(a)}else if("object"===i)for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return n})):window.classNames=n}()},70:function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"c",(function(){return j})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return d}));var r=n(32);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],c=e&&o(e),u=t&&o(t),s=c||u;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var l=a[a.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,p=a.length;p>=0;p--){var d=a[p];"."===d?i(a,p):".."===d?(i(a,p),f++):f&&(i(a,p),f--)}if(!s)for(;f--;f)a.unshift("..");!s||""===a[0]||a[0]&&o(a[0])||a.unshift("");var m=a.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};function c(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var u=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=c(t),o=c(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},s=n(56);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 p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function h(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&u(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}function g(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),y||Object(s.a)(!1);var t,n=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,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,c=a.forceRefresh,u=void 0!==c&&c,h=a.getUserConfirmation,w=void 0===h?b:h,O=a.keyLength,j=void 0===O?6:O,_=e.basename?p(l(e.basename)):"";function E(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return _&&(i=f(i,_)),m(i,r,n)}function k(){return Math.random().toString(36).substr(2,j)}var x=v();function S(e){Object(r.a)(F,e),F.length=n.length,x.notifyListeners(F.location,F.action)}function P(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||T(E(e.state))}function C(){T(E(g()))}var A=!1;function T(e){if(A)A=!1,S();else{x.confirmTransitionTo(e,"POP",w,(function(t){t?S({action:"POP",location:e}):function(e){var t=F.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,M(o))}(e)}))}}var N=E(g()),L=[N.key];function R(e){return _+d(e)}function M(e){n.go(e)}var D=0;function I(e){1===(D+=e)&&1===e?(window.addEventListener("popstate",P),i&&window.addEventListener("hashchange",C)):0===D&&(window.removeEventListener("popstate",P),i&&window.removeEventListener("hashchange",C))}var V=!1;var F={length:n.length,action:"POP",location:N,createHref:R,push:function(e,t){var r=m(e,t,k(),F.location);x.confirmTransitionTo(r,"PUSH",w,(function(e){if(e){var t=R(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),u)window.location.href=t;else{var c=L.indexOf(F.location.key),s=L.slice(0,c+1);s.push(r.key),L=s,S({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=m(e,t,k(),F.location);x.confirmTransitionTo(r,"REPLACE",w,(function(e){if(e){var t=R(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),u)window.location.replace(t);else{var c=L.indexOf(F.location.key);-1!==c&&(L[c]=r.key),S({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return V||(I(1),V=!0),function(){return V&&(V=!1,I(-1)),t()}},listen:function(e){var t=x.appendListener(e);return I(1),function(){I(-1),t()}}};return F}function O(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,c=void 0===a?0:a,u=t.keyLength,s=void 0===u?6:u,l=v();function f(e){Object(r.a)(w,e),w.length=w.entries.length,l.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,s)}var h=O(c,0,i.length-1),y=i.map((function(e){return m(e,void 0,"string"==typeof e?p():e.key||p())})),b=d;function g(e){var t=O(w.index+e,0,w.entries.length-1),r=w.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:y.length,action:"POP",location:y[h],index:h,entries:y,createHref:b,push:function(e,t){var r=m(e,t,p(),w.location);l.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=m(e,t,p(),w.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return w}},72:function(e,t){!function(){e.exports=this.wp.date}()},73:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r="wc/customer-effort-score",o="/wc-admin",i="woocommerce_ces_tracks_queue"},74:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},75:function(e,t,n){"use strict";var r=n(76);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},76:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8:function(e,t,n){e.exports=n(67)},80:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(69);var o=n(93);function i(e){return function(e){if(Array.isArray(e))return Object(r.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.")}()}},82:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},86:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return s}));var r=n(19),o=n.n(r),i=n(25),a=function(e){var t=window.location,n=t.origin,r=t.pathname,o=t.search;return 0===e.indexOf("#")?n+r+o+e:0===e.indexOf("http")?e:n+e},c=function(e){var t=e.replace(/[-\/\\^$*+?.()|[\]{}]/gi,"\\$&").split(/\\\?|#/),n=o()(t,3),r=n[0],i=n[1],a=n[2],c=a?"(.*#".concat(a,"$)"):"";return"^"+r+(i?i.split("&").reduce((function(e,t){return"".concat(e,"(?=.*[?|&]").concat(t,"(&|$|#))")}),""):"")+c},u=function(e){var t,n,r;return window.wcNavigation.historyPatched||(t=window.history,n=t.pushState,r=t.replaceState,t.pushState=function(e){var r=new CustomEvent("pushstate",{state:e});return window.dispatchEvent(r),n.apply(t,arguments)},t.replaceState=function(e){var n=new CustomEvent("replacestate",{state:e});return window.dispatchEvent(n),r.apply(t,arguments)},window.wcNavigation.historyPatched=!0),window.addEventListener("popstate",e),window.addEventListener("pushstate",e),window.addEventListener("replacestate",e),function(){window.removeEventListener("popstate",e),window.removeEventListener("pushstate",e),window.removeEventListener("replacestate",e)}},s=function(e){var t=null,n=0;return e.forEach((function(e){var r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(t){var r=a(t),o=e.href;if(r===o)return Number.MAX_SAFE_INTEGER;var i=c(r),u=new RegExp(n||i,"i");return(decodeURIComponent(o).match(u)||[]).length}}(window.location,Object(i.f)(e.url),e.matchExpression);r>0&&r>=n&&(n=r,t=e)})),t||null}},87:function(e,t,n){"use strict";var r=n(68),o=n(52),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=Array.prototype.push,s=function(e,t){u.apply(e,c(t)?t:[t])},l=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},d=function e(t,n,o,i,a,u,l,f,d,m,h,v,y,b){var g,w=t;if("function"==typeof l?w=l(n,w):w instanceof Date?w=m(w):"comma"===o&&c(w)&&(w=r.maybeMap(w,(function(e){return e instanceof Date?m(e):e}))),null===w){if(i)return u&&!y?u(n,p.encoder,b,"key",h):n;w=""}if("string"==typeof(g=w)||"number"==typeof g||"boolean"==typeof g||"symbol"==typeof g||"bigint"==typeof g||r.isBuffer(w))return u?[v(y?n:u(n,p.encoder,b,"key",h))+"="+v(u(w,p.encoder,b,"value",h))]:[v(n)+"="+v(String(w))];var O,j=[];if(void 0===w)return j;if("comma"===o&&c(w))O=[{value:w.length>0?w.join(",")||null:void 0}];else if(c(l))O=l;else{var _=Object.keys(w);O=f?_.sort(f):_}for(var E=0;E<O.length;++E){var k=O[E],x="object"==typeof k&&void 0!==k.value?k.value:w[k];if(!a||null!==x){var S=c(w)?"function"==typeof o?o(n,k):n:n+(d?"."+k:"["+k+"]");s(j,e(x,S,o,i,a,u,l,f,d,m,h,v,y,b))}}return j};e.exports=function(e,t){var n,r=e,u=function(e){if(!e)return p;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||p.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 n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=p.filter;return("function"==typeof e.filter||c(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof u.filter?r=(0,u.filter)("",r):c(u.filter)&&(n=u.filter);var l,f=[];if("object"!=typeof r||null===r)return"";l=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var m=a[l];n||(n=Object.keys(r)),u.sort&&n.sort(u.sort);for(var h=0;h<n.length;++h){var v=n[h];u.skipNulls&&null===r[v]||s(f,d(r[v],v,m,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset))}var y=f.join(u.delimiter),b=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),y.length>0?b+y:""}},88:function(e,t,n){"use strict";var r=n(68),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},s=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(i),s=c?i.slice(0,c.index):i,l=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;l.push(s)}for(var f=0;n.depth>0&&null!==(c=a.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(c[1])}return c&&l.push("["+i.slice(c.index)+"]"),function(e,t,n,r){for(var o=r?t:u(t,n),i=e.length-1;i>=0;--i){var a,c=e[i];if("[]"===c&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var s="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,l=parseInt(s,10);n.parseArrays||""!==s?!isNaN(l)&&c!==s&&String(l)===s&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:a[s]=o:a={0:o}}o=a}return o}(l,t,n,r)}};e.exports=function(e,t){var n=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||r.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 n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,s={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=l.split(t.delimiter,f),d=-1,m=t.charset;if(t.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[n]?m="utf-8":"utf8=%26%2310003%3B"===p[n]&&(m="iso-8859-1"),d=n,n=p.length);for(n=0;n<p.length;++n)if(n!==d){var h,v,y=p[n],b=y.indexOf("]="),g=-1===b?y.indexOf("="):b+1;-1===g?(h=t.decoder(y,a.decoder,m,"key"),v=t.strictNullHandling?null:""):(h=t.decoder(y.slice(0,g),a.decoder,m,"key"),v=r.maybeMap(u(y.slice(g+1),t),(function(e){return t.decoder(e,a.decoder,m,"value")}))),v&&t.interpretNumericEntities&&"iso-8859-1"===m&&(v=c(v)),y.indexOf("[]=")>-1&&(v=i(v)?[v]:v),o.call(s,h)?s[h]=r.combine(s[h],v):s[h]=v}return s}(e,n):e,f=n.plainObjects?Object.create(null):{},p=Object.keys(l),d=0;d<p.length;++d){var m=p[d],h=s(m,l[m],n,"string"==typeof e);f=r.merge(f,h,n)}return r.compact(f)}},9: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}},93:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(69);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},94:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return m}));var r=n(20),o=n.n(r),i=n(40),a=n(3),c=n(25);function u(e){return e?e.split(":")[0]:null}function s(e){var t=u(e);return Object(a.without)(Object(c.g)("onboarding",{euCountries:[]}).euCountries,"GB").includes(t)&&(t="EU"),t}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=p(e,t,n),o=r.map((function(e){return e.id||e.product}));return o}function f(e,t){var n={};n.products=p(e,!0,t),n.remainingProducts=p(e,!1,t);var r=o()(new Set([].concat(o()(n.products),o()(n.remainingProducts))));return n.uniqueItemsList=r.map((function(e){return e.label?{type:"extension",name:e.label}:{type:"theme",name:e.title}})),n}function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=Object(c.g)("onboarding",{}),o=[];if(!r.productTypes)return o;var i=e.product_types||[];i.forEach((function(e){r.productTypes[e]&&r.productTypes[e].product&&(t||!n.includes(r.productTypes[e].slug))&&o.push(r.productTypes[e])}));var a=r.themes.find((function(t){return t.slug===e.theme}));return a&&a.id&&d(a.price)>0&&(t||!a.is_installed)&&o.push(a),o}function d(e){return Number(Object(i.decodeEntities)(e).replace(/[^0-9.-]+/g,""))}function m(e){return/admin.php\?page=wc-admin/.test(e)}},96:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}}});
|
dist/app/style.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.woocommerce-page .wrap{margin:0}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{padding:0;overflow-x:hidden!important;min-height:calc(100vh - 32px)}@media (min-width:783px){.woocommerce-page #wpbody-content{padding-left:0}}@media (max-width:782px){.woocommerce-page .wp-responsive-open #woocommerce-embedded-root,.woocommerce-page .wp-responsive-open #wpbody{position:relative;right:-14.5em}.woocommerce-page #wpbody-content,.woocommerce-page #wpcontent{min-height:calc(100vh - 46px)}}@media (min-width:961px){.woocommerce-page #toplevel_page_wcadmin--analytics.menu-top>a:focus,.woocommerce-page #toplevel_page_woocommerce.menu-top>a:focus{padding-bottom:1px}}.woocommerce-layout *{box-sizing:border-box}#wpfooter{display:none}.woocommerce_page_wc-admin .wp-responsive-open .woocommerce-layout__header{margin-left:2px}.woocommerce_page_wc-admin .woocommerce-filters-date__content:not(.is-mobile){z-index:2}@media (max-width:600px){#wpadminbar{position:fixed}}@media (max-width:782px){.jetpack-masterbar #wpadminbar #wp-admin-bar-menu-toggle{margin-top:-10px}.jetpack-masterbar #wpwrap .woocommerce-layout__header-heading{padding-left:60px}.jetpack-masterbar.wp-admin .wrap h1,.jetpack-masterbar.wp-admin .wrap h2{padding-left:0}}.woocommerce-page .wp-has-current-submenu:after{right:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-right-color:#f1f1f1;top:0;margin-top:10px}@media (max-width:960px){.woocommerce-page .wp-has-current-submenu:after{border-width:4px;margin-top:14px}}:root{--large-gap:40px;--main-gap:24px}@media (max-width:960px){:root{--large-gap:24px}}@media (max-width:782px){:root{--large-gap:16px;--main-gap:16px}}@keyframes loading-fade{0%{opacity:.7}50%{opacity:1}to{opacity:.7}}.woocommerce-layout select:hover{color:#1e1e1e}.woocommerce-layout select.components-select-control__input{max-width:100%;line-height:1}body.woocommerce-page .components-button.is-primary:not(:disabled),body.woocommerce-page .components-snackbar .components-button.is-tertiary,body.woocommerce-page .components-snackbar .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#fff}.woocommerce-embed-page #wpbody .woocommerce-layout,.woocommerce-embed-page .woocommerce-layout__notice-list-hide+.wrap{padding-top:70px}.woocommerce-embed-page #wpbody-content,.woocommerce-embed-page #wpcontent{overflow-x:initial!important}.woocommerce-embed-page #wpbody-content{padding-top:0}.woocommerce-embed-page #wpbody-content .notice{margin-top:15px}.woocommerce-embed-page .wrap{padding:0 20px}@media (max-width:782px){.woocommerce-embed-page .wrap p.search-box{width:calc(100% - 40px)}}.woocommerce-embed-page .wrap .wrap{padding:0}.woocommerce-embed-page #woocommerce-embedded-root.is-embed-loading+#wpbody .wrap{padding-top:100px}@media (max-width:782px){.woocommerce-embed-page #woocommerce-embedded-root.is-embed-loading+#wpbody .wrap{padding-top:30px}}.woocommerce-embed-page #screen-meta,.woocommerce-embed-page #screen-meta-links{top:60px}.woocommerce-embed-page #screen-meta{border-right:0;margin:0}.woocommerce-embed-page #screen-meta-links{position:relative}.woocommerce-embed-page .notice{padding:1px 12px}.woocommerce-embed-page .woocommerce-layout__header{height:60px}.woocommerce-embed-page .woocommerce-layout__header.is-scrolled{box-shadow:0 8px 16px 0 rgba(85,93,102,.3)}.woocommerce-embed-page .woocommerce-layout__header .woocommerce-layout__header-heading{margin-top:0;margin-bottom:0}.woocommerce-embed-page #screen-meta-links.is-hidden-by-notices,.woocommerce-embed-page #screen-meta.is-hidden-by-notices{display:none!important}.woocommerce-embed-page .woocommerce-layout__primary{margin:0}@media (max-width:782px){.woocommerce-embed-page .woocommerce-layout__primary{padding-top:10px}}@keyframes isLoaded{0%{opacity:0}to{opacity:1}}.woocommerce-embed-page .woocommerce-layout__activity-panel-tabs{animation:isLoaded;animation-duration:2s}.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:10px;margin-bottom:16px}@media (max-width:600px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:80px;margin-bottom:-16px}}@media (min-width:601px) and (max-width:782px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:32px}}@media (min-width:783px){.woocommerce-embed-page .woocommerce-layout__activity-panel-mobile-toggle{display:none}}.woocommerce-embed-page .woocommerce-activity-card__actions a.components-button:not(.is-primary){color:#757575}.woocommerce-layout{margin:0;padding:0}.woocommerce-layout__primary{margin:80px 0 0 40px;margin:80px 0 0 var(--large-gap)}@media (min-width:961px){.woocommerce-layout__primary{margin-top:100px}}@media (max-width:782px){.woocommerce-layout__primary{margin-top:60px}}.woocommerce-layout .woocommerce-layout__main{padding-right:40px;padding-right:var(--large-gap);max-width:100%}.woocommerce-admin-is-loading #adminmenumain,.woocommerce-admin-is-loading #wpadminbar,.woocommerce-admin-is-loading #wpbody-content,.woocommerce-admin-is-loading #wpcontent,.woocommerce-admin-is-loading #wpfooter,.woocommerce-admin-is-loading .components-modal__screen-overlay,.woocommerce-admin-is-loading .error,.woocommerce-admin-is-loading .notice,.woocommerce-admin-is-loading .update-nag,.woocommerce-admin-is-loading .updated,.woocommerce-admin-is-loading .woocommerce-layout__header,.woocommerce-admin-is-loading .woocommerce-message,.woocommerce-admin-is-loading .woocommerce-store-alerts,.woocommerce-page .update-nag{display:none}.woocommerce-admin-full-screen{background:#f6f7f7;color:#50575e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-top:-32px}.woocommerce-admin-full-screen #wpwrap{top:0}.woocommerce-admin-full-screen #wpbody-content{min-height:100vh}.woocommerce-admin-full-screen #adminmenumain,.woocommerce-admin-full-screen #wpcontent>*,.woocommerce-admin-full-screen .error,.woocommerce-admin-full-screen .notice,.woocommerce-admin-full-screen .update-nag,.woocommerce-admin-full-screen .updated,.woocommerce-admin-full-screen .woocommerce-layout__header,.woocommerce-admin-full-screen .woocommerce-message,.woocommerce-admin-full-screen .woocommerce-store-alerts{display:none}.woocommerce-admin-full-screen #wpcontent{margin-left:0!important}.woocommerce-admin-full-screen #wpcontent>#wpbody{display:block}.woocommerce-onboarding .muriel-component{margin-top:16px;margin-bottom:16px}.woocommerce-onboarding .components-base-control.has-error{margin-bottom:32px!important;border-color:#d63638}@media (max-width:782px){.woocommerce-onboarding .components-base-control.has-error{margin-bottom:44px!important}}.woocommerce-onboarding .components-base-control.has-error .components-base-control__help{top:100%;left:12px;position:absolute;margin-top:4px;font-size:12px;font-style:normal;color:#d63638}.woocommerce-onboarding .components-form-toggle{display:inline-block}.woocommerce-onboarding .components-form-toggle label{font-size:14px}.woocommerce-onboarding .components-form-toggle .components-base-control{display:inline-block}.woocommerce-onboarding .components-form-toggle .components-base-control__field{margin-bottom:0}.woocommerce-page .components-modal__frame .components-button.is-button,.woocommerce-profile-wizard__body .components-button.is-button,.woocommerce-task-dashboard__container .components-button.is-button{height:48px;padding-left:25px;padding-right:25px;text-align:center;font-size:14px;line-height:36px;font-weight:500;align-items:center}.woocommerce-page .components-modal__frame .components-button.is-button:disabled,.woocommerce-profile-wizard__body .components-button.is-button:disabled,.woocommerce-task-dashboard__container .components-button.is-button:disabled{cursor:not-allowed}.components-modal__frame.woocommerce-usage-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-usage-modal .components-modal__header{border-bottom:0;margin-bottom:0}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper{flex-grow:1;display:flex;flex-direction:column}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper a{color:#50575e}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper button.is-primary{align-self:flex-end}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions button{margin-left:16px}.woocommerce-payments__usage-modal .components-modal__header{height:auto;padding:24px 24px 0}.woocommerce-payments__usage-modal .components-modal__header .components-modal__header-heading{font-size:24px;line-height:32px;margin:0 0 24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-modal-message{padding:16px 0;font-size:16px;line-height:24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer{display:flex;justify-content:flex-end;padding:16px 0}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer button{margin-left:16px}.components-modal__frame.woocommerce-cart-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-cart-modal .components-modal__header{border-bottom:0;margin-bottom:16px;margin-top:16px}.components-modal__frame.woocommerce-cart-modal .components-modal__header button{display:none}.components-modal__frame.woocommerce-cart-modal .components-modal__header-heading{font-style:normal;font-weight:400;font-size:24px;line-height:32px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list{margin-top:4px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list .woocommerce-list__item:first-child{border-top:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-list__item{border-bottom:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__help-text{font-size:16px;line-height:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions{text-align:right}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-link{margin-right:16px;text-decoration:none;font-weight:600;font-size:14px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-primary{align-self:flex-end}.woocommerce-layout__header{background:#fff;box-sizing:border-box;padding:0;min-height:60px;position:fixed;width:100%;top:32px;z-index:1001}.woocommerce-layout__header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}@media (max-width:782px){.woocommerce-layout__header{flex-flow:row wrap;top:46px}}.woocommerce-layout__header .woocommerce-layout__header-breadcrumbs-wrapper{display:flex;justify-content:space-between;flex-direction:row}.woocommerce-layout__header .woocommerce-layout__header-heading{display:flex;align-items:center;padding:0 0 0 40px;padding:0 0 0 var(--large-gap);flex:1 auto;height:60px;line-height:60px;background:#fff;font-weight:600;font-size:14px;text-transform:capitalize}.has-woocommerce-navigation .woocommerce-layout__header{top:0}.woocommerce-page #contextual-help-link-wrap,.woocommerce-page #screen-options-link-wrap{margin-top:-1px}.woocommerce-layout__activity-panel{display:flex;flex-direction:row;align-items:center;position:fixed;right:0;top:32px;height:60px}@media (max-width:782px){.woocommerce-layout__activity-panel{position:relative;background:#fff;margin:0;padding:0;width:100vw;display:none;flex:1 100%}}@media (min-width:783px) and (max-width:960px){.woocommerce-layout__activity-panel{max-width:280px}}@media (min-width:1281px){.woocommerce-layout__activity-panel{max-width:400px}}.woocommerce-layout__activity-panel.is-mobile-open{display:flex}.woocommerce-layout__activity-panel-tabs{width:100%;display:flex;height:60px;justify-content:flex-end}.woocommerce-layout__activity-panel-tabs .dashicon,.woocommerce-layout__activity-panel-tabs .gridicon{width:100%}.woocommerce-layout__activity-panel-tabs svg{width:24px;height:24px}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon{fill:none}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon path,.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon rect{stroke:currentColor}.woocommerce-layout__activity-panel-tabs svg.setup-progress path:first-child{stroke:"#DCDCDE"}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-display-options svg.woocommerce-layout__activity-panel-tab-icon{height:14px}.woocommerce-layout__activity-panel-tabs .components-icon-button{display:initial;text-indent:0;border-radius:0}.woocommerce-layout__activity-panel-tabs .components-icon-button.has-text svg{margin:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;border:none;outline:none;cursor:pointer;background-color:#fff;max-width:-webkit-min-content;max-width:min-content;min-width:80px;width:100%;height:60px;color:#757575;white-space:nowrap}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:before{background-color:#007cba;background-color:var(--wp-admin-theme-color);bottom:0;content:"";height:0;opacity:0;transition-property:height,opacity;transition-duration:.3s;transition-timing-function:ease-in-out;left:0;position:absolute;right:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened{color:#1e1e1e;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active:before,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened:before{height:3px;opacity:1}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{content:" ";position:absolute;padding:1px;background:#d94f4f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:8px;left:50%}@media (min-width:783px) and (max-width:960px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{right:18px;left:auto;margin-left:0}}@media (min-width:961px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{right:28px;left:auto;margin-left:0}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover{background-color:#f0f0f0;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after{border-color:#e0e0e0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:focus{box-shadow:inset -1px -1px 0 #757575,inset 1px 1px 0 #757575}@media (max-width:782px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.display-options{display:none}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover{margin-top:0;z-index:1001}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover .components-menu-group{padding:12px}.woocommerce-layout__activity-panel-mobile-toggle{margin-right:10px;max-width:48px;height:60px;position:absolute;right:0;bottom:0}@media (min-width:783px){.woocommerce-layout__activity-panel-mobile-toggle{display:none}}.wp-responsive-open .woocommerce-layout__activity-panel-mobile-toggle{display:none}.woocommerce-layout__activity-panel-toggle-bubble.has-unread:after{content:" ";position:absolute;padding:1px;background:#ca4a1f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:6px;right:4px}@keyframes tabSwitch{0%,to{transform:translateX(0)}50%{transform:translateX(100px)}}.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 166px);background:#f0f0f0;width:510px;transform:translateX(100%);transition-property:transform box-shadow;transition-duration:.3s;transition-timing-function:ease-in-out;position:fixed;right:0;top:166px;z-index:1000;overflow-x:hidden;overflow-y:auto}@media (max-width:782px){.woocommerce-layout__activity-panel-wrapper{width:100%}}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper{transition-duration:1ms}}@media (min-width:783px){.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 92px);top:92px}}.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 120px);top:120px}@media (min-width:783px){.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 60px);top:60px}}.woocommerce-layout__activity-panel-wrapper.is-open{transform:none;box-shadow:0 12px 12px 0 rgba(85,93,102,.3)}.woocommerce-layout__activity-panel-wrapper.is-switching{animation:tabSwitch;animation-duration:.3s}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper.is-switching{animation:none}}.woocommerce-layout__activity-panel-wrapper .woocommerce-empty-content{padding-left:24px;padding-right:24px}.woocommerce-layout__activity-panel-avatar-flag-overlay{position:relative;top:-12px}.woocommerce-layout__activity-panel-avatar-flag-overlay .woocommerce-flag{position:relative;top:16px;border:2px solid #fff}.woocommerce-layout__notice-list-hide{display:none}.has-woocommerce-navigation .woocommerce-layout__activity-panel{top:0}.highlight-tooltip__container{position:absolute;width:0;height:0}.highlight-tooltip__container.highlight-tooltip__show{top:0;left:0;width:100%;height:100%}.highlight-tooltip__portal{width:100%;height:100%;position:relative}.highlight-tooltip__portal .highlight-tooltip__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.highlight-tooltip__portal .highlight-tooltip__overlay{animation-duration:1ms}}.highlight-tooltip__popover .components-card{min-width:360px}.highlight-tooltip__popover .components-card__header{font-size:16px;font-size:1rem;font-weight:600;height:60px}.highlight-tooltip__popover .components-card__footer{justify-content:flex-end}.woocommerce-layout__show-app-banner{padding-top:56px}@media (min-width:783px){.woocommerce-layout__show-app-banner{padding-top:0}}.woocommerce-mobile-app-banner{background-color:#3c2861;width:100%;display:flex;height:56px;align-items:center;padding:0 6px 0 4px}@media (min-width:401px){.woocommerce-mobile-app-banner{padding:0 13px 0 10px}}@media (min-width:783px){.woocommerce-mobile-app-banner{display:none}}.woocommerce-mobile-app-banner .dashicon{fill:#fff;margin-right:10px}.woocommerce-mobile-app-banner .components-button.is-secondary{margin-left:auto;color:#fff;box-shadow:inset 0 0 0 1px #fff}.woocommerce-mobile-app-banner .components-button.is-secondary:active,.woocommerce-mobile-app-banner .components-button.is-secondary:hover{color:#fff;box-shadow:inset 0 0 0 1px #fff;background:none}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{color:#fff;margin-left:8px}@media (min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{margin-left:13px}}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin:0;font-size:10px}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text:first-child{font-weight:700}@media (min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin-left:13px;font-size:13px}}.woocommerce-transient-notices{position:fixed;bottom:12px;left:176px;z-index:99999}@media (max-width:960px){.woocommerce-transient-notices{left:50px}}@media (max-width:782px){.woocommerce-transient-notices{left:16px}}.woocommerce-profile-wizard__body .woocommerce-transient-notices{left:unset}.woocommerce-profile-wizard__body .woocommerce-transient-notices .components-snackbar{margin-left:auto;margin-right:auto}.components-snackbar.components-snackbar-explicit-dismiss{cursor:default}.components-snackbar .components-snackbar__content-with-icon{margin-left:32px}.components-snackbar .components-snackbar__icon{position:absolute;top:24px;left:26px}.components-snackbar .components-snackbar__dismiss-button{margin-left:32px;cursor:pointer}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-navigation h2{color:inherit}.woocommerce-navigation .components-navigation__menu{display:flex;flex-direction:column;height:100%}.woocommerce-navigation .components-navigation__group+.components-navigation__group{margin-top:24px}.woocommerce-navigation .components-navigation__item{margin-bottom:0}.woocommerce-navigation .woocommerce-navigation__back-to-dashboard{margin-top:24px}.woocommerce-navigation-header{display:flex;align-items:center;border:none;border-radius:0;height:auto}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button{padding:12px;height:60px;color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:hover,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:not([aria-disabled=true]):active{color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button{padding-left:0;color:#ccc;font-weight:600}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:active,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:hover{color:#e0e0e0}.has-woocommerce-navigation{margin-top:-32px}.has-woocommerce-navigation #adminmenuback,.has-woocommerce-navigation #adminmenuwrap,.has-woocommerce-navigation #wpadminbar{display:none!important}.has-woocommerce-navigation.woocommerce_page_wc-settings .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-status .woo-nav-tab-wrapper{display:none}.has-woocommerce-navigation.woocommerce_page_wc-settings .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-status .woocommerce .subsubsub{font-size:14px;margin:5px 0}.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-left:240px}@media (max-width:960px){.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-left:0}}.has-woocommerce-navigation #woocommerce-embedded-navigation{position:fixed;top:0;left:0;width:240px;height:100%;box-sizing:border-box;background-color:#1e1e1e;z-index:1100}@media (max-width:960px){.has-woocommerce-navigation #woocommerce-embedded-navigation{width:60px;height:60px}}.has-woocommerce-navigation .woocommerce-navigation__wrapper{overflow-y:auto;height:calc(100vh - 60px)}.has-woocommerce-navigation .components-navigation{box-sizing:border-box}.has-woocommerce-navigation.is-wc-nav-expanded #woocommerce-embedded-navigation{width:240px;height:100%}.has-woocommerce-navigation.is-wc-nav-folded #wpcontent,.has-woocommerce-navigation.is-wc-nav-folded #wpfooter{margin-left:0}.has-woocommerce-navigation.is-wc-nav-folded .woocommerce-layout__header{margin-left:60px}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation{width:60px;height:60px}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header>*{display:none}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header__site-icon{display:block}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .components-navigation{display:none}.has-woocommerce-navigation.is-wc-nav-folded .woocommerce-transient-notices{left:16px}.has-woocommerce-navigation .woocommerce-transient-notices{left:256px}@media (max-width:782px){.has-woocommerce-navigation .woocommerce-transient-notices{left:16px}}
|
1 |
+
.woocommerce-page .wrap{margin:0}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{padding:0;overflow-x:hidden!important;min-height:calc(100vh - 32px)}@media (min-width:783px){.woocommerce-page #wpbody-content{padding-left:0}}@media (max-width:782px){.woocommerce-page .wp-responsive-open #woocommerce-embedded-root,.woocommerce-page .wp-responsive-open #wpbody{position:relative;right:-14.5em}.woocommerce-page #wpbody-content,.woocommerce-page #wpcontent{min-height:calc(100vh - 46px)}}@media (min-width:961px){.woocommerce-page #toplevel_page_wcadmin--analytics.menu-top>a:focus,.woocommerce-page #toplevel_page_woocommerce.menu-top>a:focus{padding-bottom:1px}}.woocommerce-layout *{box-sizing:border-box}#wpfooter{display:none}.woocommerce_page_wc-admin .wp-responsive-open .woocommerce-layout__header{margin-left:2px}.woocommerce_page_wc-admin .woocommerce-filters-date__content:not(.is-mobile){z-index:2}@media (max-width:600px){#wpadminbar{position:fixed}}@media (max-width:782px){.jetpack-masterbar #wpadminbar #wp-admin-bar-menu-toggle{margin-top:-10px}.jetpack-masterbar #wpwrap .woocommerce-layout__header-heading{padding-left:60px}.jetpack-masterbar.wp-admin .wrap h1,.jetpack-masterbar.wp-admin .wrap h2{padding-left:0}}.woocommerce-page .wp-has-current-submenu:after{right:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-right-color:#f1f1f1;top:0;margin-top:10px}@media (max-width:960px){.woocommerce-page .wp-has-current-submenu:after{border-width:4px;margin-top:14px}}:root{--large-gap:40px;--main-gap:24px}@media (max-width:960px){:root{--large-gap:24px}}@media (max-width:782px){:root{--large-gap:16px;--main-gap:16px}}@keyframes loading-fade{0%{opacity:.7}50%{opacity:1}to{opacity:.7}}.woocommerce-layout select:hover{color:#1e1e1e}.woocommerce-layout select.components-select-control__input{max-width:100%;line-height:1}body.woocommerce-page .components-button.is-primary:not(:disabled),body.woocommerce-page .components-snackbar .components-button.is-tertiary,body.woocommerce-page .components-snackbar .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#fff}.woocommerce-embed-page #wpbody .woocommerce-layout,.woocommerce-embed-page .woocommerce-layout__notice-list-hide+.wrap{padding-top:70px}.woocommerce-embed-page #wpbody-content,.woocommerce-embed-page #wpcontent{overflow-x:initial!important}.woocommerce-embed-page #wpbody-content{padding-top:0}.woocommerce-embed-page #wpbody-content .notice{margin-top:15px}.woocommerce-embed-page .wrap{padding:0 20px}@media (max-width:782px){.woocommerce-embed-page .wrap p.search-box{width:calc(100% - 40px)}}.woocommerce-embed-page .wrap .wrap{padding:0}.woocommerce-embed-page #woocommerce-embedded-root.is-embed-loading+#wpbody .wrap{padding-top:100px}@media (max-width:782px){.woocommerce-embed-page #woocommerce-embedded-root.is-embed-loading+#wpbody .wrap{padding-top:30px}}.woocommerce-embed-page #screen-meta,.woocommerce-embed-page #screen-meta-links{top:60px}.woocommerce-embed-page #screen-meta{border-right:0;margin:0}.woocommerce-embed-page #screen-meta-links{position:relative}.woocommerce-embed-page .notice{padding:1px 12px}.woocommerce-embed-page .woocommerce-layout__header.is-scrolled{box-shadow:0 8px 16px 0 rgba(85,93,102,.3)}.woocommerce-embed-page .woocommerce-layout__header .woocommerce-layout__header-heading{margin-top:0;margin-bottom:0}.woocommerce-embed-page #screen-meta-links.is-hidden-by-notices,.woocommerce-embed-page #screen-meta.is-hidden-by-notices{display:none!important}.woocommerce-embed-page .woocommerce-layout__primary{margin:0}@media (max-width:782px){.woocommerce-embed-page .woocommerce-layout__primary{padding-top:10px}}@keyframes isLoaded{0%{opacity:0}to{opacity:1}}.woocommerce-embed-page .woocommerce-layout__activity-panel-tabs{animation:isLoaded;animation-duration:2s}.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:10px;margin-bottom:16px}@media (max-width:600px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:80px;margin-bottom:-16px}}@media (min-width:601px) and (max-width:782px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:32px}}@media (min-width:783px){.woocommerce-embed-page .woocommerce-layout__activity-panel-mobile-toggle{display:none}}.woocommerce-embed-page .woocommerce-activity-card__actions a.components-button:not(.is-primary){color:#757575}.woocommerce-layout{margin:0;padding:0}.woocommerce-layout__primary{margin:80px 0 0 40px;margin:80px 0 0 var(--large-gap)}@media (min-width:961px){.woocommerce-layout__primary{margin-top:100px}}@media (max-width:782px){.woocommerce-layout__primary{margin-top:60px}}.woocommerce-layout .woocommerce-layout__main{padding-right:40px;padding-right:var(--large-gap);max-width:100%}.woocommerce-admin-is-loading #adminmenumain,.woocommerce-admin-is-loading #wpadminbar,.woocommerce-admin-is-loading #wpbody-content,.woocommerce-admin-is-loading #wpcontent,.woocommerce-admin-is-loading #wpfooter,.woocommerce-admin-is-loading .components-modal__screen-overlay,.woocommerce-admin-is-loading .error,.woocommerce-admin-is-loading .notice,.woocommerce-admin-is-loading .update-nag,.woocommerce-admin-is-loading .updated,.woocommerce-admin-is-loading .woocommerce-layout__header,.woocommerce-admin-is-loading .woocommerce-message,.woocommerce-admin-is-loading .woocommerce-store-alerts,.woocommerce-page .update-nag{display:none}.woocommerce-admin-full-screen{background:#f6f7f7;color:#50575e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-top:-32px}.woocommerce-admin-full-screen #wpwrap{top:0}.woocommerce-admin-full-screen #wpbody-content{min-height:100vh}.woocommerce-admin-full-screen #adminmenumain,.woocommerce-admin-full-screen #wpcontent>*,.woocommerce-admin-full-screen .error,.woocommerce-admin-full-screen .notice,.woocommerce-admin-full-screen .update-nag,.woocommerce-admin-full-screen .updated,.woocommerce-admin-full-screen .woocommerce-layout__header,.woocommerce-admin-full-screen .woocommerce-message,.woocommerce-admin-full-screen .woocommerce-store-alerts{display:none}.woocommerce-admin-full-screen #wpcontent{margin-left:0!important}.woocommerce-admin-full-screen #wpcontent>#wpbody{display:block}.woocommerce-onboarding .muriel-component{margin-top:16px;margin-bottom:16px}.woocommerce-onboarding .components-base-control.has-error{margin-bottom:32px!important;border-color:#d63638}@media (max-width:782px){.woocommerce-onboarding .components-base-control.has-error{margin-bottom:44px!important}}.woocommerce-onboarding .components-base-control.has-error .components-base-control__help{top:100%;left:12px;position:absolute;margin-top:4px;font-size:12px;font-style:normal;color:#d63638}.woocommerce-onboarding .components-form-toggle{display:inline-block}.woocommerce-onboarding .components-form-toggle label{font-size:14px}.woocommerce-onboarding .components-form-toggle .components-base-control{display:inline-block}.woocommerce-onboarding .components-form-toggle .components-base-control__field{margin-bottom:0}.woocommerce-page .components-modal__frame .components-button.is-button,.woocommerce-profile-wizard__body .components-button.is-button,.woocommerce-task-dashboard__container .components-button.is-button{height:48px;padding-left:25px;padding-right:25px;text-align:center;font-size:14px;line-height:36px;font-weight:500;align-items:center}.woocommerce-page .components-modal__frame .components-button.is-button:disabled,.woocommerce-profile-wizard__body .components-button.is-button:disabled,.woocommerce-task-dashboard__container .components-button.is-button:disabled{cursor:not-allowed}.components-modal__frame.woocommerce-usage-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-usage-modal .components-modal__header{border-bottom:0;margin-bottom:0}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper{flex-grow:1;display:flex;flex-direction:column}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper a{color:#50575e}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper button.is-primary{align-self:flex-end}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions button{margin-left:16px}.woocommerce-payments__usage-modal .components-modal__header{height:auto;padding:24px 24px 0}.woocommerce-payments__usage-modal .components-modal__header .components-modal__header-heading{font-size:24px;line-height:32px;margin:0 0 24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-modal-message{padding:16px 0;font-size:16px;line-height:24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer{display:flex;justify-content:flex-end;padding:16px 0}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer button{margin-left:16px}.components-modal__frame.woocommerce-cart-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-cart-modal .components-modal__header{border-bottom:0;margin-bottom:16px;margin-top:16px}.components-modal__frame.woocommerce-cart-modal .components-modal__header button{display:none}.components-modal__frame.woocommerce-cart-modal .components-modal__header-heading{font-style:normal;font-weight:400;font-size:24px;line-height:32px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list{margin-top:4px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list .woocommerce-list__item:first-child{border-top:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-list__item{border-bottom:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__help-text{font-size:16px;line-height:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions{text-align:right}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-link{margin-right:16px;text-decoration:none;font-weight:600;font-size:14px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-primary{align-self:flex-end}.woocommerce-layout__header{background:#fff;box-sizing:border-box;padding:0;min-height:60px;position:fixed;width:100%;top:32px;z-index:1001}.woocommerce-layout__header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}@media (max-width:782px){.woocommerce-layout__header{flex-flow:row wrap;top:46px}}.woocommerce-layout__header .woocommerce-layout__header-breadcrumbs-wrapper{display:flex;justify-content:space-between;flex-direction:row}.woocommerce-layout__header .woocommerce-layout__header-heading{display:flex;align-items:center;padding:0 0 0 40px;padding:0 0 0 var(--large-gap);flex:1 auto;height:60px;line-height:60px;background:#fff;font-weight:600;font-size:14px;text-transform:capitalize}.has-woocommerce-navigation .woocommerce-layout__header{top:0}.woocommerce-page #contextual-help-link-wrap,.woocommerce-page #screen-options-link-wrap{margin-top:-1px}.woocommerce-layout__activity-panel{display:flex;flex-direction:row;align-items:center;position:fixed;right:0;top:32px;height:60px}@media (max-width:782px){.woocommerce-layout__activity-panel{position:relative;background:#fff;margin:0;padding:0;width:100vw;display:none;flex:1 100%}}@media (min-width:783px) and (max-width:960px){.woocommerce-layout__activity-panel{max-width:280px}}@media (min-width:1281px){.woocommerce-layout__activity-panel{max-width:400px}}.woocommerce-layout__activity-panel.is-mobile-open{display:flex}.woocommerce-layout__activity-panel-tabs{width:100%;display:flex;height:60px;justify-content:flex-end}.woocommerce-layout__activity-panel-tabs .dashicon,.woocommerce-layout__activity-panel-tabs .gridicon{width:100%}.woocommerce-layout__activity-panel-tabs svg{width:24px;height:24px}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon{fill:none}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon path,.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon rect{stroke:currentColor}.woocommerce-layout__activity-panel-tabs svg.setup-progress path:first-child{stroke:"#DCDCDE"}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-display-options svg.woocommerce-layout__activity-panel-tab-icon{height:14px}.woocommerce-layout__activity-panel-tabs .components-icon-button{display:initial;text-indent:0;border-radius:0}.woocommerce-layout__activity-panel-tabs .components-icon-button.has-text svg{margin:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;border:none;outline:none;cursor:pointer;background-color:#fff;max-width:-webkit-min-content;max-width:min-content;min-width:80px;width:100%;height:60px;color:#757575;white-space:nowrap}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:before{background-color:#007cba;background-color:var(--wp-admin-theme-color);bottom:0;content:"";height:0;opacity:0;transition-property:height,opacity;transition-duration:.3s;transition-timing-function:ease-in-out;left:0;position:absolute;right:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened{color:#1e1e1e;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active:before,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened:before{height:3px;opacity:1}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{content:" ";position:absolute;padding:1px;background:#d94f4f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:8px;left:50%}@media (min-width:783px) and (max-width:960px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{right:18px;left:auto;margin-left:0}}@media (min-width:961px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{right:28px;left:auto;margin-left:0}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover{background-color:#f0f0f0;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after{border-color:#e0e0e0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:focus{box-shadow:inset -1px -1px 0 #757575,inset 1px 1px 0 #757575}@media (max-width:782px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.display-options{display:none}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover{margin-top:0;z-index:1001}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover .components-menu-group{padding:12px}.woocommerce-layout__activity-panel-mobile-toggle{margin-right:10px;max-width:48px;height:60px;position:absolute;right:0;bottom:0}@media (min-width:783px){.woocommerce-layout__activity-panel-mobile-toggle{display:none}}.wp-responsive-open .woocommerce-layout__activity-panel-mobile-toggle{display:none}.woocommerce-layout__activity-panel-toggle-bubble.has-unread:after{content:" ";position:absolute;padding:1px;background:#ca4a1f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:6px;right:4px}@keyframes tabSwitch{0%,to{transform:translateX(0)}50%{transform:translateX(100px)}}.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 166px);background:#f0f0f0;width:510px;transform:translateX(100%);transition-property:transform box-shadow;transition-duration:.3s;transition-timing-function:ease-in-out;position:fixed;right:0;top:166px;z-index:1000;overflow-x:hidden;overflow-y:auto}@media (max-width:782px){.woocommerce-layout__activity-panel-wrapper{width:100%}}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper{transition-duration:1ms}}@media (min-width:783px){.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 92px);top:92px}}.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 120px);top:120px}@media (min-width:783px){.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 60px);top:60px}}.woocommerce-layout__activity-panel-wrapper.is-open{transform:none;box-shadow:0 12px 12px 0 rgba(85,93,102,.3)}.woocommerce-layout__activity-panel-wrapper.is-switching{animation:tabSwitch;animation-duration:.3s}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper.is-switching{animation:none}}.woocommerce-layout__activity-panel-wrapper .woocommerce-empty-content{padding-left:24px;padding-right:24px}.woocommerce-layout__activity-panel-avatar-flag-overlay{position:relative;top:-12px}.woocommerce-layout__activity-panel-avatar-flag-overlay .woocommerce-flag{position:relative;top:16px;border:2px solid #fff}.woocommerce-layout__notice-list-hide{display:none}.has-woocommerce-navigation .woocommerce-layout__activity-panel{top:0}.highlight-tooltip__container{position:absolute;width:0;height:0}.highlight-tooltip__container.highlight-tooltip__show{top:0;left:0;width:100%;height:100%}.highlight-tooltip__portal{width:100%;height:100%;position:relative}.highlight-tooltip__portal .highlight-tooltip__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.highlight-tooltip__portal .highlight-tooltip__overlay{animation-duration:1ms}}.highlight-tooltip__popover .components-card{min-width:360px}.highlight-tooltip__popover .components-card__header{font-size:16px;font-size:1rem;font-weight:600;height:60px}.highlight-tooltip__popover .components-card__footer{justify-content:flex-end}.woocommerce-layout__show-app-banner{padding-top:56px}@media (min-width:783px){.woocommerce-layout__show-app-banner{padding-top:0}}.woocommerce-mobile-app-banner{background-color:#3c2861;width:100%;display:flex;height:56px;align-items:center;padding:0 6px 0 4px}@media (min-width:401px){.woocommerce-mobile-app-banner{padding:0 13px 0 10px}}@media (min-width:783px){.woocommerce-mobile-app-banner{display:none}}.woocommerce-mobile-app-banner .dashicon{fill:#fff;margin-right:10px}.woocommerce-mobile-app-banner .components-button.is-secondary{margin-left:auto;color:#fff;box-shadow:inset 0 0 0 1px #fff}.woocommerce-mobile-app-banner .components-button.is-secondary:active,.woocommerce-mobile-app-banner .components-button.is-secondary:hover{color:#fff;box-shadow:inset 0 0 0 1px #fff;background:none}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{color:#fff;margin-left:8px}@media (min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{margin-left:13px}}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin:0;font-size:10px}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text:first-child{font-weight:700}@media (min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin-left:13px;font-size:13px}}.woocommerce-transient-notices{position:fixed;bottom:12px;left:176px;z-index:99999}@media (max-width:960px){.woocommerce-transient-notices{left:50px}}@media (max-width:782px){.woocommerce-transient-notices{left:16px}}.woocommerce-profile-wizard__body .woocommerce-transient-notices{left:unset}.woocommerce-profile-wizard__body .woocommerce-transient-notices .components-snackbar{margin-left:auto;margin-right:auto}.components-snackbar.components-snackbar-explicit-dismiss{cursor:default}.components-snackbar .components-snackbar__content-with-icon{margin-left:32px}.components-snackbar .components-snackbar__icon{position:absolute;top:24px;left:26px}.components-snackbar .components-snackbar__dismiss-button{margin-left:32px;cursor:pointer}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-navigation h2{color:inherit}.woocommerce-navigation .components-navigation__menu{display:flex;flex-direction:column;height:100%}.woocommerce-navigation .components-navigation__group+.components-navigation__group{margin-top:24px}.woocommerce-navigation .components-navigation__item{margin-bottom:0}.woocommerce-navigation .components-navigation__item a.components-button{padding:6px 16px}.woocommerce-navigation .components-navigation__item:not(:hover) a.components-button{color:#949494}.woocommerce-navigation .components-navigation__item.is-active a.components-button{color:#fff}.woocommerce-navigation .woocommerce-navigation__back-to-dashboard{margin-top:24px}.woocommerce-navigation-header{display:flex;align-items:center;border:none;border-radius:0;height:auto}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button{padding:12px;height:60px;color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:hover,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:not([aria-disabled=true]):active{color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button{padding-left:0;color:#ccc;font-weight:600}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:active,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:hover{color:#e0e0e0}.has-woocommerce-navigation{margin-top:-32px}.has-woocommerce-navigation .screen-reader-shortcut:focus{top:7px}.has-woocommerce-navigation #adminmenuback,.has-woocommerce-navigation #adminmenuwrap,.has-woocommerce-navigation #wpadminbar{display:none!important}.has-woocommerce-navigation.woocommerce_page_wc-settings .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-status .woo-nav-tab-wrapper{display:none}.has-woocommerce-navigation.woocommerce_page_wc-settings .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-status .woocommerce .subsubsub{font-size:14px;margin:5px 0}.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-left:240px}@media (max-width:960px){.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-left:0}}.has-woocommerce-navigation #woocommerce-embedded-navigation{position:fixed;top:0;left:0;width:240px;height:100%;box-sizing:border-box;background-color:#1e1e1e;z-index:1100}@media (max-width:960px){.has-woocommerce-navigation #woocommerce-embedded-navigation{width:60px;height:60px}}.has-woocommerce-navigation .woocommerce-navigation__wrapper{overflow-y:auto;height:calc(100vh - 60px)}.has-woocommerce-navigation .components-navigation{box-sizing:border-box}.has-woocommerce-navigation.is-wc-nav-expanded #woocommerce-embedded-navigation{width:240px;height:100%}.has-woocommerce-navigation.is-wc-nav-folded #wpcontent,.has-woocommerce-navigation.is-wc-nav-folded #wpfooter{margin-left:0}.has-woocommerce-navigation.is-wc-nav-folded .woocommerce-layout__header{margin-left:60px}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation{width:60px;height:60px}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header>*{display:none}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header__site-icon{display:block}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .components-navigation{display:none}.has-woocommerce-navigation.is-wc-nav-folded .woocommerce-transient-notices{left:16px}.has-woocommerce-navigation .woocommerce-transient-notices{left:256px}@media (max-width:782px){.has-woocommerce-navigation .woocommerce-transient-notices{left:16px}}
|
dist/app/style.rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.woocommerce-page .wrap{margin:0}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{padding:0;overflow-x:hidden!important;min-height:calc(100vh - 32px)}@media (min-width:783px){.woocommerce-page #wpbody-content{padding-right:0}}@media (max-width:782px){.woocommerce-page .wp-responsive-open #woocommerce-embedded-root,.woocommerce-page .wp-responsive-open #wpbody{position:relative;left:-14.5em}.woocommerce-page #wpbody-content,.woocommerce-page #wpcontent{min-height:calc(100vh - 46px)}}@media (min-width:961px){.woocommerce-page #toplevel_page_wcadmin--analytics.menu-top>a:focus,.woocommerce-page #toplevel_page_woocommerce.menu-top>a:focus{padding-bottom:1px}}.woocommerce-layout *{box-sizing:border-box}#wpfooter{display:none}.woocommerce_page_wc-admin .wp-responsive-open .woocommerce-layout__header{margin-right:2px}.woocommerce_page_wc-admin .woocommerce-filters-date__content:not(.is-mobile){z-index:2}@media (max-width:600px){#wpadminbar{position:fixed}}@media (max-width:782px){.jetpack-masterbar #wpadminbar #wp-admin-bar-menu-toggle{margin-top:-10px}.jetpack-masterbar #wpwrap .woocommerce-layout__header-heading{padding-right:60px}.jetpack-masterbar.wp-admin .wrap h1,.jetpack-masterbar.wp-admin .wrap h2{padding-right:0}}.woocommerce-page .wp-has-current-submenu:after{left:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-left-color:#f1f1f1;top:0;margin-top:10px}@media (max-width:960px){.woocommerce-page .wp-has-current-submenu:after{border-width:4px;margin-top:14px}}:root{--large-gap:40px;--main-gap:24px}@media (max-width:960px){:root{--large-gap:24px}}@media (max-width:782px){:root{--large-gap:16px;--main-gap:16px}}@keyframes loading-fade{0%{opacity:.7}50%{opacity:1}to{opacity:.7}}.woocommerce-layout select:hover{color:#1e1e1e}.woocommerce-layout select.components-select-control__input{max-width:100%;line-height:1}body.woocommerce-page .components-button.is-primary:not(:disabled),body.woocommerce-page .components-snackbar .components-button.is-tertiary,body.woocommerce-page .components-snackbar .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#fff}.woocommerce-embed-page #wpbody .woocommerce-layout,.woocommerce-embed-page .woocommerce-layout__notice-list-hide+.wrap{padding-top:70px}.woocommerce-embed-page #wpbody-content,.woocommerce-embed-page #wpcontent{overflow-x:initial!important}.woocommerce-embed-page #wpbody-content{padding-top:0}.woocommerce-embed-page #wpbody-content .notice{margin-top:15px}.woocommerce-embed-page .wrap{padding:0 20px}@media (max-width:782px){.woocommerce-embed-page .wrap p.search-box{width:calc(100% - 40px)}}.woocommerce-embed-page .wrap .wrap{padding:0}.woocommerce-embed-page #woocommerce-embedded-root.is-embed-loading+#wpbody .wrap{padding-top:100px}@media (max-width:782px){.woocommerce-embed-page #woocommerce-embedded-root.is-embed-loading+#wpbody .wrap{padding-top:30px}}.woocommerce-embed-page #screen-meta,.woocommerce-embed-page #screen-meta-links{top:60px}.woocommerce-embed-page #screen-meta{border-left:0;margin:0}.woocommerce-embed-page #screen-meta-links{position:relative}.woocommerce-embed-page .notice{padding:1px 12px}.woocommerce-embed-page .woocommerce-layout__header{height:60px}.woocommerce-embed-page .woocommerce-layout__header.is-scrolled{box-shadow:0 8px 16px 0 rgba(85,93,102,.3)}.woocommerce-embed-page .woocommerce-layout__header .woocommerce-layout__header-heading{margin-top:0;margin-bottom:0}.woocommerce-embed-page #screen-meta-links.is-hidden-by-notices,.woocommerce-embed-page #screen-meta.is-hidden-by-notices{display:none!important}.woocommerce-embed-page .woocommerce-layout__primary{margin:0}@media (max-width:782px){.woocommerce-embed-page .woocommerce-layout__primary{padding-top:10px}}@keyframes isLoaded{0%{opacity:0}to{opacity:1}}.woocommerce-embed-page .woocommerce-layout__activity-panel-tabs{animation:isLoaded;animation-duration:2s}.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:10px;margin-bottom:16px}@media (max-width:600px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:80px;margin-bottom:-16px}}@media (min-width:601px) and (max-width:782px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:32px}}@media (min-width:783px){.woocommerce-embed-page .woocommerce-layout__activity-panel-mobile-toggle{display:none}}.woocommerce-embed-page .woocommerce-activity-card__actions a.components-button:not(.is-primary){color:#757575}.woocommerce-layout{margin:0;padding:0}.woocommerce-layout__primary{margin:80px 40px 0 0;margin:80px var(--large-gap) 0 0}@media (min-width:961px){.woocommerce-layout__primary{margin-top:100px}}@media (max-width:782px){.woocommerce-layout__primary{margin-top:60px}}.woocommerce-layout .woocommerce-layout__main{padding-left:40px;padding-left:var(--large-gap);max-width:100%}.woocommerce-admin-is-loading #adminmenumain,.woocommerce-admin-is-loading #wpadminbar,.woocommerce-admin-is-loading #wpbody-content,.woocommerce-admin-is-loading #wpcontent,.woocommerce-admin-is-loading #wpfooter,.woocommerce-admin-is-loading .components-modal__screen-overlay,.woocommerce-admin-is-loading .error,.woocommerce-admin-is-loading .notice,.woocommerce-admin-is-loading .update-nag,.woocommerce-admin-is-loading .updated,.woocommerce-admin-is-loading .woocommerce-layout__header,.woocommerce-admin-is-loading .woocommerce-message,.woocommerce-admin-is-loading .woocommerce-store-alerts,.woocommerce-page .update-nag{display:none}.woocommerce-admin-full-screen{background:#f6f7f7;color:#50575e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-top:-32px}.woocommerce-admin-full-screen #wpwrap{top:0}.woocommerce-admin-full-screen #wpbody-content{min-height:100vh}.woocommerce-admin-full-screen #adminmenumain,.woocommerce-admin-full-screen #wpcontent>*,.woocommerce-admin-full-screen .error,.woocommerce-admin-full-screen .notice,.woocommerce-admin-full-screen .update-nag,.woocommerce-admin-full-screen .updated,.woocommerce-admin-full-screen .woocommerce-layout__header,.woocommerce-admin-full-screen .woocommerce-message,.woocommerce-admin-full-screen .woocommerce-store-alerts{display:none}.woocommerce-admin-full-screen #wpcontent{margin-right:0!important}.woocommerce-admin-full-screen #wpcontent>#wpbody{display:block}.woocommerce-onboarding .muriel-component{margin-top:16px;margin-bottom:16px}.woocommerce-onboarding .components-base-control.has-error{margin-bottom:32px!important;border-color:#d63638}@media (max-width:782px){.woocommerce-onboarding .components-base-control.has-error{margin-bottom:44px!important}}.woocommerce-onboarding .components-base-control.has-error .components-base-control__help{top:100%;right:12px;position:absolute;margin-top:4px;font-size:12px;font-style:normal;color:#d63638}.woocommerce-onboarding .components-form-toggle{display:inline-block}.woocommerce-onboarding .components-form-toggle label{font-size:14px}.woocommerce-onboarding .components-form-toggle .components-base-control{display:inline-block}.woocommerce-onboarding .components-form-toggle .components-base-control__field{margin-bottom:0}.woocommerce-page .components-modal__frame .components-button.is-button,.woocommerce-profile-wizard__body .components-button.is-button,.woocommerce-task-dashboard__container .components-button.is-button{height:48px;padding-right:25px;padding-left:25px;text-align:center;font-size:14px;line-height:36px;font-weight:500;align-items:center}.woocommerce-page .components-modal__frame .components-button.is-button:disabled,.woocommerce-profile-wizard__body .components-button.is-button:disabled,.woocommerce-task-dashboard__container .components-button.is-button:disabled{cursor:not-allowed}.components-modal__frame.woocommerce-usage-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-usage-modal .components-modal__header{border-bottom:0;margin-bottom:0}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper{flex-grow:1;display:flex;flex-direction:column}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper a{color:#50575e}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper button.is-primary{align-self:flex-end}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions button{margin-right:16px}.woocommerce-payments__usage-modal .components-modal__header{height:auto;padding:24px 24px 0}.woocommerce-payments__usage-modal .components-modal__header .components-modal__header-heading{font-size:24px;line-height:32px;margin:0 0 24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-modal-message{padding:16px 0;font-size:16px;line-height:24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer{display:flex;justify-content:flex-end;padding:16px 0}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer button{margin-right:16px}.components-modal__frame.woocommerce-cart-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-cart-modal .components-modal__header{border-bottom:0;margin-bottom:16px;margin-top:16px}.components-modal__frame.woocommerce-cart-modal .components-modal__header button{display:none}.components-modal__frame.woocommerce-cart-modal .components-modal__header-heading{font-style:normal;font-weight:400;font-size:24px;line-height:32px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list{margin-top:4px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list .woocommerce-list__item:first-child{border-top:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-list__item{border-bottom:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__help-text{font-size:16px;line-height:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions{text-align:left}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-link{margin-left:16px;text-decoration:none;font-weight:600;font-size:14px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-primary{align-self:flex-end}.woocommerce-layout__header{background:#fff;box-sizing:border-box;padding:0;min-height:60px;position:fixed;width:100%;top:32px;z-index:1001}.woocommerce-layout__header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}@media (max-width:782px){.woocommerce-layout__header{flex-flow:row wrap;top:46px}}.woocommerce-layout__header .woocommerce-layout__header-breadcrumbs-wrapper{display:flex;justify-content:space-between;flex-direction:row}.woocommerce-layout__header .woocommerce-layout__header-heading{display:flex;align-items:center;padding:0 40px 0 0;padding:0 var(--large-gap) 0 0;flex:1 auto;height:60px;line-height:60px;background:#fff;font-weight:600;font-size:14px;text-transform:capitalize}.has-woocommerce-navigation .woocommerce-layout__header{top:0}.woocommerce-page #contextual-help-link-wrap,.woocommerce-page #screen-options-link-wrap{margin-top:-1px}.woocommerce-layout__activity-panel{display:flex;flex-direction:row;align-items:center;position:fixed;left:0;top:32px;height:60px}@media (max-width:782px){.woocommerce-layout__activity-panel{position:relative;background:#fff;margin:0;padding:0;width:100vw;display:none;flex:1 100%}}@media (min-width:783px) and (max-width:960px){.woocommerce-layout__activity-panel{max-width:280px}}@media (min-width:1281px){.woocommerce-layout__activity-panel{max-width:400px}}.woocommerce-layout__activity-panel.is-mobile-open{display:flex}.woocommerce-layout__activity-panel-tabs{width:100%;display:flex;height:60px;justify-content:flex-end}.woocommerce-layout__activity-panel-tabs .dashicon,.woocommerce-layout__activity-panel-tabs .gridicon{width:100%}.woocommerce-layout__activity-panel-tabs svg{width:24px;height:24px}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon{fill:none}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon path,.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon rect{stroke:currentColor}.woocommerce-layout__activity-panel-tabs svg.setup-progress path:first-child{stroke:"#DCDCDE"}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-display-options svg.woocommerce-layout__activity-panel-tab-icon{height:14px}.woocommerce-layout__activity-panel-tabs .components-icon-button{display:initial;text-indent:0;border-radius:0}.woocommerce-layout__activity-panel-tabs .components-icon-button.has-text svg{margin:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;border:none;outline:none;cursor:pointer;background-color:#fff;max-width:-webkit-min-content;max-width:min-content;min-width:80px;width:100%;height:60px;color:#757575;white-space:nowrap}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:before{background-color:#007cba;background-color:var(--wp-admin-theme-color);bottom:0;content:"";height:0;opacity:0;transition-property:height,opacity;transition-duration:.3s;transition-timing-function:ease-in-out;right:0;position:absolute;left:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened{color:#1e1e1e;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active:before,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened:before{height:3px;opacity:1}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{content:" ";position:absolute;padding:1px;background:#d94f4f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:8px;right:50%}@media (min-width:783px) and (max-width:960px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{left:18px;right:auto;margin-right:0}}@media (min-width:961px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{left:28px;right:auto;margin-right:0}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover{background-color:#f0f0f0;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after{border-color:#e0e0e0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:focus{box-shadow:inset 1px -1px 0 #757575,inset -1px 1px 0 #757575}@media (max-width:782px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.display-options{display:none}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover{margin-top:0;z-index:1001}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover .components-menu-group{padding:12px}.woocommerce-layout__activity-panel-mobile-toggle{margin-left:10px;max-width:48px;height:60px;position:absolute;left:0;bottom:0}@media (min-width:783px){.woocommerce-layout__activity-panel-mobile-toggle{display:none}}.wp-responsive-open .woocommerce-layout__activity-panel-mobile-toggle{display:none}.woocommerce-layout__activity-panel-toggle-bubble.has-unread:after{content:" ";position:absolute;padding:1px;background:#ca4a1f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:6px;left:4px}@keyframes tabSwitch{0%,to{transform:translateX(0)}50%{transform:translateX(-100px)}}.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 166px);background:#f0f0f0;width:510px;transform:translateX(-100%);transition-property:transform box-shadow;transition-duration:.3s;transition-timing-function:ease-in-out;position:fixed;left:0;top:166px;z-index:1000;overflow-x:hidden;overflow-y:auto}@media (max-width:782px){.woocommerce-layout__activity-panel-wrapper{width:100%}}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper{transition-duration:1ms}}@media (min-width:783px){.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 92px);top:92px}}.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 120px);top:120px}@media (min-width:783px){.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 60px);top:60px}}.woocommerce-layout__activity-panel-wrapper.is-open{transform:none;box-shadow:0 12px 12px 0 rgba(85,93,102,.3)}.woocommerce-layout__activity-panel-wrapper.is-switching{animation:tabSwitch;animation-duration:.3s}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper.is-switching{animation:none}}.woocommerce-layout__activity-panel-wrapper .woocommerce-empty-content{padding-right:24px;padding-left:24px}.woocommerce-layout__activity-panel-avatar-flag-overlay{position:relative;top:-12px}.woocommerce-layout__activity-panel-avatar-flag-overlay .woocommerce-flag{position:relative;top:16px;border:2px solid #fff}.woocommerce-layout__notice-list-hide{display:none}.has-woocommerce-navigation .woocommerce-layout__activity-panel{top:0}.highlight-tooltip__container{position:absolute;width:0;height:0}.highlight-tooltip__container.highlight-tooltip__show{top:0;right:0;width:100%;height:100%}.highlight-tooltip__portal{width:100%;height:100%;position:relative}.highlight-tooltip__portal .highlight-tooltip__overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.highlight-tooltip__portal .highlight-tooltip__overlay{animation-duration:1ms}}.highlight-tooltip__popover .components-card{min-width:360px}.highlight-tooltip__popover .components-card__header{font-size:16px;font-size:1rem;font-weight:600;height:60px}.highlight-tooltip__popover .components-card__footer{justify-content:flex-end}.woocommerce-layout__show-app-banner{padding-top:56px}@media (min-width:783px){.woocommerce-layout__show-app-banner{padding-top:0}}.woocommerce-mobile-app-banner{background-color:#3c2861;width:100%;display:flex;height:56px;align-items:center;padding:0 4px 0 6px}@media (min-width:401px){.woocommerce-mobile-app-banner{padding:0 10px 0 13px}}@media (min-width:783px){.woocommerce-mobile-app-banner{display:none}}.woocommerce-mobile-app-banner .dashicon{fill:#fff;margin-left:10px}.woocommerce-mobile-app-banner .components-button.is-secondary{margin-right:auto;color:#fff;box-shadow:inset 0 0 0 1px #fff}.woocommerce-mobile-app-banner .components-button.is-secondary:active,.woocommerce-mobile-app-banner .components-button.is-secondary:hover{color:#fff;box-shadow:inset 0 0 0 1px #fff;background:none}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{color:#fff;margin-right:8px}@media (min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{margin-right:13px}}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin:0;font-size:10px}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text:first-child{font-weight:700}@media (min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin-right:13px;font-size:13px}}.woocommerce-transient-notices{position:fixed;bottom:12px;right:176px;z-index:99999}@media (max-width:960px){.woocommerce-transient-notices{right:50px}}@media (max-width:782px){.woocommerce-transient-notices{right:16px}}.woocommerce-profile-wizard__body .woocommerce-transient-notices{right:unset}.woocommerce-profile-wizard__body .woocommerce-transient-notices .components-snackbar{margin-right:auto;margin-left:auto}.components-snackbar.components-snackbar-explicit-dismiss{cursor:default}.components-snackbar .components-snackbar__content-with-icon{margin-right:32px}.components-snackbar .components-snackbar__icon{position:absolute;top:24px;right:26px}.components-snackbar .components-snackbar__dismiss-button{margin-right:32px;cursor:pointer}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-navigation h2{color:inherit}.woocommerce-navigation .components-navigation__menu{display:flex;flex-direction:column;height:100%}.woocommerce-navigation .components-navigation__group+.components-navigation__group{margin-top:24px}.woocommerce-navigation .components-navigation__item{margin-bottom:0}.woocommerce-navigation .woocommerce-navigation__back-to-dashboard{margin-top:24px}.woocommerce-navigation-header{display:flex;align-items:center;border:none;border-radius:0;height:auto}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button{padding:12px;height:60px;color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:hover,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:not([aria-disabled=true]):active{color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button{padding-right:0;color:#ccc;font-weight:600}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:active,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:hover{color:#e0e0e0}.has-woocommerce-navigation{margin-top:-32px}.has-woocommerce-navigation #adminmenuback,.has-woocommerce-navigation #adminmenuwrap,.has-woocommerce-navigation #wpadminbar{display:none!important}.has-woocommerce-navigation.woocommerce_page_wc-settings .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-status .woo-nav-tab-wrapper{display:none}.has-woocommerce-navigation.woocommerce_page_wc-settings .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-status .woocommerce .subsubsub{font-size:14px;margin:5px 0}.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-right:240px}@media (max-width:960px){.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-right:0}}.has-woocommerce-navigation #woocommerce-embedded-navigation{position:fixed;top:0;right:0;width:240px;height:100%;box-sizing:border-box;background-color:#1e1e1e;z-index:1100}@media (max-width:960px){.has-woocommerce-navigation #woocommerce-embedded-navigation{width:60px;height:60px}}.has-woocommerce-navigation .woocommerce-navigation__wrapper{overflow-y:auto;height:calc(100vh - 60px)}.has-woocommerce-navigation .components-navigation{box-sizing:border-box}.has-woocommerce-navigation.is-wc-nav-expanded #woocommerce-embedded-navigation{width:240px;height:100%}.has-woocommerce-navigation.is-wc-nav-folded #wpcontent,.has-woocommerce-navigation.is-wc-nav-folded #wpfooter{margin-right:0}.has-woocommerce-navigation.is-wc-nav-folded .woocommerce-layout__header{margin-right:60px}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation{width:60px;height:60px}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header>*{display:none}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header__site-icon{display:block}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .components-navigation{display:none}.has-woocommerce-navigation.is-wc-nav-folded .woocommerce-transient-notices{right:16px}.has-woocommerce-navigation .woocommerce-transient-notices{right:256px}@media (max-width:782px){.has-woocommerce-navigation .woocommerce-transient-notices{right:16px}}
|
1 |
+
.woocommerce-page .wrap{margin:0}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{padding:0;overflow-x:hidden!important;min-height:calc(100vh - 32px)}@media (min-width:783px){.woocommerce-page #wpbody-content{padding-right:0}}@media (max-width:782px){.woocommerce-page .wp-responsive-open #woocommerce-embedded-root,.woocommerce-page .wp-responsive-open #wpbody{position:relative;left:-14.5em}.woocommerce-page #wpbody-content,.woocommerce-page #wpcontent{min-height:calc(100vh - 46px)}}@media (min-width:961px){.woocommerce-page #toplevel_page_wcadmin--analytics.menu-top>a:focus,.woocommerce-page #toplevel_page_woocommerce.menu-top>a:focus{padding-bottom:1px}}.woocommerce-layout *{box-sizing:border-box}#wpfooter{display:none}.woocommerce_page_wc-admin .wp-responsive-open .woocommerce-layout__header{margin-right:2px}.woocommerce_page_wc-admin .woocommerce-filters-date__content:not(.is-mobile){z-index:2}@media (max-width:600px){#wpadminbar{position:fixed}}@media (max-width:782px){.jetpack-masterbar #wpadminbar #wp-admin-bar-menu-toggle{margin-top:-10px}.jetpack-masterbar #wpwrap .woocommerce-layout__header-heading{padding-right:60px}.jetpack-masterbar.wp-admin .wrap h1,.jetpack-masterbar.wp-admin .wrap h2{padding-right:0}}.woocommerce-page .wp-has-current-submenu:after{left:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-left-color:#f1f1f1;top:0;margin-top:10px}@media (max-width:960px){.woocommerce-page .wp-has-current-submenu:after{border-width:4px;margin-top:14px}}:root{--large-gap:40px;--main-gap:24px}@media (max-width:960px){:root{--large-gap:24px}}@media (max-width:782px){:root{--large-gap:16px;--main-gap:16px}}@keyframes loading-fade{0%{opacity:.7}50%{opacity:1}to{opacity:.7}}.woocommerce-layout select:hover{color:#1e1e1e}.woocommerce-layout select.components-select-control__input{max-width:100%;line-height:1}body.woocommerce-page .components-button.is-primary:not(:disabled),body.woocommerce-page .components-snackbar .components-button.is-tertiary,body.woocommerce-page .components-snackbar .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#fff}.woocommerce-embed-page #wpbody .woocommerce-layout,.woocommerce-embed-page .woocommerce-layout__notice-list-hide+.wrap{padding-top:70px}.woocommerce-embed-page #wpbody-content,.woocommerce-embed-page #wpcontent{overflow-x:initial!important}.woocommerce-embed-page #wpbody-content{padding-top:0}.woocommerce-embed-page #wpbody-content .notice{margin-top:15px}.woocommerce-embed-page .wrap{padding:0 20px}@media (max-width:782px){.woocommerce-embed-page .wrap p.search-box{width:calc(100% - 40px)}}.woocommerce-embed-page .wrap .wrap{padding:0}.woocommerce-embed-page #woocommerce-embedded-root.is-embed-loading+#wpbody .wrap{padding-top:100px}@media (max-width:782px){.woocommerce-embed-page #woocommerce-embedded-root.is-embed-loading+#wpbody .wrap{padding-top:30px}}.woocommerce-embed-page #screen-meta,.woocommerce-embed-page #screen-meta-links{top:60px}.woocommerce-embed-page #screen-meta{border-left:0;margin:0}.woocommerce-embed-page #screen-meta-links{position:relative}.woocommerce-embed-page .notice{padding:1px 12px}.woocommerce-embed-page .woocommerce-layout__header.is-scrolled{box-shadow:0 8px 16px 0 rgba(85,93,102,.3)}.woocommerce-embed-page .woocommerce-layout__header .woocommerce-layout__header-heading{margin-top:0;margin-bottom:0}.woocommerce-embed-page #screen-meta-links.is-hidden-by-notices,.woocommerce-embed-page #screen-meta.is-hidden-by-notices{display:none!important}.woocommerce-embed-page .woocommerce-layout__primary{margin:0}@media (max-width:782px){.woocommerce-embed-page .woocommerce-layout__primary{padding-top:10px}}@keyframes isLoaded{0%{opacity:0}to{opacity:1}}.woocommerce-embed-page .woocommerce-layout__activity-panel-tabs{animation:isLoaded;animation-duration:2s}.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:10px;margin-bottom:16px}@media (max-width:600px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:80px;margin-bottom:-16px}}@media (min-width:601px) and (max-width:782px){.woocommerce-embed-page .woocommerce-layout__notice-list-show{margin-top:32px}}@media (min-width:783px){.woocommerce-embed-page .woocommerce-layout__activity-panel-mobile-toggle{display:none}}.woocommerce-embed-page .woocommerce-activity-card__actions a.components-button:not(.is-primary){color:#757575}.woocommerce-layout{margin:0;padding:0}.woocommerce-layout__primary{margin:80px 40px 0 0;margin:80px var(--large-gap) 0 0}@media (min-width:961px){.woocommerce-layout__primary{margin-top:100px}}@media (max-width:782px){.woocommerce-layout__primary{margin-top:60px}}.woocommerce-layout .woocommerce-layout__main{padding-left:40px;padding-left:var(--large-gap);max-width:100%}.woocommerce-admin-is-loading #adminmenumain,.woocommerce-admin-is-loading #wpadminbar,.woocommerce-admin-is-loading #wpbody-content,.woocommerce-admin-is-loading #wpcontent,.woocommerce-admin-is-loading #wpfooter,.woocommerce-admin-is-loading .components-modal__screen-overlay,.woocommerce-admin-is-loading .error,.woocommerce-admin-is-loading .notice,.woocommerce-admin-is-loading .update-nag,.woocommerce-admin-is-loading .updated,.woocommerce-admin-is-loading .woocommerce-layout__header,.woocommerce-admin-is-loading .woocommerce-message,.woocommerce-admin-is-loading .woocommerce-store-alerts,.woocommerce-page .update-nag{display:none}.woocommerce-admin-full-screen{background:#f6f7f7;color:#50575e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-top:-32px}.woocommerce-admin-full-screen #wpwrap{top:0}.woocommerce-admin-full-screen #wpbody-content{min-height:100vh}.woocommerce-admin-full-screen #adminmenumain,.woocommerce-admin-full-screen #wpcontent>*,.woocommerce-admin-full-screen .error,.woocommerce-admin-full-screen .notice,.woocommerce-admin-full-screen .update-nag,.woocommerce-admin-full-screen .updated,.woocommerce-admin-full-screen .woocommerce-layout__header,.woocommerce-admin-full-screen .woocommerce-message,.woocommerce-admin-full-screen .woocommerce-store-alerts{display:none}.woocommerce-admin-full-screen #wpcontent{margin-right:0!important}.woocommerce-admin-full-screen #wpcontent>#wpbody{display:block}.woocommerce-onboarding .muriel-component{margin-top:16px;margin-bottom:16px}.woocommerce-onboarding .components-base-control.has-error{margin-bottom:32px!important;border-color:#d63638}@media (max-width:782px){.woocommerce-onboarding .components-base-control.has-error{margin-bottom:44px!important}}.woocommerce-onboarding .components-base-control.has-error .components-base-control__help{top:100%;right:12px;position:absolute;margin-top:4px;font-size:12px;font-style:normal;color:#d63638}.woocommerce-onboarding .components-form-toggle{display:inline-block}.woocommerce-onboarding .components-form-toggle label{font-size:14px}.woocommerce-onboarding .components-form-toggle .components-base-control{display:inline-block}.woocommerce-onboarding .components-form-toggle .components-base-control__field{margin-bottom:0}.woocommerce-page .components-modal__frame .components-button.is-button,.woocommerce-profile-wizard__body .components-button.is-button,.woocommerce-task-dashboard__container .components-button.is-button{height:48px;padding-right:25px;padding-left:25px;text-align:center;font-size:14px;line-height:36px;font-weight:500;align-items:center}.woocommerce-page .components-modal__frame .components-button.is-button:disabled,.woocommerce-profile-wizard__body .components-button.is-button:disabled,.woocommerce-task-dashboard__container .components-button.is-button:disabled{cursor:not-allowed}.components-modal__frame.woocommerce-usage-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-usage-modal .components-modal__header{border-bottom:0;margin-bottom:0}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper{flex-grow:1;display:flex;flex-direction:column}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper a{color:#50575e}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__wrapper button.is-primary{align-self:flex-end}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions{display:flex;justify-content:flex-end;margin-top:16px}.components-modal__frame.woocommerce-usage-modal .woocommerce-usage-modal__actions button{margin-right:16px}.woocommerce-payments__usage-modal .components-modal__header{height:auto;padding:24px 24px 0}.woocommerce-payments__usage-modal .components-modal__header .components-modal__header-heading{font-size:24px;line-height:32px;margin:0 0 24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-modal-message{padding:16px 0;font-size:16px;line-height:24px}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer{display:flex;justify-content:flex-end;padding:16px 0}.woocommerce-payments__usage-modal .woocommerce-payments__usage-footer button{margin-right:16px}.components-modal__frame.woocommerce-cart-modal{width:600px;max-width:100%}.components-modal__frame.woocommerce-cart-modal .components-modal__header{border-bottom:0;margin-bottom:16px;margin-top:16px}.components-modal__frame.woocommerce-cart-modal .components-modal__header button{display:none}.components-modal__frame.woocommerce-cart-modal .components-modal__header-heading{font-style:normal;font-weight:400;font-size:24px;line-height:32px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list{margin-top:4px}.components-modal__frame.woocommerce-cart-modal .woocommerce-list .woocommerce-list__item:first-child{border-top:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-list__item{border-bottom:1px solid #dcdcde}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__help-text{font-size:16px;line-height:24px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions{text-align:left}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-link{margin-left:16px;text-decoration:none;font-weight:600;font-size:14px}.components-modal__frame.woocommerce-cart-modal .woocommerce-cart-modal__actions button.is-primary{align-self:flex-end}.woocommerce-layout__header{background:#fff;box-sizing:border-box;padding:0;min-height:60px;position:fixed;width:100%;top:32px;z-index:1001}.woocommerce-layout__header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}@media (max-width:782px){.woocommerce-layout__header{flex-flow:row wrap;top:46px}}.woocommerce-layout__header .woocommerce-layout__header-breadcrumbs-wrapper{display:flex;justify-content:space-between;flex-direction:row}.woocommerce-layout__header .woocommerce-layout__header-heading{display:flex;align-items:center;padding:0 40px 0 0;padding:0 var(--large-gap) 0 0;flex:1 auto;height:60px;line-height:60px;background:#fff;font-weight:600;font-size:14px;text-transform:capitalize}.has-woocommerce-navigation .woocommerce-layout__header{top:0}.woocommerce-page #contextual-help-link-wrap,.woocommerce-page #screen-options-link-wrap{margin-top:-1px}.woocommerce-layout__activity-panel{display:flex;flex-direction:row;align-items:center;position:fixed;left:0;top:32px;height:60px}@media (max-width:782px){.woocommerce-layout__activity-panel{position:relative;background:#fff;margin:0;padding:0;width:100vw;display:none;flex:1 100%}}@media (min-width:783px) and (max-width:960px){.woocommerce-layout__activity-panel{max-width:280px}}@media (min-width:1281px){.woocommerce-layout__activity-panel{max-width:400px}}.woocommerce-layout__activity-panel.is-mobile-open{display:flex}.woocommerce-layout__activity-panel-tabs{width:100%;display:flex;height:60px;justify-content:flex-end}.woocommerce-layout__activity-panel-tabs .dashicon,.woocommerce-layout__activity-panel-tabs .gridicon{width:100%}.woocommerce-layout__activity-panel-tabs svg{width:24px;height:24px}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon{fill:none}.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon path,.woocommerce-layout__activity-panel-tabs svg.woocommerce-layout__activity-panel-tab-icon rect{stroke:currentColor}.woocommerce-layout__activity-panel-tabs svg.setup-progress path:first-child{stroke:"#DCDCDE"}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__homescreen-display-options svg.woocommerce-layout__activity-panel-tab-icon{height:14px}.woocommerce-layout__activity-panel-tabs .components-icon-button{display:initial;text-indent:0;border-radius:0}.woocommerce-layout__activity-panel-tabs .components-icon-button.has-text svg{margin:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;border:none;outline:none;cursor:pointer;background-color:#fff;max-width:-webkit-min-content;max-width:min-content;min-width:80px;width:100%;height:60px;color:#757575;white-space:nowrap}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:before{background-color:#007cba;background-color:var(--wp-admin-theme-color);bottom:0;content:"";height:0;opacity:0;transition-property:height,opacity;transition-duration:.3s;transition-timing-function:ease-in-out;right:0;position:absolute;left:0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened{color:#1e1e1e;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active:before,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-opened:before{height:3px;opacity:1}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{content:" ";position:absolute;padding:1px;background:#d94f4f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:8px;right:50%}@media (min-width:783px) and (max-width:960px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{left:18px;right:auto;margin-right:0}}@media (min-width:961px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.woocommerce-layout__activity-panel-tab-wordpress-notices:after{left:28px;right:auto;margin-right:0}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover{background-color:#f0f0f0;box-shadow:none}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.has-unread:after,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover.woocommerce-layout__activity-panel-tab-wordpress-notices:after{border-color:#e0e0e0}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:focus{box-shadow:inset 1px -1px 0 #757575,inset -1px 1px 0 #757575}@media (max-width:782px){.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.display-options{display:none}}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover{margin-top:0;z-index:1001}.woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-popover .components-menu-group{padding:12px}.woocommerce-layout__activity-panel-mobile-toggle{margin-left:10px;max-width:48px;height:60px;position:absolute;left:0;bottom:0}@media (min-width:783px){.woocommerce-layout__activity-panel-mobile-toggle{display:none}}.wp-responsive-open .woocommerce-layout__activity-panel-mobile-toggle{display:none}.woocommerce-layout__activity-panel-toggle-bubble.has-unread:after{content:" ";position:absolute;padding:1px;background:#ca4a1f;border:2px solid #fff;width:4px;height:4px;display:inline-block;border-radius:50%;top:6px;left:4px}@keyframes tabSwitch{0%,to{transform:translateX(0)}50%{transform:translateX(-100px)}}.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 166px);background:#f0f0f0;width:510px;transform:translateX(-100%);transition-property:transform box-shadow;transition-duration:.3s;transition-timing-function:ease-in-out;position:fixed;left:0;top:166px;z-index:1000;overflow-x:hidden;overflow-y:auto}@media (max-width:782px){.woocommerce-layout__activity-panel-wrapper{width:100%}}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper{transition-duration:1ms}}@media (min-width:783px){.woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 92px);top:92px}}.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 120px);top:120px}@media (min-width:783px){.has-woocommerce-navigation .woocommerce-layout__activity-panel-wrapper{height:calc(100vh - 60px);top:60px}}.woocommerce-layout__activity-panel-wrapper.is-open{transform:none;box-shadow:0 12px 12px 0 rgba(85,93,102,.3)}.woocommerce-layout__activity-panel-wrapper.is-switching{animation:tabSwitch;animation-duration:.3s}@media screen and (prefers-reduced-motion:reduce){.woocommerce-layout__activity-panel-wrapper.is-switching{animation:none}}.woocommerce-layout__activity-panel-wrapper .woocommerce-empty-content{padding-right:24px;padding-left:24px}.woocommerce-layout__activity-panel-avatar-flag-overlay{position:relative;top:-12px}.woocommerce-layout__activity-panel-avatar-flag-overlay .woocommerce-flag{position:relative;top:16px;border:2px solid #fff}.woocommerce-layout__notice-list-hide{display:none}.has-woocommerce-navigation .woocommerce-layout__activity-panel{top:0}.highlight-tooltip__container{position:absolute;width:0;height:0}.highlight-tooltip__container.highlight-tooltip__show{top:0;right:0;width:100%;height:100%}.highlight-tooltip__portal{width:100%;height:100%;position:relative}.highlight-tooltip__portal .highlight-tooltip__overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.highlight-tooltip__portal .highlight-tooltip__overlay{animation-duration:1ms}}.highlight-tooltip__popover .components-card{min-width:360px}.highlight-tooltip__popover .components-card__header{font-size:16px;font-size:1rem;font-weight:600;height:60px}.highlight-tooltip__popover .components-card__footer{justify-content:flex-end}.woocommerce-layout__show-app-banner{padding-top:56px}@media (min-width:783px){.woocommerce-layout__show-app-banner{padding-top:0}}.woocommerce-mobile-app-banner{background-color:#3c2861;width:100%;display:flex;height:56px;align-items:center;padding:0 4px 0 6px}@media (min-width:401px){.woocommerce-mobile-app-banner{padding:0 10px 0 13px}}@media (min-width:783px){.woocommerce-mobile-app-banner{display:none}}.woocommerce-mobile-app-banner .dashicon{fill:#fff;margin-left:10px}.woocommerce-mobile-app-banner .components-button.is-secondary{margin-right:auto;color:#fff;box-shadow:inset 0 0 0 1px #fff}.woocommerce-mobile-app-banner .components-button.is-secondary:active,.woocommerce-mobile-app-banner .components-button.is-secondary:hover{color:#fff;box-shadow:inset 0 0 0 1px #fff;background:none}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{color:#fff;margin-right:8px}@media (min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description{margin-right:13px}}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin:0;font-size:10px}.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text:first-child{font-weight:700}@media (min-width:401px){.woocommerce-mobile-app-banner .woocommerce-mobile-app-banner__description .woocommerce-mobile-app-banner__description__text{margin-right:13px;font-size:13px}}.woocommerce-transient-notices{position:fixed;bottom:12px;right:176px;z-index:99999}@media (max-width:960px){.woocommerce-transient-notices{right:50px}}@media (max-width:782px){.woocommerce-transient-notices{right:16px}}.woocommerce-profile-wizard__body .woocommerce-transient-notices{right:unset}.woocommerce-profile-wizard__body .woocommerce-transient-notices .components-snackbar{margin-right:auto;margin-left:auto}.components-snackbar.components-snackbar-explicit-dismiss{cursor:default}.components-snackbar .components-snackbar__content-with-icon{margin-right:32px}.components-snackbar .components-snackbar__icon{position:absolute;top:24px;right:26px}.components-snackbar .components-snackbar__dismiss-button{margin-right:32px;cursor:pointer}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-navigation h2{color:inherit}.woocommerce-navigation .components-navigation__menu{display:flex;flex-direction:column;height:100%}.woocommerce-navigation .components-navigation__group+.components-navigation__group{margin-top:24px}.woocommerce-navigation .components-navigation__item{margin-bottom:0}.woocommerce-navigation .components-navigation__item a.components-button{padding:6px 16px}.woocommerce-navigation .components-navigation__item:not(:hover) a.components-button{color:#949494}.woocommerce-navigation .components-navigation__item.is-active a.components-button{color:#fff}.woocommerce-navigation .woocommerce-navigation__back-to-dashboard{margin-top:24px}.woocommerce-navigation-header{display:flex;align-items:center;border:none;border-radius:0;height:auto}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button{padding:12px;height:60px;color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:hover,.woocommerce-navigation-header .woocommerce-navigation-header__site-icon.components-button:not([aria-disabled=true]):active{color:#fff}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button{padding-right:0;color:#ccc;font-weight:600}.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:active,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:focus,.woocommerce-navigation-header .woocommerce-navigation-header__site-title.components-button:hover{color:#e0e0e0}.has-woocommerce-navigation{margin-top:-32px}.has-woocommerce-navigation .screen-reader-shortcut:focus{top:7px}.has-woocommerce-navigation #adminmenuback,.has-woocommerce-navigation #adminmenuwrap,.has-woocommerce-navigation #wpadminbar{display:none!important}.has-woocommerce-navigation.woocommerce_page_wc-settings .woo-nav-tab-wrapper,.has-woocommerce-navigation.woocommerce_page_wc-status .woo-nav-tab-wrapper{display:none}.has-woocommerce-navigation.woocommerce_page_wc-settings .woocommerce .subsubsub,.has-woocommerce-navigation.woocommerce_page_wc-status .woocommerce .subsubsub{font-size:14px;margin:5px 0}.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-right:240px}@media (max-width:960px){.has-woocommerce-navigation #wpcontent,.has-woocommerce-navigation #wpfooter{margin-right:0}}.has-woocommerce-navigation #woocommerce-embedded-navigation{position:fixed;top:0;right:0;width:240px;height:100%;box-sizing:border-box;background-color:#1e1e1e;z-index:1100}@media (max-width:960px){.has-woocommerce-navigation #woocommerce-embedded-navigation{width:60px;height:60px}}.has-woocommerce-navigation .woocommerce-navigation__wrapper{overflow-y:auto;height:calc(100vh - 60px)}.has-woocommerce-navigation .components-navigation{box-sizing:border-box}.has-woocommerce-navigation.is-wc-nav-expanded #woocommerce-embedded-navigation{width:240px;height:100%}.has-woocommerce-navigation.is-wc-nav-folded #wpcontent,.has-woocommerce-navigation.is-wc-nav-folded #wpfooter{margin-right:0}.has-woocommerce-navigation.is-wc-nav-folded .woocommerce-layout__header{margin-right:60px}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation{width:60px;height:60px}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header.is-scrolled{box-shadow:0 8px 8px 0 rgba(85,93,102,.3)}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header>*{display:none}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .woocommerce-navigation-header__site-icon{display:block}.has-woocommerce-navigation.is-wc-nav-folded #woocommerce-embedded-navigation .components-navigation{display:none}.has-woocommerce-navigation.is-wc-nav-folded .woocommerce-transient-notices{right:16px}.has-woocommerce-navigation .woocommerce-transient-notices{right:256px}@media (max-width:782px){.has-woocommerce-navigation .woocommerce-transient-notices{right:16px}}
|
dist/chunks/0.js
CHANGED
@@ -308,7 +308,7 @@ var build_module_focus = {
|
|
308 |
|
309 |
/***/ }),
|
310 |
|
311 |
-
/***/
|
312 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
313 |
|
314 |
"use strict";
|
@@ -339,7 +339,7 @@ var CurrencyContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cr
|
|
339 |
|
340 |
/***/ }),
|
341 |
|
342 |
-
/***/
|
343 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
344 |
|
345 |
"use strict";
|
@@ -456,7 +456,7 @@ ReportError.defaultProps = {
|
|
456 |
|
457 |
/***/ }),
|
458 |
|
459 |
-
/***/
|
460 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
461 |
|
462 |
"use strict";
|
@@ -466,7 +466,7 @@ ReportError.defaultProps = {
|
|
466 |
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__);
|
467 |
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12);
|
468 |
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__);
|
469 |
-
/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
470 |
/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__);
|
471 |
/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(13);
|
472 |
/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__);
|
@@ -487,14 +487,14 @@ ReportError.defaultProps = {
|
|
487 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(47);
|
488 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_12__);
|
489 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(25);
|
490 |
-
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
491 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_14__);
|
492 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(29);
|
493 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_15__);
|
494 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(28);
|
495 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_16__);
|
496 |
-
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
497 |
-
/* harmony import */ var _customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
498 |
|
499 |
|
500 |
|
@@ -731,7 +731,7 @@ ReportFilters.propTypes = {
|
|
731 |
|
732 |
/***/ }),
|
733 |
|
734 |
-
/***/
|
735 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
736 |
|
737 |
"use strict";
|
@@ -741,7 +741,7 @@ var helpers_extends = __webpack_require__(24);
|
|
741 |
var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
|
742 |
|
743 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js
|
744 |
-
var toConsumableArray = __webpack_require__(
|
745 |
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
|
746 |
|
747 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js
|
@@ -749,7 +749,7 @@ var defineProperty = __webpack_require__(5);
|
|
749 |
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
|
750 |
|
751 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
|
752 |
-
var slicedToArray = __webpack_require__(
|
753 |
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
754 |
|
755 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js
|
@@ -788,13 +788,13 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
788 |
var external_this_wc_components_ = __webpack_require__(47);
|
789 |
|
790 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
791 |
-
var external_this_wc_navigation_ = __webpack_require__(
|
792 |
|
793 |
// EXTERNAL MODULE: external {"this":["wc","csvExport"]}
|
794 |
-
var external_this_wc_csvExport_ = __webpack_require__(
|
795 |
|
796 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
797 |
-
var external_this_wc_data_ = __webpack_require__(
|
798 |
|
799 |
// EXTERNAL MODULE: external {"this":["wc","tracks"]}
|
800 |
var external_this_wc_tracks_ = __webpack_require__(28);
|
@@ -816,7 +816,7 @@ var external_this_wc_tracks_ = __webpack_require__(28);
|
|
816 |
}));
|
817 |
});
|
818 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
819 |
-
var report_error = __webpack_require__(
|
820 |
|
821 |
// CONCATENATED MODULE: ./client/analytics/components/report-table/utils.js
|
822 |
|
@@ -870,7 +870,7 @@ function extendTableData(select, props, queriedTableData) {
|
|
870 |
});
|
871 |
}
|
872 |
// EXTERNAL MODULE: ./client/analytics/components/report-table/style.scss
|
873 |
-
var style = __webpack_require__(
|
874 |
|
875 |
// CONCATENATED MODULE: ./client/analytics/components/report-table/index.js
|
876 |
|
@@ -1451,7 +1451,7 @@ var EMPTY_OBJECT = {};
|
|
1451 |
|
1452 |
/***/ }),
|
1453 |
|
1454 |
-
/***/
|
1455 |
/***/ (function(module, exports, __webpack_require__) {
|
1456 |
|
1457 |
// extracted by mini-css-extract-plugin
|
308 |
|
309 |
/***/ }),
|
310 |
|
311 |
+
/***/ 495:
|
312 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
313 |
|
314 |
"use strict";
|
339 |
|
340 |
/***/ }),
|
341 |
|
342 |
+
/***/ 496:
|
343 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
344 |
|
345 |
"use strict";
|
456 |
|
457 |
/***/ }),
|
458 |
|
459 |
+
/***/ 502:
|
460 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
461 |
|
462 |
"use strict";
|
466 |
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__);
|
467 |
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12);
|
468 |
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__);
|
469 |
+
/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9);
|
470 |
/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__);
|
471 |
/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(13);
|
472 |
/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__);
|
487 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(47);
|
488 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_12__);
|
489 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(25);
|
490 |
+
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(23);
|
491 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_14__);
|
492 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(29);
|
493 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_15__);
|
494 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(28);
|
495 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_16__);
|
496 |
+
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(495);
|
497 |
+
/* harmony import */ var _customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(73);
|
498 |
|
499 |
|
500 |
|
731 |
|
732 |
/***/ }),
|
733 |
|
734 |
+
/***/ 503:
|
735 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
736 |
|
737 |
"use strict";
|
741 |
var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
|
742 |
|
743 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js
|
744 |
+
var toConsumableArray = __webpack_require__(20);
|
745 |
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
|
746 |
|
747 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js
|
749 |
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
|
750 |
|
751 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
|
752 |
+
var slicedToArray = __webpack_require__(19);
|
753 |
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
754 |
|
755 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js
|
788 |
var external_this_wc_components_ = __webpack_require__(47);
|
789 |
|
790 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
791 |
+
var external_this_wc_navigation_ = __webpack_require__(21);
|
792 |
|
793 |
// EXTERNAL MODULE: external {"this":["wc","csvExport"]}
|
794 |
+
var external_this_wc_csvExport_ = __webpack_require__(479);
|
795 |
|
796 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
797 |
+
var external_this_wc_data_ = __webpack_require__(23);
|
798 |
|
799 |
// EXTERNAL MODULE: external {"this":["wc","tracks"]}
|
800 |
var external_this_wc_tracks_ = __webpack_require__(28);
|
816 |
}));
|
817 |
});
|
818 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
819 |
+
var report_error = __webpack_require__(496);
|
820 |
|
821 |
// CONCATENATED MODULE: ./client/analytics/components/report-table/utils.js
|
822 |
|
870 |
});
|
871 |
}
|
872 |
// EXTERNAL MODULE: ./client/analytics/components/report-table/style.scss
|
873 |
+
var style = __webpack_require__(563);
|
874 |
|
875 |
// CONCATENATED MODULE: ./client/analytics/components/report-table/index.js
|
876 |
|
1451 |
|
1452 |
/***/ }),
|
1453 |
|
1454 |
+
/***/ 563:
|
1455 |
/***/ (function(module, exports, __webpack_require__) {
|
1456 |
|
1457 |
// extracted by mini-css-extract-plugin
|
dist/chunks/0.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[0],{191:function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var n={};r.r(n),r.d(n,"find",(function(){return i}));var a={};r.r(a),r.d(a,"isTabbableIndex",(function(){return u})),r.d(a,"find",(function(){return b})),r.d(a,"findPrevious",(function(){return y})),r.d(a,"findNext",(function(){return g}));var o=["[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 c(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function i(e){var t=e.querySelectorAll(o);return Array.from(t).filter((function(e){return!!c(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&&c(r)}(e))}))}var s=r(3);function l(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function u(e){return-1!==l(e)}function d(e,t){return{element:e,index:t}}function f(e){return e.element}function p(e,t){var r=l(e.element),n=l(t.element);return r===n?e.index-t.index:r-n}function m(e){return e.filter(u).map(d).sort(p).map(f).reduce((t={},function(e,r){var n=r.nodeName,a=r.type,o=r.checked,c=r.name;if("INPUT"!==n||"radio"!==a||!c)return e.concat(r);var i=t.hasOwnProperty(c);if(!o&&i)return e;if(i){var l=t[c];e=Object(s.without)(e,l)}return t[c]=r,e.concat(r)}),[]);var t}function b(e){return m(i(e))}function y(){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)(m(t))}function g(){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)(m(n))}var O={focusable:n,tabbable:a}},500:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return u}));var n=r(0),a=r(42),o=r(110),c=r.n(o),i=r(25),s=c()(i.b),l=function(e){var t=s.getCurrencyConfig(),r=Object(a.applyFilters)("woocommerce_admin_report_currency",t,e);return c()(r)},u=Object(n.createContext)(s)},501:function(e,t,r){"use strict";var n=r(11),a=r.n(n),o=r(12),c=r.n(o),i=r(13),s=r.n(i),l=r(14),u=r.n(l),d=r(6),f=r.n(d),p=r(0),m=r(2),b=r(1),y=r.n(b),g=r(47),O=r(25);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,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return u()(this,r)}}var v=function(e){s()(r,e);var t=h(r);function r(){return a()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e,t,r,n,a=this.props,o=a.className,c=a.isError,i=a.isEmpty;return c?(e=Object(m.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),t=Object(m.__)("Reload","woocommerce-admin"),n=function(){window.location.reload()}):i&&(e=Object(m.__)("No results could be found for this date range.","woocommerce-admin"),t=Object(m.__)("View Orders","woocommerce-admin"),r=Object(O.f)("edit.php?post_type=shop_order")),Object(p.createElement)(g.EmptyContent,{className:o,title:e,actionLabel:t,actionURL:r,actionCallback:n})}}]),r}(p.Component);v.propTypes={className:y.a.string,isError:y.a.bool,isEmpty:y.a.bool},v.defaultProps={className:""},t.a=v},507:function(e,t,r){"use strict";var n=r(5),a=r.n(n),o=r(11),c=r.n(o),i=r(12),s=r.n(i),l=r(8),u=r.n(l),d=r(13),f=r.n(d),p=r(14),m=r.n(p),b=r(6),y=r.n(b),g=r(0),O=r(18),h=r(1),v=r.n(h),j=r(3),_=r(15),w=r(47),S=r(25),E=r(22),C=r(29),D=r(28),R=r(500),P=r(74);function F(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?F(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(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 a=y()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return m()(this,r)}}var q=function(e){f()(r,e);var t=x(r);function r(){var e;return c()(this,r),(e=t.call(this)).onDateSelect=e.onDateSelect.bind(u()(e)),e.onFilterSelect=e.onFilterSelect.bind(u()(e)),e.onAdvancedFilterAction=e.onAdvancedFilterAction.bind(u()(e)),e}return s()(r,[{key:"onDateSelect",value:function(e){var t=this.props,r=t.report;(0,t.addCesSurveyForAnalytics)(),Object(D.recordEvent)("datepicker_update",k({report:r},Object(j.omitBy)(e,j.isUndefined)))}},{key:"onFilterSelect",value:function(e){var t=this.props,r=t.report,n=t.addCesSurveyForAnalytics,a=e.filter||e["filter-variations"];["single_product","single_category","single_coupon","single_variation"].includes(a)&&n(),Object(D.recordEvent)("analytics_filter",{report:r,filter:e.filter||"all"})}},{key:"onAdvancedFilterAction",value:function(e,t){var r=this.props,n=r.report,a=r.addCesSurveyForAnalytics;switch(e){case"add":Object(D.recordEvent)("analytics_filters_add",{report:n,filter:t.key});break;case"remove":Object(D.recordEvent)("analytics_filters_remove",{report:n,filter:t.key});break;case"filter":var o=Object.keys(t).reduce((function(e,r){return e[Object(j.snakeCase)(r)]=t[r],e}),{});a(),Object(D.recordEvent)("analytics_filters_filter",k({report:n},o));break;case"clear_all":Object(D.recordEvent)("analytics_filters_clear_all",{report:n});break;case"match":Object(D.recordEvent)("analytics_filters_all_any",{report:n,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,n=e.path,a=e.query,o=e.showDatePicker,c=e.defaultDateRange,i=Object(C.getDateParamsFromQuery)(a,c),s=i.period,l=i.compare,u=i.before,d=i.after,f=Object(C.getCurrentDates)(a,c),p={period:s,compare:l,before:u,after:d,primaryDate:f.primary,secondaryDate:f.secondary},m=this.context;return Object(g.createElement)(w.ReportFilters,{query:a,siteLocale:S.c.siteLocale,currency:m.getCurrencyConfig(),path:n,filters:r,advancedFilters:t,showDatePicker:o,onDateSelect:this.onDateSelect,onFilterSelect:this.onFilterSelect,onAdvancedFilterAction:this.onAdvancedFilterAction,dateQuery:p,isoDateFormat:C.isoDateFormat})}}]),r}(g.Component);q.contextType=R.a,t.a=Object(O.compose)(Object(_.withSelect)((function(e){return{defaultDateRange:e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}})),Object(_.withDispatch)((function(e){return{addCesSurveyForAnalytics:e(P.c).addCesSurveyForAnalytics}})))(q),q.propTypes={advancedFilters:v.a.object,filters:v.a.array,path:v.a.string.isRequired,query:v.a.object,showDatePicker:v.a.bool,report:v.a.string.isRequired}},508:function(e,t,r){"use strict";var n=r(24),a=r.n(n),o=r(19),c=r.n(o),i=r(5),s=r.n(i),l=r(21),u=r.n(l),d=r(34),f=r.n(d),p=r(0),m=r(4),b=r(42),y=r(18),g=r(191),O=r(15),h=r(3),v=r(2),j=r(1),_=r.n(j),w=r(47),S=r(20),E=r(484),C=r(22),D=r(28),R=function(){return Object(p.createElement)("svg",{role:"img","aria-hidden":"true",focusable:"false",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},Object(p.createElement)("path",{d:"M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"}))},P=r(501);function F(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?F(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r(568);function x(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?x(Object(r),!0).forEach((function(t){s()(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}var A=function(e){var t=e.getHeadersContent,r=e.getRowsContent,n=e.getSummary,o=e.isRequesting,i=e.primaryData,l=e.tableData,d=e.endpoint,y=(e.itemIdField,e.tableQuery,e.compareBy),O=e.compareParam,j=e.searchBy,_=e.labels,F=void 0===_?{}:_,k=f()(e,["getHeadersContent","getRowsContent","getSummary","isRequesting","primaryData","tableData","endpoint","itemIdField","tableQuery","compareBy","compareParam","searchBy","labels"]),x=e.query,A=e.columnPrefsKey,N=l.items,T=l.query,Q=x[O]?Object(S.getIdsFromQuery)(x[y]):[],I=Object(p.useState)(Q),B=u()(I,2),U=B[0],L=B[1],M=Object(p.useRef)(null),V=Object(C.useUserPreferences)(),H=V.updateUserPreferences,z=f()(V,["updateUserPreferences"]);if(l.isError||i.isError)return Object(p.createElement)(P.a,{isError:!0});var G=[];A&&(G=z&&z[A]?z[A]:G);var J,K,W,Y,X=function(e,a,o){var c=n?n(a,o):null;return Object(b.applyFilters)("woocommerce_admin_report_table",{endpoint:d,headers:t(),rows:r(e),totals:a,summary:c,items:N})},Z=function(t){var r=e.ids;L(t?r:[])},$=function(t,r){var n=e.ids;if(r)L(Object(h.uniq)([n[t]].concat(c()(U))));else{var a=U.indexOf(n[t]);L([].concat(c()(U.slice(0,a)),c()(U.slice(a+1))))}},ee=function(t){var r=e.ids,n=void 0===r?[]:r,a=-1!==U.indexOf(n[t]);return{display:Object(p.createElement)(m.CheckboxControl,{onChange:Object(h.partial)($,t),checked:a}),value:!1}},te=o||l.isRequesting||i.isRequesting,re=Object(h.get)(i,["data","totals"],{}),ne=N.totalResults,ae=ne>0,oe=Object(S.getSearchWords)(x).map((function(e){return{key:e,label:e}})),ce=N.data,ie=X(ce,re,ne),se=ie.headers,le=ie.rows,ue=ie.summary;y&&(le=le.map((function(e,t){return[ee(t)].concat(c()(e))})),se=[(J=e.ids,K=void 0===J?[]:J,W=K.length>0,Y=W&&K.length===U.length,{cellClassName:"is-checkbox-column",key:"compare",label:Object(p.createElement)(m.CheckboxControl,{onChange:Z,"aria-label":Object(v.__)("Select All"),checked:Y,disabled:!W}),required:!0})].concat(c()(se)));var de=function(e,t){return t?e.map((function(e){return q(q({},e),{},{visible:e.required||!t.includes(e.key)})})):e.map((function(e){return q(q({},e),{},{visible:e.required||!e.hiddenByDefault})}))}(se,G);return Object(p.createElement)(p.Fragment,null,Object(p.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:M,"aria-hidden":!0}),Object(p.createElement)(w.TableCard,a()({className:"woocommerce-report-table",hasSearch:!!j,actions:[y&&Object(p.createElement)(w.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:U.length,helpText:F.helpText||Object(v.__)("Check at least two items below to compare","woocommerce-admin"),onClick:function(){y&&Object(S.onQueryChange)("compare")(y,O,U.join(","))},disabled:!ae},F.compareButton||Object(v.__)("Compare","woocommerce-admin")),j&&Object(p.createElement)(w.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:function(t){var r,n=e.baseSearchQuery,a=t.map((function(e){return e.label.replace(",","%2C")}));a.length?Object(S.updateQueryString)(q(q((r={filter:void 0},s()(r,O,void 0),s()(r,j,void 0),r),n),{},{search:Object(h.uniq)(a).join(",")})):Object(S.updateQueryString)({search:void 0});Object(D.recordEvent)("analytics_table_filter",{report:d})},placeholder:F.placeholder||Object(v.__)("Search by item name","woocommerce-admin"),selected:oe,showClearButton:!0,type:j,disabled:!ae}),ae&&Object(p.createElement)(m.Button,{key:"download",className:"woocommerce-table__download-button",disabled:te,onClick:function(){var t=e.createNotice,r=e.startExport,n=e.title,a=Object.assign({},x),o=N.data,c=N.totalResults,i="browser";if(delete a.extended_info,a.search&&delete a[j],o&&o.length===c){var s=X(o,c),l=s.headers,u=s.rows;Object(E.downloadCSVFile)(Object(E.generateCSVFileName)(n,a),Object(E.generateCSVDataFromTable)(l,u))}else i="email",r(d,T).then((function(){return t("success",Object(v.sprintf)(Object(v.__)("Your %s Report will be emailed to you.","woocommerce-admin"),n))})).catch((function(e){return t("error",e.message||Object(v.sprintf)(Object(v.__)("There was a problem exporting your %s Report. Please try again.","woocommerce-admin"),n))}));Object(D.recordEvent)("analytics_table_download",{report:d,rows:c,downloadType:i})}},Object(p.createElement)(R,null),Object(p.createElement)("span",{className:"woocommerce-table__download-button__label"},F.downloadButton||Object(v.__)("Download","woocommerce-admin")))],headers:de,isLoading:te,onQueryChange:S.onQueryChange,onColumnsChange:function(e,t){var r=se.map((function(e){return e.key})).filter((function(t){return!e.includes(t)}));if(A){var n=s()({},A,r);H(n)}if(t){var a={report:d,column:t,status:e.includes(t)?"on":"off"};Object(D.recordEvent)("analytics_table_header_toggle",a)}},onSort:function(e,t){Object(S.onQueryChange)("sort")(e,t);var r={report:d,column:e,direction:t};Object(D.recordEvent)("analytics_table_sort",r)},onPageChange:function(e,t){M.current.scrollIntoView();var r=M.current.nextSibling.querySelector(".woocommerce-table__table"),n=g.a.focusable.find(r);n.length&&n[0].focus(),t&&("goto"===t?Object(D.recordEvent)("analytics_table_go_to_page",{report:d,page:e}):Object(D.recordEvent)("analytics_table_page_click",{report:d,direction:t}))},rows:le,rowsPerPage:parseInt(T.per_page,10)||C.QUERY_DEFAULTS.pageSize,summary:ue,totalRows:ne},k)))};A.propTypes={baseSearchQuery:_.a.object,compareBy:_.a.string,compareParam:_.a.string,columnPrefsKey:_.a.string,endpoint:_.a.string,extendItemsMethodNames:_.a.shape({getError:_.a.string,isRequesting:_.a.string,load:_.a.string}),extendedItemsStoreName:_.a.string,getHeadersContent:_.a.func.isRequired,getRowsContent:_.a.func.isRequired,getSummary:_.a.func,itemIdField:_.a.string,labels:_.a.shape({compareButton:_.a.string,downloadButton:_.a.string,helpText:_.a.string,placeholder:_.a.string}),primaryData:_.a.object,searchBy:_.a.string,summaryFields:_.a.arrayOf(_.a.string),tableData:_.a.object.isRequired,tableQuery:_.a.object,title:_.a.string.isRequired},A.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:h.noop,baseSearchQuery:{}};var N=[],T={};t.a=Object(y.compose)(Object(O.withSelect)((function(e,t){var r=t.endpoint,n=t.getSummary,a=t.isRequesting,o=t.itemIdField,c=t.query,i=t.tableData,s=t.tableQuery,l=t.filters,u=t.advancedFilters,d=t.summaryFields;if(a||c.search&&(!c[r]||!c[r].length))return T;var f=e(C.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,p="categories"===r?"products":r,m=n?Object(C.getReportChartData)({endpoint:p,dataType:"primary",query:c,select:e,filters:l,advancedFilters:u,defaultDateRange:f,fields:d}):T,b=function(e,t,r){var n=t.extendItemsMethodNames,a=t.extendedItemsStoreName,o=t.itemIdField,c=r.items.data;if(!(Array.isArray(c)&&c.length&&n&&o))return r;var i=e(a),s=i[n.getError],l=i[n.isRequesting],u=i[n.load],d={include:c.map((function(e){return e[o]})).join(","),per_page:c.length},f=u(d),p=!!l&&l(d),m=!!s&&s(d),b=c.map((function(e){var t=Object(h.first)(f.filter((function(t){return e.id===t.id})));return k(k({},e),t)})),y=r.isRequesting||p,g=r.isError||m;return k(k({},r),{},{isRequesting:y,isError:g,items:k(k({},r.items),{},{data:b})})}(e,t,i||Object(C.getReportTableData)({endpoint:r,query:c,select:e,tableQuery:s,filters:l,advancedFilters:u,defaultDateRange:f}));return{primaryData:m,ids:o&&b.items.data?b.items.data.map((function(e){return e[o]})):N,tableData:b,query:c}})),Object(O.withDispatch)((function(e){var t=e(C.EXPORT_STORE_NAME).startExport;return{createNotice:e("core/notices").createNotice,startExport:t}})))(A)},568:function(e,t,r){}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[0],{191:function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var n={};r.r(n),r.d(n,"find",(function(){return i}));var a={};r.r(a),r.d(a,"isTabbableIndex",(function(){return u})),r.d(a,"find",(function(){return b})),r.d(a,"findPrevious",(function(){return y})),r.d(a,"findNext",(function(){return g}));var o=["[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 c(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function i(e){var t=e.querySelectorAll(o);return Array.from(t).filter((function(e){return!!c(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&&c(r)}(e))}))}var s=r(3);function l(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function u(e){return-1!==l(e)}function d(e,t){return{element:e,index:t}}function f(e){return e.element}function p(e,t){var r=l(e.element),n=l(t.element);return r===n?e.index-t.index:r-n}function m(e){return e.filter(u).map(d).sort(p).map(f).reduce((t={},function(e,r){var n=r.nodeName,a=r.type,o=r.checked,c=r.name;if("INPUT"!==n||"radio"!==a||!c)return e.concat(r);var i=t.hasOwnProperty(c);if(!o&&i)return e;if(i){var l=t[c];e=Object(s.without)(e,l)}return t[c]=r,e.concat(r)}),[]);var t}function b(e){return m(i(e))}function y(){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)(m(t))}function g(){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)(m(n))}var O={focusable:n,tabbable:a}},495:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return u}));var n=r(0),a=r(42),o=r(110),c=r.n(o),i=r(25),s=c()(i.b),l=function(e){var t=s.getCurrencyConfig(),r=Object(a.applyFilters)("woocommerce_admin_report_currency",t,e);return c()(r)},u=Object(n.createContext)(s)},496:function(e,t,r){"use strict";var n=r(11),a=r.n(n),o=r(12),c=r.n(o),i=r(13),s=r.n(i),l=r(14),u=r.n(l),d=r(6),f=r.n(d),p=r(0),m=r(2),b=r(1),y=r.n(b),g=r(47),O=r(25);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,n=f()(e);if(t){var a=f()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return u()(this,r)}}var v=function(e){s()(r,e);var t=h(r);function r(){return a()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e,t,r,n,a=this.props,o=a.className,c=a.isError,i=a.isEmpty;return c?(e=Object(m.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),t=Object(m.__)("Reload","woocommerce-admin"),n=function(){window.location.reload()}):i&&(e=Object(m.__)("No results could be found for this date range.","woocommerce-admin"),t=Object(m.__)("View Orders","woocommerce-admin"),r=Object(O.f)("edit.php?post_type=shop_order")),Object(p.createElement)(g.EmptyContent,{className:o,title:e,actionLabel:t,actionURL:r,actionCallback:n})}}]),r}(p.Component);v.propTypes={className:y.a.string,isError:y.a.bool,isEmpty:y.a.bool},v.defaultProps={className:""},t.a=v},502:function(e,t,r){"use strict";var n=r(5),a=r.n(n),o=r(11),c=r.n(o),i=r(12),s=r.n(i),l=r(9),u=r.n(l),d=r(13),f=r.n(d),p=r(14),m=r.n(p),b=r(6),y=r.n(b),g=r(0),O=r(18),h=r(1),v=r.n(h),j=r(3),_=r(15),w=r(47),S=r(25),E=r(23),C=r(29),D=r(28),R=r(495),P=r(73);function F(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?F(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(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 a=y()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return m()(this,r)}}var q=function(e){f()(r,e);var t=x(r);function r(){var e;return c()(this,r),(e=t.call(this)).onDateSelect=e.onDateSelect.bind(u()(e)),e.onFilterSelect=e.onFilterSelect.bind(u()(e)),e.onAdvancedFilterAction=e.onAdvancedFilterAction.bind(u()(e)),e}return s()(r,[{key:"onDateSelect",value:function(e){var t=this.props,r=t.report;(0,t.addCesSurveyForAnalytics)(),Object(D.recordEvent)("datepicker_update",k({report:r},Object(j.omitBy)(e,j.isUndefined)))}},{key:"onFilterSelect",value:function(e){var t=this.props,r=t.report,n=t.addCesSurveyForAnalytics,a=e.filter||e["filter-variations"];["single_product","single_category","single_coupon","single_variation"].includes(a)&&n(),Object(D.recordEvent)("analytics_filter",{report:r,filter:e.filter||"all"})}},{key:"onAdvancedFilterAction",value:function(e,t){var r=this.props,n=r.report,a=r.addCesSurveyForAnalytics;switch(e){case"add":Object(D.recordEvent)("analytics_filters_add",{report:n,filter:t.key});break;case"remove":Object(D.recordEvent)("analytics_filters_remove",{report:n,filter:t.key});break;case"filter":var o=Object.keys(t).reduce((function(e,r){return e[Object(j.snakeCase)(r)]=t[r],e}),{});a(),Object(D.recordEvent)("analytics_filters_filter",k({report:n},o));break;case"clear_all":Object(D.recordEvent)("analytics_filters_clear_all",{report:n});break;case"match":Object(D.recordEvent)("analytics_filters_all_any",{report:n,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,n=e.path,a=e.query,o=e.showDatePicker,c=e.defaultDateRange,i=Object(C.getDateParamsFromQuery)(a,c),s=i.period,l=i.compare,u=i.before,d=i.after,f=Object(C.getCurrentDates)(a,c),p={period:s,compare:l,before:u,after:d,primaryDate:f.primary,secondaryDate:f.secondary},m=this.context;return Object(g.createElement)(w.ReportFilters,{query:a,siteLocale:S.c.siteLocale,currency:m.getCurrencyConfig(),path:n,filters:r,advancedFilters:t,showDatePicker:o,onDateSelect:this.onDateSelect,onFilterSelect:this.onFilterSelect,onAdvancedFilterAction:this.onAdvancedFilterAction,dateQuery:p,isoDateFormat:C.isoDateFormat})}}]),r}(g.Component);q.contextType=R.a,t.a=Object(O.compose)(Object(_.withSelect)((function(e){return{defaultDateRange:e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}})),Object(_.withDispatch)((function(e){return{addCesSurveyForAnalytics:e(P.c).addCesSurveyForAnalytics}})))(q),q.propTypes={advancedFilters:v.a.object,filters:v.a.array,path:v.a.string.isRequired,query:v.a.object,showDatePicker:v.a.bool,report:v.a.string.isRequired}},503:function(e,t,r){"use strict";var n=r(24),a=r.n(n),o=r(20),c=r.n(o),i=r(5),s=r.n(i),l=r(19),u=r.n(l),d=r(34),f=r.n(d),p=r(0),m=r(4),b=r(42),y=r(18),g=r(191),O=r(15),h=r(3),v=r(2),j=r(1),_=r.n(j),w=r(47),S=r(21),E=r(479),C=r(23),D=r(28),R=function(){return Object(p.createElement)("svg",{role:"img","aria-hidden":"true",focusable:"false",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},Object(p.createElement)("path",{d:"M18,9c-0.009,0-0.017,0.002-0.025,0.003C17.72,5.646,14.922,3,11.5,3C7.91,3,5,5.91,5,9.5c0,0.524,0.069,1.031,0.186,1.519 C5.123,11.016,5.064,11,5,11c-2.209,0-4,1.791-4,4c0,1.202,0.541,2.267,1.38,3h18.593C22.196,17.089,23,15.643,23,14 C23,11.239,20.761,9,18,9z M12,16l-4-5h3V8h2v3h3L12,16z"}))},P=r(496);function F(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?F(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r(563);function x(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?x(Object(r),!0).forEach((function(t){s()(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}var A=function(e){var t=e.getHeadersContent,r=e.getRowsContent,n=e.getSummary,o=e.isRequesting,i=e.primaryData,l=e.tableData,d=e.endpoint,y=(e.itemIdField,e.tableQuery,e.compareBy),O=e.compareParam,j=e.searchBy,_=e.labels,F=void 0===_?{}:_,k=f()(e,["getHeadersContent","getRowsContent","getSummary","isRequesting","primaryData","tableData","endpoint","itemIdField","tableQuery","compareBy","compareParam","searchBy","labels"]),x=e.query,A=e.columnPrefsKey,N=l.items,T=l.query,Q=x[O]?Object(S.getIdsFromQuery)(x[y]):[],I=Object(p.useState)(Q),B=u()(I,2),U=B[0],L=B[1],M=Object(p.useRef)(null),V=Object(C.useUserPreferences)(),H=V.updateUserPreferences,z=f()(V,["updateUserPreferences"]);if(l.isError||i.isError)return Object(p.createElement)(P.a,{isError:!0});var G=[];A&&(G=z&&z[A]?z[A]:G);var J,K,W,Y,X=function(e,a,o){var c=n?n(a,o):null;return Object(b.applyFilters)("woocommerce_admin_report_table",{endpoint:d,headers:t(),rows:r(e),totals:a,summary:c,items:N})},Z=function(t){var r=e.ids;L(t?r:[])},$=function(t,r){var n=e.ids;if(r)L(Object(h.uniq)([n[t]].concat(c()(U))));else{var a=U.indexOf(n[t]);L([].concat(c()(U.slice(0,a)),c()(U.slice(a+1))))}},ee=function(t){var r=e.ids,n=void 0===r?[]:r,a=-1!==U.indexOf(n[t]);return{display:Object(p.createElement)(m.CheckboxControl,{onChange:Object(h.partial)($,t),checked:a}),value:!1}},te=o||l.isRequesting||i.isRequesting,re=Object(h.get)(i,["data","totals"],{}),ne=N.totalResults,ae=ne>0,oe=Object(S.getSearchWords)(x).map((function(e){return{key:e,label:e}})),ce=N.data,ie=X(ce,re,ne),se=ie.headers,le=ie.rows,ue=ie.summary;y&&(le=le.map((function(e,t){return[ee(t)].concat(c()(e))})),se=[(J=e.ids,K=void 0===J?[]:J,W=K.length>0,Y=W&&K.length===U.length,{cellClassName:"is-checkbox-column",key:"compare",label:Object(p.createElement)(m.CheckboxControl,{onChange:Z,"aria-label":Object(v.__)("Select All"),checked:Y,disabled:!W}),required:!0})].concat(c()(se)));var de=function(e,t){return t?e.map((function(e){return q(q({},e),{},{visible:e.required||!t.includes(e.key)})})):e.map((function(e){return q(q({},e),{},{visible:e.required||!e.hiddenByDefault})}))}(se,G);return Object(p.createElement)(p.Fragment,null,Object(p.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:M,"aria-hidden":!0}),Object(p.createElement)(w.TableCard,a()({className:"woocommerce-report-table",hasSearch:!!j,actions:[y&&Object(p.createElement)(w.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:U.length,helpText:F.helpText||Object(v.__)("Check at least two items below to compare","woocommerce-admin"),onClick:function(){y&&Object(S.onQueryChange)("compare")(y,O,U.join(","))},disabled:!ae},F.compareButton||Object(v.__)("Compare","woocommerce-admin")),j&&Object(p.createElement)(w.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:function(t){var r,n=e.baseSearchQuery,a=t.map((function(e){return e.label.replace(",","%2C")}));a.length?Object(S.updateQueryString)(q(q((r={filter:void 0},s()(r,O,void 0),s()(r,j,void 0),r),n),{},{search:Object(h.uniq)(a).join(",")})):Object(S.updateQueryString)({search:void 0});Object(D.recordEvent)("analytics_table_filter",{report:d})},placeholder:F.placeholder||Object(v.__)("Search by item name","woocommerce-admin"),selected:oe,showClearButton:!0,type:j,disabled:!ae}),ae&&Object(p.createElement)(m.Button,{key:"download",className:"woocommerce-table__download-button",disabled:te,onClick:function(){var t=e.createNotice,r=e.startExport,n=e.title,a=Object.assign({},x),o=N.data,c=N.totalResults,i="browser";if(delete a.extended_info,a.search&&delete a[j],o&&o.length===c){var s=X(o,c),l=s.headers,u=s.rows;Object(E.downloadCSVFile)(Object(E.generateCSVFileName)(n,a),Object(E.generateCSVDataFromTable)(l,u))}else i="email",r(d,T).then((function(){return t("success",Object(v.sprintf)(Object(v.__)("Your %s Report will be emailed to you.","woocommerce-admin"),n))})).catch((function(e){return t("error",e.message||Object(v.sprintf)(Object(v.__)("There was a problem exporting your %s Report. Please try again.","woocommerce-admin"),n))}));Object(D.recordEvent)("analytics_table_download",{report:d,rows:c,downloadType:i})}},Object(p.createElement)(R,null),Object(p.createElement)("span",{className:"woocommerce-table__download-button__label"},F.downloadButton||Object(v.__)("Download","woocommerce-admin")))],headers:de,isLoading:te,onQueryChange:S.onQueryChange,onColumnsChange:function(e,t){var r=se.map((function(e){return e.key})).filter((function(t){return!e.includes(t)}));if(A){var n=s()({},A,r);H(n)}if(t){var a={report:d,column:t,status:e.includes(t)?"on":"off"};Object(D.recordEvent)("analytics_table_header_toggle",a)}},onSort:function(e,t){Object(S.onQueryChange)("sort")(e,t);var r={report:d,column:e,direction:t};Object(D.recordEvent)("analytics_table_sort",r)},onPageChange:function(e,t){M.current.scrollIntoView();var r=M.current.nextSibling.querySelector(".woocommerce-table__table"),n=g.a.focusable.find(r);n.length&&n[0].focus(),t&&("goto"===t?Object(D.recordEvent)("analytics_table_go_to_page",{report:d,page:e}):Object(D.recordEvent)("analytics_table_page_click",{report:d,direction:t}))},rows:le,rowsPerPage:parseInt(T.per_page,10)||C.QUERY_DEFAULTS.pageSize,summary:ue,totalRows:ne},k)))};A.propTypes={baseSearchQuery:_.a.object,compareBy:_.a.string,compareParam:_.a.string,columnPrefsKey:_.a.string,endpoint:_.a.string,extendItemsMethodNames:_.a.shape({getError:_.a.string,isRequesting:_.a.string,load:_.a.string}),extendedItemsStoreName:_.a.string,getHeadersContent:_.a.func.isRequired,getRowsContent:_.a.func.isRequired,getSummary:_.a.func,itemIdField:_.a.string,labels:_.a.shape({compareButton:_.a.string,downloadButton:_.a.string,helpText:_.a.string,placeholder:_.a.string}),primaryData:_.a.object,searchBy:_.a.string,summaryFields:_.a.arrayOf(_.a.string),tableData:_.a.object.isRequired,tableQuery:_.a.object,title:_.a.string.isRequired},A.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:h.noop,baseSearchQuery:{}};var N=[],T={};t.a=Object(y.compose)(Object(O.withSelect)((function(e,t){var r=t.endpoint,n=t.getSummary,a=t.isRequesting,o=t.itemIdField,c=t.query,i=t.tableData,s=t.tableQuery,l=t.filters,u=t.advancedFilters,d=t.summaryFields;if(a||c.search&&(!c[r]||!c[r].length))return T;var f=e(C.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,p="categories"===r?"products":r,m=n?Object(C.getReportChartData)({endpoint:p,dataType:"primary",query:c,select:e,filters:l,advancedFilters:u,defaultDateRange:f,fields:d}):T,b=function(e,t,r){var n=t.extendItemsMethodNames,a=t.extendedItemsStoreName,o=t.itemIdField,c=r.items.data;if(!(Array.isArray(c)&&c.length&&n&&o))return r;var i=e(a),s=i[n.getError],l=i[n.isRequesting],u=i[n.load],d={include:c.map((function(e){return e[o]})).join(","),per_page:c.length},f=u(d),p=!!l&&l(d),m=!!s&&s(d),b=c.map((function(e){var t=Object(h.first)(f.filter((function(t){return e.id===t.id})));return k(k({},e),t)})),y=r.isRequesting||p,g=r.isError||m;return k(k({},r),{},{isRequesting:y,isError:g,items:k(k({},r.items),{},{data:b})})}(e,t,i||Object(C.getReportTableData)({endpoint:r,query:c,select:e,tableQuery:s,filters:l,advancedFilters:u,defaultDateRange:f}));return{primaryData:m,ids:o&&b.items.data?b.items.data.map((function(e){return e[o]})):N,tableData:b,query:c}})),Object(O.withDispatch)((function(e){var t=e(C.EXPORT_STORE_NAME).startExport;return{createNotice:e("core/notices").createNotice,startExport:t}})))(A)},563:function(e,t,r){}}]);
|
dist/chunks/1.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[1],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, exports, __webpack_require__) {
|
5 |
|
6 |
/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[1],{
|
2 |
|
3 |
+
/***/ 510:
|
4 |
/***/ (function(module, exports, __webpack_require__) {
|
5 |
|
6 |
/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */
|
dist/chunks/1.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
/*! For license information please see 1.min.js.LICENSE.txt */
|
2 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[1],{515:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,i=Object.freeze,a=Object.seal,l=Object.create,c="undefined"!=typeof Reflect&&Reflect,s=c.apply,u=c.construct;s||(s=function(e,t,n){return e.apply(t,n)}),i||(i=function(e){return e}),a||(a=function(e){return e}),u||(u=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var m,f=w(Array.prototype.forEach),p=w(Array.prototype.pop),d=w(Array.prototype.push),g=w(String.prototype.toLowerCase),h=w(String.prototype.match),y=w(String.prototype.replace),v=w(String.prototype.indexOf),b=w(String.prototype.trim),T=w(RegExp.prototype.test),A=(m=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u(m,t)});function w(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return s(e,t,r)}}function x(e,r){t&&t(e,null);for(var o=r.length;o--;){var i=r[o];if("string"==typeof i){var a=g(i);a!==i&&(n(r)||(r[o]=a),i=a)}e[i]=!0}return e}function S(t){var n=l(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}function _(e,t){for(;null!==e;){var n=o(e,t);if(n){if(n.get)return w(n.get);if("function"==typeof n.value)return w(n.value)}e=r(e)}return null}var k=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),E=i(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),L=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=i(["#text"]),M=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),F=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),C=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),I=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),H=a(/<%[\s\S]*|[\s\S]*%>/gm),U=a(/^data-[\-\w.\u00B7-\uFFFF]/),j=a(/^aria-[\-\w]+$/),P=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),B=a(/^(?:\w+script|data):/i),W=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G="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};function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var K=function(){return"undefined"==typeof window?null:window},V=function(e,t){if("object"!==(void 0===e?"undefined":G(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K(),n=function(t){return e(t)};if(n.version="2.2.6",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,o=t.document,a=t.DocumentFragment,l=t.HTMLTemplateElement,c=t.Node,s=t.Element,u=t.NodeFilter,m=t.NamedNodeMap,w=void 0===m?t.NamedNodeMap||t.MozNamedAttrMap:m,Y=t.Text,J=t.Comment,X=t.DOMParser,$=t.trustedTypes,Z=s.prototype,Q=_(Z,"cloneNode"),ee=_(Z,"nextSibling"),te=_(Z,"childNodes"),ne=_(Z,"parentNode");if("function"==typeof l){var re=o.createElement("template");re.content&&re.content.ownerDocument&&(o=re.content.ownerDocument)}var oe=V($,r),ie=oe&&ze?oe.createHTML(""):"",ae=o,le=ae.implementation,ce=ae.createNodeIterator,se=ae.getElementsByTagName,ue=ae.createDocumentFragment,me=r.importNode,fe={};try{fe=S(o).documentMode?o.documentMode:{}}catch(e){}var pe={};n.isSupported=le&&void 0!==le.createHTMLDocument&&9!==fe;var de=z,ge=H,he=U,ye=j,ve=B,be=W,Te=P,Ae=null,we=x({},[].concat(q(k),q(R),q(D),q(N),q(O))),xe=null,Se=x({},[].concat(q(M),q(F),q(C),q(I))),_e=null,ke=null,Re=!0,De=!0,Ee=!1,Ne=!1,Le=!1,Oe=!1,Me=!1,Fe=!1,Ce=!1,Ie=!0,ze=!1,He=!0,Ue=!0,je=!1,Pe={},Be=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),We=null,Ge=x({},["audio","video","img","source","image","track"]),qe=null,Ke=x({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ve=null,Ye=o.createElement("form"),Je=function(e){Ve&&Ve===e||(e&&"object"===(void 0===e?"undefined":G(e))||(e={}),e=S(e),Ae="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS):we,xe="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR):Se,qe="ADD_URI_SAFE_ATTR"in e?x(S(Ke),e.ADD_URI_SAFE_ATTR):Ke,We="ADD_DATA_URI_TAGS"in e?x(S(Ge),e.ADD_DATA_URI_TAGS):Ge,_e="FORBID_TAGS"in e?x({},e.FORBID_TAGS):{},ke="FORBID_ATTR"in e?x({},e.FORBID_ATTR):{},Pe="USE_PROFILES"in e&&e.USE_PROFILES,Re=!1!==e.ALLOW_ARIA_ATTR,De=!1!==e.ALLOW_DATA_ATTR,Ee=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_TEMPLATES||!1,Le=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Ce=e.RETURN_DOM_FRAGMENT||!1,Ie=!1!==e.RETURN_DOM_IMPORT,ze=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,He=!1!==e.SANITIZE_DOM,Ue=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,Te=e.ALLOWED_URI_REGEXP||Te,Ne&&(De=!1),Ce&&(Fe=!0),Pe&&(Ae=x({},[].concat(q(O))),xe=[],!0===Pe.html&&(x(Ae,k),x(xe,M)),!0===Pe.svg&&(x(Ae,R),x(xe,F),x(xe,I)),!0===Pe.svgFilters&&(x(Ae,D),x(xe,F),x(xe,I)),!0===Pe.mathMl&&(x(Ae,N),x(xe,C),x(xe,I))),e.ADD_TAGS&&(Ae===we&&(Ae=S(Ae)),x(Ae,e.ADD_TAGS)),e.ADD_ATTR&&(xe===Se&&(xe=S(xe)),x(xe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&x(qe,e.ADD_URI_SAFE_ATTR),Ue&&(Ae["#text"]=!0),Le&&x(Ae,["html","head","body"]),Ae.table&&(x(Ae,["tbody"]),delete _e.tbody),i&&i(e),Ve=e)},Xe=x({},["mi","mo","mn","ms","mtext"]),$e=x({},["foreignobject","desc","title","annotation-xml"]),Ze=x({},R);x(Ze,D),x(Ze,E);var Qe=x({},N);x(Qe,L);var et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml",rt=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:nt,tagName:"template"});var n=g(e.tagName),r=g(t.tagName);if(e.namespaceURI===tt)return t.namespaceURI===nt?"svg"===n:t.namespaceURI===et?"svg"===n&&("annotation-xml"===r||Xe[r]):Boolean(Ze[n]);if(e.namespaceURI===et)return t.namespaceURI===nt?"math"===n:t.namespaceURI===tt?"math"===n&&$e[r]:Boolean(Qe[n]);if(e.namespaceURI===nt){if(t.namespaceURI===tt&&!$e[r])return!1;if(t.namespaceURI===et&&!Xe[r])return!1;var o=x({},["title","style","font","a","script"]);return!Qe[n]&&(o[n]||!Ze[n])}return!1},ot=function(e){d(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},it=function(e,t){try{d(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){d(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},at=function(e){var t=void 0,n=void 0;if(Me)e="<remove></remove>"+e;else{var r=h(e,/^[\r\n\t ]+/);n=r&&r[0]}var i=oe?oe.createHTML(e):e;try{t=(new X).parseFromString(i,"text/html")}catch(e){}if(!t||!t.documentElement){var a=(t=le.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=i}return e&&n&&t.body.insertBefore(o.createTextNode(n),t.body.childNodes[0]||null),se.call(t,Le?"html":"body")[0]},lt=function(e){return ce.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,(function(){return u.FILTER_ACCEPT}),!1)},ct=function(e){return!(e instanceof Y||e instanceof J||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof w&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},st=function(e){return"object"===(void 0===c?"undefined":G(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":G(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},ut=function(e,t,r){pe[e]&&f(pe[e],(function(e){e.call(n,t,r,Ve)}))},mt=function(e){var t=void 0;if(ut("beforeSanitizeElements",e,null),ct(e))return ot(e),!0;if(h(e.nodeName,/[\u0080-\uFFFF]/))return ot(e),!0;var r=g(e.nodeName);if(ut("uponSanitizeElement",e,{tagName:r,allowedTags:Ae}),!st(e.firstElementChild)&&(!st(e.content)||!st(e.content.firstElementChild))&&T(/<[/\w]/g,e.innerHTML)&&T(/<[/\w]/g,e.textContent))return ot(e),!0;if(!Ae[r]||_e[r]){if(Ue&&!Be[r])for(var o=ne(e),i=te(e),a=i.length-1;a>=0;--a)o.insertBefore(Q(i[a],!0),ee(e));return ot(e),!0}return e instanceof s&&!rt(e)?(ot(e),!0):"noscript"!==r&&"noembed"!==r||!T(/<\/no(script|embed)/i,e.innerHTML)?(Ne&&3===e.nodeType&&(t=e.textContent,t=y(t,de," "),t=y(t,ge," "),e.textContent!==t&&(d(n.removed,{element:e.cloneNode()}),e.textContent=t)),ut("afterSanitizeElements",e,null),!1):(ot(e),!0)},ft=function(e,t,n){if(He&&("id"===t||"name"===t)&&(n in o||n in Ye))return!1;if(De&&T(he,t));else if(Re&&T(ye,t));else{if(!xe[t]||ke[t])return!1;if(qe[t]);else if(T(Te,y(n,be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!We[e])if(Ee&&!T(ve,y(n,be,"")));else if(n)return!1}return!0},pt=function(e){var t=void 0,r=void 0,o=void 0,i=void 0;ut("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe};for(i=a.length;i--;){var c=t=a[i],s=c.name,u=c.namespaceURI;if(r=b(t.value),o=g(s),l.attrName=o,l.attrValue=r,l.keepAttr=!0,l.forceKeepAttr=void 0,ut("uponSanitizeAttribute",e,l),r=l.attrValue,!l.forceKeepAttr&&(it(s,e),l.keepAttr))if(T(/\/>/i,r))it(s,e);else{Ne&&(r=y(r,de," "),r=y(r,ge," "));var m=e.nodeName.toLowerCase();if(ft(m,o,r))try{u?e.setAttributeNS(u,s,r):e.setAttribute(s,r),p(n.removed)}catch(e){}}}ut("afterSanitizeAttributes",e,null)}},dt=function e(t){var n=void 0,r=lt(t);for(ut("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)ut("uponSanitizeShadowNode",n,null),mt(n)||(n.content instanceof a&&e(n.content),pt(n));ut("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var i=void 0,l=void 0,s=void 0,u=void 0,m=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!st(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!n.isSupported){if("object"===G(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(st(e))return t.toStaticHTML(e.outerHTML)}return e}if(Oe||Je(o),n.removed=[],"string"==typeof e&&(je=!1),je);else if(e instanceof c)1===(l=(i=at("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?i=l:i.appendChild(l);else{if(!Fe&&!Ne&&!Le&&-1===e.indexOf("<"))return oe&&ze?oe.createHTML(e):e;if(!(i=at(e)))return Fe?null:ie}i&&Me&&ot(i.firstChild);for(var f=lt(je?e:i);s=f.nextNode();)3===s.nodeType&&s===u||mt(s)||(s.content instanceof a&&dt(s.content),pt(s),u=s);if(u=null,je)return e;if(Fe){if(Ce)for(m=ue.call(i.ownerDocument);i.firstChild;)m.appendChild(i.firstChild);else m=i;return Ie&&(m=me.call(r,m,!0)),m}var p=Le?i.outerHTML:i.innerHTML;return Ne&&(p=y(p,de," "),p=y(p,ge," ")),oe&&ze?oe.createHTML(p):p},n.setConfig=function(e){Je(e),Oe=!0},n.clearConfig=function(){Ve=null,Oe=!1},n.isValidAttribute=function(e,t,n){Ve||Je({});var r=g(e),o=g(t);return ft(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],d(pe[e],t))},n.removeHook=function(e){pe[e]&&p(pe[e])},n.removeHooks=function(e){pe[e]&&(pe[e]=[])},n.removeAllHooks=function(){pe={}},n}()}()}}]);
|
1 |
/*! For license information please see 1.min.js.LICENSE.txt */
|
2 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[1],{510:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,i=Object.freeze,a=Object.seal,l=Object.create,c="undefined"!=typeof Reflect&&Reflect,s=c.apply,u=c.construct;s||(s=function(e,t,n){return e.apply(t,n)}),i||(i=function(e){return e}),a||(a=function(e){return e}),u||(u=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var m,f=w(Array.prototype.forEach),p=w(Array.prototype.pop),d=w(Array.prototype.push),g=w(String.prototype.toLowerCase),h=w(String.prototype.match),y=w(String.prototype.replace),v=w(String.prototype.indexOf),b=w(String.prototype.trim),T=w(RegExp.prototype.test),A=(m=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u(m,t)});function w(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return s(e,t,r)}}function x(e,r){t&&t(e,null);for(var o=r.length;o--;){var i=r[o];if("string"==typeof i){var a=g(i);a!==i&&(n(r)||(r[o]=a),i=a)}e[i]=!0}return e}function S(t){var n=l(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}function _(e,t){for(;null!==e;){var n=o(e,t);if(n){if(n.get)return w(n.get);if("function"==typeof n.value)return w(n.value)}e=r(e)}return null}var k=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),E=i(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),L=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=i(["#text"]),M=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),F=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),C=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),I=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),H=a(/<%[\s\S]*|[\s\S]*%>/gm),U=a(/^data-[\-\w.\u00B7-\uFFFF]/),j=a(/^aria-[\-\w]+$/),P=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),B=a(/^(?:\w+script|data):/i),W=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G="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};function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var K=function(){return"undefined"==typeof window?null:window},V=function(e,t){if("object"!==(void 0===e?"undefined":G(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K(),n=function(t){return e(t)};if(n.version="2.2.6",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,o=t.document,a=t.DocumentFragment,l=t.HTMLTemplateElement,c=t.Node,s=t.Element,u=t.NodeFilter,m=t.NamedNodeMap,w=void 0===m?t.NamedNodeMap||t.MozNamedAttrMap:m,Y=t.Text,J=t.Comment,X=t.DOMParser,$=t.trustedTypes,Z=s.prototype,Q=_(Z,"cloneNode"),ee=_(Z,"nextSibling"),te=_(Z,"childNodes"),ne=_(Z,"parentNode");if("function"==typeof l){var re=o.createElement("template");re.content&&re.content.ownerDocument&&(o=re.content.ownerDocument)}var oe=V($,r),ie=oe&&ze?oe.createHTML(""):"",ae=o,le=ae.implementation,ce=ae.createNodeIterator,se=ae.getElementsByTagName,ue=ae.createDocumentFragment,me=r.importNode,fe={};try{fe=S(o).documentMode?o.documentMode:{}}catch(e){}var pe={};n.isSupported=le&&void 0!==le.createHTMLDocument&&9!==fe;var de=z,ge=H,he=U,ye=j,ve=B,be=W,Te=P,Ae=null,we=x({},[].concat(q(k),q(R),q(D),q(N),q(O))),xe=null,Se=x({},[].concat(q(M),q(F),q(C),q(I))),_e=null,ke=null,Re=!0,De=!0,Ee=!1,Ne=!1,Le=!1,Oe=!1,Me=!1,Fe=!1,Ce=!1,Ie=!0,ze=!1,He=!0,Ue=!0,je=!1,Pe={},Be=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),We=null,Ge=x({},["audio","video","img","source","image","track"]),qe=null,Ke=x({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ve=null,Ye=o.createElement("form"),Je=function(e){Ve&&Ve===e||(e&&"object"===(void 0===e?"undefined":G(e))||(e={}),e=S(e),Ae="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS):we,xe="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR):Se,qe="ADD_URI_SAFE_ATTR"in e?x(S(Ke),e.ADD_URI_SAFE_ATTR):Ke,We="ADD_DATA_URI_TAGS"in e?x(S(Ge),e.ADD_DATA_URI_TAGS):Ge,_e="FORBID_TAGS"in e?x({},e.FORBID_TAGS):{},ke="FORBID_ATTR"in e?x({},e.FORBID_ATTR):{},Pe="USE_PROFILES"in e&&e.USE_PROFILES,Re=!1!==e.ALLOW_ARIA_ATTR,De=!1!==e.ALLOW_DATA_ATTR,Ee=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_TEMPLATES||!1,Le=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Ce=e.RETURN_DOM_FRAGMENT||!1,Ie=!1!==e.RETURN_DOM_IMPORT,ze=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,He=!1!==e.SANITIZE_DOM,Ue=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,Te=e.ALLOWED_URI_REGEXP||Te,Ne&&(De=!1),Ce&&(Fe=!0),Pe&&(Ae=x({},[].concat(q(O))),xe=[],!0===Pe.html&&(x(Ae,k),x(xe,M)),!0===Pe.svg&&(x(Ae,R),x(xe,F),x(xe,I)),!0===Pe.svgFilters&&(x(Ae,D),x(xe,F),x(xe,I)),!0===Pe.mathMl&&(x(Ae,N),x(xe,C),x(xe,I))),e.ADD_TAGS&&(Ae===we&&(Ae=S(Ae)),x(Ae,e.ADD_TAGS)),e.ADD_ATTR&&(xe===Se&&(xe=S(xe)),x(xe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&x(qe,e.ADD_URI_SAFE_ATTR),Ue&&(Ae["#text"]=!0),Le&&x(Ae,["html","head","body"]),Ae.table&&(x(Ae,["tbody"]),delete _e.tbody),i&&i(e),Ve=e)},Xe=x({},["mi","mo","mn","ms","mtext"]),$e=x({},["foreignobject","desc","title","annotation-xml"]),Ze=x({},R);x(Ze,D),x(Ze,E);var Qe=x({},N);x(Qe,L);var et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml",rt=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:nt,tagName:"template"});var n=g(e.tagName),r=g(t.tagName);if(e.namespaceURI===tt)return t.namespaceURI===nt?"svg"===n:t.namespaceURI===et?"svg"===n&&("annotation-xml"===r||Xe[r]):Boolean(Ze[n]);if(e.namespaceURI===et)return t.namespaceURI===nt?"math"===n:t.namespaceURI===tt?"math"===n&&$e[r]:Boolean(Qe[n]);if(e.namespaceURI===nt){if(t.namespaceURI===tt&&!$e[r])return!1;if(t.namespaceURI===et&&!Xe[r])return!1;var o=x({},["title","style","font","a","script"]);return!Qe[n]&&(o[n]||!Ze[n])}return!1},ot=function(e){d(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},it=function(e,t){try{d(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){d(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},at=function(e){var t=void 0,n=void 0;if(Me)e="<remove></remove>"+e;else{var r=h(e,/^[\r\n\t ]+/);n=r&&r[0]}var i=oe?oe.createHTML(e):e;try{t=(new X).parseFromString(i,"text/html")}catch(e){}if(!t||!t.documentElement){var a=(t=le.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=i}return e&&n&&t.body.insertBefore(o.createTextNode(n),t.body.childNodes[0]||null),se.call(t,Le?"html":"body")[0]},lt=function(e){return ce.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,(function(){return u.FILTER_ACCEPT}),!1)},ct=function(e){return!(e instanceof Y||e instanceof J||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof w&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},st=function(e){return"object"===(void 0===c?"undefined":G(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":G(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},ut=function(e,t,r){pe[e]&&f(pe[e],(function(e){e.call(n,t,r,Ve)}))},mt=function(e){var t=void 0;if(ut("beforeSanitizeElements",e,null),ct(e))return ot(e),!0;if(h(e.nodeName,/[\u0080-\uFFFF]/))return ot(e),!0;var r=g(e.nodeName);if(ut("uponSanitizeElement",e,{tagName:r,allowedTags:Ae}),!st(e.firstElementChild)&&(!st(e.content)||!st(e.content.firstElementChild))&&T(/<[/\w]/g,e.innerHTML)&&T(/<[/\w]/g,e.textContent))return ot(e),!0;if(!Ae[r]||_e[r]){if(Ue&&!Be[r])for(var o=ne(e),i=te(e),a=i.length-1;a>=0;--a)o.insertBefore(Q(i[a],!0),ee(e));return ot(e),!0}return e instanceof s&&!rt(e)?(ot(e),!0):"noscript"!==r&&"noembed"!==r||!T(/<\/no(script|embed)/i,e.innerHTML)?(Ne&&3===e.nodeType&&(t=e.textContent,t=y(t,de," "),t=y(t,ge," "),e.textContent!==t&&(d(n.removed,{element:e.cloneNode()}),e.textContent=t)),ut("afterSanitizeElements",e,null),!1):(ot(e),!0)},ft=function(e,t,n){if(He&&("id"===t||"name"===t)&&(n in o||n in Ye))return!1;if(De&&T(he,t));else if(Re&&T(ye,t));else{if(!xe[t]||ke[t])return!1;if(qe[t]);else if(T(Te,y(n,be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!We[e])if(Ee&&!T(ve,y(n,be,"")));else if(n)return!1}return!0},pt=function(e){var t=void 0,r=void 0,o=void 0,i=void 0;ut("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe};for(i=a.length;i--;){var c=t=a[i],s=c.name,u=c.namespaceURI;if(r=b(t.value),o=g(s),l.attrName=o,l.attrValue=r,l.keepAttr=!0,l.forceKeepAttr=void 0,ut("uponSanitizeAttribute",e,l),r=l.attrValue,!l.forceKeepAttr&&(it(s,e),l.keepAttr))if(T(/\/>/i,r))it(s,e);else{Ne&&(r=y(r,de," "),r=y(r,ge," "));var m=e.nodeName.toLowerCase();if(ft(m,o,r))try{u?e.setAttributeNS(u,s,r):e.setAttribute(s,r),p(n.removed)}catch(e){}}}ut("afterSanitizeAttributes",e,null)}},dt=function e(t){var n=void 0,r=lt(t);for(ut("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)ut("uponSanitizeShadowNode",n,null),mt(n)||(n.content instanceof a&&e(n.content),pt(n));ut("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var i=void 0,l=void 0,s=void 0,u=void 0,m=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!st(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!n.isSupported){if("object"===G(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(st(e))return t.toStaticHTML(e.outerHTML)}return e}if(Oe||Je(o),n.removed=[],"string"==typeof e&&(je=!1),je);else if(e instanceof c)1===(l=(i=at("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?i=l:i.appendChild(l);else{if(!Fe&&!Ne&&!Le&&-1===e.indexOf("<"))return oe&&ze?oe.createHTML(e):e;if(!(i=at(e)))return Fe?null:ie}i&&Me&&ot(i.firstChild);for(var f=lt(je?e:i);s=f.nextNode();)3===s.nodeType&&s===u||mt(s)||(s.content instanceof a&&dt(s.content),pt(s),u=s);if(u=null,je)return e;if(Fe){if(Ce)for(m=ue.call(i.ownerDocument);i.firstChild;)m.appendChild(i.firstChild);else m=i;return Ie&&(m=me.call(r,m,!0)),m}var p=Le?i.outerHTML:i.innerHTML;return Ne&&(p=y(p,de," "),p=y(p,ge," ")),oe&&ze?oe.createHTML(p):p},n.setConfig=function(e){Je(e),Oe=!0},n.clearConfig=function(){Ve=null,Oe=!1},n.isValidAttribute=function(e,t,n){Ve||Je({});var r=g(e),o=g(t);return ft(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],d(pe[e],t))},n.removeHook=function(e){pe[e]&&p(pe[e])},n.removeHooks=function(e){pe[e]&&(pe[e]=[])},n.removeAllHooks=function(){pe={}},n}()}()}}]);
|
dist/chunks/2.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[2],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
@@ -775,7 +775,7 @@ CSSTransition_CSSTransition.propTypes = false ? undefined : {};
|
|
775 |
|
776 |
/***/ }),
|
777 |
|
778 |
-
/***/
|
779 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
780 |
|
781 |
"use strict";
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[2],{
|
2 |
|
3 |
+
/***/ 294:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
775 |
|
776 |
/***/ }),
|
777 |
|
778 |
+
/***/ 295:
|
779 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
780 |
|
781 |
"use strict";
|
dist/chunks/2.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[2],{
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[2],{294:function(e,t,n){"use strict";var i=n(32),s=n(41),r=n(38);n(1);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var o=n(10),l=n.n(o),c=n(48),u=n.n(c),p=!1,d=n(64),f=function(e){function t(t,n){var i;i=e.call(this,t,n)||this;var s,r=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?r?(s="exited",i.appearStatus="entering"):s="entered":s=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",i.state={status:s},i.nextCallback=null,i}Object(r.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!=typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,s=this.props.nodeRef?[i]:[u.a.findDOMNode(this),i],r=s[0],a=s[1],o=this.getTimeouts(),l=i?o.appear:o.enter;!e&&!n||p?this.safeSetState({status:"entered"},(function(){t.props.onEntered(r)})):(this.props.onEnter(r,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(r,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(r,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:u.a.findDOMNode(this);t&&!p?(this.props.onExit(i),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(i)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u.a.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],r=s[0],a=s[1];this.props.addEndListener(r,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Object(s.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return l.a.createElement(d.a.Provider,{value:null},"function"==typeof n?n(e,i):l.a.cloneElement(l.a.Children.only(n),i))},t}(l.a.Component);function h(){}f.contextType=d.a,f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},f.UNMOUNTED="unmounted",f.EXITED="exited",f.ENTERING="entering",f.ENTERED="entered",f.EXITING="exiting";var E=f,m=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.remove(i):"string"==typeof n.className?n.className=a(n.className,i):n.setAttribute("class",a(n.className&&n.className.baseVal||"",i)));var n,i}))},x=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return(t=e.call.apply(e,[this].concat(i))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var i=t.resolveArguments(e,n),s=i[0],r=i[1];t.removeClasses(s,"exit"),t.addClass(s,r?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var i=t.resolveArguments(e,n),s=i[0],r=i[1]?"appear":"enter";t.addClass(s,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var i=t.resolveArguments(e,n),s=i[0],r=i[1]?"appear":"enter";t.removeClasses(s,r),t.addClass(s,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,i="string"==typeof n,s=i?""+(i&&n?n+"-":"")+e:n[e];return{baseClassName:s,activeClassName:i?s+"-active":n[e+"Active"],doneClassName:i?s+"-done":n[e+"Done"]}},t}Object(r.a)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var i=this.getClassNames(t)[n+"ClassName"],s=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&s&&(i+=" "+s),"active"===n&&e&&e.scrollTop,i&&(this.appliedClasses[t][n]=i,function(e,t){e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.add(i):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,i)||("string"==typeof n.className?n.className=n.className+" "+i:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+i)));var n,i}))}(e,i))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],i=n.base,s=n.active,r=n.done;this.appliedClasses[t]={},i&&m(e,i),s&&m(e,s),r&&m(e,r)},n.render=function(){var e=this.props,t=(e.classNames,Object(s.a)(e,["classNames"]));return l.a.createElement(E,Object(i.a)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l.a.Component);x.defaultProps={classNames:""},x.propTypes={};t.a=x},295:function(e,t,n){"use strict";var i=n(41),s=n(32);var r=n(38),a=(n(1),n(10)),o=n.n(a),l=n(64);function c(e,t){var n=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Object(a.isValidElement)(e)?t(e):e}(e)})),n}function u(e,t,n){return null!=n[t]?n[t]:e.props[t]}function p(e,t,n){var i=c(e.children),s=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var i,s=Object.create(null),r=[];for(var a in e)a in t?r.length&&(s[a]=r,r=[]):r.push(a);var o={};for(var l in t){if(s[l])for(i=0;i<s[l].length;i++){var c=s[l][i];o[s[l][i]]=n(c)}o[l]=n(l)}for(i=0;i<r.length;i++)o[r[i]]=n(r[i]);return o}(t,i);return Object.keys(s).forEach((function(r){var o=s[r];if(Object(a.isValidElement)(o)){var l=r in t,c=r in i,p=t[r],d=Object(a.isValidElement)(p)&&!p.props.in;!c||l&&!d?c||!l||d?c&&l&&Object(a.isValidElement)(p)&&(s[r]=Object(a.cloneElement)(o,{onExited:n.bind(null,o),in:p.props.in,exit:u(o,"exit",e),enter:u(o,"enter",e)})):s[r]=Object(a.cloneElement)(o,{in:!1}):s[r]=Object(a.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:u(o,"exit",e),enter:u(o,"enter",e)})}})),s}var d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,n){var i,s=(i=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,i,s=t.children,r=t.handleExited;return{children:t.firstRender?(n=e,i=r,c(n.children,(function(e){return Object(a.cloneElement)(e,{onExited:i.bind(null,e),in:!0,appear:u(e,"appear",n),enter:u(e,"enter",n),exit:u(e,"exit",n)})}))):p(e,s,r),firstRender:!1}},n.handleExited=function(e,t){var n=c(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Object(s.a)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,s=Object(i.a)(e,["component","childFactory"]),r=this.state.contextValue,a=d(this.state.children).map(n);return delete s.appear,delete s.enter,delete s.exit,null===t?o.a.createElement(l.a.Provider,{value:r},a):o.a.createElement(l.a.Provider,{value:r},o.a.createElement(t,s,a))},t}(o.a.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};t.a=f},64:function(e,t,n){"use strict";var i=n(10),s=n.n(i);t.a=s.a.createContext(null)}}]);
|
dist/chunks/3.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[3],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
@@ -13,18 +13,18 @@
|
|
13 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getTaxRateLabels; });
|
14 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getVariationName; });
|
15 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getVariationLabels; });
|
16 |
-
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
17 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_0__);
|
18 |
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
19 |
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__);
|
20 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3);
|
21 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
|
22 |
-
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
23 |
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
|
24 |
-
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
25 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
|
26 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25);
|
27 |
-
/* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
28 |
/**
|
29 |
* External dependencies
|
30 |
*/
|
@@ -150,7 +150,7 @@ var getVariationLabels = getRequestByIdString(function (_ref3) {
|
|
150 |
|
151 |
/***/ }),
|
152 |
|
153 |
-
/***/
|
154 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
155 |
|
156 |
"use strict";
|
@@ -169,7 +169,7 @@ function getTaxCode(tax) {
|
|
169 |
|
170 |
/***/ }),
|
171 |
|
172 |
-
/***/
|
173 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
174 |
|
175 |
"use strict";
|
@@ -210,7 +210,7 @@ var external_this_wp_i18n_ = __webpack_require__(2);
|
|
210 |
var external_this_wp_compose_ = __webpack_require__(18);
|
211 |
|
212 |
// EXTERNAL MODULE: external {"this":["wp","date"]}
|
213 |
-
var external_this_wp_date_ = __webpack_require__(
|
214 |
|
215 |
// EXTERNAL MODULE: external {"this":["wp","data"]}
|
216 |
var external_this_wp_data_ = __webpack_require__(15);
|
@@ -226,19 +226,19 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
226 |
var external_this_wc_components_ = __webpack_require__(47);
|
227 |
|
228 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
229 |
-
var external_this_wc_data_ = __webpack_require__(
|
230 |
|
231 |
// EXTERNAL MODULE: external {"this":["wc","date"]}
|
232 |
var external_this_wc_date_ = __webpack_require__(29);
|
233 |
|
234 |
// EXTERNAL MODULE: ./client/lib/currency-context.js
|
235 |
-
var currency_context = __webpack_require__(
|
236 |
|
237 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
238 |
-
var report_error = __webpack_require__(
|
239 |
|
240 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
241 |
-
var external_this_wc_navigation_ = __webpack_require__(
|
242 |
|
243 |
// CONCATENATED MODULE: ./client/analytics/components/report-chart/utils.js
|
244 |
/**
|
@@ -680,7 +680,7 @@ report_chart_ReportChart.defaultProps = {
|
|
680 |
|
681 |
/***/ }),
|
682 |
|
683 |
-
/***/
|
684 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
685 |
|
686 |
"use strict";
|
@@ -715,7 +715,7 @@ function getSelectedChart(chartName) {
|
|
715 |
|
716 |
/***/ }),
|
717 |
|
718 |
-
/***/
|
719 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
720 |
|
721 |
"use strict";
|
@@ -740,20 +740,20 @@ function getSelectedChart(chartName) {
|
|
740 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_8__);
|
741 |
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1);
|
742 |
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
|
743 |
-
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
744 |
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_10__);
|
745 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(47);
|
746 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_11__);
|
747 |
-
/* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
748 |
/* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__);
|
749 |
-
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
750 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_13__);
|
751 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(29);
|
752 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_14__);
|
753 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(28);
|
754 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_15__);
|
755 |
-
/* harmony import */ var _report_error__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
756 |
-
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
757 |
|
758 |
|
759 |
|
@@ -1032,7 +1032,7 @@ ReportSummary.contextType = _lib_currency_context__WEBPACK_IMPORTED_MODULE_17__[
|
|
1032 |
|
1033 |
/***/ }),
|
1034 |
|
1035 |
-
/***/
|
1036 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1037 |
|
1038 |
"use strict";
|
@@ -1054,7 +1054,7 @@ function isLowStock(status, quantity, threshold) {
|
|
1054 |
|
1055 |
/***/ }),
|
1056 |
|
1057 |
-
/***/
|
1058 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1059 |
|
1060 |
"use strict";
|
@@ -1062,7 +1062,7 @@ function isLowStock(status, quantity, threshold) {
|
|
1062 |
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__);
|
1063 |
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
|
1064 |
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__);
|
1065 |
-
/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
1066 |
/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__);
|
1067 |
/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(13);
|
1068 |
/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__);
|
@@ -1082,20 +1082,20 @@ function isLowStock(status, quantity, threshold) {
|
|
1082 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_10__);
|
1083 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(3);
|
1084 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_11__);
|
1085 |
-
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
1086 |
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_12__);
|
1087 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47);
|
1088 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_13__);
|
1089 |
-
/* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
1090 |
/* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_number__WEBPACK_IMPORTED_MODULE_14__);
|
1091 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(25);
|
1092 |
-
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
1093 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_16__);
|
1094 |
-
/* harmony import */ var _categories_breadcrumbs__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
1095 |
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
1096 |
-
/* harmony import */ var _components_report_table__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
|
1097 |
-
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
1098 |
-
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
|
1099 |
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_21__);
|
1100 |
|
1101 |
|
@@ -1400,7 +1400,7 @@ ProductsReportTable.contextType = _lib_currency_context__WEBPACK_IMPORTED_MODULE
|
|
1400 |
|
1401 |
/***/ }),
|
1402 |
|
1403 |
-
/***/
|
1404 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1405 |
|
1406 |
"use strict";
|
@@ -1423,7 +1423,7 @@ ProductsReportTable.contextType = _lib_currency_context__WEBPACK_IMPORTED_MODULE
|
|
1423 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__);
|
1424 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(47);
|
1425 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_8__);
|
1426 |
-
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
1427 |
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_9__);
|
1428 |
|
1429 |
|
@@ -1515,7 +1515,7 @@ var CategoryBreadcrumbs = /*#__PURE__*/function (_Component) {
|
|
1515 |
|
1516 |
/***/ }),
|
1517 |
|
1518 |
-
/***/
|
1519 |
/***/ (function(module, exports, __webpack_require__) {
|
1520 |
|
1521 |
// extracted by mini-css-extract-plugin
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[3],{
|
2 |
|
3 |
+
/***/ 497:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
13 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getTaxRateLabels; });
|
14 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getVariationName; });
|
15 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getVariationLabels; });
|
16 |
+
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22);
|
17 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_0__);
|
18 |
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
19 |
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__);
|
20 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3);
|
21 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
|
22 |
+
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21);
|
23 |
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
|
24 |
+
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23);
|
25 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
|
26 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25);
|
27 |
+
/* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(498);
|
28 |
/**
|
29 |
* External dependencies
|
30 |
*/
|
150 |
|
151 |
/***/ }),
|
152 |
|
153 |
+
/***/ 498:
|
154 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
155 |
|
156 |
"use strict";
|
169 |
|
170 |
/***/ }),
|
171 |
|
172 |
+
/***/ 499:
|
173 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
174 |
|
175 |
"use strict";
|
210 |
var external_this_wp_compose_ = __webpack_require__(18);
|
211 |
|
212 |
// EXTERNAL MODULE: external {"this":["wp","date"]}
|
213 |
+
var external_this_wp_date_ = __webpack_require__(72);
|
214 |
|
215 |
// EXTERNAL MODULE: external {"this":["wp","data"]}
|
216 |
var external_this_wp_data_ = __webpack_require__(15);
|
226 |
var external_this_wc_components_ = __webpack_require__(47);
|
227 |
|
228 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
229 |
+
var external_this_wc_data_ = __webpack_require__(23);
|
230 |
|
231 |
// EXTERNAL MODULE: external {"this":["wc","date"]}
|
232 |
var external_this_wc_date_ = __webpack_require__(29);
|
233 |
|
234 |
// EXTERNAL MODULE: ./client/lib/currency-context.js
|
235 |
+
var currency_context = __webpack_require__(495);
|
236 |
|
237 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
238 |
+
var report_error = __webpack_require__(496);
|
239 |
|
240 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
241 |
+
var external_this_wc_navigation_ = __webpack_require__(21);
|
242 |
|
243 |
// CONCATENATED MODULE: ./client/analytics/components/report-chart/utils.js
|
244 |
/**
|
680 |
|
681 |
/***/ }),
|
682 |
|
683 |
+
/***/ 500:
|
684 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
685 |
|
686 |
"use strict";
|
715 |
|
716 |
/***/ }),
|
717 |
|
718 |
+
/***/ 501:
|
719 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
720 |
|
721 |
"use strict";
|
740 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_8__);
|
741 |
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1);
|
742 |
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
|
743 |
+
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(21);
|
744 |
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_10__);
|
745 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(47);
|
746 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_11__);
|
747 |
+
/* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(142);
|
748 |
/* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_number__WEBPACK_IMPORTED_MODULE_12__);
|
749 |
+
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(23);
|
750 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_13__);
|
751 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(29);
|
752 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_14__);
|
753 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(28);
|
754 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_15__);
|
755 |
+
/* harmony import */ var _report_error__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(496);
|
756 |
+
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(495);
|
757 |
|
758 |
|
759 |
|
1032 |
|
1033 |
/***/ }),
|
1034 |
|
1035 |
+
/***/ 509:
|
1036 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1037 |
|
1038 |
"use strict";
|
1054 |
|
1055 |
/***/ }),
|
1056 |
|
1057 |
+
/***/ 527:
|
1058 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1059 |
|
1060 |
"use strict";
|
1062 |
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__);
|
1063 |
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
|
1064 |
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__);
|
1065 |
+
/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
|
1066 |
/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__);
|
1067 |
/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(13);
|
1068 |
/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__);
|
1082 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_10__);
|
1083 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(3);
|
1084 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_11__);
|
1085 |
+
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(21);
|
1086 |
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_12__);
|
1087 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47);
|
1088 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_13__);
|
1089 |
+
/* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(142);
|
1090 |
/* harmony import */ var _woocommerce_number__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_number__WEBPACK_IMPORTED_MODULE_14__);
|
1091 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(25);
|
1092 |
+
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(23);
|
1093 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_16__);
|
1094 |
+
/* harmony import */ var _categories_breadcrumbs__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(528);
|
1095 |
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(509);
|
1096 |
+
/* harmony import */ var _components_report_table__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(503);
|
1097 |
+
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(495);
|
1098 |
+
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(564);
|
1099 |
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_21__);
|
1100 |
|
1101 |
|
1400 |
|
1401 |
/***/ }),
|
1402 |
|
1403 |
+
/***/ 528:
|
1404 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1405 |
|
1406 |
"use strict";
|
1423 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__);
|
1424 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(47);
|
1425 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_8__);
|
1426 |
+
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(21);
|
1427 |
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_9__);
|
1428 |
|
1429 |
|
1515 |
|
1516 |
/***/ }),
|
1517 |
|
1518 |
+
/***/ 564:
|
1519 |
/***/ (function(module, exports, __webpack_require__) {
|
1520 |
|
1521 |
// extracted by mini-css-extract-plugin
|
dist/chunks/3.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[3],{502:function(e,t,r){"use strict";r.d(t,"e",(function(){return m})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return f})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return y})),r.d(t,"f",(function(){return b})),r.d(t,"h",(function(){return g})),r.d(t,"g",(function(){return v}));var a=r(23),n=r(27),o=r.n(n),i=r(3),c=r(20),s=r(22),u=r(25),l=r(503);function m(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)}))}}m(s.NAMESPACE+"/products/attributes",(function(e){return{key:e.id,label:e.name}}));var d=m(s.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),f=m(s.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=m(s.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),y=m(s.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),b=m(s.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(l.a)(e)}}));function g(e){var t=e.attributes,r=e.name,a=Object(u.g)("variationTitleAttributesSeparator"," - ");if(r.indexOf(a)>-1)return r;var n=t.map((function(e){return e.option})).join(", ");return n?r+a+n:r}var v=m((function(e){var t=e.products;return t?s.NAMESPACE+"/products/".concat(t,"/variations"):s.NAMESPACE+"/variations"}),(function(e){return{key:e.id,label:g(e)}}))},503:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);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("-")}},504:function(e,t,r){"use strict";var a=r(5),n=r.n(a),o=r(11),i=r.n(o),c=r(12),s=r.n(c),u=r(13),l=r.n(u),m=r(14),d=r.n(m),f=r(6),p=r.n(f),y=r(0),b=r(2),g=r(18),v=r(73),h=r(15),O=r(3),j=r(1),_=r.n(j),R=r(47),k=r(22),w=r(29),C=r(500),S=r(501),D=r(20);function E(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 q(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){n()(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 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=p()(e);if(t){var n=p()(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 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(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}}})),q({date:Object(v.format)("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(w.getIntervalForQuery)(t),c=Object(w.getCurrentDates)(t,o),s=c.primary,u=c.secondary;return r.data.intervals.map((function(e,r){var o=Object(w.getPreviousDate)(e.date_start,s.after,u.after,t.compare,i),c=a.data.intervals[r];return{date:Object(v.format)("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(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,i=n.filterParam,c=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,m=n.query,d=n.selectedChart,f=n.showHeaderControls,p=n.primaryData,g=Object(w.getIntervalForQuery)(m),v=Object(w.getAllowedIntervalsForQuery)(m),h=Object(w.getDateFormatsForInterval)(g,p.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"),j=this.context,_=j.formatAmount,C=j.getCurrencyConfig;return Object(y.createElement)(R.Chart,{allowedIntervals:v,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:m,screenReaderFormat:h.screenReaderFormat,showHeaderControls:f,title:d.label,tooltipLabelFormat:h.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(k.getTooltipValueFormat)(d.type,_),chartType:Object(w.getChartTypeForQuery)(m),valueType:d.type,xFormat:h.xFormat,x2Format:h.x2Format,currency:C()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(S.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)(S.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);T.contextType=C.a,T.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},T.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(g.compose)(Object(h.withSelect)((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(O.find)(i,{value:c})}return e(n,r,a)}(n,c),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,c)||"time-comparison",f=e(k.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,p={mode:d,filterParam:m,defaultDateRange:f};if(o)return p;var y=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!y)return q(q({},p),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(k.getReportChartData)({endpoint:a,dataType:"primary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:f,fields:b});if("item-comparison"===d)return q(q({},p),{},{primaryData:g});var v=Object(k.getReportChartData)({endpoint:a,dataType:"secondary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:f,fields:b});return q(q({},p),{},{primaryData:g,secondaryData:v})})))(T)},505:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);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]}},506:function(e,t,r){"use strict";var a=r(11),n=r.n(a),o=r(12),i=r.n(o),c=r(13),s=r.n(c),u=r(14),l=r.n(u),m=r(6),d=r.n(m),f=r(0),p=r(2),y=r(18),b=r(15),g=r(1),v=r.n(g),h=r(20),O=r(47),j=r(144),_=r(22),R=r(29),k=r(28),w=r(501),C=r(500);function S(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){s()(r,e);var t=S(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.formatAmount,n=r.getCurrencyConfig;return"currency"===t?a(e):Object(j.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=n.primary?n.primary[e]:0,i=n.secondary?n.secondary[e]:0,c=a?0:o,s=a?0:i;return{delta:Object(j.calculateDelta)(c,s),prevValue:this.formatVal(s,t),value:this.formatVal(c,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,n=t.selectedChart,o=t.summaryData,i=t.endpoint,c=t.report,s=t.defaultDateRange,u=o.isError,l=o.isRequesting;if(u)return Object(f.createElement)(w.a,{isError:!0});if(l)return Object(f.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(R.getDateParamsFromQuery)(a,s).compare;return Object(f.createElement)(O.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,o=t.order,s=t.orderby,u=t.label,l=t.type,d={chart:r};s&&(d.orderby=s),o&&(d.order=o);var y=Object(h.getNewPath)(d),b=n.key===r,g=e.getValues(r,l),v=g.delta,j=g.prevValue,_=g.value;return Object(f.createElement)(O.SummaryNumber,{key:r,delta:v,href:y,label:u,prevLabel:"previous_period"===m?Object(p.__)("Previous Period:","woocommerce-admin"):Object(p.__)("Previous Year:","woocommerce-admin"),prevValue:j,selected:b,value:_,onLinkClickCallback:function(){a&&a(),Object(k.recordEvent)("analytics_chart_tab_click",{report:c||i,key:r})}})}))}))}}]),r}(f.Component);D.propTypes={charts:v.a.array.isRequired,endpoint:v.a.string.isRequired,limitProperties:v.a.array,query:v.a.object.isRequired,selectedChart:v.a.shape({key:v.a.string.isRequired,label:v.a.string.isRequired,order:v.a.oneOf(["asc","desc"]),orderby:v.a.string,type:v.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:v.a.object,report:v.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},D.contextType=C.a,t.a=Object(y.compose)(Object(b.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.limitProperties,o=t.query,i=t.filters,c=t.advancedFilters,s=n||[a],u=s.some((function(e){return o[e]&&o[e].length}));if(o.search&&!u)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),m=e(_.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(_.getSummaryNumbers)({endpoint:a,query:o,select:e,limitBy:s,filters:i,advancedFilters:c,defaultDateRange:m,fields:l}),defaultDateRange:m}})))(D)},514:function(e,t,r){"use strict";function a(e,t,r){return!!t&&(e&&t<=r==="instock")}r.d(t,"a",(function(){return a}))},532:function(e,t,r){"use strict";var a=r(11),n=r.n(a),o=r(12),i=r.n(o),c=r(8),s=r.n(c),u=r(13),l=r.n(u),m=r(14),d=r.n(m),f=r(6),p=r.n(f),y=r(0),b=r(2),g=r(18),v=r(40),h=r(15),O=r(3),j=r(20),_=r(47),R=r(144),k=r(25),w=r(22),C=r(533),S=r(514),D=r(508),E=r(500);r(569);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,a=p()(e);if(t){var n=p()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return d()(this,r)}}var P=Object(k.g)("manageStock","no"),T=Object(k.g)("stockStatuses",{}),A=function(e){l()(r,e);var t=q(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(s()(e)),e.getRowsContent=e.getRowsContent.bind(s()(e)),e.getSummary=e.getSummary.bind(s()(e)),e}return i()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(b.__)("Product Title","woocommerce-admin"),key:"product_name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(b.__)("SKU","woocommerce-admin"),key:"sku",hiddenByDefault:!0,isSortable:!0},{label:Object(b.__)("Items Sold","woocommerce-admin"),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(b.__)("Net Sales","woocommerce-admin"),screenReaderLabel:Object(b.__)("Net Sales","woocommerce-admin"),key:"net_revenue",required:!0,isSortable:!0,isNumeric:!0},{label:Object(b.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(b.__)("Category","woocommerce-admin"),key:"product_cat"},{label:Object(b.__)("Variations","woocommerce-admin"),key:"variations",isSortable:!0},"yes"===P?{label:Object(b.__)("Status","woocommerce-admin"),key:"stock_status"}:null,"yes"===P?{label:Object(b.__)("Stock","woocommerce-admin"),key:"stock",isNumeric:!0}:null].filter(Boolean)}},{key:"getRowsContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=this.props.query,a=Object(j.getPersistedQuery)(r),n=this.context,o=n.render,i=n.formatDecimal,c=n.getCurrencyConfig,s=c();return Object(O.map)(t,(function(t){var n=t.product_id,c=t.items_sold,u=t.net_revenue,l=t.orders_count,m=t.extended_info||{},d=m.category_ids,f=m.low_stock_amount,p=m.manage_stock,g=m.sku,h=m.stock_status,O=m.stock_quantity,w=m.variations,D=void 0===w?[]:w,E=Object(v.decodeEntities)(m.name),q=Object(j.getNewPath)(a,"/analytics/orders",{filter:"advanced",product_includes:n}),A=Object(j.getNewPath)(a,"/analytics/products",{filter:"single_product",products:n}),N=e.props.categories,F=d&&d.map((function(e){return N.get(e)})).filter(Boolean)||[],x=Object(S.a)(h,O,f)?Object(y.createElement)(_.Link,{href:Object(k.f)("post.php?action=edit&post="+n),type:"wp-admin"},Object(b._x)("Low","Indication of a low quantity","woocommerce-admin")):T[h];return[{display:Object(y.createElement)(_.Link,{href:A,type:"wc-admin"},E),value:E},{display:g,value:g},{display:Object(R.formatValue)(s,"number",c),value:c},{display:o(u),value:i(u)},{display:Object(y.createElement)(_.Link,{href:q,type:"wc-admin"},l),value:l},{display:Object(y.createElement)("div",{className:"woocommerce-table__product-categories"},F[0]&&Object(y.createElement)(C.a,{category:F[0],categories:N}),F.length>1&&Object(y.createElement)(_.Tag,{label:Object(b.sprintf)(Object(b._x)("+%d more","categories","woocommerce-admin"),F.length-1),popoverContents:F.map((function(e){return Object(y.createElement)(C.a,{category:e,categories:N,key:e.id,query:r})}))})),value:F.map((function(e){return e.name})).join(", ")},{display:Object(R.formatValue)(s,"number",D.length),value:D.length},"yes"===P?{display:p?x:Object(b.__)("N/A","woocommerce-admin"),value:p?T[h]:null}:null,"yes"===P?{display:p?Object(R.formatValue)(s,"number",O):Object(b.__)("N/A","woocommerce-admin"),value:O}:null].filter(Boolean)}))}},{key:"getSummary",value:function(e){var t=e.products_count,r=void 0===t?0:t,a=e.items_sold,n=void 0===a?0:a,o=e.net_revenue,i=void 0===o?0:o,c=e.orders_count,s=void 0===c?0:c,u=this.context,l=u.formatAmount,m=(0,u.getCurrencyConfig)();return[{label:Object(b._n)("product","products",r,"woocommerce-admin"),value:Object(R.formatValue)(m,"number",r)},{label:Object(b._n)("item sold","items sold",n,"woocommerce-admin"),value:Object(R.formatValue)(m,"number",n)},{label:Object(b.__)("net sales","woocommerce-admin"),value:l(i)},{label:Object(b._n)("orders","orders",s,"woocommerce-admin"),value:Object(R.formatValue)(m,"number",s)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.baseSearchQuery,a=e.filters,n=e.hideCompare,o=e.isRequesting,i=e.query,c={helpText:Object(b.__)("Check at least two products below to compare","woocommerce-admin"),placeholder:Object(b.__)("Search by product name or SKU","woocommerce-admin")};return Object(y.createElement)(D.a,{compareBy:n?void 0:"products",endpoint:"products",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["products_count","items_sold","net_revenue","orders_count"],itemIdField:"product_id",isRequesting:o,labels:c,query:i,searchBy:"products",baseSearchQuery:r,tableQuery:{orderby:i.orderby||"items_sold",order:i.order||"desc",extended_info:!0,segmentby:i.segmentby},title:Object(b.__)("Products","woocommerce-admin"),columnPrefsKey:"products_report_columns",filters:a,advancedFilters:t})}}]),r}(y.Component);A.contextType=E.a,t.a=Object(g.compose)(Object(h.withSelect)((function(e,t){var r=t.query;if(t.isRequesting||r.search&&(!r.products||!r.products.length))return{};var a=e(w.ITEMS_STORE_NAME),n=a.getItems,o=a.getItemsError,i=a.isResolving,c={per_page:-1};return{categories:n("categories",c),isError:Boolean(o("categories",c)),isRequesting:i("getItems",["categories",c])}})))(A)},533:function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var a=r(11),n=r.n(a),o=r(12),i=r.n(o),c=r(13),s=r.n(c),u=r(14),l=r.n(u),m=r(6),d=r.n(m),f=r(0),p=r(3),y=r(4),b=r(47),g=r(20);function v(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 h=function(e){s()(r,e);var t=v(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"getCategoryAncestorIds",value:function(e,t){for(var r=[],a=e.parent;a;)r.unshift(a),a=t.get(a).parent;return r}},{key:"getCategoryAncestors",value:function(e,t){var r=this.getCategoryAncestorIds(e,t);if(r.length)return 1===r.length?t.get(Object(p.first)(r)).name+" › ":2===r.length?t.get(Object(p.first)(r)).name+" › "+t.get(Object(p.last)(r)).name+" › ":t.get(Object(p.first)(r)).name+" … "+t.get(Object(p.last)(r)).name+" › "}},{key:"render",value:function(){var e=this.props,t=e.categories,r=e.category,a=e.query,n=Object(g.getPersistedQuery)(a);return r?Object(f.createElement)("div",{className:"woocommerce-table__breadcrumbs"},this.getCategoryAncestors(r,t),Object(f.createElement)(b.Link,{href:Object(g.getNewPath)(n,"/analytics/categories",{filter:"single_category",categories:r.id}),type:"wc-admin"},r.name)):Object(f.createElement)(y.Spinner,null)}}]),r}(f.Component)},569:function(e,t,r){}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[3],{497:function(e,t,r){"use strict";r.d(t,"e",(function(){return m})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return f})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return y})),r.d(t,"f",(function(){return b})),r.d(t,"h",(function(){return g})),r.d(t,"g",(function(){return v}));var a=r(22),n=r(27),o=r.n(n),i=r(3),c=r(21),s=r(23),u=r(25),l=r(498);function m(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)}))}}m(s.NAMESPACE+"/products/attributes",(function(e){return{key:e.id,label:e.name}}));var d=m(s.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),f=m(s.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=m(s.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),y=m(s.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),b=m(s.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(l.a)(e)}}));function g(e){var t=e.attributes,r=e.name,a=Object(u.g)("variationTitleAttributesSeparator"," - ");if(r.indexOf(a)>-1)return r;var n=t.map((function(e){return e.option})).join(", ");return n?r+a+n:r}var v=m((function(e){var t=e.products;return t?s.NAMESPACE+"/products/".concat(t,"/variations"):s.NAMESPACE+"/variations"}),(function(e){return{key:e.id,label:g(e)}}))},498:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);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("-")}},499:function(e,t,r){"use strict";var a=r(5),n=r.n(a),o=r(11),i=r.n(o),c=r(12),s=r.n(c),u=r(13),l=r.n(u),m=r(14),d=r.n(m),f=r(6),p=r.n(f),y=r(0),b=r(2),g=r(18),v=r(72),h=r(15),O=r(3),j=r(1),_=r.n(j),R=r(47),k=r(23),w=r(29),C=r(495),S=r(496),D=r(21);function E(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 q(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){n()(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 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=p()(e);if(t){var n=p()(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 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(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}}})),q({date:Object(v.format)("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(w.getIntervalForQuery)(t),c=Object(w.getCurrentDates)(t,o),s=c.primary,u=c.secondary;return r.data.intervals.map((function(e,r){var o=Object(w.getPreviousDate)(e.date_start,s.after,u.after,t.compare,i),c=a.data.intervals[r];return{date:Object(v.format)("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(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,i=n.filterParam,c=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,m=n.query,d=n.selectedChart,f=n.showHeaderControls,p=n.primaryData,g=Object(w.getIntervalForQuery)(m),v=Object(w.getAllowedIntervalsForQuery)(m),h=Object(w.getDateFormatsForInterval)(g,p.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"),j=this.context,_=j.formatAmount,C=j.getCurrencyConfig;return Object(y.createElement)(R.Chart,{allowedIntervals:v,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:m,screenReaderFormat:h.screenReaderFormat,showHeaderControls:f,title:d.label,tooltipLabelFormat:h.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(k.getTooltipValueFormat)(d.type,_),chartType:Object(w.getChartTypeForQuery)(m),valueType:d.type,xFormat:h.xFormat,x2Format:h.x2Format,currency:C()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(S.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)(S.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);T.contextType=C.a,T.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},T.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(g.compose)(Object(h.withSelect)((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(O.find)(i,{value:c})}return e(n,r,a)}(n,c),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,c)||"time-comparison",f=e(k.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,p={mode:d,filterParam:m,defaultDateRange:f};if(o)return p;var y=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!y)return q(q({},p),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(k.getReportChartData)({endpoint:a,dataType:"primary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:f,fields:b});if("item-comparison"===d)return q(q({},p),{},{primaryData:g});var v=Object(k.getReportChartData)({endpoint:a,dataType:"secondary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:f,fields:b});return q(q({},p),{},{primaryData:g,secondaryData:v})})))(T)},500:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);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]}},501:function(e,t,r){"use strict";var a=r(11),n=r.n(a),o=r(12),i=r.n(o),c=r(13),s=r.n(c),u=r(14),l=r.n(u),m=r(6),d=r.n(m),f=r(0),p=r(2),y=r(18),b=r(15),g=r(1),v=r.n(g),h=r(21),O=r(47),j=r(142),_=r(23),R=r(29),k=r(28),w=r(496),C=r(495);function S(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){s()(r,e);var t=S(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.formatAmount,n=r.getCurrencyConfig;return"currency"===t?a(e):Object(j.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=n.primary?n.primary[e]:0,i=n.secondary?n.secondary[e]:0,c=a?0:o,s=a?0:i;return{delta:Object(j.calculateDelta)(c,s),prevValue:this.formatVal(s,t),value:this.formatVal(c,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,n=t.selectedChart,o=t.summaryData,i=t.endpoint,c=t.report,s=t.defaultDateRange,u=o.isError,l=o.isRequesting;if(u)return Object(f.createElement)(w.a,{isError:!0});if(l)return Object(f.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(R.getDateParamsFromQuery)(a,s).compare;return Object(f.createElement)(O.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,o=t.order,s=t.orderby,u=t.label,l=t.type,d={chart:r};s&&(d.orderby=s),o&&(d.order=o);var y=Object(h.getNewPath)(d),b=n.key===r,g=e.getValues(r,l),v=g.delta,j=g.prevValue,_=g.value;return Object(f.createElement)(O.SummaryNumber,{key:r,delta:v,href:y,label:u,prevLabel:"previous_period"===m?Object(p.__)("Previous Period:","woocommerce-admin"):Object(p.__)("Previous Year:","woocommerce-admin"),prevValue:j,selected:b,value:_,onLinkClickCallback:function(){a&&a(),Object(k.recordEvent)("analytics_chart_tab_click",{report:c||i,key:r})}})}))}))}}]),r}(f.Component);D.propTypes={charts:v.a.array.isRequired,endpoint:v.a.string.isRequired,limitProperties:v.a.array,query:v.a.object.isRequired,selectedChart:v.a.shape({key:v.a.string.isRequired,label:v.a.string.isRequired,order:v.a.oneOf(["asc","desc"]),orderby:v.a.string,type:v.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:v.a.object,report:v.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},D.contextType=C.a,t.a=Object(y.compose)(Object(b.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.limitProperties,o=t.query,i=t.filters,c=t.advancedFilters,s=n||[a],u=s.some((function(e){return o[e]&&o[e].length}));if(o.search&&!u)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),m=e(_.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(_.getSummaryNumbers)({endpoint:a,query:o,select:e,limitBy:s,filters:i,advancedFilters:c,defaultDateRange:m,fields:l}),defaultDateRange:m}})))(D)},509:function(e,t,r){"use strict";function a(e,t,r){return!!t&&(e&&t<=r==="instock")}r.d(t,"a",(function(){return a}))},527:function(e,t,r){"use strict";var a=r(11),n=r.n(a),o=r(12),i=r.n(o),c=r(9),s=r.n(c),u=r(13),l=r.n(u),m=r(14),d=r.n(m),f=r(6),p=r.n(f),y=r(0),b=r(2),g=r(18),v=r(40),h=r(15),O=r(3),j=r(21),_=r(47),R=r(142),k=r(25),w=r(23),C=r(528),S=r(509),D=r(503),E=r(495);r(564);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,a=p()(e);if(t){var n=p()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return d()(this,r)}}var P=Object(k.g)("manageStock","no"),T=Object(k.g)("stockStatuses",{}),A=function(e){l()(r,e);var t=q(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(s()(e)),e.getRowsContent=e.getRowsContent.bind(s()(e)),e.getSummary=e.getSummary.bind(s()(e)),e}return i()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(b.__)("Product Title","woocommerce-admin"),key:"product_name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(b.__)("SKU","woocommerce-admin"),key:"sku",hiddenByDefault:!0,isSortable:!0},{label:Object(b.__)("Items Sold","woocommerce-admin"),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(b.__)("Net Sales","woocommerce-admin"),screenReaderLabel:Object(b.__)("Net Sales","woocommerce-admin"),key:"net_revenue",required:!0,isSortable:!0,isNumeric:!0},{label:Object(b.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(b.__)("Category","woocommerce-admin"),key:"product_cat"},{label:Object(b.__)("Variations","woocommerce-admin"),key:"variations",isSortable:!0},"yes"===P?{label:Object(b.__)("Status","woocommerce-admin"),key:"stock_status"}:null,"yes"===P?{label:Object(b.__)("Stock","woocommerce-admin"),key:"stock",isNumeric:!0}:null].filter(Boolean)}},{key:"getRowsContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=this.props.query,a=Object(j.getPersistedQuery)(r),n=this.context,o=n.render,i=n.formatDecimal,c=n.getCurrencyConfig,s=c();return Object(O.map)(t,(function(t){var n=t.product_id,c=t.items_sold,u=t.net_revenue,l=t.orders_count,m=t.extended_info||{},d=m.category_ids,f=m.low_stock_amount,p=m.manage_stock,g=m.sku,h=m.stock_status,O=m.stock_quantity,w=m.variations,D=void 0===w?[]:w,E=Object(v.decodeEntities)(m.name),q=Object(j.getNewPath)(a,"/analytics/orders",{filter:"advanced",product_includes:n}),A=Object(j.getNewPath)(a,"/analytics/products",{filter:"single_product",products:n}),N=e.props.categories,F=d&&d.map((function(e){return N.get(e)})).filter(Boolean)||[],x=Object(S.a)(h,O,f)?Object(y.createElement)(_.Link,{href:Object(k.f)("post.php?action=edit&post="+n),type:"wp-admin"},Object(b._x)("Low","Indication of a low quantity","woocommerce-admin")):T[h];return[{display:Object(y.createElement)(_.Link,{href:A,type:"wc-admin"},E),value:E},{display:g,value:g},{display:Object(R.formatValue)(s,"number",c),value:c},{display:o(u),value:i(u)},{display:Object(y.createElement)(_.Link,{href:q,type:"wc-admin"},l),value:l},{display:Object(y.createElement)("div",{className:"woocommerce-table__product-categories"},F[0]&&Object(y.createElement)(C.a,{category:F[0],categories:N}),F.length>1&&Object(y.createElement)(_.Tag,{label:Object(b.sprintf)(Object(b._x)("+%d more","categories","woocommerce-admin"),F.length-1),popoverContents:F.map((function(e){return Object(y.createElement)(C.a,{category:e,categories:N,key:e.id,query:r})}))})),value:F.map((function(e){return e.name})).join(", ")},{display:Object(R.formatValue)(s,"number",D.length),value:D.length},"yes"===P?{display:p?x:Object(b.__)("N/A","woocommerce-admin"),value:p?T[h]:null}:null,"yes"===P?{display:p?Object(R.formatValue)(s,"number",O):Object(b.__)("N/A","woocommerce-admin"),value:O}:null].filter(Boolean)}))}},{key:"getSummary",value:function(e){var t=e.products_count,r=void 0===t?0:t,a=e.items_sold,n=void 0===a?0:a,o=e.net_revenue,i=void 0===o?0:o,c=e.orders_count,s=void 0===c?0:c,u=this.context,l=u.formatAmount,m=(0,u.getCurrencyConfig)();return[{label:Object(b._n)("product","products",r,"woocommerce-admin"),value:Object(R.formatValue)(m,"number",r)},{label:Object(b._n)("item sold","items sold",n,"woocommerce-admin"),value:Object(R.formatValue)(m,"number",n)},{label:Object(b.__)("net sales","woocommerce-admin"),value:l(i)},{label:Object(b._n)("orders","orders",s,"woocommerce-admin"),value:Object(R.formatValue)(m,"number",s)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.baseSearchQuery,a=e.filters,n=e.hideCompare,o=e.isRequesting,i=e.query,c={helpText:Object(b.__)("Check at least two products below to compare","woocommerce-admin"),placeholder:Object(b.__)("Search by product name or SKU","woocommerce-admin")};return Object(y.createElement)(D.a,{compareBy:n?void 0:"products",endpoint:"products",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["products_count","items_sold","net_revenue","orders_count"],itemIdField:"product_id",isRequesting:o,labels:c,query:i,searchBy:"products",baseSearchQuery:r,tableQuery:{orderby:i.orderby||"items_sold",order:i.order||"desc",extended_info:!0,segmentby:i.segmentby},title:Object(b.__)("Products","woocommerce-admin"),columnPrefsKey:"products_report_columns",filters:a,advancedFilters:t})}}]),r}(y.Component);A.contextType=E.a,t.a=Object(g.compose)(Object(h.withSelect)((function(e,t){var r=t.query;if(t.isRequesting||r.search&&(!r.products||!r.products.length))return{};var a=e(w.ITEMS_STORE_NAME),n=a.getItems,o=a.getItemsError,i=a.isResolving,c={per_page:-1};return{categories:n("categories",c),isError:Boolean(o("categories",c)),isRequesting:i("getItems",["categories",c])}})))(A)},528:function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var a=r(11),n=r.n(a),o=r(12),i=r.n(o),c=r(13),s=r.n(c),u=r(14),l=r.n(u),m=r(6),d=r.n(m),f=r(0),p=r(3),y=r(4),b=r(47),g=r(21);function v(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 h=function(e){s()(r,e);var t=v(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"getCategoryAncestorIds",value:function(e,t){for(var r=[],a=e.parent;a;)r.unshift(a),a=t.get(a).parent;return r}},{key:"getCategoryAncestors",value:function(e,t){var r=this.getCategoryAncestorIds(e,t);if(r.length)return 1===r.length?t.get(Object(p.first)(r)).name+" › ":2===r.length?t.get(Object(p.first)(r)).name+" › "+t.get(Object(p.last)(r)).name+" › ":t.get(Object(p.first)(r)).name+" … "+t.get(Object(p.last)(r)).name+" › "}},{key:"render",value:function(){var e=this.props,t=e.categories,r=e.category,a=e.query,n=Object(g.getPersistedQuery)(a);return r?Object(f.createElement)("div",{className:"woocommerce-table__breadcrumbs"},this.getCategoryAncestors(r,t),Object(f.createElement)(b.Link,{href:Object(g.getNewPath)(n,"/analytics/categories",{filter:"single_category",categories:r.id}),type:"wc-admin"},r.name)):Object(f.createElement)(y.Spinner,null)}}]),r}(f.Component)},564:function(e,t,r){}}]);
|
dist/chunks/32.style.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.woocommerce-stats-overview .woocommerce-card__body{padding:0}.woocommerce-stats-overview .woocommerce-summary{margin:0}.woocommerce-stats-overview__more-btn{display:inline-block;padding:16px}.woocommerce-stats-overview__tabs .components-tab-panel__tabs{display:flex;justify-content:space-between;border-bottom:1px solid #e0e0e0}.woocommerce-stats-overview__tabs .components-tab-panel__tabs .components-button{width:33.33%;padding-right:24px;padding-left:24px}.woocommerce-stats-overview__stats{margin:0}.woocommerce-stats-overview__stats .woocommerce-summary__item-container{width:50%;display:inline-block}.woocommerce-stats-overview__stats.is-even .woocommerce-summary__item-container:nth-last-of-type(2) .woocommerce-summary__item,.woocommerce-stats-overview__stats .woocommerce-summary__item-container:last-of-type .woocommerce-summary__item{border-bottom:none}.woocommerce-stats-overview__stats .woocommerce-summary__item-container:nth-of-type(2n) .woocommerce-summary__item{border-right:none}.woocommerce-stats-overview__stats .woocommerce-summary__item{background-color:#fff}.woocommerce-stats-overview__stats .woocommerce-summary__item:active,.woocommerce-stats-overview__stats .woocommerce-summary__item:hover{background-color:#f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo .woocommerce-stats-overview__install-jetpack-promo__content{padding:16px 24px}article.woocommerce-stats-overview__install-jetpack-promo h2{color:#1e1e1e;font-size:16px;font-size:1rem;font-style:normal;line-height:1.5;font-weight:400;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo p{color:#757575;font-style:normal;font-weight:400;font-size:14px;font-size:.875rem;line-height:20px;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo footer{padding:16px 24px;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo footer button{margin-left:8px}article.woocommerce-stats-overview__install-jetpack-promo footer button:first-child{margin-left:0}.woocommerce-task-dashboard__body .woocommerce-card__description{color:#646970}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .wooocommerce-task-card__header{display:flex}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .wooocommerce-task-card__header .woocommerce-badge{margin-left:16px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item:not(.is-complete) .woocommerce-task__icon{border:1px solid #f0f0f0;background:#fff}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item.is-complete .woocommerce-list__item-title{color:#757575}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-before .woocommerce-task__icon{border-radius:50%;width:32px;height:32px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-before svg{fill:#fff;position:relative;top:4px;left:5px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-popover__content{min-width:unset}.woocommerce-task-dashboard__body .woocommerce-task__additional-info,.woocommerce-task-dashboard__body .woocommerce-task__estimated-time{color:#757575;font-weight:400;font-size:12px}.woocommerce-task-dashboard__body #wpbody-content{position:relative}.woocommerce-task-dashboard__body .components-modal__screen-overlay{background:rgba(43,45,47,.4)}.woocommerce-task-dashboard__body .components-modal__frame .components-modal__header{border-bottom:0;margin-bottom:0}.woocommerce-task-dashboard__body .components-modal__frame .woocommerce-task-payments__stripe-error-wrapper{align-items:flex-end;flex-grow:1;display:flex;flex-direction:column}.woocommerce-shipping-rate{display:flex;padding-top:12px;padding-bottom:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__main{width:100%}.woocommerce-shipping-rate .woocommerce-shipping-rate__icon{padding-top:16px;margin-right:24px}.woocommerce-shipping-rate .woocommerce-shipping-rate__name{align-items:center;display:flex;padding-top:16px;font-size:16px;line-height:22px;color:#1d2327;margin-bottom:12px;border-top:1px solid #dcdcde}.woocommerce-shipping-rate .woocommerce-shipping-rate__name .components-form-toggle{margin-left:auto;height:18px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control{margin-bottom:0}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control__label{display:block;position:relative;top:-8px;width:100%;font-size:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix,.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{font-size:16px;line-height:24px;color:#646970;border:0;padding:0;align-items:center;display:flex;top:-12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-text-control__input{position:relative;top:-12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix{margin-right:4px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{margin-left:4px}.woocommerce-task-tax__automated-tax-control{display:flex;align-items:center;margin-top:16px}.woocommerce-task-tax__automated-tax-control i{margin-left:16px;margin-right:24px}.woocommerce-task-tax__automated-tax-control .woocommerce-task-tax__automated-tax-control-inner{border-top:1px solid #dcdcde;display:flex;align-items:center;flex:1;font-size:16px;padding-top:16px;padding-bottom:16px}.woocommerce-task-tax__automated-tax-control .components-form-toggle{margin-left:auto}.woocommerce-task-tax__success{display:flex;flex-direction:column;align-items:center;padding:40px;text-align:center}.woocommerce-task-tax__success .woocommerce-task-tax__success-icon{font-size:48px;height:48px;align-items:center;display:flex}.woocommerce-task-tax__success #woocommerce-task-tax__success-message{font-size:32px;font-weight:400}.woocommerce-task-tax__success p{margin-top:0;font-size:16px}.woocommerce-task-payment{display:flex;flex-direction:row;align-items:center;position:relative;overflow:hidden;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon{transform:rotate(-45deg) translate(-50%,-50%);background:#2c3338;color:#fff;font-size:11px;line-height:20px;position:absolute;top:0;left:0;line-height:1;padding:7px 40px;transform-origin:top left;margin-top:36px;margin-left:36px}.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon span{max-width:70px}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill{border:1px solid #dcdcde;border-radius:28px;display:inline-block;font-size:13px;margin-left:12px;padding:1px 10px}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill span{max-width:70px}.woocommerce-task-payment .components-card__media{margin:24px 36px}.woocommerce-task-payment .components-card__media img{max-width:100px}.woocommerce-task-payment .woocommerce-task-payment__title{font-size:16px;font-weight:400;color:#2c3338;margin-top:0;margin-bottom:8px}.woocommerce-task-payment .woocommerce-task-payment__content{font-size:14px;color:#50575e;margin:0 36px 0 0}.woocommerce-task-payment .woocommerce-task-payment__content .text-style-strong{font-weight:700}.woocommerce-task-payment .woocommerce-task-payment__content p{font-size:12px}.woocommerce-task-payment .components-card__body{padding:24px 0;flex:1}.woocommerce-task-payment .components-card__footer{margin-left:auto;width:auto}.woocommerce-task-payment .components-card__footer .components-button.is-button{margin:0}@media (max-width:600px){.woocommerce-task-payment{flex-direction:column}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill,.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon{display:none}.woocommerce-task-payment .components-card__media{order:1;margin-right:auto;margin-bottom:24px}.woocommerce-task-payment .components-card__footer{position:absolute;right:36px;top:24px}.woocommerce-task-payment .components-card__footer .components-form-toggle{margin-top:4px}.woocommerce-task-payment .components-card__body{order:3;margin-top:16px}}.woocommerce-task-payment-method>h3{margin:0;color:#1d2327}.woocommerce-task-payment-method p{font-size:14px;color:#646970;font-weight:400;margin-top:16px;margin-bottom:8px}.woocommerce-task-payment-method__fields{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-gap:0 16px;margin-bottom:8px}.woocommerce-task-payment-method__fields .components-base-control{margin-bottom:0}.woocommerce-task-dashboard__container .woocommerce-stepper button.components-button.is-primary{margin:0 8px 0 0}.woocommerce-task-dashboard__container button.components-button.is-link{margin:0;height:auto;color:#50575e;font-weight:400}.woocommerce-task-payments__paypal-auto-create-account{margin-top:16px;margin-bottom:16px}.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured{background-color:#3c2861}.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__content,.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__content a,.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__title{color:#fff}.woocommerce-task-card__prompt{width:100%;min-width:100%;margin-bottom:24px;margin-top:-4px;cursor:default}.woocommerce-task-card__prompt .components-snackbar__content{display:block;align-items:unset;justify-content:unset}.woocommerce-task-card__prompt .components-snackbar__content span{margin-left:-24px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:active,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:focus{color:#fff;margin-left:24px;background:transparent}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:hover{color:#fff}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-pointer{border-bottom:10px solid #1e1e1e;border-left:10px solid transparent;border-right:10px solid transparent;position:relative;width:0;height:0;display:inline-block;top:-30px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-content{display:flex;align-items:baseline;justify-content:space-between;max-height:10px;margin-left:24px;position:relative;top:-40px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions{margin-right:-16px}.woocommerce-task-card__prompt:hover .woocommerce-task-card__prompt-pointer{border-bottom-color:#1e1e1e}.woocommerce-task-card__section-controls{text-align:center}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__body{border-top:1px solid #dcdcde;padding:0}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:none}}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__title .is-placeholder{width:70%;height:28px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-before .is-placeholder{height:36px;width:36px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text{width:100%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text .woocommerce-list__item-title .is-placeholder{height:22px;width:60%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-after .is-placeholder{height:18px;width:60px}.woocommerce-task-dashboard__container .woocommerce-task__caption{color:#757575;margin-top:16px}.components-guide.woocommerce__welcome-modal{max-width:517px;height:460px}.components-guide.woocommerce__welcome-modal .components-modal__header{height:0}.components-guide.woocommerce__welcome-modal .components-modal__header .components-button{color:#fff}.components-guide.woocommerce__welcome-modal .components-guide__container{margin-top:0}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content{padding:0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__header{font-size:24px;line-height:32px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__body{font-size:16px;line-height:24px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__footer{padding:0;margin:0 24px 24px;justify-content:flex-end;width:auto}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{position:static;padding:0 16px;font-weight:500;font-size:14px;line-height:18px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{color:#007cba;color:var(--wp-admin-theme-color)}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{margin-left:10px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{box-shadow:inset 0 0 0 1px #007cba;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);outline:1px solid transparent}.components-guide.woocommerce__welcome-modal .fill-theme-color{fill:#007cba;fill:var(--wp-admin-theme-color)}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal{height:440px}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal ul.components-guide__page-control{display:none}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal .woocommerce__welcome-modal__page-content{margin-top:16px}.woocommerce-layout__activity-panel-header{height:50px;background:#e0e0e0;padding:16px;display:flex;justify-content:space-between;align-items:center}@media (min-width:783px){.woocommerce-layout__activity-panel-header{padding:16px 24px}}.woocommerce-layout__activity-panel-header h3{font-size:13px;font-weight:600;line-height:16px;margin:0;padding:0}.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none;border-radius:10px;background:#ccc}.woocommerce-layout__inbox-title{color:#1e1e1e;display:flex;align-items:center}.woocommerce-layout__inbox-subtitle{color:#757575}.woocommerce-layout__inbox-badge{margin-left:6px;background-color:#757575;border-radius:13px;padding:0 6px;color:#fff;display:inline-block;text-align:center;vertical-align:top}.woocommerce-activity-panel{background:transparent;border:0}.woocommerce-activity-panel .components-panel__body{background:#fff;border:1px solid #e0e0e0}.woocommerce-activity-panel .components-panel__body.is-opened{margin-bottom:24px}.woocommerce-activity-panel.components-panel>.components-panel__body:last-child,.woocommerce-activity-panel .components-panel__body.is-opened .components-panel__body-toggle{border-bottom:1px solid #e0e0e0}.woocommerce-activity-panel .components-panel__row{margin:0 -16px -16px}.woocommerce-activity-panel .components-panel__row>div{width:100%}.woocommerce-activity-panel .components-panel__body-toggle{border-radius:0}.woocommerce-activity-panel .components-panel__body-toggle:disabled{opacity:1}.woocommerce-activity-panel .woocommerce-activity-panel{margin-bottom:24px}.woocommerce-activity-panel .components-panel__body-title p{margin-right:16px}.woocommerce-activity-panel .woocommerce-activity-card{padding:20px var(--main-gap) var(--main-gap)}.woocommerce-activity-panel .woocommerce-activity-card:not(:last-of-type){border-bottom:1px solid #e0e0e0}.woocommerce-activity-panel .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-activity-panel .woocommerce-empty-activity-card{margin:0;background:unset;text-align:center;padding:24px var(--main-gap) 4px}.woocommerce-activity-panel .woocommerce-empty-activity-card h4{color:#1e1e1e}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link{display:flex;justify-content:space-between;align-items:center;height:50px;border-bottom:1px solid #f0f0f0;padding:16px 24px;padding:16px var(--main-gap);font-size:13px;font-weight:500;line-height:18px;margin:0;text-decoration:none}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link .gridicon{display:none}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover{background-color:#f0f0f0}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus{background-color:#f0f0f0;box-shadow:inset 0 0 0 1px #5b9dd9,inset 0 0 0 2px #f0f0f0}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active .gridicon,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus .gridicon,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover .gridicon{display:initial}.woocommerce-activity-panel .woocommerce-layout__activity-panel-empty{border-top:1px solid #e0e0e0;border-bottom:0}.woocommerce-activity-panel .woocommerce-activity-card__button:focus{box-shadow:unset;outline:unset;border:1px solid #e0e0e0}.woocommerce-activity-panel .woocommerce-order-empty__success-icon{font-size:36px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header{margin-bottom:4px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title.is-placeholder{width:45%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__body>.is-placeholder{width:30%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__actions>.is-placeholder{height:24px;margin-top:4px;width:65px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-order-activity-card{cursor:pointer}.woocommerce-review-activity-card .woocommerce-rating{margin-top:4px}.woocommerce-review-activity-card .woocommerce-rating .gridicon{fill:#ffb900}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:first-child{margin-top:0}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:last-child{margin-bottom:0}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified{display:inline-flex;margin-left:4px;position:relative;top:4px;color:#4ab866;font-size:12px;font-size:.75rem}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified svg{width:18px;height:18px;fill:#4ab866}@media (max-width:782px){.woocommerce-review-activity-card .woocommerce-review-activity-card__image-overlay{margin-top:4px}}.woocommerce-review-activity-card.woocommerce-activity-card{padding:16px 24px}.woocommerce-review-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{line-height:20px}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{overflow-x:inherit!important}.woocommerce-homescreen{display:flex;max-width:1032px;margin:0 auto;justify-content:space-between;flex-direction:column}.woocommerce-homescreen .woocommerce-task-dashboard__container{width:100%;margin-bottom:24px}.woocommerce-homescreen.two-columns{flex-direction:row}.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:calc(50% - 12px);margin:0}@media (max-width:782px){.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen.two-columns .your-store-today{display:block}@media (max-width:782px){.woocommerce-homescreen.two-columns{flex-direction:column}.woocommerce-homescreen.two-columns .your-store-today{display:none}}@media (max-width:782px){.woocommerce-homescreen{margin-left:-16px;margin-right:-16px}}.woocommerce-homescreen-column{width:662px;top:100px;margin:0 auto;align-self:flex-start}.woocommerce-homescreen-column>div{margin-bottom:24px}@media (max-width:782px){.woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen-card .components-card__header.is-size-large,.woocommerce-homescreen-card .components-card__header.is-size-medium{min-height:63px;min-height:unset;display:-ms-grid;display:grid;-ms-grid-columns:auto 24px;grid-template-columns:auto 24px}.woocommerce-homescreen-card .components-card__header.is-size-large>*,.woocommerce-homescreen-card .components-card__header.is-size-medium>*{-ms-grid-row-align:center;align-self:center}.woocommerce-homescreen-card .components-card__body.is-size-large{padding:0}.woocommerce-homescreen-card .components-card__footer.is-size-large{padding:0 8px}#klarna-kp-banner,.woocommerce-layout__inbox-panel-header.your-store-today,.woocommerce-page:not(.woocommerce-embed-page) #klarna-banner{display:none}.woocommerce-dashboard__columns{display:-ms-grid;display:grid;-ms-grid-columns:calc(50% - 12px) calc(50% - 12px);grid-template-columns:calc(50% - 12px) calc(50% - 12px);grid-column-gap:24px}.woocommerce-dashboard__columns>div:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(3){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(4){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(5){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(6){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(7){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(8){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(9){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(10){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(11){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(12){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(13){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(14){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}@media (max-width:960px){.woocommerce-dashboard__columns{-ms-grid-columns:100%;grid-template-columns:100%}.woocommerce-dashboard__columns>div:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(3){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(4){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(5){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(6){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(7){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(8){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:8;grid-row-start:8;-ms-grid-row-span:1;grid-row-end:9}.woocommerce-dashboard__columns>div:nth-child(9){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:9;grid-row-start:9;-ms-grid-row-span:1;grid-row-end:10}.woocommerce-dashboard__columns>div:nth-child(10){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:10;grid-row-start:10;-ms-grid-row-span:1;grid-row-end:11}.woocommerce-dashboard__columns>div:nth-child(11){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:11;grid-row-start:11;-ms-grid-row-span:1;grid-row-end:12}.woocommerce-dashboard__columns>div:nth-child(12){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:12;grid-row-start:12;-ms-grid-row-span:1;grid-row-end:13}.woocommerce-dashboard__columns>div:nth-child(13){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:13;grid-row-start:13;-ms-grid-row-span:1;grid-row-end:14}.woocommerce-dashboard__columns>div:nth-child(14){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:14;grid-row-start:14;-ms-grid-row-span:1;grid-row-end:15}}.woocommerce-dashboard__widget{display:flex;align-items:center;text-align:center}.woocommerce-dashboard__widget-item{flex:1}.woocommerce-dashboard-section__add-more{margin:0 auto;width:84px;padding:0 24px 24px}.woocommerce-dashboard-section__add-more .components-popover__content{padding:0 16px 8px}.woocommerce-dashboard-section__add-more>button svg{fill:#757575}.woocommerce-dashboard-section__add-more-choices{display:flex;justify-content:center}.woocommerce-dashboard-section__add-more-btn{display:flex;flex-direction:column;align-items:center;padding:16px;margin:8px}.woocommerce-dashboard-section__add-more-btn.components-button{height:auto}.woocommerce-dashboard-section__add-more-btn .dashicons-arrow-right-alt{transform:rotate(-45deg)}.woocommerce-dashboard-section__add-more-btn-title{color:#757575;padding-top:8px}.woocommerce-dashboard-section-controls{border-top:1px solid #f0f0f0;padding-top:8px}.woocommerce-dashboard-section-controls .dashicon{margin:0 8px 0 0;vertical-align:bottom}.woocommerce-dashboard-section-controls .woocommerce-ellipsis-menu__item{padding-bottom:10px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card{max-width:680px;margin-left:auto;margin-right:auto;margin-bottom:24px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large{padding-bottom:12px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large .woocommerce-card__menu{margin-top:8px}.woocommerce-store-management-links__card-body.is-size-custom{padding:24px 0 8px}.woocommerce-quick-links__category{display:flex;flex-flow:row wrap;margin-bottom:8px}.woocommerce-quick-links__category .woocommerce-quick-links__category-header{margin:0 24px 8px;text-transform:uppercase;color:#757575;line-height:16px;font-size:11px;flex:1 100%}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-quick-links__item{display:flex;flex:1 50%}.woocommerce-quick-links__item:hover{background-color:#f0f0f0}.woocommerce-quick-links__item .woocommerce-quick-links__item-link{width:100%;display:flex;align-items:center;text-decoration:none;padding:16px 27px 16px 24px}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__icon{fill:#007cba;fill:var(--wp-admin-theme-color)}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__text{margin-left:16px;flex:1;line-height:16px;font-size:13px}.woocommerce-homescreen.two-columns .woocommerce-quick-links__item{flex:1 100%}
|
1 |
+
.woocommerce-stats-overview .woocommerce-card__body{padding:0}.woocommerce-stats-overview .woocommerce-summary{margin:0}.woocommerce-stats-overview__more-btn{display:inline-block;padding:16px}.woocommerce-stats-overview__tabs .components-tab-panel__tabs{display:flex;justify-content:space-between;border-bottom:1px solid #e0e0e0}.woocommerce-stats-overview__tabs .components-tab-panel__tabs .components-button{width:33.33%;padding-right:24px;padding-left:24px}.woocommerce-stats-overview__stats{margin:0}.woocommerce-stats-overview__stats .woocommerce-summary__item-container{width:50%;display:inline-block}.woocommerce-stats-overview__stats.is-even .woocommerce-summary__item-container:nth-last-of-type(2) .woocommerce-summary__item,.woocommerce-stats-overview__stats .woocommerce-summary__item-container:last-of-type .woocommerce-summary__item{border-bottom:none}.woocommerce-stats-overview__stats .woocommerce-summary__item-container:nth-of-type(2n) .woocommerce-summary__item{border-right:none}.woocommerce-stats-overview__stats .woocommerce-summary__item{background-color:#fff}.woocommerce-stats-overview__stats .woocommerce-summary__item:active,.woocommerce-stats-overview__stats .woocommerce-summary__item:hover{background-color:#f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo .woocommerce-stats-overview__install-jetpack-promo__content{padding:16px 24px}article.woocommerce-stats-overview__install-jetpack-promo h2{color:#1e1e1e;font-size:16px;font-size:1rem;font-style:normal;line-height:1.5;font-weight:400;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo p{color:#757575;font-style:normal;font-weight:400;font-size:14px;font-size:.875rem;line-height:20px;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo footer{padding:16px 24px;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo footer button{margin-left:8px}article.woocommerce-stats-overview__install-jetpack-promo footer button:first-child{margin-left:0}.woocommerce-task-dashboard__body .woocommerce-card__description{color:#646970}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .wooocommerce-task-card__header{display:flex}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .wooocommerce-task-card__header .woocommerce-badge{margin-left:16px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item:not(.is-complete) .woocommerce-task__icon{border:1px solid #f0f0f0;background:#fff}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item.is-complete .woocommerce-list__item-title{color:#757575}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-before .woocommerce-task__icon{border-radius:50%;width:32px;height:32px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-before .woocommerce-task__icon svg{fill:#fff;position:relative;top:4px;left:5px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-text .woocommerce-pill{padding:1px 8px;margin-left:8px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-popover__content{min-width:unset}.woocommerce-task-dashboard__body .woocommerce-task__additional-info,.woocommerce-task-dashboard__body .woocommerce-task__estimated-time{color:#757575;font-weight:400;font-size:12px}.woocommerce-task-dashboard__body #wpbody-content{position:relative}.woocommerce-task-dashboard__body .components-modal__screen-overlay{background:rgba(43,45,47,.4)}.woocommerce-task-dashboard__body .components-modal__frame .components-modal__header{border-bottom:0;margin-bottom:0}.woocommerce-task-dashboard__body .components-modal__frame .woocommerce-task-payments__stripe-error-wrapper{align-items:flex-end;flex-grow:1;display:flex;flex-direction:column}.woocommerce-shipping-rate{display:flex;padding-top:12px;padding-bottom:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__main{width:100%}.woocommerce-shipping-rate .woocommerce-shipping-rate__icon{padding-top:16px;margin-right:24px}.woocommerce-shipping-rate .woocommerce-shipping-rate__name{align-items:center;display:flex;padding-top:16px;font-size:16px;line-height:22px;color:#1d2327;margin-bottom:12px;border-top:1px solid #dcdcde}.woocommerce-shipping-rate .woocommerce-shipping-rate__name .components-form-toggle{margin-left:auto;height:18px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control{margin-bottom:0}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control__label{display:block;position:relative;top:-8px;width:100%;font-size:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix,.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{font-size:16px;line-height:24px;color:#646970;border:0;padding:0;align-items:center;display:flex;top:-12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-text-control__input{position:relative;top:-12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix{margin-right:4px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{margin-left:4px}.woocommerce-task-tax__automated-tax-control{display:flex;align-items:center;margin-top:16px}.woocommerce-task-tax__automated-tax-control i{margin-left:16px;margin-right:24px}.woocommerce-task-tax__automated-tax-control .woocommerce-task-tax__automated-tax-control-inner{border-top:1px solid #dcdcde;display:flex;align-items:center;flex:1;font-size:16px;padding-top:16px;padding-bottom:16px}.woocommerce-task-tax__automated-tax-control .components-form-toggle{margin-left:auto}.woocommerce-task-tax__success{display:flex;flex-direction:column;align-items:center;padding:40px;text-align:center}.woocommerce-task-tax__success .woocommerce-task-tax__success-icon{font-size:48px;height:48px;align-items:center;display:flex}.woocommerce-task-tax__success #woocommerce-task-tax__success-message{font-size:32px;font-weight:400}.woocommerce-task-tax__success p{margin-top:0;font-size:16px}.woocommerce-task-payment{display:flex;flex-direction:row;align-items:center;position:relative;overflow:hidden;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon{transform:rotate(-45deg) translate(-50%,-50%);background:#2c3338;color:#fff;font-size:11px;line-height:20px;position:absolute;top:0;left:0;line-height:1;padding:7px 40px;transform-origin:top left;margin-top:36px;margin-left:36px}.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon span{max-width:70px}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill{border:1px solid #dcdcde;border-radius:28px;display:inline-block;font-size:13px;margin-left:12px;padding:1px 10px}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill span{max-width:70px}.woocommerce-task-payment .components-card__media{margin:24px 36px}.woocommerce-task-payment .components-card__media img{max-width:100px}.woocommerce-task-payment .woocommerce-task-payment__title{font-size:16px;font-weight:400;color:#2c3338;margin-top:0;margin-bottom:8px}.woocommerce-task-payment .woocommerce-task-payment__content{font-size:14px;color:#50575e;margin:0 36px 0 0}.woocommerce-task-payment .woocommerce-task-payment__content .text-style-strong{font-weight:700}.woocommerce-task-payment .woocommerce-task-payment__content p{font-size:12px}.woocommerce-task-payment .components-card__body{padding:24px 0;flex:1}.woocommerce-task-payment .components-card__footer{margin-left:auto;width:auto}.woocommerce-task-payment .components-card__footer .components-button.is-button{margin:0}@media (max-width:600px){.woocommerce-task-payment{flex-direction:column}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill,.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon{display:none}.woocommerce-task-payment .components-card__media{order:1;margin-right:auto;margin-bottom:24px}.woocommerce-task-payment .components-card__footer{position:absolute;right:36px;top:24px}.woocommerce-task-payment .components-card__footer .components-form-toggle{margin-top:4px}.woocommerce-task-payment .components-card__body{order:3;margin-top:16px}}.woocommerce-task-payment-method>h3{margin:0;color:#1d2327}.woocommerce-task-payment-method p{font-size:14px;color:#646970;font-weight:400;margin-top:16px;margin-bottom:8px}.woocommerce-task-payment-method__fields{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-gap:0 16px;margin-bottom:8px}.woocommerce-task-payment-method__fields .components-base-control{margin-bottom:0}.woocommerce-task-dashboard__container .woocommerce-stepper button.components-button.is-primary{margin:0 8px 0 0}.woocommerce-task-dashboard__container button.components-button.is-link{margin:0;height:auto;color:#50575e;font-weight:400}.woocommerce-task-payments__paypal-auto-create-account{margin-top:16px;margin-bottom:16px}.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured{background-color:#3c2861}.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__content,.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__content a,.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__title{color:#fff}.woocommerce-task-card__prompt{width:100%;min-width:100%;margin-bottom:24px;margin-top:-4px;cursor:default}.woocommerce-task-card__prompt .components-snackbar__content{display:block;align-items:unset;justify-content:unset}.woocommerce-task-card__prompt .components-snackbar__content span{margin-left:-24px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:active,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:focus{color:#fff;margin-left:24px;background:transparent}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:hover{color:#fff}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-pointer{border-bottom:10px solid #1e1e1e;border-left:10px solid transparent;border-right:10px solid transparent;position:relative;width:0;height:0;display:inline-block;top:-30px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-content{display:flex;align-items:baseline;justify-content:space-between;max-height:10px;margin-left:24px;position:relative;top:-40px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions{margin-right:-16px}.woocommerce-task-card__prompt:hover .woocommerce-task-card__prompt-pointer{border-bottom-color:#1e1e1e}.woocommerce-task-card__section-controls{text-align:center}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__body{border-top:1px solid #dcdcde;padding:0}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:none}}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__title .is-placeholder{width:70%;height:28px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-before .is-placeholder{height:36px;width:36px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text{width:100%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text .woocommerce-list__item-title .is-placeholder{height:22px;width:60%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-after .is-placeholder{height:18px;width:60px}.woocommerce-task-dashboard__container .woocommerce-task__caption{color:#757575;margin-top:16px}.components-guide.woocommerce__welcome-modal{max-width:517px;height:460px}.components-guide.woocommerce__welcome-modal .components-modal__header{height:0}.components-guide.woocommerce__welcome-modal .components-modal__header .components-button{color:#fff}.components-guide.woocommerce__welcome-modal .components-guide__container{margin-top:0}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content{padding:0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__header{font-size:24px;line-height:32px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__body{font-size:16px;line-height:24px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__footer{padding:0;margin:0 24px 24px;justify-content:flex-end;width:auto}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{position:static;padding:0 16px;font-weight:500;font-size:14px;line-height:18px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{color:#007cba;color:var(--wp-admin-theme-color)}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{margin-left:10px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{box-shadow:inset 0 0 0 1px #007cba;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);outline:1px solid transparent}.components-guide.woocommerce__welcome-modal .fill-theme-color{fill:#007cba;fill:var(--wp-admin-theme-color)}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal{height:440px}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal ul.components-guide__page-control{display:none}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal .woocommerce__welcome-modal__page-content{margin-top:16px}.woocommerce-layout__activity-panel-header{height:50px;background:#e0e0e0;padding:16px;display:flex;justify-content:space-between;align-items:center}@media (min-width:783px){.woocommerce-layout__activity-panel-header{padding:16px 24px}}.woocommerce-layout__activity-panel-header h3{font-size:13px;font-weight:600;line-height:16px;margin:0;padding:0}.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none;border-radius:10px;background:#ccc}.woocommerce-layout__inbox-title{color:#1e1e1e;display:flex;align-items:center}.woocommerce-layout__inbox-subtitle{color:#757575}.woocommerce-layout__inbox-badge{margin-left:6px;background-color:#757575;border-radius:13px;padding:0 6px;color:#fff;display:inline-block;text-align:center;vertical-align:top}.woocommerce-activity-panel{background:transparent;border:0}.woocommerce-activity-panel .components-panel__body{background:#fff;border:1px solid #e0e0e0}.woocommerce-activity-panel .components-panel__body.is-opened{margin-bottom:24px}.woocommerce-activity-panel.components-panel>.components-panel__body:last-child,.woocommerce-activity-panel .components-panel__body.is-opened .components-panel__body-toggle{border-bottom:1px solid #e0e0e0}.woocommerce-activity-panel .components-panel__row{margin:0 -16px -16px}.woocommerce-activity-panel .components-panel__row>div{width:100%}.woocommerce-activity-panel .components-panel__body-toggle{border-radius:0}.woocommerce-activity-panel .components-panel__body-toggle:disabled{opacity:1}.woocommerce-activity-panel .woocommerce-activity-panel{margin-bottom:24px}.woocommerce-activity-panel .components-panel__body-title p{margin-right:16px}.woocommerce-activity-panel .woocommerce-activity-card{padding:20px var(--main-gap) var(--main-gap)}.woocommerce-activity-panel .woocommerce-activity-card:not(:last-of-type){border-bottom:1px solid #e0e0e0}.woocommerce-activity-panel .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-activity-panel .woocommerce-empty-activity-card{margin:0;background:unset;text-align:center;padding:24px var(--main-gap) 4px}.woocommerce-activity-panel .woocommerce-empty-activity-card h4{color:#1e1e1e}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link{display:flex;justify-content:space-between;align-items:center;height:50px;border-bottom:1px solid #f0f0f0;padding:16px 24px;padding:16px var(--main-gap);font-size:13px;font-weight:500;line-height:18px;margin:0;text-decoration:none}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link .gridicon{display:none}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover{background-color:#f0f0f0}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus{background-color:#f0f0f0;box-shadow:inset 0 0 0 1px #5b9dd9,inset 0 0 0 2px #f0f0f0}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active .gridicon,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus .gridicon,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover .gridicon{display:initial}.woocommerce-activity-panel .woocommerce-layout__activity-panel-empty{border-top:1px solid #e0e0e0;border-bottom:0}.woocommerce-activity-panel .woocommerce-activity-card__button:focus{box-shadow:unset;outline:unset;border:1px solid #e0e0e0}.woocommerce-activity-panel .woocommerce-order-empty__success-icon{font-size:36px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header{margin-bottom:4px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title.is-placeholder{width:45%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__body>.is-placeholder{width:30%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__actions>.is-placeholder{height:24px;margin-top:4px;width:65px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-order-activity-card{cursor:pointer}.woocommerce-review-activity-card .woocommerce-rating{margin-top:4px}.woocommerce-review-activity-card .woocommerce-rating .gridicon{fill:#ffb900}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:first-child{margin-top:0}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:last-child{margin-bottom:0}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified{display:inline-flex;margin-left:4px;position:relative;top:4px;color:#4ab866;font-size:12px;font-size:.75rem}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified svg{width:18px;height:18px;fill:#4ab866}@media (max-width:782px){.woocommerce-review-activity-card .woocommerce-review-activity-card__image-overlay{margin-top:4px}}.woocommerce-review-activity-card.woocommerce-activity-card{padding:16px 24px}.woocommerce-review-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{line-height:20px}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{overflow-x:inherit!important}.woocommerce-homescreen{display:flex;max-width:1032px;margin:0 auto;justify-content:space-between;flex-direction:column}.woocommerce-homescreen .woocommerce-task-dashboard__container{width:100%;margin-bottom:24px}.woocommerce-homescreen.two-columns{flex-direction:row}.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:calc(50% - 12px);margin:0}@media (max-width:782px){.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen.two-columns .your-store-today{display:block}@media (max-width:782px){.woocommerce-homescreen.two-columns{flex-direction:column}.woocommerce-homescreen.two-columns .your-store-today{display:none}}@media (max-width:782px){.woocommerce-homescreen{margin-left:-16px;margin-right:-16px}}.woocommerce-homescreen-column{width:662px;top:100px;margin:0 auto;align-self:flex-start}.woocommerce-homescreen-column>div{margin-bottom:24px}@media (max-width:782px){.woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen-card .components-card__header.is-size-large,.woocommerce-homescreen-card .components-card__header.is-size-medium{min-height:63px;min-height:unset;display:-ms-grid;display:grid;-ms-grid-columns:auto 24px;grid-template-columns:auto 24px}.woocommerce-homescreen-card .components-card__header.is-size-large>*,.woocommerce-homescreen-card .components-card__header.is-size-medium>*{-ms-grid-row-align:center;align-self:center}.woocommerce-homescreen-card .components-card__body.is-size-large{padding:0}.woocommerce-homescreen-card .components-card__footer.is-size-large{padding:0 8px}#klarna-kp-banner,.woocommerce-layout__inbox-panel-header.your-store-today,.woocommerce-page:not(.woocommerce-embed-page) #klarna-banner{display:none}.woocommerce-dashboard__columns{display:-ms-grid;display:grid;-ms-grid-columns:calc(50% - 12px) calc(50% - 12px);grid-template-columns:calc(50% - 12px) calc(50% - 12px);grid-column-gap:24px}.woocommerce-dashboard__columns>div:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(3){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(4){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(5){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(6){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(7){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(8){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(9){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(10){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(11){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(12){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(13){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(14){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}@media (max-width:960px){.woocommerce-dashboard__columns{-ms-grid-columns:100%;grid-template-columns:100%}.woocommerce-dashboard__columns>div:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(3){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(4){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(5){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(6){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(7){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(8){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:8;grid-row-start:8;-ms-grid-row-span:1;grid-row-end:9}.woocommerce-dashboard__columns>div:nth-child(9){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:9;grid-row-start:9;-ms-grid-row-span:1;grid-row-end:10}.woocommerce-dashboard__columns>div:nth-child(10){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:10;grid-row-start:10;-ms-grid-row-span:1;grid-row-end:11}.woocommerce-dashboard__columns>div:nth-child(11){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:11;grid-row-start:11;-ms-grid-row-span:1;grid-row-end:12}.woocommerce-dashboard__columns>div:nth-child(12){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:12;grid-row-start:12;-ms-grid-row-span:1;grid-row-end:13}.woocommerce-dashboard__columns>div:nth-child(13){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:13;grid-row-start:13;-ms-grid-row-span:1;grid-row-end:14}.woocommerce-dashboard__columns>div:nth-child(14){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:14;grid-row-start:14;-ms-grid-row-span:1;grid-row-end:15}}.woocommerce-dashboard__widget{display:flex;align-items:center;text-align:center}.woocommerce-dashboard__widget-item{flex:1}.woocommerce-dashboard-section__add-more{margin:0 auto;width:84px;padding:0 24px 24px}.woocommerce-dashboard-section__add-more .components-popover__content{padding:0 16px 8px}.woocommerce-dashboard-section__add-more>button svg{fill:#757575}.woocommerce-dashboard-section__add-more-choices{display:flex;justify-content:center}.woocommerce-dashboard-section__add-more-btn{display:flex;flex-direction:column;align-items:center;padding:16px;margin:8px}.woocommerce-dashboard-section__add-more-btn.components-button{height:auto}.woocommerce-dashboard-section__add-more-btn .dashicons-arrow-right-alt{transform:rotate(-45deg)}.woocommerce-dashboard-section__add-more-btn-title{color:#757575;padding-top:8px}.woocommerce-dashboard-section-controls{border-top:1px solid #f0f0f0;padding-top:8px}.woocommerce-dashboard-section-controls .dashicon{margin:0 8px 0 0;vertical-align:bottom}.woocommerce-dashboard-section-controls .woocommerce-ellipsis-menu__item{padding-bottom:10px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card{max-width:680px;margin-left:auto;margin-right:auto;margin-bottom:24px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large{padding-bottom:12px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large .woocommerce-card__menu{margin-top:8px}.woocommerce-store-management-links__card-body.is-size-custom{padding:24px 0 8px}.woocommerce-quick-links__category{display:flex;flex-flow:row wrap;margin-bottom:8px}.woocommerce-quick-links__category .woocommerce-quick-links__category-header{margin:0 24px 8px;text-transform:uppercase;color:#757575;line-height:16px;font-size:11px;flex:1 100%}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-quick-links__item{display:flex;flex:1 50%}.woocommerce-quick-links__item:hover{background-color:#f0f0f0}.woocommerce-quick-links__item .woocommerce-quick-links__item-link{width:100%;display:flex;align-items:center;text-decoration:none;padding:16px 27px 16px 24px}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__icon{fill:#007cba;fill:var(--wp-admin-theme-color)}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__text{margin-left:16px;flex:1;line-height:16px;font-size:13px}.woocommerce-homescreen.two-columns .woocommerce-quick-links__item{flex:1 100%}
|
dist/chunks/32.style.rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.woocommerce-stats-overview .woocommerce-card__body{padding:0}.woocommerce-stats-overview .woocommerce-summary{margin:0}.woocommerce-stats-overview__more-btn{display:inline-block;padding:16px}.woocommerce-stats-overview__tabs .components-tab-panel__tabs{display:flex;justify-content:space-between;border-bottom:1px solid #e0e0e0}.woocommerce-stats-overview__tabs .components-tab-panel__tabs .components-button{width:33.33%;padding-left:24px;padding-right:24px}.woocommerce-stats-overview__stats{margin:0}.woocommerce-stats-overview__stats .woocommerce-summary__item-container{width:50%;display:inline-block}.woocommerce-stats-overview__stats.is-even .woocommerce-summary__item-container:nth-last-of-type(2) .woocommerce-summary__item,.woocommerce-stats-overview__stats .woocommerce-summary__item-container:last-of-type .woocommerce-summary__item{border-bottom:none}.woocommerce-stats-overview__stats .woocommerce-summary__item-container:nth-of-type(2n) .woocommerce-summary__item{border-left:none}.woocommerce-stats-overview__stats .woocommerce-summary__item{background-color:#fff}.woocommerce-stats-overview__stats .woocommerce-summary__item:active,.woocommerce-stats-overview__stats .woocommerce-summary__item:hover{background-color:#f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo .woocommerce-stats-overview__install-jetpack-promo__content{padding:16px 24px}article.woocommerce-stats-overview__install-jetpack-promo h2{color:#1e1e1e;font-size:16px;font-size:1rem;font-style:normal;line-height:1.5;font-weight:400;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo p{color:#757575;font-style:normal;font-weight:400;font-size:14px;font-size:.875rem;line-height:20px;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo footer{padding:16px 24px;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo footer button{margin-right:8px}article.woocommerce-stats-overview__install-jetpack-promo footer button:first-child{margin-right:0}.woocommerce-task-dashboard__body .woocommerce-card__description{color:#646970}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .wooocommerce-task-card__header{display:flex}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .wooocommerce-task-card__header .woocommerce-badge{margin-right:16px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item:not(.is-complete) .woocommerce-task__icon{border:1px solid #f0f0f0;background:#fff}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item.is-complete .woocommerce-list__item-title{color:#757575}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-before .woocommerce-task__icon{border-radius:50%;width:32px;height:32px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-before svg{fill:#fff;position:relative;top:4px;right:5px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-popover__content{min-width:unset}.woocommerce-task-dashboard__body .woocommerce-task__additional-info,.woocommerce-task-dashboard__body .woocommerce-task__estimated-time{color:#757575;font-weight:400;font-size:12px}.woocommerce-task-dashboard__body #wpbody-content{position:relative}.woocommerce-task-dashboard__body .components-modal__screen-overlay{background:rgba(43,45,47,.4)}.woocommerce-task-dashboard__body .components-modal__frame .components-modal__header{border-bottom:0;margin-bottom:0}.woocommerce-task-dashboard__body .components-modal__frame .woocommerce-task-payments__stripe-error-wrapper{align-items:flex-end;flex-grow:1;display:flex;flex-direction:column}.woocommerce-shipping-rate{display:flex;padding-top:12px;padding-bottom:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__main{width:100%}.woocommerce-shipping-rate .woocommerce-shipping-rate__icon{padding-top:16px;margin-left:24px}.woocommerce-shipping-rate .woocommerce-shipping-rate__name{align-items:center;display:flex;padding-top:16px;font-size:16px;line-height:22px;color:#1d2327;margin-bottom:12px;border-top:1px solid #dcdcde}.woocommerce-shipping-rate .woocommerce-shipping-rate__name .components-form-toggle{margin-right:auto;height:18px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control{margin-bottom:0}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control__label{display:block;position:relative;top:-8px;width:100%;font-size:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix,.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{font-size:16px;line-height:24px;color:#646970;border:0;padding:0;align-items:center;display:flex;top:-12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-text-control__input{position:relative;top:-12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix{margin-left:4px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{margin-right:4px}.woocommerce-task-tax__automated-tax-control{display:flex;align-items:center;margin-top:16px}.woocommerce-task-tax__automated-tax-control i{margin-right:16px;margin-left:24px}.woocommerce-task-tax__automated-tax-control .woocommerce-task-tax__automated-tax-control-inner{border-top:1px solid #dcdcde;display:flex;align-items:center;flex:1;font-size:16px;padding-top:16px;padding-bottom:16px}.woocommerce-task-tax__automated-tax-control .components-form-toggle{margin-right:auto}.woocommerce-task-tax__success{display:flex;flex-direction:column;align-items:center;padding:40px;text-align:center}.woocommerce-task-tax__success .woocommerce-task-tax__success-icon{font-size:48px;height:48px;align-items:center;display:flex}.woocommerce-task-tax__success #woocommerce-task-tax__success-message{font-size:32px;font-weight:400}.woocommerce-task-tax__success p{margin-top:0;font-size:16px}.woocommerce-task-payment{display:flex;flex-direction:row;align-items:center;position:relative;overflow:hidden;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon{transform:rotate(45deg) translate(50%,-50%);background:#2c3338;color:#fff;font-size:11px;line-height:20px;position:absolute;top:0;right:0;line-height:1;padding:7px 40px;transform-origin:top right;margin-top:36px;margin-right:36px}.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon span{max-width:70px}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill{border:1px solid #dcdcde;border-radius:28px;display:inline-block;font-size:13px;margin-right:12px;padding:1px 10px}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill span{max-width:70px}.woocommerce-task-payment .components-card__media{margin:24px 36px}.woocommerce-task-payment .components-card__media img{max-width:100px}.woocommerce-task-payment .woocommerce-task-payment__title{font-size:16px;font-weight:400;color:#2c3338;margin-top:0;margin-bottom:8px}.woocommerce-task-payment .woocommerce-task-payment__content{font-size:14px;color:#50575e;margin:0 0 0 36px}.woocommerce-task-payment .woocommerce-task-payment__content .text-style-strong{font-weight:700}.woocommerce-task-payment .woocommerce-task-payment__content p{font-size:12px}.woocommerce-task-payment .components-card__body{padding:24px 0;flex:1}.woocommerce-task-payment .components-card__footer{margin-right:auto;width:auto}.woocommerce-task-payment .components-card__footer .components-button.is-button{margin:0}@media (max-width:600px){.woocommerce-task-payment{flex-direction:column}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill,.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon{display:none}.woocommerce-task-payment .components-card__media{order:1;margin-left:auto;margin-bottom:24px}.woocommerce-task-payment .components-card__footer{position:absolute;left:36px;top:24px}.woocommerce-task-payment .components-card__footer .components-form-toggle{margin-top:4px}.woocommerce-task-payment .components-card__body{order:3;margin-top:16px}}.woocommerce-task-payment-method>h3{margin:0;color:#1d2327}.woocommerce-task-payment-method p{font-size:14px;color:#646970;font-weight:400;margin-top:16px;margin-bottom:8px}.woocommerce-task-payment-method__fields{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-gap:0 16px;margin-bottom:8px}.woocommerce-task-payment-method__fields .components-base-control{margin-bottom:0}.woocommerce-task-dashboard__container .woocommerce-stepper button.components-button.is-primary{margin:0 0 0 8px}.woocommerce-task-dashboard__container button.components-button.is-link{margin:0;height:auto;color:#50575e;font-weight:400}.woocommerce-task-payments__paypal-auto-create-account{margin-top:16px;margin-bottom:16px}.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured{background-color:#3c2861}.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__content,.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__content a,.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__title{color:#fff}.woocommerce-task-card__prompt{width:100%;min-width:100%;margin-bottom:24px;margin-top:-4px;cursor:default}.woocommerce-task-card__prompt .components-snackbar__content{display:block;align-items:unset;justify-content:unset}.woocommerce-task-card__prompt .components-snackbar__content span{margin-right:-24px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:active,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:focus{color:#fff;margin-right:24px;background:transparent}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:hover{color:#fff}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-pointer{border-bottom:10px solid #1e1e1e;border-right:10px solid transparent;border-left:10px solid transparent;position:relative;width:0;height:0;display:inline-block;top:-30px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-content{display:flex;align-items:baseline;justify-content:space-between;max-height:10px;margin-right:24px;position:relative;top:-40px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions{margin-left:-16px}.woocommerce-task-card__prompt:hover .woocommerce-task-card__prompt-pointer{border-bottom-color:#1e1e1e}.woocommerce-task-card__section-controls{text-align:center}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__body{border-top:1px solid #dcdcde;padding:0}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:none}}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__title .is-placeholder{width:70%;height:28px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-before .is-placeholder{height:36px;width:36px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text{width:100%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text .woocommerce-list__item-title .is-placeholder{height:22px;width:60%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-after .is-placeholder{height:18px;width:60px}.woocommerce-task-dashboard__container .woocommerce-task__caption{color:#757575;margin-top:16px}.components-guide.woocommerce__welcome-modal{max-width:517px;height:460px}.components-guide.woocommerce__welcome-modal .components-modal__header{height:0}.components-guide.woocommerce__welcome-modal .components-modal__header .components-button{color:#fff}.components-guide.woocommerce__welcome-modal .components-guide__container{margin-top:0}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content{padding:0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__header{font-size:24px;line-height:32px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__body{font-size:16px;line-height:24px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__footer{padding:0;margin:0 24px 24px;justify-content:flex-end;width:auto}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{position:static;padding:0 16px;font-weight:500;font-size:14px;line-height:18px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{color:#007cba;color:var(--wp-admin-theme-color)}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{margin-right:10px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{box-shadow:inset 0 0 0 1px #007cba;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);outline:1px solid transparent}.components-guide.woocommerce__welcome-modal .fill-theme-color{fill:#007cba;fill:var(--wp-admin-theme-color)}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal{height:440px}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal ul.components-guide__page-control{display:none}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal .woocommerce__welcome-modal__page-content{margin-top:16px}.woocommerce-layout__activity-panel-header{height:50px;background:#e0e0e0;padding:16px;display:flex;justify-content:space-between;align-items:center}@media (min-width:783px){.woocommerce-layout__activity-panel-header{padding:16px 24px}}.woocommerce-layout__activity-panel-header h3{font-size:13px;font-weight:600;line-height:16px;margin:0;padding:0}.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none;border-radius:10px;background:#ccc}.woocommerce-layout__inbox-title{color:#1e1e1e;display:flex;align-items:center}.woocommerce-layout__inbox-subtitle{color:#757575}.woocommerce-layout__inbox-badge{margin-right:6px;background-color:#757575;border-radius:13px;padding:0 6px;color:#fff;display:inline-block;text-align:center;vertical-align:top}.woocommerce-activity-panel{background:transparent;border:0}.woocommerce-activity-panel .components-panel__body{background:#fff;border:1px solid #e0e0e0}.woocommerce-activity-panel .components-panel__body.is-opened{margin-bottom:24px}.woocommerce-activity-panel.components-panel>.components-panel__body:last-child,.woocommerce-activity-panel .components-panel__body.is-opened .components-panel__body-toggle{border-bottom:1px solid #e0e0e0}.woocommerce-activity-panel .components-panel__row{margin:0 -16px -16px}.woocommerce-activity-panel .components-panel__row>div{width:100%}.woocommerce-activity-panel .components-panel__body-toggle{border-radius:0}.woocommerce-activity-panel .components-panel__body-toggle:disabled{opacity:1}.woocommerce-activity-panel .woocommerce-activity-panel{margin-bottom:24px}.woocommerce-activity-panel .components-panel__body-title p{margin-left:16px}.woocommerce-activity-panel .woocommerce-activity-card{padding:20px var(--main-gap) var(--main-gap)}.woocommerce-activity-panel .woocommerce-activity-card:not(:last-of-type){border-bottom:1px solid #e0e0e0}.woocommerce-activity-panel .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-activity-panel .woocommerce-empty-activity-card{margin:0;background:unset;text-align:center;padding:24px var(--main-gap) 4px}.woocommerce-activity-panel .woocommerce-empty-activity-card h4{color:#1e1e1e}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link{display:flex;justify-content:space-between;align-items:center;height:50px;border-bottom:1px solid #f0f0f0;padding:16px 24px;padding:16px var(--main-gap);font-size:13px;font-weight:500;line-height:18px;margin:0;text-decoration:none}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link .gridicon{display:none}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover{background-color:#f0f0f0}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus{background-color:#f0f0f0;box-shadow:inset 0 0 0 1px #5b9dd9,inset 0 0 0 2px #f0f0f0}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active .gridicon,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus .gridicon,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover .gridicon{display:initial}.woocommerce-activity-panel .woocommerce-layout__activity-panel-empty{border-top:1px solid #e0e0e0;border-bottom:0}.woocommerce-activity-panel .woocommerce-activity-card__button:focus{box-shadow:unset;outline:unset;border:1px solid #e0e0e0}.woocommerce-activity-panel .woocommerce-order-empty__success-icon{font-size:36px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header{margin-bottom:4px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title.is-placeholder{width:45%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__body>.is-placeholder{width:30%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__actions>.is-placeholder{height:24px;margin-top:4px;width:65px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-order-activity-card{cursor:pointer}.woocommerce-review-activity-card .woocommerce-rating{margin-top:4px}.woocommerce-review-activity-card .woocommerce-rating .gridicon{fill:#ffb900}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:first-child{margin-top:0}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:last-child{margin-bottom:0}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified{display:inline-flex;margin-right:4px;position:relative;top:4px;color:#4ab866;font-size:12px;font-size:.75rem}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified svg{width:18px;height:18px;fill:#4ab866}@media (max-width:782px){.woocommerce-review-activity-card .woocommerce-review-activity-card__image-overlay{margin-top:4px}}.woocommerce-review-activity-card.woocommerce-activity-card{padding:16px 24px}.woocommerce-review-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{line-height:20px}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{overflow-x:inherit!important}.woocommerce-homescreen{display:flex;max-width:1032px;margin:0 auto;justify-content:space-between;flex-direction:column}.woocommerce-homescreen .woocommerce-task-dashboard__container{width:100%;margin-bottom:24px}.woocommerce-homescreen.two-columns{flex-direction:row}.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:calc(50% - 12px);margin:0}@media (max-width:782px){.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen.two-columns .your-store-today{display:block}@media (max-width:782px){.woocommerce-homescreen.two-columns{flex-direction:column}.woocommerce-homescreen.two-columns .your-store-today{display:none}}@media (max-width:782px){.woocommerce-homescreen{margin-right:-16px;margin-left:-16px}}.woocommerce-homescreen-column{width:662px;top:100px;margin:0 auto;align-self:flex-start}.woocommerce-homescreen-column>div{margin-bottom:24px}@media (max-width:782px){.woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen-card .components-card__header.is-size-large,.woocommerce-homescreen-card .components-card__header.is-size-medium{min-height:63px;min-height:unset;display:-ms-grid;display:grid;-ms-grid-columns:auto 24px;grid-template-columns:auto 24px}.woocommerce-homescreen-card .components-card__header.is-size-large>*,.woocommerce-homescreen-card .components-card__header.is-size-medium>*{-ms-grid-row-align:center;align-self:center}.woocommerce-homescreen-card .components-card__body.is-size-large{padding:0}.woocommerce-homescreen-card .components-card__footer.is-size-large{padding:0 8px}#klarna-kp-banner,.woocommerce-layout__inbox-panel-header.your-store-today,.woocommerce-page:not(.woocommerce-embed-page) #klarna-banner{display:none}.woocommerce-dashboard__columns{display:-ms-grid;display:grid;-ms-grid-columns:calc(50% - 12px) calc(50% - 12px);grid-template-columns:calc(50% - 12px) calc(50% - 12px);grid-column-gap:24px}.woocommerce-dashboard__columns>div:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(3){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(4){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(5){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(6){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(7){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(8){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(9){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(10){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(11){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(12){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(13){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(14){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}@media (max-width:960px){.woocommerce-dashboard__columns{-ms-grid-columns:100%;grid-template-columns:100%}.woocommerce-dashboard__columns>div:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(3){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(4){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(5){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(6){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(7){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(8){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:8;grid-row-start:8;-ms-grid-row-span:1;grid-row-end:9}.woocommerce-dashboard__columns>div:nth-child(9){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:9;grid-row-start:9;-ms-grid-row-span:1;grid-row-end:10}.woocommerce-dashboard__columns>div:nth-child(10){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:10;grid-row-start:10;-ms-grid-row-span:1;grid-row-end:11}.woocommerce-dashboard__columns>div:nth-child(11){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:11;grid-row-start:11;-ms-grid-row-span:1;grid-row-end:12}.woocommerce-dashboard__columns>div:nth-child(12){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:12;grid-row-start:12;-ms-grid-row-span:1;grid-row-end:13}.woocommerce-dashboard__columns>div:nth-child(13){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:13;grid-row-start:13;-ms-grid-row-span:1;grid-row-end:14}.woocommerce-dashboard__columns>div:nth-child(14){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:14;grid-row-start:14;-ms-grid-row-span:1;grid-row-end:15}}.woocommerce-dashboard__widget{display:flex;align-items:center;text-align:center}.woocommerce-dashboard__widget-item{flex:1}.woocommerce-dashboard-section__add-more{margin:0 auto;width:84px;padding:0 24px 24px}.woocommerce-dashboard-section__add-more .components-popover__content{padding:0 16px 8px}.woocommerce-dashboard-section__add-more>button svg{fill:#757575}.woocommerce-dashboard-section__add-more-choices{display:flex;justify-content:center}.woocommerce-dashboard-section__add-more-btn{display:flex;flex-direction:column;align-items:center;padding:16px;margin:8px}.woocommerce-dashboard-section__add-more-btn.components-button{height:auto}.woocommerce-dashboard-section__add-more-btn .dashicons-arrow-right-alt{transform:rotate(45deg)}.woocommerce-dashboard-section__add-more-btn-title{color:#757575;padding-top:8px}.woocommerce-dashboard-section-controls{border-top:1px solid #f0f0f0;padding-top:8px}.woocommerce-dashboard-section-controls .dashicon{margin:0 0 0 8px;vertical-align:bottom}.woocommerce-dashboard-section-controls .woocommerce-ellipsis-menu__item{padding-bottom:10px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card{max-width:680px;margin-right:auto;margin-left:auto;margin-bottom:24px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large{padding-bottom:12px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large .woocommerce-card__menu{margin-top:8px}.woocommerce-store-management-links__card-body.is-size-custom{padding:24px 0 8px}.woocommerce-quick-links__category{display:flex;flex-flow:row wrap;margin-bottom:8px}.woocommerce-quick-links__category .woocommerce-quick-links__category-header{margin:0 24px 8px;text-transform:uppercase;color:#757575;line-height:16px;font-size:11px;flex:1 100%}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-quick-links__item{display:flex;flex:1 50%}.woocommerce-quick-links__item:hover{background-color:#f0f0f0}.woocommerce-quick-links__item .woocommerce-quick-links__item-link{width:100%;display:flex;align-items:center;text-decoration:none;padding:16px 24px 16px 27px}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__icon{fill:#007cba;fill:var(--wp-admin-theme-color)}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__text{margin-right:16px;flex:1;line-height:16px;font-size:13px}.woocommerce-homescreen.two-columns .woocommerce-quick-links__item{flex:1 100%}
|
1 |
+
.woocommerce-stats-overview .woocommerce-card__body{padding:0}.woocommerce-stats-overview .woocommerce-summary{margin:0}.woocommerce-stats-overview__more-btn{display:inline-block;padding:16px}.woocommerce-stats-overview__tabs .components-tab-panel__tabs{display:flex;justify-content:space-between;border-bottom:1px solid #e0e0e0}.woocommerce-stats-overview__tabs .components-tab-panel__tabs .components-button{width:33.33%;padding-left:24px;padding-right:24px}.woocommerce-stats-overview__stats{margin:0}.woocommerce-stats-overview__stats .woocommerce-summary__item-container{width:50%;display:inline-block}.woocommerce-stats-overview__stats.is-even .woocommerce-summary__item-container:nth-last-of-type(2) .woocommerce-summary__item,.woocommerce-stats-overview__stats .woocommerce-summary__item-container:last-of-type .woocommerce-summary__item{border-bottom:none}.woocommerce-stats-overview__stats .woocommerce-summary__item-container:nth-of-type(2n) .woocommerce-summary__item{border-left:none}.woocommerce-stats-overview__stats .woocommerce-summary__item{background-color:#fff}.woocommerce-stats-overview__stats .woocommerce-summary__item:active,.woocommerce-stats-overview__stats .woocommerce-summary__item:hover{background-color:#f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo .woocommerce-stats-overview__install-jetpack-promo__content{padding:16px 24px}article.woocommerce-stats-overview__install-jetpack-promo h2{color:#1e1e1e;font-size:16px;font-size:1rem;font-style:normal;line-height:1.5;font-weight:400;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo p{color:#757575;font-style:normal;font-weight:400;font-size:14px;font-size:.875rem;line-height:20px;margin:8px 0}article.woocommerce-stats-overview__install-jetpack-promo footer{padding:16px 24px;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}article.woocommerce-stats-overview__install-jetpack-promo footer button{margin-right:8px}article.woocommerce-stats-overview__install-jetpack-promo footer button:first-child{margin-right:0}.woocommerce-task-dashboard__body .woocommerce-card__description{color:#646970}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .wooocommerce-task-card__header{display:flex}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .wooocommerce-task-card__header .woocommerce-badge{margin-right:16px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item:not(.is-complete) .woocommerce-task__icon{border:1px solid #f0f0f0;background:#fff}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item.is-complete .woocommerce-list__item-title{color:#757575}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-before .woocommerce-task__icon{border-radius:50%;width:32px;height:32px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-before .woocommerce-task__icon svg{fill:#fff;position:relative;top:4px;right:5px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .woocommerce-list__item-text .woocommerce-pill{padding:1px 8px;margin-right:8px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-popover__content{min-width:unset}.woocommerce-task-dashboard__body .woocommerce-task__additional-info,.woocommerce-task-dashboard__body .woocommerce-task__estimated-time{color:#757575;font-weight:400;font-size:12px}.woocommerce-task-dashboard__body #wpbody-content{position:relative}.woocommerce-task-dashboard__body .components-modal__screen-overlay{background:rgba(43,45,47,.4)}.woocommerce-task-dashboard__body .components-modal__frame .components-modal__header{border-bottom:0;margin-bottom:0}.woocommerce-task-dashboard__body .components-modal__frame .woocommerce-task-payments__stripe-error-wrapper{align-items:flex-end;flex-grow:1;display:flex;flex-direction:column}.woocommerce-shipping-rate{display:flex;padding-top:12px;padding-bottom:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__main{width:100%}.woocommerce-shipping-rate .woocommerce-shipping-rate__icon{padding-top:16px;margin-left:24px}.woocommerce-shipping-rate .woocommerce-shipping-rate__name{align-items:center;display:flex;padding-top:16px;font-size:16px;line-height:22px;color:#1d2327;margin-bottom:12px;border-top:1px solid #dcdcde}.woocommerce-shipping-rate .woocommerce-shipping-rate__name .components-form-toggle{margin-right:auto;height:18px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control{margin-bottom:0}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-base-control__label{display:block;position:relative;top:-8px;width:100%;font-size:12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix,.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{font-size:16px;line-height:24px;color:#646970;border:0;padding:0;align-items:center;display:flex;top:-12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .components-text-control__input{position:relative;top:-12px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__prefix{margin-left:4px}.woocommerce-shipping-rate .woocommerce-shipping-rate__control-wrapper .text-control-with-affixes__suffix{margin-right:4px}.woocommerce-task-tax__automated-tax-control{display:flex;align-items:center;margin-top:16px}.woocommerce-task-tax__automated-tax-control i{margin-right:16px;margin-left:24px}.woocommerce-task-tax__automated-tax-control .woocommerce-task-tax__automated-tax-control-inner{border-top:1px solid #dcdcde;display:flex;align-items:center;flex:1;font-size:16px;padding-top:16px;padding-bottom:16px}.woocommerce-task-tax__automated-tax-control .components-form-toggle{margin-right:auto}.woocommerce-task-tax__success{display:flex;flex-direction:column;align-items:center;padding:40px;text-align:center}.woocommerce-task-tax__success .woocommerce-task-tax__success-icon{font-size:48px;height:48px;align-items:center;display:flex}.woocommerce-task-tax__success #woocommerce-task-tax__success-message{font-size:32px;font-weight:400}.woocommerce-task-tax__success p{margin-top:0;font-size:16px}.woocommerce-task-payment{display:flex;flex-direction:row;align-items:center;position:relative;overflow:hidden;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon{transform:rotate(45deg) translate(50%,-50%);background:#2c3338;color:#fff;font-size:11px;line-height:20px;position:absolute;top:0;right:0;line-height:1;padding:7px 40px;transform-origin:top right;margin-top:36px;margin-right:36px}.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon span{max-width:70px}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill{border:1px solid #dcdcde;border-radius:28px;display:inline-block;font-size:13px;margin-right:12px;padding:1px 10px}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill span{max-width:70px}.woocommerce-task-payment .components-card__media{margin:24px 36px}.woocommerce-task-payment .components-card__media img{max-width:100px}.woocommerce-task-payment .woocommerce-task-payment__title{font-size:16px;font-weight:400;color:#2c3338;margin-top:0;margin-bottom:8px}.woocommerce-task-payment .woocommerce-task-payment__content{font-size:14px;color:#50575e;margin:0 0 0 36px}.woocommerce-task-payment .woocommerce-task-payment__content .text-style-strong{font-weight:700}.woocommerce-task-payment .woocommerce-task-payment__content p{font-size:12px}.woocommerce-task-payment .components-card__body{padding:24px 0;flex:1}.woocommerce-task-payment .components-card__footer{margin-right:auto;width:auto}.woocommerce-task-payment .components-card__footer .components-button.is-button{margin:0}@media (max-width:600px){.woocommerce-task-payment{flex-direction:column}.woocommerce-task-payment .woocommerce-task-payment__recommended-pill,.woocommerce-task-payment .woocommerce-task-payment__recommended-ribbon{display:none}.woocommerce-task-payment .components-card__media{order:1;margin-left:auto;margin-bottom:24px}.woocommerce-task-payment .components-card__footer{position:absolute;left:36px;top:24px}.woocommerce-task-payment .components-card__footer .components-form-toggle{margin-top:4px}.woocommerce-task-payment .components-card__body{order:3;margin-top:16px}}.woocommerce-task-payment-method>h3{margin:0;color:#1d2327}.woocommerce-task-payment-method p{font-size:14px;color:#646970;font-weight:400;margin-top:16px;margin-bottom:8px}.woocommerce-task-payment-method__fields{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-gap:0 16px;margin-bottom:8px}.woocommerce-task-payment-method__fields .components-base-control{margin-bottom:0}.woocommerce-task-dashboard__container .woocommerce-stepper button.components-button.is-primary{margin:0 0 0 8px}.woocommerce-task-dashboard__container button.components-button.is-link{margin:0;height:auto;color:#50575e;font-weight:400}.woocommerce-task-payments__paypal-auto-create-account{margin-top:16px;margin-bottom:16px}.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured{background-color:#3c2861}.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__content,.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__content a,.woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured .woocommerce-task-payment__title{color:#fff}.woocommerce-task-card__prompt{width:100%;min-width:100%;margin-bottom:24px;margin-top:-4px;cursor:default}.woocommerce-task-card__prompt .components-snackbar__content{display:block;align-items:unset;justify-content:unset}.woocommerce-task-card__prompt .components-snackbar__content span{margin-right:-24px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:active,.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:focus{color:#fff;margin-right:24px;background:transparent}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions button.is-link:hover{color:#fff}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-pointer{border-bottom:10px solid #1e1e1e;border-right:10px solid transparent;border-left:10px solid transparent;position:relative;width:0;height:0;display:inline-block;top:-30px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-content{display:flex;align-items:baseline;justify-content:space-between;max-height:10px;margin-right:24px;position:relative;top:-40px}.woocommerce-task-card__prompt .woocommerce-task-card__prompt-actions{margin-left:-16px}.woocommerce-task-card__prompt:hover .woocommerce-task-card__prompt-pointer{border-bottom-color:#1e1e1e}.woocommerce-task-card__section-controls{text-align:center}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__body{border-top:1px solid #dcdcde;padding:0}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .is-placeholder{animation:none}}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-card__title .is-placeholder{width:70%;height:28px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-before .is-placeholder{height:36px;width:36px}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text{width:100%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-text .woocommerce-list__item-title .is-placeholder{height:22px;width:60%}.woocommerce-task-dashboard__container .woocommerce-task-card.is-loading .woocommerce-list__item-after .is-placeholder{height:18px;width:60px}.woocommerce-task-dashboard__container .woocommerce-task__caption{color:#757575;margin-top:16px}.components-guide.woocommerce__welcome-modal{max-width:517px;height:460px}.components-guide.woocommerce__welcome-modal .components-modal__header{height:0}.components-guide.woocommerce__welcome-modal .components-modal__header .components-button{color:#fff}.components-guide.woocommerce__welcome-modal .components-guide__container{margin-top:0}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content{padding:0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__header{font-size:24px;line-height:32px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__container .woocommerce__welcome-modal__page-content .woocommerce__welcome-modal__page-content__body{font-size:16px;line-height:24px;margin:0 0 24px}.components-guide.woocommerce__welcome-modal .components-guide__footer{padding:0;margin:0 24px 24px;justify-content:flex-end;width:auto}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{position:static;padding:0 16px;font-weight:500;font-size:14px;line-height:18px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__back-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{color:#007cba;color:var(--wp-admin-theme-color)}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__finish-button,.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{margin-right:10px}.components-guide.woocommerce__welcome-modal .components-guide__footer .components-guide__forward-button{box-shadow:inset 0 0 0 1px #007cba;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);outline:1px solid transparent}.components-guide.woocommerce__welcome-modal .fill-theme-color{fill:#007cba;fill:var(--wp-admin-theme-color)}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal{height:440px}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal ul.components-guide__page-control{display:none}.components-guide.woocommerce__welcome-modal.woocommerce__welcome-from-calypso-modal .woocommerce__welcome-modal__page-content{margin-top:16px}.woocommerce-layout__activity-panel-header{height:50px;background:#e0e0e0;padding:16px;display:flex;justify-content:space-between;align-items:center}@media (min-width:783px){.woocommerce-layout__activity-panel-header{padding:16px 24px}}.woocommerce-layout__activity-panel-header h3{font-size:13px;font-weight:600;line-height:16px;margin:0;padding:0}.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none;border-radius:10px;background:#ccc}.woocommerce-layout__inbox-title{color:#1e1e1e;display:flex;align-items:center}.woocommerce-layout__inbox-subtitle{color:#757575}.woocommerce-layout__inbox-badge{margin-right:6px;background-color:#757575;border-radius:13px;padding:0 6px;color:#fff;display:inline-block;text-align:center;vertical-align:top}.woocommerce-activity-panel{background:transparent;border:0}.woocommerce-activity-panel .components-panel__body{background:#fff;border:1px solid #e0e0e0}.woocommerce-activity-panel .components-panel__body.is-opened{margin-bottom:24px}.woocommerce-activity-panel.components-panel>.components-panel__body:last-child,.woocommerce-activity-panel .components-panel__body.is-opened .components-panel__body-toggle{border-bottom:1px solid #e0e0e0}.woocommerce-activity-panel .components-panel__row{margin:0 -16px -16px}.woocommerce-activity-panel .components-panel__row>div{width:100%}.woocommerce-activity-panel .components-panel__body-toggle{border-radius:0}.woocommerce-activity-panel .components-panel__body-toggle:disabled{opacity:1}.woocommerce-activity-panel .woocommerce-activity-panel{margin-bottom:24px}.woocommerce-activity-panel .components-panel__body-title p{margin-left:16px}.woocommerce-activity-panel .woocommerce-activity-card{padding:20px var(--main-gap) var(--main-gap)}.woocommerce-activity-panel .woocommerce-activity-card:not(:last-of-type){border-bottom:1px solid #e0e0e0}.woocommerce-activity-panel .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-activity-panel .woocommerce-empty-activity-card{margin:0;background:unset;text-align:center;padding:24px var(--main-gap) 4px}.woocommerce-activity-panel .woocommerce-empty-activity-card h4{color:#1e1e1e}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link{display:flex;justify-content:space-between;align-items:center;height:50px;border-bottom:1px solid #f0f0f0;padding:16px 24px;padding:16px var(--main-gap);font-size:13px;font-weight:500;line-height:18px;margin:0;text-decoration:none}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link .gridicon{display:none}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover{background-color:#f0f0f0}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus{background-color:#f0f0f0;box-shadow:inset 0 0 0 1px #5b9dd9,inset 0 0 0 2px #f0f0f0}.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:active .gridicon,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:focus .gridicon,.woocommerce-activity-panel .woocommerce-layout__activity-panel-outbound-link:hover .gridicon{display:initial}.woocommerce-activity-panel .woocommerce-layout__activity-panel-empty{border-top:1px solid #e0e0e0;border-bottom:0}.woocommerce-activity-panel .woocommerce-activity-card__button:focus{box-shadow:unset;outline:unset;border:1px solid #e0e0e0}.woocommerce-activity-panel .woocommerce-order-empty__success-icon{font-size:36px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header{margin-bottom:4px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title.is-placeholder{width:45%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__body>.is-placeholder{width:30%}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__actions>.is-placeholder{height:24px;margin-top:4px;width:65px}.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-order-activity-card{cursor:pointer}.woocommerce-review-activity-card .woocommerce-rating{margin-top:4px}.woocommerce-review-activity-card .woocommerce-rating .gridicon{fill:#ffb900}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:first-child{margin-top:0}.woocommerce-review-activity-card .woocommerce-activity-card__body>span>p:last-child{margin-bottom:0}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified{display:inline-flex;margin-right:4px;position:relative;top:4px;color:#4ab866;font-size:12px;font-size:.75rem}.woocommerce-review-activity-card .woocommerce-review-activity-card__verified svg{width:18px;height:18px;fill:#4ab866}@media (max-width:782px){.woocommerce-review-activity-card .woocommerce-review-activity-card__image-overlay{margin-top:4px}}.woocommerce-review-activity-card.woocommerce-activity-card{padding:16px 24px}.woocommerce-review-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{line-height:20px}.woocommerce-page #wpcontent,.woocommerce-page.woocommerce_page_wc-admin #wpbody-content{overflow-x:inherit!important}.woocommerce-homescreen{display:flex;max-width:1032px;margin:0 auto;justify-content:space-between;flex-direction:column}.woocommerce-homescreen .woocommerce-task-dashboard__container{width:100%;margin-bottom:24px}.woocommerce-homescreen.two-columns{flex-direction:row}.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:calc(50% - 12px);margin:0}@media (max-width:782px){.woocommerce-homescreen.two-columns .woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen.two-columns .your-store-today{display:block}@media (max-width:782px){.woocommerce-homescreen.two-columns{flex-direction:column}.woocommerce-homescreen.two-columns .your-store-today{display:none}}@media (max-width:782px){.woocommerce-homescreen{margin-right:-16px;margin-left:-16px}}.woocommerce-homescreen-column{width:662px;top:100px;margin:0 auto;align-self:flex-start}.woocommerce-homescreen-column>div{margin-bottom:24px}@media (max-width:782px){.woocommerce-homescreen-column{width:100%;position:inherit;top:auto}}.woocommerce-homescreen-card .components-card__header.is-size-large,.woocommerce-homescreen-card .components-card__header.is-size-medium{min-height:63px;min-height:unset;display:-ms-grid;display:grid;-ms-grid-columns:auto 24px;grid-template-columns:auto 24px}.woocommerce-homescreen-card .components-card__header.is-size-large>*,.woocommerce-homescreen-card .components-card__header.is-size-medium>*{-ms-grid-row-align:center;align-self:center}.woocommerce-homescreen-card .components-card__body.is-size-large{padding:0}.woocommerce-homescreen-card .components-card__footer.is-size-large{padding:0 8px}#klarna-kp-banner,.woocommerce-layout__inbox-panel-header.your-store-today,.woocommerce-page:not(.woocommerce-embed-page) #klarna-banner{display:none}.woocommerce-dashboard__columns{display:-ms-grid;display:grid;-ms-grid-columns:calc(50% - 12px) calc(50% - 12px);grid-template-columns:calc(50% - 12px) calc(50% - 12px);grid-column-gap:24px}.woocommerce-dashboard__columns>div:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(3){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(4){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(5){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(6){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(7){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(8){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(9){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(10){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(11){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(12){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(13){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(14){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}@media (max-width:960px){.woocommerce-dashboard__columns{-ms-grid-columns:100%;grid-template-columns:100%}.woocommerce-dashboard__columns>div:first-child{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.woocommerce-dashboard__columns>div:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.woocommerce-dashboard__columns>div:nth-child(3){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:1;grid-row-end:4}.woocommerce-dashboard__columns>div:nth-child(4){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:1;grid-row-end:5}.woocommerce-dashboard__columns>div:nth-child(5){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:1;grid-row-end:6}.woocommerce-dashboard__columns>div:nth-child(6){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:6;grid-row-start:6;-ms-grid-row-span:1;grid-row-end:7}.woocommerce-dashboard__columns>div:nth-child(7){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:7;grid-row-start:7;-ms-grid-row-span:1;grid-row-end:8}.woocommerce-dashboard__columns>div:nth-child(8){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:8;grid-row-start:8;-ms-grid-row-span:1;grid-row-end:9}.woocommerce-dashboard__columns>div:nth-child(9){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:9;grid-row-start:9;-ms-grid-row-span:1;grid-row-end:10}.woocommerce-dashboard__columns>div:nth-child(10){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:10;grid-row-start:10;-ms-grid-row-span:1;grid-row-end:11}.woocommerce-dashboard__columns>div:nth-child(11){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:11;grid-row-start:11;-ms-grid-row-span:1;grid-row-end:12}.woocommerce-dashboard__columns>div:nth-child(12){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:12;grid-row-start:12;-ms-grid-row-span:1;grid-row-end:13}.woocommerce-dashboard__columns>div:nth-child(13){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:13;grid-row-start:13;-ms-grid-row-span:1;grid-row-end:14}.woocommerce-dashboard__columns>div:nth-child(14){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:14;grid-row-start:14;-ms-grid-row-span:1;grid-row-end:15}}.woocommerce-dashboard__widget{display:flex;align-items:center;text-align:center}.woocommerce-dashboard__widget-item{flex:1}.woocommerce-dashboard-section__add-more{margin:0 auto;width:84px;padding:0 24px 24px}.woocommerce-dashboard-section__add-more .components-popover__content{padding:0 16px 8px}.woocommerce-dashboard-section__add-more>button svg{fill:#757575}.woocommerce-dashboard-section__add-more-choices{display:flex;justify-content:center}.woocommerce-dashboard-section__add-more-btn{display:flex;flex-direction:column;align-items:center;padding:16px;margin:8px}.woocommerce-dashboard-section__add-more-btn.components-button{height:auto}.woocommerce-dashboard-section__add-more-btn .dashicons-arrow-right-alt{transform:rotate(45deg)}.woocommerce-dashboard-section__add-more-btn-title{color:#757575;padding-top:8px}.woocommerce-dashboard-section-controls{border-top:1px solid #f0f0f0;padding-top:8px}.woocommerce-dashboard-section-controls .dashicon{margin:0 0 0 8px;vertical-align:bottom}.woocommerce-dashboard-section-controls .woocommerce-ellipsis-menu__item{padding-bottom:10px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card{max-width:680px;margin-right:auto;margin-left:auto;margin-bottom:24px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large{padding-bottom:12px}.woocommerce-task-dashboard__body .woocommerce-task-dashboard__container .woocommerce-task-card .components-card__header.is-size-large .woocommerce-card__menu{margin-top:8px}.woocommerce-store-management-links__card-body.is-size-custom{padding:24px 0 8px}.woocommerce-quick-links__category{display:flex;flex-flow:row wrap;margin-bottom:8px}.woocommerce-quick-links__category .woocommerce-quick-links__category-header{margin:0 24px 8px;text-transform:uppercase;color:#757575;line-height:16px;font-size:11px;flex:1 100%}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-quick-links__item{display:flex;flex:1 50%}.woocommerce-quick-links__item:hover{background-color:#f0f0f0}.woocommerce-quick-links__item .woocommerce-quick-links__item-link{width:100%;display:flex;align-items:center;text-decoration:none;padding:16px 24px 16px 27px}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__icon{fill:#007cba;fill:var(--wp-admin-theme-color)}.woocommerce-quick-links__item .woocommerce-quick-links__item-link .woocommerce-quick-links__item-link__text{margin-right:16px;flex:1;line-height:16px;font-size:13px}.woocommerce-homescreen.two-columns .woocommerce-quick-links__item{flex:1 100%}
|
dist/chunks/4.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[4],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
7 |
/* unused harmony export ALLOWED_TAGS */
|
8 |
/* unused harmony export ALLOWED_ATTR */
|
9 |
-
/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
10 |
/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(dompurify__WEBPACK_IMPORTED_MODULE_0__);
|
11 |
/**
|
12 |
* External dependencies
|
@@ -25,7 +25,7 @@ var ALLOWED_ATTR = ['target', 'href', 'rel', 'name', 'download'];
|
|
25 |
|
26 |
/***/ }),
|
27 |
|
28 |
-
/***/
|
29 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
30 |
|
31 |
"use strict";
|
@@ -80,7 +80,7 @@ var external_this_wc_components_ = __webpack_require__(47);
|
|
80 |
var external_this_wp_components_ = __webpack_require__(4);
|
81 |
|
82 |
// EXTERNAL MODULE: ./client/header/activity-panel/activity-card/style.scss
|
83 |
-
var style = __webpack_require__(
|
84 |
|
85 |
// EXTERNAL MODULE: external "lodash"
|
86 |
var external_lodash_ = __webpack_require__(3);
|
@@ -307,21 +307,21 @@ activity_card_ActivityCard.defaultProps = {
|
|
307 |
|
308 |
/***/ }),
|
309 |
|
310 |
-
/***/
|
311 |
/***/ (function(module, exports, __webpack_require__) {
|
312 |
|
313 |
// extracted by mini-css-extract-plugin
|
314 |
|
315 |
/***/ }),
|
316 |
|
317 |
-
/***/
|
318 |
/***/ (function(module, exports, __webpack_require__) {
|
319 |
|
320 |
// extracted by mini-css-extract-plugin
|
321 |
|
322 |
/***/ }),
|
323 |
|
324 |
-
/***/
|
325 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
326 |
|
327 |
"use strict";
|
@@ -345,19 +345,19 @@ var external_this_wp_compose_ = __webpack_require__(18);
|
|
345 |
var external_this_wc_components_ = __webpack_require__(47);
|
346 |
|
347 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
348 |
-
var external_this_wc_data_ = __webpack_require__(
|
349 |
|
350 |
// EXTERNAL MODULE: external {"this":["wp","data"]}
|
351 |
var external_this_wp_data_ = __webpack_require__(15);
|
352 |
|
353 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroup.js + 2 modules
|
354 |
-
var TransitionGroup = __webpack_require__(
|
355 |
|
356 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js + 5 modules
|
357 |
-
var CSSTransition = __webpack_require__(
|
358 |
|
359 |
// EXTERNAL MODULE: ./client/header/activity-panel/activity-card/index.js + 1 modules
|
360 |
-
var activity_card = __webpack_require__(
|
361 |
|
362 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/classCallCheck.js
|
363 |
var classCallCheck = __webpack_require__(11);
|
@@ -420,10 +420,6 @@ var placeholder_InboxNotePlaceholder = /*#__PURE__*/function (_Component) {
|
|
420 |
className: "woocommerce-inbox-message is-placeholder ".concat(className),
|
421 |
"aria-hidden": true
|
422 |
}, Object(external_this_wp_element_["createElement"])("div", {
|
423 |
-
className: "woocommerce-inbox-message__image"
|
424 |
-
}, Object(external_this_wp_element_["createElement"])("div", {
|
425 |
-
className: "banner-block"
|
426 |
-
})), Object(external_this_wp_element_["createElement"])("div", {
|
427 |
className: "woocommerce-inbox-message__wrapper"
|
428 |
}, Object(external_this_wp_element_["createElement"])("div", {
|
429 |
className: "woocommerce-inbox-message__content"
|
@@ -461,7 +457,7 @@ placeholder_InboxNotePlaceholder.propTypes = {
|
|
461 |
};
|
462 |
/* harmony default export */ var placeholder = (placeholder_InboxNotePlaceholder);
|
463 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/assertThisInitialized.js
|
464 |
-
var assertThisInitialized = __webpack_require__(
|
465 |
var assertThisInitialized_default = /*#__PURE__*/__webpack_require__.n(assertThisInitialized);
|
466 |
|
467 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js
|
@@ -472,7 +468,7 @@ var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
|
|
472 |
var external_this_wp_components_ = __webpack_require__(4);
|
473 |
|
474 |
// EXTERNAL MODULE: ./node_modules/react-visibility-sensor/dist/visibility-sensor.js
|
475 |
-
var visibility_sensor = __webpack_require__(
|
476 |
var visibility_sensor_default = /*#__PURE__*/__webpack_require__.n(visibility_sensor);
|
477 |
|
478 |
// EXTERNAL MODULE: external "moment"
|
@@ -658,10 +654,10 @@ action_InboxNoteAction.propTypes = {
|
|
658 |
};
|
659 |
}))(action_InboxNoteAction));
|
660 |
// EXTERNAL MODULE: ./client/lib/sanitize-html/index.js
|
661 |
-
var sanitize_html = __webpack_require__(
|
662 |
|
663 |
// EXTERNAL MODULE: ./client/inbox-panel/style.scss
|
664 |
-
var style = __webpack_require__(
|
665 |
|
666 |
// CONCATENATED MODULE: ./client/utils/index.js
|
667 |
/**
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[4],{
|
2 |
|
3 |
+
/***/ 505:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
7 |
/* unused harmony export ALLOWED_TAGS */
|
8 |
/* unused harmony export ALLOWED_ATTR */
|
9 |
+
/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(510);
|
10 |
/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(dompurify__WEBPACK_IMPORTED_MODULE_0__);
|
11 |
/**
|
12 |
* External dependencies
|
25 |
|
26 |
/***/ }),
|
27 |
|
28 |
+
/***/ 507:
|
29 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
30 |
|
31 |
"use strict";
|
80 |
var external_this_wp_components_ = __webpack_require__(4);
|
81 |
|
82 |
// EXTERNAL MODULE: ./client/header/activity-panel/activity-card/style.scss
|
83 |
+
var style = __webpack_require__(537);
|
84 |
|
85 |
// EXTERNAL MODULE: external "lodash"
|
86 |
var external_lodash_ = __webpack_require__(3);
|
307 |
|
308 |
/***/ }),
|
309 |
|
310 |
+
/***/ 537:
|
311 |
/***/ (function(module, exports, __webpack_require__) {
|
312 |
|
313 |
// extracted by mini-css-extract-plugin
|
314 |
|
315 |
/***/ }),
|
316 |
|
317 |
+
/***/ 538:
|
318 |
/***/ (function(module, exports, __webpack_require__) {
|
319 |
|
320 |
// extracted by mini-css-extract-plugin
|
321 |
|
322 |
/***/ }),
|
323 |
|
324 |
+
/***/ 576:
|
325 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
326 |
|
327 |
"use strict";
|
345 |
var external_this_wc_components_ = __webpack_require__(47);
|
346 |
|
347 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
348 |
+
var external_this_wc_data_ = __webpack_require__(23);
|
349 |
|
350 |
// EXTERNAL MODULE: external {"this":["wp","data"]}
|
351 |
var external_this_wp_data_ = __webpack_require__(15);
|
352 |
|
353 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroup.js + 2 modules
|
354 |
+
var TransitionGroup = __webpack_require__(295);
|
355 |
|
356 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js + 5 modules
|
357 |
+
var CSSTransition = __webpack_require__(294);
|
358 |
|
359 |
// EXTERNAL MODULE: ./client/header/activity-panel/activity-card/index.js + 1 modules
|
360 |
+
var activity_card = __webpack_require__(507);
|
361 |
|
362 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/classCallCheck.js
|
363 |
var classCallCheck = __webpack_require__(11);
|
420 |
className: "woocommerce-inbox-message is-placeholder ".concat(className),
|
421 |
"aria-hidden": true
|
422 |
}, Object(external_this_wp_element_["createElement"])("div", {
|
|
|
|
|
|
|
|
|
423 |
className: "woocommerce-inbox-message__wrapper"
|
424 |
}, Object(external_this_wp_element_["createElement"])("div", {
|
425 |
className: "woocommerce-inbox-message__content"
|
457 |
};
|
458 |
/* harmony default export */ var placeholder = (placeholder_InboxNotePlaceholder);
|
459 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/assertThisInitialized.js
|
460 |
+
var assertThisInitialized = __webpack_require__(9);
|
461 |
var assertThisInitialized_default = /*#__PURE__*/__webpack_require__.n(assertThisInitialized);
|
462 |
|
463 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js
|
468 |
var external_this_wp_components_ = __webpack_require__(4);
|
469 |
|
470 |
// EXTERNAL MODULE: ./node_modules/react-visibility-sensor/dist/visibility-sensor.js
|
471 |
+
var visibility_sensor = __webpack_require__(526);
|
472 |
var visibility_sensor_default = /*#__PURE__*/__webpack_require__.n(visibility_sensor);
|
473 |
|
474 |
// EXTERNAL MODULE: external "moment"
|
654 |
};
|
655 |
}))(action_InboxNoteAction));
|
656 |
// EXTERNAL MODULE: ./client/lib/sanitize-html/index.js
|
657 |
+
var sanitize_html = __webpack_require__(505);
|
658 |
|
659 |
// EXTERNAL MODULE: ./client/inbox-panel/style.scss
|
660 |
+
var style = __webpack_require__(538);
|
661 |
|
662 |
// CONCATENATED MODULE: ./client/utils/index.js
|
663 |
/**
|
dist/chunks/4.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[4],{509:function(e,t,n){"use strict";var c=n(515),a=["a","b","em","i","strong","p","br"],o=["target","href","rel","name","download"];t.a=function(e){return{__html:Object(c.sanitize)(e,{ALLOWED_TAGS:a,ALLOWED_ATTR:o})}}},512:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return R}));var c=n(11),a=n.n(c),o=n(12),i=n.n(o),r=n(13),s=n.n(r),l=n(14),m=n.n(l),u=n(6),d=n.n(u),f=n(0),b=n(7),p=n.n(b),_=n(187),v=n.n(_),h=n(16),y=n.n(h),O=n(1),g=n.n(O),j=n(47),N=n(4),E=(n(542),n(3));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,c=d()(e);if(t){var a=d()(this).constructor;n=Reflect.construct(c,arguments,a)}else n=c.apply(this,arguments);return m()(this,n)}}var k=function(e){s()(n,e);var t=w(n);function n(){return a()(this,n),t.apply(this,arguments)}return i()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.hasAction,c=e.hasDate,a=e.hasSubtitle,o=e.lines,i=p()("woocommerce-activity-card is-loading",t);return Object(f.createElement)("div",{className:i,"aria-hidden":!0},Object(f.createElement)("span",{className:"woocommerce-activity-card__icon"},Object(f.createElement)("span",{className:"is-placeholder"})),Object(f.createElement)("div",{className:"woocommerce-activity-card__header"},Object(f.createElement)("div",{className:"woocommerce-activity-card__title is-placeholder"}),a&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle is-placeholder"}),c&&Object(f.createElement)("div",{className:"woocommerce-activity-card__date"},Object(f.createElement)("span",{className:"is-placeholder"}))),Object(f.createElement)("div",{className:"woocommerce-activity-card__body"},Object(E.range)(o).map((function(e){return Object(f.createElement)("span",{className:"is-placeholder",key:e})}))),n&&Object(f.createElement)("div",{className:"woocommerce-activity-card__actions"},Object(f.createElement)("span",{className:"is-placeholder"})))}}]),n}(f.Component);k.propTypes={className:g.a.string,hasAction:g.a.bool,hasDate:g.a.bool,hasSubtitle:g.a.bool,lines:g.a.number},k.defaultProps={hasAction:!1,hasDate:!1,hasSubtitle:!1,lines:1};var R=k;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 n,c=d()(e);if(t){var a=d()(this).constructor;n=Reflect.construct(c,arguments,a)}else n=c.apply(this,arguments);return m()(this,n)}}var C=function(e){s()(n,e);var t=D(n);function n(){return a()(this,n),t.apply(this,arguments)}return i()(n,[{key:"getCard",value:function(){var e=this.props,t=e.actions,n=e.className,c=e.children,a=e.date,o=e.icon,i=e.subtitle,r=e.title,s=e.unread,l=p()("woocommerce-activity-card",n),m=Array.isArray(t)?t:[t],u=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(a)?y.a.utc(a).fromNow():a;return Object(f.createElement)("section",{className:l},s&&Object(f.createElement)("span",{className:"woocommerce-activity-card__unread"}),o&&Object(f.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},o),r&&Object(f.createElement)("header",{className:"woocommerce-activity-card__header"},Object(f.createElement)(j.H,{className:"woocommerce-activity-card__title"},r),i&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle"},i),u&&Object(f.createElement)("span",{className:"woocommerce-activity-card__date"},u)),c&&Object(f.createElement)(j.Section,{className:"woocommerce-activity-card__body"},c),t&&Object(f.createElement)("footer",{className:"woocommerce-activity-card__actions"},m.map((function(e,t){return Object(f.cloneElement)(e,{key:t})}))))}},{key:"render",value:function(){var e=this.props.onClick;return e?Object(f.createElement)(N.Button,{className:"woocommerce-activity-card__button",onClick:e},this.getCard()):this.getCard()}}]),n}(f.Component);C.propTypes={actions:g.a.oneOfType([g.a.arrayOf(g.a.element),g.a.element]),onClick:g.a.func,className:g.a.string,children:g.a.node,date:g.a.string,icon:g.a.node,subtitle:g.a.node,title:g.a.oneOfType([g.a.string,g.a.node]),unread:g.a.bool},C.defaultProps={icon:Object(f.createElement)(v.a,{size:48}),unread:!1}},542:function(e,t,n){},543:function(e,t,n){},580:function(e,t,n){"use strict";n.r(t);var c=n(34),a=n.n(c),o=n(0),i=n(2),r=n(18),s=n(47),l=n(22),m=n(15),u=n(297),d=n(296),f=n(512),b=n(11),p=n.n(b),_=n(12),v=n.n(_),h=n(13),y=n.n(h),O=n(14),g=n.n(O),j=n(6),N=n.n(j),E=n(1),w=n.n(E);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=N()(e);if(t){var a=N()(this).constructor;n=Reflect.construct(c,arguments,a)}else n=c.apply(this,arguments);return g()(this,n)}}var R=function(e){y()(n,e);var t=k(n);function n(){return p()(this,n),t.apply(this,arguments)}return v()(n,[{key:"render",value:function(){var e=this.props.className;return Object(o.createElement)("div",{className:"woocommerce-inbox-message is-placeholder ".concat(e),"aria-hidden":!0},Object(o.createElement)("div",{className:"woocommerce-inbox-message__image"},Object(o.createElement)("div",{className:"banner-block"})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__content"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__date"},Object(o.createElement)("div",{className:"sixth-line"})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__title"},Object(o.createElement)("div",{className:"line"}),Object(o.createElement)("div",{className:"line"})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__text"},Object(o.createElement)("div",{className:"line"}),Object(o.createElement)("div",{className:"third-line"}))),Object(o.createElement)("div",{className:"woocommerce-inbox-message__actions"},Object(o.createElement)("div",{className:"fifth-line"}),Object(o.createElement)("div",{className:"fifth-line"}))))}}]),n}(o.Component);R.propTypes={className:w.a.string};var D=R,C=n(8),x=n.n(C),A=n(5),T=n.n(A),S=n(4),M=n(531),B=n.n(M),U=n(16),P=n.n(U),L=n(7),q=n.n(L),I=n(28),F=n(25);function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=N()(e);if(t){var a=N()(this).constructor;n=Reflect.construct(c,arguments,a)}else n=c.apply(this,arguments);return g()(this,n)}}var V=function(e){y()(n,e);var t=Y(n);function n(e){var c;return p()(this,n),(c=t.call(this,e)).state={inAction:!1},c.handleActionClick=c.handleActionClick.bind(x()(c)),c}return v()(n,[{key:"handleActionClick",value:function(e){var t=this.props,n=t.action,c=t.actionCallback,a=t.batchUpdateNotes,o=t.createNotice,r=t.noteId,s=t.triggerNoteAction,l=t.removeAllNotes,m=t.removeNote,u=t.onClick,d=t.updateNote,f=e.target.href||"",b=!0;f.length&&!f.startsWith(F.a)&&(e.preventDefault(),b=!1,window.open(f,"_blank")),n?this.setState({inAction:b},(function(){s(r,n.id),u&&u()})):(r?m(r).then((function(){o("success",Object(i.__)("Message dismissed.","woocommerce-admin"),{actions:[{label:Object(i.__)("Undo","woocommerce-admin"),onClick:function(){d(r,{is_deleted:0})}}]})})).catch((function(){o("error",Object(i.__)("Message could not be dismissed.","woocommerce-admin"))})):l().then((function(e){o("success",Object(i.__)("All messages dismissed.","woocommerce-admin"),{actions:[{label:Object(i.__)("Undo","woocommerce-admin"),onClick:function(){a(e.map((function(e){return e.id})),{is_deleted:0})}}]})})).catch((function(){o("error",Object(i.__)("Message could not be dismissed.","woocommerce-admin"))})),c(!0))}},{key:"render",value:function(){var e=this.props,t=e.action,n=e.dismiss,c=e.label;return Object(o.createElement)(S.Button,{isSecondary:!0,isBusy:this.state.inAction,disabled:this.state.inAction,href:t&&t.url&&t.url.length?t.url:void 0,onClick:this.handleActionClick},n?c:t.label)}}]),n}(o.Component);V.propTypes={noteId:w.a.number,label:w.a.string,dismiss:w.a.bool,actionCallback:w.a.func,action:w.a.shape({id:w.a.number.isRequired,url:w.a.string,label:w.a.string.isRequired,primary:w.a.bool.isRequired}),onClick:w.a.func};var W=Object(r.compose)(Object(m.withDispatch)((function(e){var t=e("core/notices").createNotice,n=e(l.NOTES_STORE_NAME),c=n.batchUpdateNotes,a=n.removeAllNotes,o=n.removeNote,i=n.updateNote;return{batchUpdateNotes:c,createNotice:t,removeAllNotes:a,removeNote:o,triggerNoteAction:n.triggerNoteAction,updateNote:i}})))(V),z=n(509);n(543);function H(){var e,t="",n=(e=window.location.search)?e.substr(1).split("&").reduce((function(e,t){var n=t.split("="),c=n[0],a=decodeURIComponent(n[1]);return a=isNaN(Number(a))?a:Number(a),e[c]=a,e}),{}):{},c=n.page,a=n.path,o=n.post_type;if(c){var i="wc-admin"===c?"home_screen":c;t=a?a.replace(/\//g,"_").substring(1):i}else o&&(t=o);return t}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 n,c=N()(e);if(t){var a=N()(this).constructor;n=Reflect.construct(c,arguments,a)}else n=c.apply(this,arguments);return g()(this,n)}}var Q=function(e){y()(n,e);var t=J(n);function n(e){var c;return p()(this,n),c=t.call(this,e),T()(x()(c),"onActionClicked",(function(e){e.actioned_text&&c.setState({clickedActionText:e.actioned_text})})),c.onVisible=c.onVisible.bind(x()(c)),c.hasBeenSeen=!1,c.state={isDismissModalOpen:!1,dismissType:null,clickedActionText:null},c.openDismissModal=c.openDismissModal.bind(x()(c)),c.closeDismissModal=c.closeDismissModal.bind(x()(c)),c.bodyNotificationRef=Object(o.createRef)(),c.screen=H(),c}return v()(n,[{key:"componentDidMount",value:function(){var e=this;this.bodyNotificationRef.current&&this.bodyNotificationRef.current.addEventListener("click",(function(t){return e.handleBodyClick(t,e.props)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.bodyNotificationRef.current&&this.bodyNotificationRef.current.removeEventListener("click",(function(t){return e.handleBodyClick(t,e.props)}))}},{key:"handleBodyClick",value:function(e,t){var n=e.target.href;if(n){var c=t.note;Object(I.recordEvent)("wcadmin_inbox_action_click",{note_name:c.name,note_title:c.title,note_content_inner_link:n})}}},{key:"onVisible",value:function(e){if(e&&!this.hasBeenSeen){var t=this.props.note;Object(I.recordEvent)("inbox_note_view",{note_content:t.content,note_name:t.name,note_title:t.title,note_type:t.type,screen:this.screen}),this.hasBeenSeen=!0}}},{key:"openDismissModal",value:function(e,t){this.setState({isDismissModalOpen:!0,dismissType:e}),t()}},{key:"closeDismissModal",value:function(e){var t=this.state.dismissType,n=this.props.note,c="all"===t;Object(I.recordEvent)("inbox_action_dismiss",{note_name:n.name,note_title:n.title,note_name_dismiss_all:c,note_name_dismiss_confirmation:e||!1,screen:this.screen}),this.setState({isDismissModalOpen:!1})}},{key:"handleBlur",value:function(e,t){var n=e.relatedTarget?e.relatedTarget:document.activeElement;!!n&&["woocommerce-admin-dismiss-notification","components-popover__content"].some((function(e){return n.className.includes(e)}))?e.preventDefault():t()}},{key:"renderDismissButton",value:function(){var e=this;return this.state.clickedActionText?null:Object(o.createElement)(S.Dropdown,{contentClassName:"woocommerce-admin-dismiss-dropdown",position:"bottom right",renderToggle:function(t){var n=t.onClose,c=t.onToggle;return Object(o.createElement)(S.Button,{isTertiary:!0,onClick:c,onBlur:function(t){return e.handleBlur(t,n)}},Object(i.__)("Dismiss","woocommerce-admin"))},focusOnMount:!1,popoverProps:{noArrow:!0},renderContent:function(t){var n=t.onToggle;return Object(o.createElement)("ul",null,Object(o.createElement)("li",null,Object(o.createElement)(S.Button,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("this",n)}},Object(i.__)("Dismiss this message","woocommerce-admin"))),Object(o.createElement)("li",null,Object(o.createElement)(S.Button,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("all",n)}},Object(i.__)("Dismiss all messages","woocommerce-admin"))))}})}},{key:"getDismissConfirmationButton",value:function(){var e=this.props.note,t=this.state.dismissType;return Object(o.createElement)(W,{key:e.id,noteId:"all"===t?null:e.id,label:Object(i.__)("Yes, I'm sure","woocommerce-admin"),actionCallback:this.closeDismissModal,dismiss:!0,screen:this.screen})}},{key:"renderDismissConfirmationModal",value:function(){var e=this;return Object(o.createElement)(S.Modal,{title:Object(o.createElement)(o.Fragment,null,Object(i.__)("Are you sure?","woocommerce-admin")),onRequestClose:function(){return e.closeDismissModal()},className:"woocommerce-inbox-dismiss-confirmation_modal"},Object(o.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_wrapper"},Object(o.createElement)("p",null,Object(i.__)("Dismissed messages cannot be viewed again","woocommerce-admin")),Object(o.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_buttons"},Object(o.createElement)(S.Button,{isSecondary:!0,onClick:function(){return e.closeDismissModal()}},Object(i.__)("Cancel","woocommerce-admin")),this.getDismissConfirmationButton())))}},{key:"renderActions",value:function(e){var t=this,n=e.actions,c=e.id,a=this.state.clickedActionText;return a||(n?Object(o.createElement)(o.Fragment,null,n.map((function(e,n){return Object(o.createElement)(W,{key:n,noteId:c,action:e,onClick:function(){return t.onActionClicked(e)}})}))):void 0)}},{key:"render",value:function(){var e=this.props,t=e.lastRead,n=e.note,c=this.state.isDismissModalOpen,a=n.content,i=n.date_created,r=n.date_created_gmt,l=n.image,m=n.is_deleted,u=n.layout,d=n.status,f=n.title;if(m)return null;var b=!t||!r||new Date(r+"Z").getTime()>t,p=i,_="plain"!==u&&""!==u,v=q()("woocommerce-inbox-message",u,{"message-is-unread":b&&"unactioned"===d});return Object(o.createElement)(B.a,{onChange:this.onVisible},Object(o.createElement)("section",{className:v},_&&Object(o.createElement)("div",{className:"woocommerce-inbox-message__image"},Object(o.createElement)("img",{src:l,alt:""})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__content"},b&&Object(o.createElement)("div",{className:"woocommerce-inbox-message__unread-indicator"}),p&&Object(o.createElement)("span",{className:"woocommerce-inbox-message__date"},P.a.utc(p).fromNow()),Object(o.createElement)(s.H,{className:"woocommerce-inbox-message__title"},f),Object(o.createElement)(s.Section,{className:"woocommerce-inbox-message__text"},Object(o.createElement)("span",{dangerouslySetInnerHTML:Object(z.a)(a),ref:this.bodyNotificationRef}))),Object(o.createElement)("div",{className:"woocommerce-inbox-message__actions"},this.renderActions(n),this.renderDismissButton())),c&&this.renderDismissConfirmationModal()))}}]),n}(o.Component);Q.propTypes={note:w.a.shape({id:w.a.number,status:w.a.string,title:w.a.string,content:w.a.string,date_created:w.a.string,date_created_gmt:w.a.string,actions:w.a.arrayOf(w.a.shape({id:w.a.number.isRequired,url:w.a.string,label:w.a.string.isRequired,primary:w.a.bool.isRequired})),layout:w.a.string,image:w.a.string,is_deleted:w.a.bool}),lastRead:w.a.number};var G=Q,Z=n(195),K=function(e){var t=e.hasNotes,n=e.isBatchUpdating,c=e.lastRead,a=e.notes;if(!n){if(!t)return Object(o.createElement)(f.a,{className:"woocommerce-empty-activity-card",title:Object(i.__)("Your inbox is empty","woocommerce-admin"),icon:!1},Object(i.__)("As things begin to happen in your store your inbox will start to fill up. You'll see things like achievements, new feature announcements, extension recommendations and more!","woocommerce-admin"));var r=Object.keys(a).map((function(e){return a[e]}));return Object(o.createElement)(u.a,{role:"menu"},r.map((function(e){var t=e.id;return e.is_deleted?null:Object(o.createElement)(d.a,{key:t,timeout:500,classNames:"woocommerce-inbox-message"},Object(o.createElement)(G,{key:t,note:e,lastRead:c}))})))}};t.default=Object(r.compose)(Object(m.withSelect)((function(e){var t=e(l.NOTES_STORE_NAME),n=t.getNotes,c=t.getNotesError,a=t.isResolving,o=t.isNotesRequesting,i={page:1,per_page:l.QUERY_DEFAULTS.pageSize,status:"unactioned",type:l.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc",_fields:["id","name","title","content","type","status","actions","date_created","date_created_gmt","layout","image","is_deleted"]};return{notes:n(i),isError:Boolean(c("getNotes",[i])),isResolving:a("getNotes",[i]),isBatchUpdating:o("batchUpdateNotes")}})))((function(e){var t=e.isError,n=e.isResolving,c=e.isBatchUpdating,r=e.notes,m=Object(l.useUserPreferences)(),u=m.updateUserPreferences,d=a()(m,["updateUserPreferences"]).activity_panel_inbox_last_read;if(Object(o.useEffect)((function(){var e=Date.now();return function(){u({activity_panel_inbox_last_read:e})}}),[]),t){var f=Object(i.__)("There was an error getting your inbox. Please try again.","woocommerce-admin"),b=Object(i.__)("Reload","woocommerce-admin");return Object(o.createElement)(s.EmptyContent,{title:f,actionLabel:b,actionURL:null,actionCallback:function(){window.location.reload()}})}var p=Object(Z.b)(r);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"woocommerce-homepage-notes-wrapper"},(n||c)&&Object(o.createElement)(s.Section,null,Object(o.createElement)(D,{className:"banner message-is-unread"})),Object(o.createElement)(s.Section,null,!n&&!c&&K({hasNotes:p,isBatchUpdating:c,lastRead:d,notes:r}))))}))}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[4],{505:function(e,t,n){"use strict";var c=n(510),a=["a","b","em","i","strong","p","br"],o=["target","href","rel","name","download"];t.a=function(e){return{__html:Object(c.sanitize)(e,{ALLOWED_TAGS:a,ALLOWED_ATTR:o})}}},507:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return R}));var c=n(11),a=n.n(c),o=n(12),i=n.n(o),r=n(13),s=n.n(r),l=n(14),m=n.n(l),u=n(6),d=n.n(u),f=n(0),b=n(7),p=n.n(b),_=n(187),h=n.n(_),v=n(16),y=n.n(v),O=n(1),g=n.n(O),j=n(47),N=n(4),E=(n(537),n(3));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,c=d()(e);if(t){var a=d()(this).constructor;n=Reflect.construct(c,arguments,a)}else n=c.apply(this,arguments);return m()(this,n)}}var k=function(e){s()(n,e);var t=w(n);function n(){return a()(this,n),t.apply(this,arguments)}return i()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.hasAction,c=e.hasDate,a=e.hasSubtitle,o=e.lines,i=p()("woocommerce-activity-card is-loading",t);return Object(f.createElement)("div",{className:i,"aria-hidden":!0},Object(f.createElement)("span",{className:"woocommerce-activity-card__icon"},Object(f.createElement)("span",{className:"is-placeholder"})),Object(f.createElement)("div",{className:"woocommerce-activity-card__header"},Object(f.createElement)("div",{className:"woocommerce-activity-card__title is-placeholder"}),a&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle is-placeholder"}),c&&Object(f.createElement)("div",{className:"woocommerce-activity-card__date"},Object(f.createElement)("span",{className:"is-placeholder"}))),Object(f.createElement)("div",{className:"woocommerce-activity-card__body"},Object(E.range)(o).map((function(e){return Object(f.createElement)("span",{className:"is-placeholder",key:e})}))),n&&Object(f.createElement)("div",{className:"woocommerce-activity-card__actions"},Object(f.createElement)("span",{className:"is-placeholder"})))}}]),n}(f.Component);k.propTypes={className:g.a.string,hasAction:g.a.bool,hasDate:g.a.bool,hasSubtitle:g.a.bool,lines:g.a.number},k.defaultProps={hasAction:!1,hasDate:!1,hasSubtitle:!1,lines:1};var R=k;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 n,c=d()(e);if(t){var a=d()(this).constructor;n=Reflect.construct(c,arguments,a)}else n=c.apply(this,arguments);return m()(this,n)}}var C=function(e){s()(n,e);var t=D(n);function n(){return a()(this,n),t.apply(this,arguments)}return i()(n,[{key:"getCard",value:function(){var e=this.props,t=e.actions,n=e.className,c=e.children,a=e.date,o=e.icon,i=e.subtitle,r=e.title,s=e.unread,l=p()("woocommerce-activity-card",n),m=Array.isArray(t)?t:[t],u=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(a)?y.a.utc(a).fromNow():a;return Object(f.createElement)("section",{className:l},s&&Object(f.createElement)("span",{className:"woocommerce-activity-card__unread"}),o&&Object(f.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},o),r&&Object(f.createElement)("header",{className:"woocommerce-activity-card__header"},Object(f.createElement)(j.H,{className:"woocommerce-activity-card__title"},r),i&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle"},i),u&&Object(f.createElement)("span",{className:"woocommerce-activity-card__date"},u)),c&&Object(f.createElement)(j.Section,{className:"woocommerce-activity-card__body"},c),t&&Object(f.createElement)("footer",{className:"woocommerce-activity-card__actions"},m.map((function(e,t){return Object(f.cloneElement)(e,{key:t})}))))}},{key:"render",value:function(){var e=this.props.onClick;return e?Object(f.createElement)(N.Button,{className:"woocommerce-activity-card__button",onClick:e},this.getCard()):this.getCard()}}]),n}(f.Component);C.propTypes={actions:g.a.oneOfType([g.a.arrayOf(g.a.element),g.a.element]),onClick:g.a.func,className:g.a.string,children:g.a.node,date:g.a.string,icon:g.a.node,subtitle:g.a.node,title:g.a.oneOfType([g.a.string,g.a.node]),unread:g.a.bool},C.defaultProps={icon:Object(f.createElement)(h.a,{size:48}),unread:!1}},537:function(e,t,n){},538:function(e,t,n){},576:function(e,t,n){"use strict";n.r(t);var c=n(34),a=n.n(c),o=n(0),i=n(2),r=n(18),s=n(47),l=n(23),m=n(15),u=n(295),d=n(294),f=n(507),b=n(11),p=n.n(b),_=n(12),h=n.n(_),v=n(13),y=n.n(v),O=n(14),g=n.n(O),j=n(6),N=n.n(j),E=n(1),w=n.n(E);function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=N()(e);if(t){var a=N()(this).constructor;n=Reflect.construct(c,arguments,a)}else n=c.apply(this,arguments);return g()(this,n)}}var R=function(e){y()(n,e);var t=k(n);function n(){return p()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){var e=this.props.className;return Object(o.createElement)("div",{className:"woocommerce-inbox-message is-placeholder ".concat(e),"aria-hidden":!0},Object(o.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__content"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__date"},Object(o.createElement)("div",{className:"sixth-line"})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__title"},Object(o.createElement)("div",{className:"line"}),Object(o.createElement)("div",{className:"line"})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__text"},Object(o.createElement)("div",{className:"line"}),Object(o.createElement)("div",{className:"third-line"}))),Object(o.createElement)("div",{className:"woocommerce-inbox-message__actions"},Object(o.createElement)("div",{className:"fifth-line"}),Object(o.createElement)("div",{className:"fifth-line"}))))}}]),n}(o.Component);R.propTypes={className:w.a.string};var D=R,C=n(9),x=n.n(C),A=n(5),T=n.n(A),S=n(4),M=n(526),B=n.n(M),U=n(16),P=n.n(U),L=n(7),q=n.n(L),I=n(28),F=n(25);function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=N()(e);if(t){var a=N()(this).constructor;n=Reflect.construct(c,arguments,a)}else n=c.apply(this,arguments);return g()(this,n)}}var V=function(e){y()(n,e);var t=Y(n);function n(e){var c;return p()(this,n),(c=t.call(this,e)).state={inAction:!1},c.handleActionClick=c.handleActionClick.bind(x()(c)),c}return h()(n,[{key:"handleActionClick",value:function(e){var t=this.props,n=t.action,c=t.actionCallback,a=t.batchUpdateNotes,o=t.createNotice,r=t.noteId,s=t.triggerNoteAction,l=t.removeAllNotes,m=t.removeNote,u=t.onClick,d=t.updateNote,f=e.target.href||"",b=!0;f.length&&!f.startsWith(F.a)&&(e.preventDefault(),b=!1,window.open(f,"_blank")),n?this.setState({inAction:b},(function(){s(r,n.id),u&&u()})):(r?m(r).then((function(){o("success",Object(i.__)("Message dismissed.","woocommerce-admin"),{actions:[{label:Object(i.__)("Undo","woocommerce-admin"),onClick:function(){d(r,{is_deleted:0})}}]})})).catch((function(){o("error",Object(i.__)("Message could not be dismissed.","woocommerce-admin"))})):l().then((function(e){o("success",Object(i.__)("All messages dismissed.","woocommerce-admin"),{actions:[{label:Object(i.__)("Undo","woocommerce-admin"),onClick:function(){a(e.map((function(e){return e.id})),{is_deleted:0})}}]})})).catch((function(){o("error",Object(i.__)("Message could not be dismissed.","woocommerce-admin"))})),c(!0))}},{key:"render",value:function(){var e=this.props,t=e.action,n=e.dismiss,c=e.label;return Object(o.createElement)(S.Button,{isSecondary:!0,isBusy:this.state.inAction,disabled:this.state.inAction,href:t&&t.url&&t.url.length?t.url:void 0,onClick:this.handleActionClick},n?c:t.label)}}]),n}(o.Component);V.propTypes={noteId:w.a.number,label:w.a.string,dismiss:w.a.bool,actionCallback:w.a.func,action:w.a.shape({id:w.a.number.isRequired,url:w.a.string,label:w.a.string.isRequired,primary:w.a.bool.isRequired}),onClick:w.a.func};var W=Object(r.compose)(Object(m.withDispatch)((function(e){var t=e("core/notices").createNotice,n=e(l.NOTES_STORE_NAME),c=n.batchUpdateNotes,a=n.removeAllNotes,o=n.removeNote,i=n.updateNote;return{batchUpdateNotes:c,createNotice:t,removeAllNotes:a,removeNote:o,triggerNoteAction:n.triggerNoteAction,updateNote:i}})))(V),z=n(505);n(538);function H(){var e,t="",n=(e=window.location.search)?e.substr(1).split("&").reduce((function(e,t){var n=t.split("="),c=n[0],a=decodeURIComponent(n[1]);return a=isNaN(Number(a))?a:Number(a),e[c]=a,e}),{}):{},c=n.page,a=n.path,o=n.post_type;if(c){var i="wc-admin"===c?"home_screen":c;t=a?a.replace(/\//g,"_").substring(1):i}else o&&(t=o);return t}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 n,c=N()(e);if(t){var a=N()(this).constructor;n=Reflect.construct(c,arguments,a)}else n=c.apply(this,arguments);return g()(this,n)}}var Q=function(e){y()(n,e);var t=J(n);function n(e){var c;return p()(this,n),c=t.call(this,e),T()(x()(c),"onActionClicked",(function(e){e.actioned_text&&c.setState({clickedActionText:e.actioned_text})})),c.onVisible=c.onVisible.bind(x()(c)),c.hasBeenSeen=!1,c.state={isDismissModalOpen:!1,dismissType:null,clickedActionText:null},c.openDismissModal=c.openDismissModal.bind(x()(c)),c.closeDismissModal=c.closeDismissModal.bind(x()(c)),c.bodyNotificationRef=Object(o.createRef)(),c.screen=H(),c}return h()(n,[{key:"componentDidMount",value:function(){var e=this;this.bodyNotificationRef.current&&this.bodyNotificationRef.current.addEventListener("click",(function(t){return e.handleBodyClick(t,e.props)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.bodyNotificationRef.current&&this.bodyNotificationRef.current.removeEventListener("click",(function(t){return e.handleBodyClick(t,e.props)}))}},{key:"handleBodyClick",value:function(e,t){var n=e.target.href;if(n){var c=t.note;Object(I.recordEvent)("wcadmin_inbox_action_click",{note_name:c.name,note_title:c.title,note_content_inner_link:n})}}},{key:"onVisible",value:function(e){if(e&&!this.hasBeenSeen){var t=this.props.note;Object(I.recordEvent)("inbox_note_view",{note_content:t.content,note_name:t.name,note_title:t.title,note_type:t.type,screen:this.screen}),this.hasBeenSeen=!0}}},{key:"openDismissModal",value:function(e,t){this.setState({isDismissModalOpen:!0,dismissType:e}),t()}},{key:"closeDismissModal",value:function(e){var t=this.state.dismissType,n=this.props.note,c="all"===t;Object(I.recordEvent)("inbox_action_dismiss",{note_name:n.name,note_title:n.title,note_name_dismiss_all:c,note_name_dismiss_confirmation:e||!1,screen:this.screen}),this.setState({isDismissModalOpen:!1})}},{key:"handleBlur",value:function(e,t){var n=e.relatedTarget?e.relatedTarget:document.activeElement;!!n&&["woocommerce-admin-dismiss-notification","components-popover__content"].some((function(e){return n.className.includes(e)}))?e.preventDefault():t()}},{key:"renderDismissButton",value:function(){var e=this;return this.state.clickedActionText?null:Object(o.createElement)(S.Dropdown,{contentClassName:"woocommerce-admin-dismiss-dropdown",position:"bottom right",renderToggle:function(t){var n=t.onClose,c=t.onToggle;return Object(o.createElement)(S.Button,{isTertiary:!0,onClick:c,onBlur:function(t){return e.handleBlur(t,n)}},Object(i.__)("Dismiss","woocommerce-admin"))},focusOnMount:!1,popoverProps:{noArrow:!0},renderContent:function(t){var n=t.onToggle;return Object(o.createElement)("ul",null,Object(o.createElement)("li",null,Object(o.createElement)(S.Button,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("this",n)}},Object(i.__)("Dismiss this message","woocommerce-admin"))),Object(o.createElement)("li",null,Object(o.createElement)(S.Button,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("all",n)}},Object(i.__)("Dismiss all messages","woocommerce-admin"))))}})}},{key:"getDismissConfirmationButton",value:function(){var e=this.props.note,t=this.state.dismissType;return Object(o.createElement)(W,{key:e.id,noteId:"all"===t?null:e.id,label:Object(i.__)("Yes, I'm sure","woocommerce-admin"),actionCallback:this.closeDismissModal,dismiss:!0,screen:this.screen})}},{key:"renderDismissConfirmationModal",value:function(){var e=this;return Object(o.createElement)(S.Modal,{title:Object(o.createElement)(o.Fragment,null,Object(i.__)("Are you sure?","woocommerce-admin")),onRequestClose:function(){return e.closeDismissModal()},className:"woocommerce-inbox-dismiss-confirmation_modal"},Object(o.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_wrapper"},Object(o.createElement)("p",null,Object(i.__)("Dismissed messages cannot be viewed again","woocommerce-admin")),Object(o.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_buttons"},Object(o.createElement)(S.Button,{isSecondary:!0,onClick:function(){return e.closeDismissModal()}},Object(i.__)("Cancel","woocommerce-admin")),this.getDismissConfirmationButton())))}},{key:"renderActions",value:function(e){var t=this,n=e.actions,c=e.id,a=this.state.clickedActionText;return a||(n?Object(o.createElement)(o.Fragment,null,n.map((function(e,n){return Object(o.createElement)(W,{key:n,noteId:c,action:e,onClick:function(){return t.onActionClicked(e)}})}))):void 0)}},{key:"render",value:function(){var e=this.props,t=e.lastRead,n=e.note,c=this.state.isDismissModalOpen,a=n.content,i=n.date_created,r=n.date_created_gmt,l=n.image,m=n.is_deleted,u=n.layout,d=n.status,f=n.title;if(m)return null;var b=!t||!r||new Date(r+"Z").getTime()>t,p=i,_="plain"!==u&&""!==u,h=q()("woocommerce-inbox-message",u,{"message-is-unread":b&&"unactioned"===d});return Object(o.createElement)(B.a,{onChange:this.onVisible},Object(o.createElement)("section",{className:h},_&&Object(o.createElement)("div",{className:"woocommerce-inbox-message__image"},Object(o.createElement)("img",{src:l,alt:""})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__content"},b&&Object(o.createElement)("div",{className:"woocommerce-inbox-message__unread-indicator"}),p&&Object(o.createElement)("span",{className:"woocommerce-inbox-message__date"},P.a.utc(p).fromNow()),Object(o.createElement)(s.H,{className:"woocommerce-inbox-message__title"},f),Object(o.createElement)(s.Section,{className:"woocommerce-inbox-message__text"},Object(o.createElement)("span",{dangerouslySetInnerHTML:Object(z.a)(a),ref:this.bodyNotificationRef}))),Object(o.createElement)("div",{className:"woocommerce-inbox-message__actions"},this.renderActions(n),this.renderDismissButton())),c&&this.renderDismissConfirmationModal()))}}]),n}(o.Component);Q.propTypes={note:w.a.shape({id:w.a.number,status:w.a.string,title:w.a.string,content:w.a.string,date_created:w.a.string,date_created_gmt:w.a.string,actions:w.a.arrayOf(w.a.shape({id:w.a.number.isRequired,url:w.a.string,label:w.a.string.isRequired,primary:w.a.bool.isRequired})),layout:w.a.string,image:w.a.string,is_deleted:w.a.bool}),lastRead:w.a.number};var G=Q,Z=n(195),K=function(e){var t=e.hasNotes,n=e.isBatchUpdating,c=e.lastRead,a=e.notes;if(!n){if(!t)return Object(o.createElement)(f.a,{className:"woocommerce-empty-activity-card",title:Object(i.__)("Your inbox is empty","woocommerce-admin"),icon:!1},Object(i.__)("As things begin to happen in your store your inbox will start to fill up. You'll see things like achievements, new feature announcements, extension recommendations and more!","woocommerce-admin"));var r=Object.keys(a).map((function(e){return a[e]}));return Object(o.createElement)(u.a,{role:"menu"},r.map((function(e){var t=e.id;return e.is_deleted?null:Object(o.createElement)(d.a,{key:t,timeout:500,classNames:"woocommerce-inbox-message"},Object(o.createElement)(G,{key:t,note:e,lastRead:c}))})))}};t.default=Object(r.compose)(Object(m.withSelect)((function(e){var t=e(l.NOTES_STORE_NAME),n=t.getNotes,c=t.getNotesError,a=t.isResolving,o=t.isNotesRequesting,i={page:1,per_page:l.QUERY_DEFAULTS.pageSize,status:"unactioned",type:l.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc",_fields:["id","name","title","content","type","status","actions","date_created","date_created_gmt","layout","image","is_deleted"]};return{notes:n(i),isError:Boolean(c("getNotes",[i])),isResolving:a("getNotes",[i]),isBatchUpdating:o("batchUpdateNotes")}})))((function(e){var t=e.isError,n=e.isResolving,c=e.isBatchUpdating,r=e.notes,m=Object(l.useUserPreferences)(),u=m.updateUserPreferences,d=a()(m,["updateUserPreferences"]).activity_panel_inbox_last_read;if(Object(o.useEffect)((function(){var e=Date.now();return function(){u({activity_panel_inbox_last_read:e})}}),[]),t){var f=Object(i.__)("There was an error getting your inbox. Please try again.","woocommerce-admin"),b=Object(i.__)("Reload","woocommerce-admin");return Object(o.createElement)(s.EmptyContent,{title:f,actionLabel:b,actionURL:null,actionCallback:function(){window.location.reload()}})}var p=Object(Z.b)(r);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"woocommerce-homepage-notes-wrapper"},(n||c)&&Object(o.createElement)(s.Section,null,Object(o.createElement)(D,{className:"banner message-is-unread"})),Object(o.createElement)(s.Section,null,!n&&!c&&K({hasNotes:p,isBatchUpdating:c,lastRead:d,notes:r}))))}))}}]);
|
dist/chunks/4.style.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.woocommerce-activity-card{position:relative;padding:24px;padding:var(--main-gap);background:#fff;border-bottom:1px solid #e0e0e0;color:#757575;font-size:13px;font-size:.8125rem}.woocommerce-activity-card:not(.woocommerce-empty-activity-card){display:-ms-grid;display:grid;-ms-grid-columns:50px 1fr;grid-template-columns:50px 1fr;grid-template-areas:"icon header" "icon body" "icon actions"}.woocommerce-activity-card__button{display:block;height:unset;background:none;align-items:unset;transition:unset;text-align:left;width:100%;padding:0}.woocommerce-activity-card__unread{position:absolute;top:18px;top:calc(var(--main-gap) - 6px);right:18px;right:calc(var(--main-gap) - 6px);width:6px;height:6px;border-radius:50%;background:#ca4a1f}.woocommerce-activity-card__icon{-ms-grid-row:1;-ms-grid-row-span:3;-ms-grid-column:1;grid-area:icon;fill:#e0e0e0}.woocommerce-activity-card__header{margin-bottom:16px;display:flex;flex-direction:column}.woocommerce-activity-card__header .woocommerce-activity-card__title{margin:0;font-size:14px;font-size:.875rem;order:2}.woocommerce-empty-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{color:#1e1e1e;font-style:normal;line-height:24px;font-weight:400}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__title{margin-bottom:8px}.woocommerce-activity-card__header .woocommerce-activity-card__title a{text-decoration:none}.woocommerce-activity-card__header .woocommerce-activity-card__date{color:#757575;font-size:12px;font-size:.75rem;margin-bottom:12px;order:1}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{order:3}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__subtitle{margin-bottom:4px}@media (min-width:783px){.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:2;grid-area:header;display:-ms-grid;display:grid;-ms-grid-rows:auto auto;-ms-grid-columns:1fr auto;grid-template:"title date" "subtitle date"/1fr auto}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__title{grid-area:title}.woocommerce-activity-card__header .woocommerce-activity-card__date{display:block;grid-area:date;-ms-grid-column-align:end;justify-self:end;margin-bottom:0}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{grid-area:subtitle}}@media (min-width:783px){.woocommerce-activity-card__header .woocommerce-activity-card__title{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__date{-ms-grid-row:1;-ms-grid-row-span:2;-ms-grid-column:2}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{-ms-grid-row:2;-ms-grid-column:1}}.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:2;grid-area:body}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:1}.woocommerce-activity-card__body>p:first-child{margin-top:0}.woocommerce-activity-card__body>p:last-child{margin-bottom:0}.woocommerce-empty-activity-card .woocommerce-activity-card__body{color:#757575;font-style:normal;font-weight:400;font-size:13px;font-size:.8125rem;line-height:20px}.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:2;grid-area:actions;margin-top:16px}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:1}.woocommerce-activity-card__actions>*+*{margin-left:.5em}.woocommerce-activity-card__actions .components-button{height:24px;padding:4px 10px;font-size:11px;font-size:.6875rem}.woocommerce-activity-card__actions .components-button.is-destructive:not(:hover){box-shadow:none}.woocommerce-activity-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-activity-card.is-loading .is-placeholder:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.woocommerce-activity-card.is-loading .is-placeholder{animation:none}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__title{width:80%}.woocommerce-activity-card.is-loading .woocommerce-activity-card__subtitle{margin-top:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{width:100%;margin-bottom:16px}@media (min-width:783px){.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{text-align:right;margin-bottom:0}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date .is-placeholder{width:68px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon{margin-right:24px;margin-right:var(--main-gap)}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon .is-placeholder{height:33px;width:33px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder{width:100%;margin-bottom:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder:last-of-type{width:65%;margin-bottom:0}.woocommerce-activity-card.is-loading .woocommerce-activity-card__actions .is-placeholder{width:91px;height:24px}.woocommerce-activity-card.woocommerce-order-activity-card{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"header" "body" "actions"}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__icon{display:none}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-flag{display:inline-block}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__subtitle span+span:before{content:" \2022\ "}.woocommerce-activity-card.woocommerce-inbox-activity-card{-ms-grid-columns:72px 1fr;grid-template-columns:72px 1fr;height:100%;opacity:1;padding:24px;padding:var(--main-gap)}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-card.woocommerce-inbox-activity-card{transition:opacity .3s,height 0s,padding 0s}}@media (max-width:782px){.woocommerce-activity-card.woocommerce-inbox-activity-card{-ms-grid-columns:64px 1fr;grid-template-columns:64px 1fr}}.woocommerce-activity-card.woocommerce-inbox-activity-card .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{height:0;opacity:0;padding:0}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{transition:opacity .3s,height 0s .3s,padding 0s .3s}}.woocommerce-stock-activity-card__image-overlay__product{height:33px;position:relative;width:33px}.woocommerce-stock-activity-card__image-overlay__product.is-placeholder:before{background-color:#757575;border-radius:2px;content:"";position:absolute;left:0;right:0;bottom:0;top:0;opacity:.1}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-stock-activity-card{transition:opacity .3s}}.woocommerce-stock-activity-card.is-dimmed{opacity:.7}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity{background:#f0f0f0;color:#757575;padding:3px 8px;border-radius:3px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity.out-of-stock{color:#d94f4f}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity{display:inline-flex;width:50px;margin-right:10px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input{border-radius:2px;height:30px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]{-moz-appearance:textfield}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-inner-spin-button,.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.woocommerce-stock-activity-card .woocommerce-activity-card__subtitle{color:#757575;font-size:12px;font-size:.75rem}.woocommerce-empty-activity-card{background:#f0f0f0;margin:20px;border-bottom:unset}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-inbox-message{position:relative;color:#757575;background:#fff;border-radius:2px;font-size:13px;font-size:.8125rem;margin:0 0 24px;-ms-box-orient:horizontal}.woocommerce-inbox-message.banner{flex-direction:column}.woocommerce-inbox-message.banner img{width:100%}.woocommerce-inbox-message.thumbnail{display:flex;flex-direction:row-reverse}.woocommerce-inbox-message.thumbnail img{width:128px;height:100%}.woocommerce-homepage-column .woocommerce-inbox-message{margin:20px 0}.woocommerce-inbox-message:not(.is-placeholder){border:1px solid #e0e0e0}.woocommerce-inbox-message .line{width:100%}.woocommerce-inbox-message .third-line{width:33%}.woocommerce-inbox-message .fifth-line{width:20%}.woocommerce-inbox-message .sixth-line{width:16%}.woocommerce-inbox-message__content .woocommerce-inbox-message__unread-indicator{height:8px;width:8px;background-color:#007cba;background-color:var(--wp-admin-theme-color);border-radius:100px;display:inline-block;margin-right:8px}.woocommerce-inbox-message__content .woocommerce-inbox-message__title{color:#1e1e1e;font-size:16px;font-size:1rem;font-style:normal;line-height:1.5;font-weight:700;margin:8px 0}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title{margin-bottom:10px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;margin:5px 0}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div{animation:none}}.woocommerce-inbox-message__content .woocommerce-inbox-message__date{color:#757575;font-size:12px;font-size:.75rem;margin-bottom:16px;font-style:normal;font-weight:400;line-height:16px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date{margin-bottom:10px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div{animation:none}}.woocommerce-inbox-message__text{color:#757575;font-style:normal;font-weight:400;font-size:14px;font-size:.875rem;line-height:20px}.woocommerce-inbox-message__text>p:first-child{margin-top:0}.woocommerce-inbox-message__text>p:last-child{margin-bottom:0}.is-placeholder .woocommerce-inbox-message__text>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;margin:5px 0}.is-placeholder .woocommerce-inbox-message__text>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__text>div{animation:none}}.woocommerce-inbox-message__actions{padding-top:16px;border-top:1px solid #e0e0e0}.woocommerce-inbox-message__actions>*+*{margin-left:.5em}.woocommerce-inbox-message__actions a,.woocommerce-inbox-message__actions button{cursor:pointer}.woocommerce-inbox-message__actions .components-dropdown{display:inline}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content{min-width:195px}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content ul{text-align:center}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content li{margin:0;cursor:pointer}.is-placeholder .woocommerce-inbox-message__actions>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;float:left;height:28px;margin-right:8px}.is-placeholder .woocommerce-inbox-message__actions>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__actions>div{animation:none}}.woocommerce-inbox-dismiss-confirmation_modal{text-align:left}.woocommerce-inbox-dismiss-confirmation_wrapper p{font-size:16px;color:#757575}.woocommerce-inbox-dismiss-confirmation_wrapper .woocommerce-inbox-dismiss-confirmation_buttons{text-align:right}.woocommerce-inbox-dismiss-confirmation_wrapper .woocommerce-inbox-dismiss-confirmation_buttons button{margin-left:10px}.woocommerce-inbox-message__wrapper>div{padding:16px 24px}.is-placeholder .woocommerce-inbox-message__wrapper>div{padding:10px 24px;display:flow-root}.is-placeholder .woocommerce-inbox-message__image .banner-block{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;width:100%;height:120px}.is-placeholder .woocommerce-inbox-message__image .banner-block:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__image .banner-block{animation:none}}.woocommerce-homepage-notes-wrapper{padding-top:24px}#activity-panel-inbox{margin:0 24px}.woocommerce-layout__inbox-panel-header{padding:24px}.woocommerce-homepage-column .woocommerce-layout__inbox-panel-header{padding:0 24px}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.woocommerce-admin-dismiss-dropdown{margin-top:0}.is-placeholder .woocommerce-inbox-message__wrapper{padding-bottom:10px}}.woocommerce-inbox-message-enter{opacity:0;max-height:0;transform:translateX(50%)}.woocommerce-inbox-message-enter-active{transition:opacity .5s,transform .5s,max-height .5s}.woocommerce-inbox-message-enter-active,.woocommerce-inbox-message-exit{opacity:1;max-height:100vh;transform:translateX(0)}.woocommerce-inbox-message-exit-active{opacity:0;max-height:0;transform:translateX(50%);transition:opacity .5s,transform .5s,max-height .5s}
|
1 |
+
.woocommerce-activity-card{position:relative;padding:24px;padding:var(--main-gap);background:#fff;border-bottom:1px solid #e0e0e0;color:#757575;font-size:13px;font-size:.8125rem}.woocommerce-activity-card:not(.woocommerce-empty-activity-card){display:-ms-grid;display:grid;-ms-grid-columns:50px 1fr;grid-template-columns:50px 1fr;grid-template-areas:"icon header" "icon body" "icon actions"}.woocommerce-activity-card__button{display:block;height:unset;background:none;align-items:unset;transition:unset;text-align:left;width:100%;padding:0}.woocommerce-activity-card__unread{position:absolute;top:18px;top:calc(var(--main-gap) - 6px);right:18px;right:calc(var(--main-gap) - 6px);width:6px;height:6px;border-radius:50%;background:#ca4a1f}.woocommerce-activity-card__icon{-ms-grid-row:1;-ms-grid-row-span:3;-ms-grid-column:1;grid-area:icon;fill:#e0e0e0}.woocommerce-activity-card__header{margin-bottom:16px;display:flex;flex-direction:column}.woocommerce-activity-card__header .woocommerce-activity-card__title{margin:0;font-size:14px;font-size:.875rem;order:2}.woocommerce-empty-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{color:#1e1e1e;font-style:normal;line-height:24px;font-weight:400}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__title{margin-bottom:8px}.woocommerce-activity-card__header .woocommerce-activity-card__title a{text-decoration:none}.woocommerce-activity-card__header .woocommerce-activity-card__date{color:#757575;font-size:12px;font-size:.75rem;margin-bottom:12px;order:1}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{order:3}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__subtitle{margin-bottom:4px}@media (min-width:783px){.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:2;grid-area:header;display:-ms-grid;display:grid;-ms-grid-rows:auto auto;-ms-grid-columns:1fr auto;grid-template:"title date" "subtitle date"/1fr auto}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__title{grid-area:title}.woocommerce-activity-card__header .woocommerce-activity-card__date{display:block;grid-area:date;-ms-grid-column-align:end;justify-self:end;margin-bottom:0}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{grid-area:subtitle}}@media (min-width:783px){.woocommerce-activity-card__header .woocommerce-activity-card__title{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__date{-ms-grid-row:1;-ms-grid-row-span:2;-ms-grid-column:2}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{-ms-grid-row:2;-ms-grid-column:1}}.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:2;grid-area:body}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:1}.woocommerce-activity-card__body>p:first-child{margin-top:0}.woocommerce-activity-card__body>p:last-child{margin-bottom:0}.woocommerce-empty-activity-card .woocommerce-activity-card__body{color:#757575;font-style:normal;font-weight:400;font-size:13px;font-size:.8125rem;line-height:20px}.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:2;grid-area:actions;margin-top:16px}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:1}.woocommerce-activity-card__actions>*+*{margin-left:.5em}.woocommerce-activity-card__actions .components-button{height:24px;padding:4px 10px;font-size:11px;font-size:.6875rem}.woocommerce-activity-card__actions .components-button.is-destructive:not(:hover){box-shadow:none}.woocommerce-activity-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-activity-card.is-loading .is-placeholder:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.woocommerce-activity-card.is-loading .is-placeholder{animation:none}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__title{width:80%}.woocommerce-activity-card.is-loading .woocommerce-activity-card__subtitle{margin-top:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{width:100%;margin-bottom:16px}@media (min-width:783px){.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{text-align:right;margin-bottom:0}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date .is-placeholder{width:68px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon{margin-right:24px;margin-right:var(--main-gap)}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon .is-placeholder{height:33px;width:33px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder{width:100%;margin-bottom:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder:last-of-type{width:65%;margin-bottom:0}.woocommerce-activity-card.is-loading .woocommerce-activity-card__actions .is-placeholder{width:91px;height:24px}.woocommerce-activity-card.woocommerce-order-activity-card{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"header" "body" "actions"}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__icon{display:none}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-flag{display:inline-block}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__subtitle span+span:before{content:" \2022\ "}.woocommerce-activity-card.woocommerce-inbox-activity-card{-ms-grid-columns:72px 1fr;grid-template-columns:72px 1fr;height:100%;opacity:1;padding:24px;padding:var(--main-gap)}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-card.woocommerce-inbox-activity-card{transition:opacity .3s,height 0s,padding 0s}}@media (max-width:782px){.woocommerce-activity-card.woocommerce-inbox-activity-card{-ms-grid-columns:64px 1fr;grid-template-columns:64px 1fr}}.woocommerce-activity-card.woocommerce-inbox-activity-card .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{height:0;opacity:0;padding:0}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{transition:opacity .3s,height 0s .3s,padding 0s .3s}}.woocommerce-stock-activity-card__image-overlay__product{height:33px;position:relative;width:33px}.woocommerce-stock-activity-card__image-overlay__product.is-placeholder:before{background-color:#757575;border-radius:2px;content:"";position:absolute;left:0;right:0;bottom:0;top:0;opacity:.1}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-stock-activity-card{transition:opacity .3s}}.woocommerce-stock-activity-card.is-dimmed{opacity:.7}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity{background:#f0f0f0;color:#757575;padding:3px 8px;border-radius:3px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity.out-of-stock{color:#d94f4f}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity{display:inline-flex;width:50px;margin-right:10px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input{border-radius:2px;height:30px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]{-moz-appearance:textfield}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-inner-spin-button,.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.woocommerce-stock-activity-card .woocommerce-activity-card__subtitle{color:#757575;font-size:12px;font-size:.75rem}.woocommerce-empty-activity-card{background:#f0f0f0;margin:20px;border-bottom:unset}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-inbox-message{position:relative;color:#757575;background:#fff;border-radius:2px;font-size:13px;font-size:.8125rem;margin:0 0 24px;-ms-box-orient:horizontal}.woocommerce-inbox-message.banner{flex-direction:column}.woocommerce-inbox-message.banner img{width:100%}.woocommerce-inbox-message.thumbnail{display:flex;flex-direction:row-reverse}.woocommerce-inbox-message.thumbnail img{width:128px;height:100%}.woocommerce-homepage-column .woocommerce-inbox-message{margin:20px 0}.woocommerce-inbox-message:not(.is-placeholder){border:1px solid #e0e0e0}.woocommerce-inbox-message .line{width:100%}.woocommerce-inbox-message .third-line{width:33%}.woocommerce-inbox-message .fifth-line{width:20%}.woocommerce-inbox-message .sixth-line{width:16%}.woocommerce-inbox-message__content .woocommerce-inbox-message__unread-indicator{height:8px;width:8px;background-color:#007cba;background-color:var(--wp-admin-theme-color);border-radius:100px;display:inline-block;margin-right:8px}.woocommerce-inbox-message__content .woocommerce-inbox-message__title{color:#1e1e1e;font-size:16px;font-size:1rem;font-style:normal;line-height:1.5;font-weight:700;margin:8px 0}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title{margin-bottom:10px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;margin:5px 0}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div{animation:none}}.woocommerce-inbox-message__content .woocommerce-inbox-message__date{color:#757575;font-size:12px;font-size:.75rem;margin-bottom:16px;font-style:normal;font-weight:400;line-height:16px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date{margin-bottom:10px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div{animation:none}}.woocommerce-inbox-message__text{color:#757575;font-style:normal;font-weight:400;font-size:14px;font-size:.875rem;line-height:20px}.woocommerce-inbox-message__text>p:first-child{margin-top:0}.woocommerce-inbox-message__text>p:last-child{margin-bottom:0}.is-placeholder .woocommerce-inbox-message__text>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;margin:5px 0}.is-placeholder .woocommerce-inbox-message__text>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__text>div{animation:none}}.woocommerce-inbox-message__actions{padding-top:16px;border-top:1px solid #e0e0e0}.woocommerce-inbox-message__actions>*+*{margin-left:.5em}.woocommerce-inbox-message__actions a,.woocommerce-inbox-message__actions button{cursor:pointer}.woocommerce-inbox-message__actions .components-dropdown{display:inline}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content{min-width:195px}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content ul{text-align:center}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content li{margin:0;cursor:pointer}.is-placeholder .woocommerce-inbox-message__actions>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;float:left;height:28px;margin-right:8px}.is-placeholder .woocommerce-inbox-message__actions>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__actions>div{animation:none}}.woocommerce-inbox-dismiss-confirmation_modal{text-align:left}.woocommerce-inbox-dismiss-confirmation_wrapper p{font-size:16px;color:#757575}.woocommerce-inbox-dismiss-confirmation_wrapper .woocommerce-inbox-dismiss-confirmation_buttons{text-align:right}.woocommerce-inbox-dismiss-confirmation_wrapper .woocommerce-inbox-dismiss-confirmation_buttons button{margin-left:10px}.woocommerce-inbox-message__wrapper>div{padding:16px 24px}.is-placeholder .woocommerce-inbox-message__wrapper>div{padding:10px 24px;display:flow-root}.woocommerce-homepage-notes-wrapper{padding-top:24px}#activity-panel-inbox{margin:0 24px}.woocommerce-layout__inbox-panel-header{padding:24px}.woocommerce-homepage-column .woocommerce-layout__inbox-panel-header{padding:0 24px}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.woocommerce-admin-dismiss-dropdown{margin-top:0}.is-placeholder .woocommerce-inbox-message__wrapper{padding-bottom:10px}}.woocommerce-inbox-message-enter{opacity:0;max-height:0;transform:translateX(50%)}.woocommerce-inbox-message-enter-active{transition:opacity .5s,transform .5s,max-height .5s}.woocommerce-inbox-message-enter-active,.woocommerce-inbox-message-exit{opacity:1;max-height:100vh;transform:translateX(0)}.woocommerce-inbox-message-exit-active{opacity:0;max-height:0;transform:translateX(50%);transition:opacity .5s,transform .5s,max-height .5s}
|
dist/chunks/4.style.rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.woocommerce-activity-card{position:relative;padding:24px;padding:var(--main-gap);background:#fff;border-bottom:1px solid #e0e0e0;color:#757575;font-size:13px;font-size:.8125rem}.woocommerce-activity-card:not(.woocommerce-empty-activity-card){display:-ms-grid;display:grid;-ms-grid-columns:50px 1fr;grid-template-columns:50px 1fr;grid-template-areas:"icon header" "icon body" "icon actions"}.woocommerce-activity-card__button{display:block;height:unset;background:none;align-items:unset;transition:unset;text-align:right;width:100%;padding:0}.woocommerce-activity-card__unread{position:absolute;top:18px;top:calc(var(--main-gap) - 6px);left:18px;left:calc(var(--main-gap) - 6px);width:6px;height:6px;border-radius:50%;background:#ca4a1f}.woocommerce-activity-card__icon{-ms-grid-row:1;-ms-grid-row-span:3;-ms-grid-column:1;grid-area:icon;fill:#e0e0e0}.woocommerce-activity-card__header{margin-bottom:16px;display:flex;flex-direction:column}.woocommerce-activity-card__header .woocommerce-activity-card__title{margin:0;font-size:14px;font-size:.875rem;order:2}.woocommerce-empty-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{color:#1e1e1e;font-style:normal;line-height:24px;font-weight:400}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__title{margin-bottom:8px}.woocommerce-activity-card__header .woocommerce-activity-card__title a{text-decoration:none}.woocommerce-activity-card__header .woocommerce-activity-card__date{color:#757575;font-size:12px;font-size:.75rem;margin-bottom:12px;order:1}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{order:3}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__subtitle{margin-bottom:4px}@media (min-width:783px){.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:2;grid-area:header;display:-ms-grid;display:grid;-ms-grid-rows:auto auto;-ms-grid-columns:1fr auto;grid-template:"title date" "subtitle date"/1fr auto}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__title{grid-area:title}.woocommerce-activity-card__header .woocommerce-activity-card__date{display:block;grid-area:date;-ms-grid-column-align:end;justify-self:end;margin-bottom:0}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{grid-area:subtitle}}@media (min-width:783px){.woocommerce-activity-card__header .woocommerce-activity-card__title{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__date{-ms-grid-row:1;-ms-grid-row-span:2;-ms-grid-column:2}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{-ms-grid-row:2;-ms-grid-column:1}}.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:2;grid-area:body}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:1}.woocommerce-activity-card__body>p:first-child{margin-top:0}.woocommerce-activity-card__body>p:last-child{margin-bottom:0}.woocommerce-empty-activity-card .woocommerce-activity-card__body{color:#757575;font-style:normal;font-weight:400;font-size:13px;font-size:.8125rem;line-height:20px}.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:2;grid-area:actions;margin-top:16px}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:1}.woocommerce-activity-card__actions>*+*{margin-right:.5em}.woocommerce-activity-card__actions .components-button{height:24px;padding:4px 10px;font-size:11px;font-size:.6875rem}.woocommerce-activity-card__actions .components-button.is-destructive:not(:hover){box-shadow:none}.woocommerce-activity-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-activity-card.is-loading .is-placeholder:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.woocommerce-activity-card.is-loading .is-placeholder{animation:none}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__title{width:80%}.woocommerce-activity-card.is-loading .woocommerce-activity-card__subtitle{margin-top:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{width:100%;margin-bottom:16px}@media (min-width:783px){.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{text-align:left;margin-bottom:0}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date .is-placeholder{width:68px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon{margin-left:24px;margin-left:var(--main-gap)}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon .is-placeholder{height:33px;width:33px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder{width:100%;margin-bottom:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder:last-of-type{width:65%;margin-bottom:0}.woocommerce-activity-card.is-loading .woocommerce-activity-card__actions .is-placeholder{width:91px;height:24px}.woocommerce-activity-card.woocommerce-order-activity-card{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"header" "body" "actions"}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__icon{display:none}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-flag{display:inline-block}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__subtitle span+span:before{content:" \2022\ "}.woocommerce-activity-card.woocommerce-inbox-activity-card{-ms-grid-columns:72px 1fr;grid-template-columns:72px 1fr;height:100%;opacity:1;padding:24px;padding:var(--main-gap)}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-card.woocommerce-inbox-activity-card{transition:opacity .3s,height 0s,padding 0s}}@media (max-width:782px){.woocommerce-activity-card.woocommerce-inbox-activity-card{-ms-grid-columns:64px 1fr;grid-template-columns:64px 1fr}}.woocommerce-activity-card.woocommerce-inbox-activity-card .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{height:0;opacity:0;padding:0}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{transition:opacity .3s,height 0s .3s,padding 0s .3s}}.woocommerce-stock-activity-card__image-overlay__product{height:33px;position:relative;width:33px}.woocommerce-stock-activity-card__image-overlay__product.is-placeholder:before{background-color:#757575;border-radius:2px;content:"";position:absolute;right:0;left:0;bottom:0;top:0;opacity:.1}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-stock-activity-card{transition:opacity .3s}}.woocommerce-stock-activity-card.is-dimmed{opacity:.7}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity{background:#f0f0f0;color:#757575;padding:3px 8px;border-radius:3px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity.out-of-stock{color:#d94f4f}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity{display:inline-flex;width:50px;margin-left:10px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input{border-radius:2px;height:30px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]{-moz-appearance:textfield}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-inner-spin-button,.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.woocommerce-stock-activity-card .woocommerce-activity-card__subtitle{color:#757575;font-size:12px;font-size:.75rem}.woocommerce-empty-activity-card{background:#f0f0f0;margin:20px;border-bottom:unset}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-inbox-message{position:relative;color:#757575;background:#fff;border-radius:2px;font-size:13px;font-size:.8125rem;margin:0 0 24px;-ms-box-orient:horizontal}.woocommerce-inbox-message.banner{flex-direction:column}.woocommerce-inbox-message.banner img{width:100%}.woocommerce-inbox-message.thumbnail{display:flex;flex-direction:row-reverse}.woocommerce-inbox-message.thumbnail img{width:128px;height:100%}.woocommerce-homepage-column .woocommerce-inbox-message{margin:20px 0}.woocommerce-inbox-message:not(.is-placeholder){border:1px solid #e0e0e0}.woocommerce-inbox-message .line{width:100%}.woocommerce-inbox-message .third-line{width:33%}.woocommerce-inbox-message .fifth-line{width:20%}.woocommerce-inbox-message .sixth-line{width:16%}.woocommerce-inbox-message__content .woocommerce-inbox-message__unread-indicator{height:8px;width:8px;background-color:#007cba;background-color:var(--wp-admin-theme-color);border-radius:100px;display:inline-block;margin-left:8px}.woocommerce-inbox-message__content .woocommerce-inbox-message__title{color:#1e1e1e;font-size:16px;font-size:1rem;font-style:normal;line-height:1.5;font-weight:700;margin:8px 0}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title{margin-bottom:10px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;margin:5px 0}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div{animation:none}}.woocommerce-inbox-message__content .woocommerce-inbox-message__date{color:#757575;font-size:12px;font-size:.75rem;margin-bottom:16px;font-style:normal;font-weight:400;line-height:16px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date{margin-bottom:10px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div{animation:none}}.woocommerce-inbox-message__text{color:#757575;font-style:normal;font-weight:400;font-size:14px;font-size:.875rem;line-height:20px}.woocommerce-inbox-message__text>p:first-child{margin-top:0}.woocommerce-inbox-message__text>p:last-child{margin-bottom:0}.is-placeholder .woocommerce-inbox-message__text>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;margin:5px 0}.is-placeholder .woocommerce-inbox-message__text>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__text>div{animation:none}}.woocommerce-inbox-message__actions{padding-top:16px;border-top:1px solid #e0e0e0}.woocommerce-inbox-message__actions>*+*{margin-right:.5em}.woocommerce-inbox-message__actions a,.woocommerce-inbox-message__actions button{cursor:pointer}.woocommerce-inbox-message__actions .components-dropdown{display:inline}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content{min-width:195px}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content ul{text-align:center}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content li{margin:0;cursor:pointer}.is-placeholder .woocommerce-inbox-message__actions>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;float:right;height:28px;margin-left:8px}.is-placeholder .woocommerce-inbox-message__actions>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__actions>div{animation:none}}.woocommerce-inbox-dismiss-confirmation_modal{text-align:right}.woocommerce-inbox-dismiss-confirmation_wrapper p{font-size:16px;color:#757575}.woocommerce-inbox-dismiss-confirmation_wrapper .woocommerce-inbox-dismiss-confirmation_buttons{text-align:left}.woocommerce-inbox-dismiss-confirmation_wrapper .woocommerce-inbox-dismiss-confirmation_buttons button{margin-right:10px}.woocommerce-inbox-message__wrapper>div{padding:16px 24px}.is-placeholder .woocommerce-inbox-message__wrapper>div{padding:10px 24px;display:flow-root}.is-placeholder .woocommerce-inbox-message__image .banner-block{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;width:100%;height:120px}.is-placeholder .woocommerce-inbox-message__image .banner-block:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__image .banner-block{animation:none}}.woocommerce-homepage-notes-wrapper{padding-top:24px}#activity-panel-inbox{margin:0 24px}.woocommerce-layout__inbox-panel-header{padding:24px}.woocommerce-homepage-column .woocommerce-layout__inbox-panel-header{padding:0 24px}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.woocommerce-admin-dismiss-dropdown{margin-top:0}.is-placeholder .woocommerce-inbox-message__wrapper{padding-bottom:10px}}.woocommerce-inbox-message-enter{opacity:0;max-height:0;transform:translateX(-50%)}.woocommerce-inbox-message-enter-active{transition:opacity .5s,transform .5s,max-height .5s}.woocommerce-inbox-message-enter-active,.woocommerce-inbox-message-exit{opacity:1;max-height:100vh;transform:translateX(0)}.woocommerce-inbox-message-exit-active{opacity:0;max-height:0;transform:translateX(-50%);transition:opacity .5s,transform .5s,max-height .5s}
|
1 |
+
.woocommerce-activity-card{position:relative;padding:24px;padding:var(--main-gap);background:#fff;border-bottom:1px solid #e0e0e0;color:#757575;font-size:13px;font-size:.8125rem}.woocommerce-activity-card:not(.woocommerce-empty-activity-card){display:-ms-grid;display:grid;-ms-grid-columns:50px 1fr;grid-template-columns:50px 1fr;grid-template-areas:"icon header" "icon body" "icon actions"}.woocommerce-activity-card__button{display:block;height:unset;background:none;align-items:unset;transition:unset;text-align:right;width:100%;padding:0}.woocommerce-activity-card__unread{position:absolute;top:18px;top:calc(var(--main-gap) - 6px);left:18px;left:calc(var(--main-gap) - 6px);width:6px;height:6px;border-radius:50%;background:#ca4a1f}.woocommerce-activity-card__icon{-ms-grid-row:1;-ms-grid-row-span:3;-ms-grid-column:1;grid-area:icon;fill:#e0e0e0}.woocommerce-activity-card__header{margin-bottom:16px;display:flex;flex-direction:column}.woocommerce-activity-card__header .woocommerce-activity-card__title{margin:0;font-size:14px;font-size:.875rem;order:2}.woocommerce-empty-activity-card .woocommerce-activity-card__header .woocommerce-activity-card__title{color:#1e1e1e;font-style:normal;line-height:24px;font-weight:400}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__title{margin-bottom:8px}.woocommerce-activity-card__header .woocommerce-activity-card__title a{text-decoration:none}.woocommerce-activity-card__header .woocommerce-activity-card__date{color:#757575;font-size:12px;font-size:.75rem;margin-bottom:12px;order:1}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{order:3}.woocommerce-activity-card__button .woocommerce-activity-card__header .woocommerce-activity-card__subtitle{margin-bottom:4px}@media (min-width:783px){.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:2;grid-area:header;display:-ms-grid;display:grid;-ms-grid-rows:auto auto;-ms-grid-columns:1fr auto;grid-template:"title date" "subtitle date"/1fr auto}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__header{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__title{grid-area:title}.woocommerce-activity-card__header .woocommerce-activity-card__date{display:block;grid-area:date;-ms-grid-column-align:end;justify-self:end;margin-bottom:0}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{grid-area:subtitle}}@media (min-width:783px){.woocommerce-activity-card__header .woocommerce-activity-card__title{-ms-grid-row:1;-ms-grid-column:1}.woocommerce-activity-card__header .woocommerce-activity-card__date{-ms-grid-row:1;-ms-grid-row-span:2;-ms-grid-column:2}.woocommerce-activity-card__header .woocommerce-activity-card__subtitle{-ms-grid-row:2;-ms-grid-column:1}}.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:2;grid-area:body}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__body{-ms-grid-row:2;-ms-grid-column:1}.woocommerce-activity-card__body>p:first-child{margin-top:0}.woocommerce-activity-card__body>p:last-child{margin-bottom:0}.woocommerce-empty-activity-card .woocommerce-activity-card__body{color:#757575;font-style:normal;font-weight:400;font-size:13px;font-size:.8125rem;line-height:20px}.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:2;grid-area:actions;margin-top:16px}.woocommerce-activity-card.woocommerce-order-activity-card>.woocommerce-activity-card__actions{-ms-grid-row:3;-ms-grid-column:1}.woocommerce-activity-card__actions>*+*{margin-right:.5em}.woocommerce-activity-card__actions .components-button{height:24px;padding:4px 10px;font-size:11px;font-size:.6875rem}.woocommerce-activity-card__actions .components-button.is-destructive:not(:hover){box-shadow:none}.woocommerce-activity-card.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;display:inline-block;height:16px}.woocommerce-activity-card.is-loading .is-placeholder:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.woocommerce-activity-card.is-loading .is-placeholder{animation:none}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__title{width:80%}.woocommerce-activity-card.is-loading .woocommerce-activity-card__subtitle{margin-top:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{width:100%;margin-bottom:16px}@media (min-width:783px){.woocommerce-activity-card.is-loading .woocommerce-activity-card__date{text-align:left;margin-bottom:0}}.woocommerce-activity-card.is-loading .woocommerce-activity-card__date .is-placeholder{width:68px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon{margin-left:24px;margin-left:var(--main-gap)}.woocommerce-activity-card.is-loading .woocommerce-activity-card__icon .is-placeholder{height:33px;width:33px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder{width:100%;margin-bottom:4px}.woocommerce-activity-card.is-loading .woocommerce-activity-card__body .is-placeholder:last-of-type{width:65%;margin-bottom:0}.woocommerce-activity-card.is-loading .woocommerce-activity-card__actions .is-placeholder{width:91px;height:24px}.woocommerce-activity-card.woocommerce-order-activity-card{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"header" "body" "actions"}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__icon{display:none}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-flag{display:inline-block}.woocommerce-activity-card.woocommerce-order-activity-card .woocommerce-activity-card__subtitle span+span:before{content:" \2022\ "}.woocommerce-activity-card.woocommerce-inbox-activity-card{-ms-grid-columns:72px 1fr;grid-template-columns:72px 1fr;height:100%;opacity:1;padding:24px;padding:var(--main-gap)}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-card.woocommerce-inbox-activity-card{transition:opacity .3s,height 0s,padding 0s}}@media (max-width:782px){.woocommerce-activity-card.woocommerce-inbox-activity-card{-ms-grid-columns:64px 1fr;grid-template-columns:64px 1fr}}.woocommerce-activity-card.woocommerce-inbox-activity-card .woocommerce-activity-card__header{margin-bottom:12px}.woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{height:0;opacity:0;padding:0}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-activity-card.woocommerce-inbox-activity-card.actioned{transition:opacity .3s,height 0s .3s,padding 0s .3s}}.woocommerce-stock-activity-card__image-overlay__product{height:33px;position:relative;width:33px}.woocommerce-stock-activity-card__image-overlay__product.is-placeholder:before{background-color:#757575;border-radius:2px;content:"";position:absolute;right:0;left:0;bottom:0;top:0;opacity:.1}@media screen and (prefers-reduced-motion:no-preference){.woocommerce-stock-activity-card{transition:opacity .3s}}.woocommerce-stock-activity-card.is-dimmed{opacity:.7}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity{background:#f0f0f0;color:#757575;padding:3px 8px;border-radius:3px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__stock-quantity.out-of-stock{color:#d94f4f}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity{display:inline-flex;width:50px;margin-left:10px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input{border-radius:2px;height:30px}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]{-moz-appearance:textfield}.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-inner-spin-button,.woocommerce-stock-activity-card .woocommerce-stock-activity-card__edit-quantity input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.woocommerce-stock-activity-card .woocommerce-activity-card__subtitle{color:#757575;font-size:12px;font-size:.75rem}.woocommerce-empty-activity-card{background:#f0f0f0;margin:20px;border-bottom:unset}:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-inbox-message{position:relative;color:#757575;background:#fff;border-radius:2px;font-size:13px;font-size:.8125rem;margin:0 0 24px;-ms-box-orient:horizontal}.woocommerce-inbox-message.banner{flex-direction:column}.woocommerce-inbox-message.banner img{width:100%}.woocommerce-inbox-message.thumbnail{display:flex;flex-direction:row-reverse}.woocommerce-inbox-message.thumbnail img{width:128px;height:100%}.woocommerce-homepage-column .woocommerce-inbox-message{margin:20px 0}.woocommerce-inbox-message:not(.is-placeholder){border:1px solid #e0e0e0}.woocommerce-inbox-message .line{width:100%}.woocommerce-inbox-message .third-line{width:33%}.woocommerce-inbox-message .fifth-line{width:20%}.woocommerce-inbox-message .sixth-line{width:16%}.woocommerce-inbox-message__content .woocommerce-inbox-message__unread-indicator{height:8px;width:8px;background-color:#007cba;background-color:var(--wp-admin-theme-color);border-radius:100px;display:inline-block;margin-left:8px}.woocommerce-inbox-message__content .woocommerce-inbox-message__title{color:#1e1e1e;font-size:16px;font-size:1rem;font-style:normal;line-height:1.5;font-weight:700;margin:8px 0}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title{margin-bottom:10px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;margin:5px 0}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__title>div{animation:none}}.woocommerce-inbox-message__content .woocommerce-inbox-message__date{color:#757575;font-size:12px;font-size:.75rem;margin-bottom:16px;font-style:normal;font-weight:400;line-height:16px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date{margin-bottom:10px}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent}.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__content .woocommerce-inbox-message__date>div{animation:none}}.woocommerce-inbox-message__text{color:#757575;font-style:normal;font-weight:400;font-size:14px;font-size:.875rem;line-height:20px}.woocommerce-inbox-message__text>p:first-child{margin-top:0}.woocommerce-inbox-message__text>p:last-child{margin-bottom:0}.is-placeholder .woocommerce-inbox-message__text>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;margin:5px 0}.is-placeholder .woocommerce-inbox-message__text>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__text>div{animation:none}}.woocommerce-inbox-message__actions{padding-top:16px;border-top:1px solid #e0e0e0}.woocommerce-inbox-message__actions>*+*{margin-right:.5em}.woocommerce-inbox-message__actions a,.woocommerce-inbox-message__actions button{cursor:pointer}.woocommerce-inbox-message__actions .components-dropdown{display:inline}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content{min-width:195px}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content ul{text-align:center}.woocommerce-inbox-message__actions .components-dropdown .components-popover__content li{margin:0;cursor:pointer}.is-placeholder .woocommerce-inbox-message__actions>div{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:transparent;float:right;height:28px;margin-left:8px}.is-placeholder .woocommerce-inbox-message__actions>div:after{content:"\00a0"}@media screen and (prefers-reduced-motion:reduce){.is-placeholder .woocommerce-inbox-message__actions>div{animation:none}}.woocommerce-inbox-dismiss-confirmation_modal{text-align:right}.woocommerce-inbox-dismiss-confirmation_wrapper p{font-size:16px;color:#757575}.woocommerce-inbox-dismiss-confirmation_wrapper .woocommerce-inbox-dismiss-confirmation_buttons{text-align:left}.woocommerce-inbox-dismiss-confirmation_wrapper .woocommerce-inbox-dismiss-confirmation_buttons button{margin-right:10px}.woocommerce-inbox-message__wrapper>div{padding:16px 24px}.is-placeholder .woocommerce-inbox-message__wrapper>div{padding:10px 24px;display:flow-root}.woocommerce-homepage-notes-wrapper{padding-top:24px}#activity-panel-inbox{margin:0 24px}.woocommerce-layout__inbox-panel-header{padding:24px}.woocommerce-homepage-column .woocommerce-layout__inbox-panel-header{padding:0 24px}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.woocommerce-admin-dismiss-dropdown{margin-top:0}.is-placeholder .woocommerce-inbox-message__wrapper{padding-bottom:10px}}.woocommerce-inbox-message-enter{opacity:0;max-height:0;transform:translateX(-50%)}.woocommerce-inbox-message-enter-active{transition:opacity .5s,transform .5s,max-height .5s}.woocommerce-inbox-message-enter-active,.woocommerce-inbox-message-exit{opacity:1;max-height:100vh;transform:translateX(0)}.woocommerce-inbox-message-exit-active{opacity:0;max-height:0;transform:translateX(-50%);transition:opacity .5s,transform .5s,max-height .5s}
|
dist/chunks/49.style.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-product-template-modal{min-width:565px}.woocommerce-product-template-modal .woocommerce-product-template-modal__actions{padding-top:24px}.woocommerce-product-template-modal__list .woocommerce-list{margin:0 -24px;border-bottom:1px solid #f0f0f0;border-top:1px solid #f0f0f0}.woocommerce-product-template-modal__list .woocommerce-list__item-inner .components-radio-control__input{width:20px;height:20px;margin-right:16px}.woocommerce-product-template-modal__list .woocommerce-list__item-inner .components-radio-control__input:checked:before{margin:1px 0 0 1px;width:10px;height:10px;background:#007cba;background:var(--wp-admin-theme-color)}.woocommerce-product-template-modal__list .woocommerce-list__item-inner .components-radio-control__input:focus{box-shadow:none}.woocommerce-product-template-modal__list .woocommerce-list__item-label{color:#1e1e1e}.woocommerce-product-template-modal__list .woocommerce-list__item-subtitle{color:#757575;margin-top:4px}.woocommerce-product-template-modal__list .woocommerce-list__item:hover{background:none}.woocommerce-product-template-modal__actions{text-align:right}
|
dist/chunks/49.style.rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}.woocommerce-product-template-modal{min-width:565px}.woocommerce-product-template-modal .woocommerce-product-template-modal__actions{padding-top:24px}.woocommerce-product-template-modal__list .woocommerce-list{margin:0 -24px;border-bottom:1px solid #f0f0f0;border-top:1px solid #f0f0f0}.woocommerce-product-template-modal__list .woocommerce-list__item-inner .components-radio-control__input{width:20px;height:20px;margin-left:16px}.woocommerce-product-template-modal__list .woocommerce-list__item-inner .components-radio-control__input:checked:before{margin:1px 1px 0 0;width:10px;height:10px;background:#007cba;background:var(--wp-admin-theme-color)}.woocommerce-product-template-modal__list .woocommerce-list__item-inner .components-radio-control__input:focus{box-shadow:none}.woocommerce-product-template-modal__list .woocommerce-list__item-label{color:#1e1e1e}.woocommerce-product-template-modal__list .woocommerce-list__item-subtitle{color:#757575;margin-top:4px}.woocommerce-product-template-modal__list .woocommerce-list__item:hover{background:none}.woocommerce-product-template-modal__actions{text-align:left}
|
dist/chunks/5.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[5],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
@@ -13,18 +13,18 @@
|
|
13 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getTaxRateLabels; });
|
14 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getVariationName; });
|
15 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getVariationLabels; });
|
16 |
-
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
17 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_0__);
|
18 |
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
19 |
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__);
|
20 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3);
|
21 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
|
22 |
-
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
23 |
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
|
24 |
-
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
25 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
|
26 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25);
|
27 |
-
/* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
28 |
/**
|
29 |
* External dependencies
|
30 |
*/
|
@@ -150,7 +150,7 @@ var getVariationLabels = getRequestByIdString(function (_ref3) {
|
|
150 |
|
151 |
/***/ }),
|
152 |
|
153 |
-
/***/
|
154 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
155 |
|
156 |
"use strict";
|
@@ -169,7 +169,7 @@ function getTaxCode(tax) {
|
|
169 |
|
170 |
/***/ }),
|
171 |
|
172 |
-
/***/
|
173 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
174 |
|
175 |
"use strict";
|
@@ -210,7 +210,7 @@ var external_this_wp_i18n_ = __webpack_require__(2);
|
|
210 |
var external_this_wp_compose_ = __webpack_require__(18);
|
211 |
|
212 |
// EXTERNAL MODULE: external {"this":["wp","date"]}
|
213 |
-
var external_this_wp_date_ = __webpack_require__(
|
214 |
|
215 |
// EXTERNAL MODULE: external {"this":["wp","data"]}
|
216 |
var external_this_wp_data_ = __webpack_require__(15);
|
@@ -226,19 +226,19 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
226 |
var external_this_wc_components_ = __webpack_require__(47);
|
227 |
|
228 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
229 |
-
var external_this_wc_data_ = __webpack_require__(
|
230 |
|
231 |
// EXTERNAL MODULE: external {"this":["wc","date"]}
|
232 |
var external_this_wc_date_ = __webpack_require__(29);
|
233 |
|
234 |
// EXTERNAL MODULE: ./client/lib/currency-context.js
|
235 |
-
var currency_context = __webpack_require__(
|
236 |
|
237 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
238 |
-
var report_error = __webpack_require__(
|
239 |
|
240 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
241 |
-
var external_this_wc_navigation_ = __webpack_require__(
|
242 |
|
243 |
// CONCATENATED MODULE: ./client/analytics/components/report-chart/utils.js
|
244 |
/**
|
@@ -680,7 +680,7 @@ report_chart_ReportChart.defaultProps = {
|
|
680 |
|
681 |
/***/ }),
|
682 |
|
683 |
-
/***/
|
684 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
685 |
|
686 |
"use strict";
|
@@ -692,7 +692,7 @@ report_chart_ReportChart.defaultProps = {
|
|
692 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(42);
|
693 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
|
694 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(25);
|
695 |
-
/* harmony import */ var _lib_async_requests__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
696 |
/**
|
697 |
* External dependencies
|
698 |
*/
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[5],{
|
2 |
|
3 |
+
/***/ 497:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
13 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getTaxRateLabels; });
|
14 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getVariationName; });
|
15 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getVariationLabels; });
|
16 |
+
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22);
|
17 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_0__);
|
18 |
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
19 |
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__);
|
20 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3);
|
21 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
|
22 |
+
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21);
|
23 |
/* harmony import */ var _woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_navigation__WEBPACK_IMPORTED_MODULE_3__);
|
24 |
+
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23);
|
25 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_4__);
|
26 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25);
|
27 |
+
/* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(498);
|
28 |
/**
|
29 |
* External dependencies
|
30 |
*/
|
150 |
|
151 |
/***/ }),
|
152 |
|
153 |
+
/***/ 498:
|
154 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
155 |
|
156 |
"use strict";
|
169 |
|
170 |
/***/ }),
|
171 |
|
172 |
+
/***/ 499:
|
173 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
174 |
|
175 |
"use strict";
|
210 |
var external_this_wp_compose_ = __webpack_require__(18);
|
211 |
|
212 |
// EXTERNAL MODULE: external {"this":["wp","date"]}
|
213 |
+
var external_this_wp_date_ = __webpack_require__(72);
|
214 |
|
215 |
// EXTERNAL MODULE: external {"this":["wp","data"]}
|
216 |
var external_this_wp_data_ = __webpack_require__(15);
|
226 |
var external_this_wc_components_ = __webpack_require__(47);
|
227 |
|
228 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
229 |
+
var external_this_wc_data_ = __webpack_require__(23);
|
230 |
|
231 |
// EXTERNAL MODULE: external {"this":["wc","date"]}
|
232 |
var external_this_wc_date_ = __webpack_require__(29);
|
233 |
|
234 |
// EXTERNAL MODULE: ./client/lib/currency-context.js
|
235 |
+
var currency_context = __webpack_require__(495);
|
236 |
|
237 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
238 |
+
var report_error = __webpack_require__(496);
|
239 |
|
240 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
241 |
+
var external_this_wc_navigation_ = __webpack_require__(21);
|
242 |
|
243 |
// CONCATENATED MODULE: ./client/analytics/components/report-chart/utils.js
|
244 |
/**
|
680 |
|
681 |
/***/ }),
|
682 |
|
683 |
+
/***/ 529:
|
684 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
685 |
|
686 |
"use strict";
|
692 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(42);
|
693 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_1__);
|
694 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(25);
|
695 |
+
/* harmony import */ var _lib_async_requests__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(497);
|
696 |
/**
|
697 |
* External dependencies
|
698 |
*/
|
dist/chunks/5.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[5],{502:function(e,t,r){"use strict";r.d(t,"e",(function(){return u})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return b})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return _})),r.d(t,"f",(function(){return f})),r.d(t,"h",(function(){return O})),r.d(t,"g",(function(){return y}));var a=r(23),o=r(27),c=r.n(o),n=r(3),i=r(20),l=r(22),m=r(25),s=r(503);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]:"",o=arguments.length>1?arguments[1]:void 0,n="function"==typeof e?e(o):e,l=Object(i.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);var m={include:l.join(","),per_page:l.length};return c()({path:Object(a.addQueryArgs)(n,m)}).then((function(e){return e.map(t)}))}}u(l.NAMESPACE+"/products/attributes",(function(e){return{key:e.id,label:e.name}}));var d=u(l.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),b=u(l.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=u(l.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),_=u(l.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),f=u(l.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(s.a)(e)}}));function O(e){var t=e.attributes,r=e.name,a=Object(m.g)("variationTitleAttributesSeparator"," - ");if(r.indexOf(a)>-1)return r;var o=t.map((function(e){return e.option})).join(", ");return o?r+a+o:r}var y=u((function(e){var t=e.products;return t?l.NAMESPACE+"/products/".concat(t,"/variations"):l.NAMESPACE+"/variations"}),(function(e){return{key:e.id,label:O(e)}}))},503:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(2);function o(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("-")}},504:function(e,t,r){"use strict";var a=r(5),o=r.n(a),c=r(11),n=r.n(c),i=r(12),l=r.n(i),m=r(13),s=r.n(m),u=r(14),d=r.n(u),b=r(6),p=r.n(b),_=r(0),f=r(2),O=r(18),y=r(73),v=r(15),j=r(3),g=r(1),h=r.n(g),w=r(47),S=r(22),R=r(29),C=r(500),D=r(501),x=r(20);function E(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 A(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 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=p()(e);if(t){var o=p()(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return d()(this,r)}}var q=function(e){s()(r,e);var t=P(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 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}}})),A({date:Object(y.format)("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,o=e.selectedChart,c=e.defaultDateRange,n=Object(R.getIntervalForQuery)(t),i=Object(R.getCurrentDates)(t,c),l=i.primary,m=i.secondary;return r.data.intervals.map((function(e,r){var c=Object(R.getPreviousDate)(e.date_start,l.after,m.after,t.compare,n),i=a.data.intervals[r];return{date:Object(y.format)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(l.label," (").concat(l.range,")"),labelDate:e.date_start,value:e.subtotals[o.key]||0},secondary:{label:"".concat(m.label," (").concat(m.range,")"),labelDate:c.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[o.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(j.get)(t,["data","totals",a.key],null),secondary:Object(j.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var o=this.props,c=o.emptySearchResults,n=o.filterParam,i=o.interactiveLegend,l=o.itemsLabel,m=o.legendPosition,s=o.path,u=o.query,d=o.selectedChart,b=o.showHeaderControls,p=o.primaryData,O=Object(R.getIntervalForQuery)(u),y=Object(R.getAllowedIntervalsForQuery)(u),v=Object(R.getDateFormatsForInterval)(O,p.data.intervals.length),j=c?Object(f.__)("No data for the current search","woocommerce-admin"):Object(f.__)("No data for the selected date range","woocommerce-admin"),g=this.context,h=g.formatAmount,C=g.getCurrencyConfig;return Object(_.createElement)(w.Chart,{allowedIntervals:y,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:j,filterParam:n,interactiveLegend:i,interval:O,isRequesting:t,itemsLabel:l,legendPosition:m,legendTotals:a,mode:e,path:s,query:u,screenReaderFormat:v.screenReaderFormat,showHeaderControls:b,title:d.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(S.getTooltipValueFormat)(d.type,h),chartType:Object(R.getChartTypeForQuery)(u),valueType:d.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:C()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(_.createElement)(D.a,{isError:!0});var a=t||r.isRequesting,o=this.getItemChartData();return this.renderChart("item-comparison",a,o)}},{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(_.createElement)(D.a,{isError:!0});var o=t||r.isRequesting||a.isRequesting,c=this.getTimeChartData(),n=this.getTimeChartTotals();return this.renderChart("time-comparison",o,c,n)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(_.Component);q.contextType=C.a,q.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},q.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(O.compose)(Object(v.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,o=t.filters,c=t.isRequesting,n=t.limitProperties,i=t.query,l=t.advancedFilters,m=n||[a],s=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var o=t.slice(0),c=o.pop();if(c.showFilters(r,a)){var n=Object(x.flattenFilters)(c.filters),i=r[c.param]||c.defaultValue||"all";return Object(j.find)(n,{value:i})}return e(o,r,a)}(o,i),u=Object(j.get)(s,["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}(s,i)||"time-comparison",b=e(S.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,p={mode:d,filterParam:u,defaultDateRange:b};if(c)return p;var _=m.some((function(e){return i[e]&&i[e].length}));if(i.search&&!_)return A(A({},p),{},{emptySearchResults:!0});var f=r&&r.map((function(e){return e.key})),O=Object(S.getReportChartData)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:m,filters:o,advancedFilters:l,defaultDateRange:b,fields:f});if("item-comparison"===d)return A(A({},p),{},{primaryData:O});var y=Object(S.getReportChartData)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:m,filters:o,advancedFilters:l,defaultDateRange:b,fields:f});return A(A({},p),{},{primaryData:O,secondaryData:y})})))(q)},534: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 m}));var a=r(2),o=r(42),c=r(25),n=r(502),i=Object(o.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"}]),l=Object(o.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"}]}]),m=Object(o.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(c.d).map((function(e){return{value:e,label:c.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:n.d}},variation:{labels:{add:Object(a.__)("Variations","woocommerce-admin"),placeholder:Object(a.__)("Search variations","woocommerce-admin"),remove:Object(a.__)("Remove variations filter","woocommerce-admin"),rule:Object(a.__)("Select a variation filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Variation{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select variation","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","variations","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","variations","woocommerce-admin")}],input:{component:"Search",type:"variations",getLabels:n.g}},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:n.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:n.f}},attribute:{allowMultiple:!0,labels:{add:Object(a.__)("Attribute","woocommerce-admin"),placeholder:Object(a.__)("Search attributes","woocommerce-admin"),remove:Object(a.__)("Remove attribute filter","woocommerce-admin"),rule:Object(a.__)("Select a product attribute filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Attribute{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select attributes","woocommerce-admin")},rules:[{value:"is",label:Object(a._x)("Is","product attribute","woocommerce-admin")},{value:"is_not",label:Object(a._x)("Is Not","product attribute","woocommerce-admin")}],input:{component:"ProductAttribute"}}}})}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[5],{497:function(e,t,r){"use strict";r.d(t,"e",(function(){return u})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return b})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return _})),r.d(t,"f",(function(){return f})),r.d(t,"h",(function(){return O})),r.d(t,"g",(function(){return y}));var a=r(22),o=r(27),c=r.n(o),n=r(3),i=r(21),l=r(23),m=r(25),s=r(498);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]:"",o=arguments.length>1?arguments[1]:void 0,n="function"==typeof e?e(o):e,l=Object(i.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);var m={include:l.join(","),per_page:l.length};return c()({path:Object(a.addQueryArgs)(n,m)}).then((function(e){return e.map(t)}))}}u(l.NAMESPACE+"/products/attributes",(function(e){return{key:e.id,label:e.name}}));var d=u(l.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),b=u(l.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=u(l.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),_=u(l.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),f=u(l.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(s.a)(e)}}));function O(e){var t=e.attributes,r=e.name,a=Object(m.g)("variationTitleAttributesSeparator"," - ");if(r.indexOf(a)>-1)return r;var o=t.map((function(e){return e.option})).join(", ");return o?r+a+o:r}var y=u((function(e){var t=e.products;return t?l.NAMESPACE+"/products/".concat(t,"/variations"):l.NAMESPACE+"/variations"}),(function(e){return{key:e.id,label:O(e)}}))},498:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(2);function o(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("-")}},499:function(e,t,r){"use strict";var a=r(5),o=r.n(a),c=r(11),n=r.n(c),i=r(12),l=r.n(i),m=r(13),s=r.n(m),u=r(14),d=r.n(u),b=r(6),p=r.n(b),_=r(0),f=r(2),O=r(18),y=r(72),v=r(15),j=r(3),g=r(1),h=r.n(g),w=r(47),S=r(23),R=r(29),C=r(495),D=r(496),x=r(21);function E(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 A(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 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=p()(e);if(t){var o=p()(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return d()(this,r)}}var q=function(e){s()(r,e);var t=P(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 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}}})),A({date:Object(y.format)("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,o=e.selectedChart,c=e.defaultDateRange,n=Object(R.getIntervalForQuery)(t),i=Object(R.getCurrentDates)(t,c),l=i.primary,m=i.secondary;return r.data.intervals.map((function(e,r){var c=Object(R.getPreviousDate)(e.date_start,l.after,m.after,t.compare,n),i=a.data.intervals[r];return{date:Object(y.format)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(l.label," (").concat(l.range,")"),labelDate:e.date_start,value:e.subtotals[o.key]||0},secondary:{label:"".concat(m.label," (").concat(m.range,")"),labelDate:c.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[o.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(j.get)(t,["data","totals",a.key],null),secondary:Object(j.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var o=this.props,c=o.emptySearchResults,n=o.filterParam,i=o.interactiveLegend,l=o.itemsLabel,m=o.legendPosition,s=o.path,u=o.query,d=o.selectedChart,b=o.showHeaderControls,p=o.primaryData,O=Object(R.getIntervalForQuery)(u),y=Object(R.getAllowedIntervalsForQuery)(u),v=Object(R.getDateFormatsForInterval)(O,p.data.intervals.length),j=c?Object(f.__)("No data for the current search","woocommerce-admin"):Object(f.__)("No data for the selected date range","woocommerce-admin"),g=this.context,h=g.formatAmount,C=g.getCurrencyConfig;return Object(_.createElement)(w.Chart,{allowedIntervals:y,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:j,filterParam:n,interactiveLegend:i,interval:O,isRequesting:t,itemsLabel:l,legendPosition:m,legendTotals:a,mode:e,path:s,query:u,screenReaderFormat:v.screenReaderFormat,showHeaderControls:b,title:d.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(S.getTooltipValueFormat)(d.type,h),chartType:Object(R.getChartTypeForQuery)(u),valueType:d.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:C()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(_.createElement)(D.a,{isError:!0});var a=t||r.isRequesting,o=this.getItemChartData();return this.renderChart("item-comparison",a,o)}},{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(_.createElement)(D.a,{isError:!0});var o=t||r.isRequesting||a.isRequesting,c=this.getTimeChartData(),n=this.getTimeChartTotals();return this.renderChart("time-comparison",o,c,n)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(_.Component);q.contextType=C.a,q.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},q.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(O.compose)(Object(v.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,o=t.filters,c=t.isRequesting,n=t.limitProperties,i=t.query,l=t.advancedFilters,m=n||[a],s=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var o=t.slice(0),c=o.pop();if(c.showFilters(r,a)){var n=Object(x.flattenFilters)(c.filters),i=r[c.param]||c.defaultValue||"all";return Object(j.find)(n,{value:i})}return e(o,r,a)}(o,i),u=Object(j.get)(s,["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}(s,i)||"time-comparison",b=e(S.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,p={mode:d,filterParam:u,defaultDateRange:b};if(c)return p;var _=m.some((function(e){return i[e]&&i[e].length}));if(i.search&&!_)return A(A({},p),{},{emptySearchResults:!0});var f=r&&r.map((function(e){return e.key})),O=Object(S.getReportChartData)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:m,filters:o,advancedFilters:l,defaultDateRange:b,fields:f});if("item-comparison"===d)return A(A({},p),{},{primaryData:O});var y=Object(S.getReportChartData)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:m,filters:o,advancedFilters:l,defaultDateRange:b,fields:f});return A(A({},p),{},{primaryData:O,secondaryData:y})})))(q)},529: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 m}));var a=r(2),o=r(42),c=r(25),n=r(497),i=Object(o.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"}]),l=Object(o.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"}]}]),m=Object(o.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(c.d).map((function(e){return{value:e,label:c.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:n.d}},variation:{labels:{add:Object(a.__)("Variations","woocommerce-admin"),placeholder:Object(a.__)("Search variations","woocommerce-admin"),remove:Object(a.__)("Remove variations filter","woocommerce-admin"),rule:Object(a.__)("Select a variation filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Variation{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select variation","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","variations","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","variations","woocommerce-admin")}],input:{component:"Search",type:"variations",getLabels:n.g}},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:n.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:n.f}},attribute:{allowMultiple:!0,labels:{add:Object(a.__)("Attribute","woocommerce-admin"),placeholder:Object(a.__)("Search attributes","woocommerce-admin"),remove:Object(a.__)("Remove attribute filter","woocommerce-admin"),rule:Object(a.__)("Select a product attribute filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Attribute{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select attributes","woocommerce-admin")},rules:[{value:"is",label:Object(a._x)("Is","product attribute","woocommerce-admin")},{value:"is_not",label:Object(a._x)("Is Not","product attribute","woocommerce-admin")}],input:{component:"ProductAttribute"}}}})}}]);
|
dist/chunks/52.js
CHANGED
@@ -19,7 +19,7 @@ var REACT_ELEMENT_TYPE =
|
|
19 |
(typeof Symbol === 'function' && Symbol.for && Symbol.for('react.element')) ||
|
20 |
0xeac7;
|
21 |
|
22 |
-
var emptyFunction = __webpack_require__(
|
23 |
var invariant = __webpack_require__(107);
|
24 |
var warning = __webpack_require__(108);
|
25 |
|
@@ -397,7 +397,7 @@ module.exports = invariant;
|
|
397 |
|
398 |
|
399 |
|
400 |
-
var emptyFunction = __webpack_require__(
|
401 |
|
402 |
/**
|
403 |
* Similar to invariant but only logs a warning if the condition is not met.
|
@@ -663,7 +663,7 @@ __webpack_require__.d(__webpack_exports__, "b", function() { return /* binding *
|
|
663 |
var defineProperty = __webpack_require__(36);
|
664 |
|
665 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
666 |
-
var toConsumableArray = __webpack_require__(
|
667 |
|
668 |
// EXTERNAL MODULE: external "lodash"
|
669 |
var external_lodash_ = __webpack_require__(3);
|
@@ -973,7 +973,7 @@ var isKeyboardEvent = Object(external_lodash_["mapValues"])(modifiers, function
|
|
973 |
|
974 |
/***/ }),
|
975 |
|
976 |
-
/***/
|
977 |
/***/ (function(module, exports, __webpack_require__) {
|
978 |
|
979 |
(function webpackUniversalModuleDefinition(root, factory) {
|
@@ -1569,7 +1569,7 @@ module.exports = ReactPropTypesSecret;
|
|
1569 |
|
1570 |
/***/ }),
|
1571 |
|
1572 |
-
/***/
|
1573 |
/***/ (function(module, exports, __webpack_require__) {
|
1574 |
|
1575 |
"use strict";
|
@@ -1578,7 +1578,7 @@ var _extends=Object.assign||function(a){for(var c,b=1;b<arguments.length;b++)for
|
|
1578 |
|
1579 |
/***/ }),
|
1580 |
|
1581 |
-
/***/
|
1582 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1583 |
|
1584 |
"use strict";
|
@@ -1602,7 +1602,7 @@ var external = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEle
|
|
1602 |
|
1603 |
/***/ }),
|
1604 |
|
1605 |
-
/***/
|
1606 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1607 |
|
1608 |
"use strict";
|
@@ -1628,7 +1628,7 @@ var megaphone = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEl
|
|
1628 |
|
1629 |
/***/ }),
|
1630 |
|
1631 |
-
/***/
|
1632 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1633 |
|
1634 |
"use strict";
|
@@ -1654,7 +1654,7 @@ var box = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"
|
|
1654 |
|
1655 |
/***/ }),
|
1656 |
|
1657 |
-
/***/
|
1658 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1659 |
|
1660 |
"use strict";
|
@@ -1678,7 +1678,7 @@ var brush = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElemen
|
|
1678 |
|
1679 |
/***/ }),
|
1680 |
|
1681 |
-
/***/
|
1682 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1683 |
|
1684 |
"use strict";
|
@@ -1702,7 +1702,7 @@ var home = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement
|
|
1702 |
|
1703 |
/***/ }),
|
1704 |
|
1705 |
-
/***/
|
1706 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1707 |
|
1708 |
"use strict";
|
@@ -1717,16 +1717,16 @@ var home = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement
|
|
1717 |
|
1718 |
var pencil = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__[/* SVG */ "b"], {
|
1719 |
xmlns: "http://www.w3.org/2000/svg",
|
1720 |
-
viewBox: "
|
1721 |
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__[/* Path */ "a"], {
|
1722 |
-
d: "
|
1723 |
}));
|
1724 |
/* harmony default export */ __webpack_exports__["a"] = (pencil);
|
1725 |
//# sourceMappingURL=pencil.js.map
|
1726 |
|
1727 |
/***/ }),
|
1728 |
|
1729 |
-
/***/
|
1730 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1731 |
|
1732 |
"use strict";
|
@@ -1752,7 +1752,7 @@ var payment = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElem
|
|
1752 |
|
1753 |
/***/ }),
|
1754 |
|
1755 |
-
/***/
|
1756 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1757 |
|
1758 |
"use strict";
|
@@ -1778,7 +1778,7 @@ var percent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElem
|
|
1778 |
|
1779 |
/***/ }),
|
1780 |
|
1781 |
-
/***/
|
1782 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1783 |
|
1784 |
"use strict";
|
@@ -1802,7 +1802,7 @@ var shipping = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEle
|
|
1802 |
|
1803 |
/***/ }),
|
1804 |
|
1805 |
-
/***/
|
1806 |
/***/ (function(module, exports, __webpack_require__) {
|
1807 |
|
1808 |
"use strict";
|
19 |
(typeof Symbol === 'function' && Symbol.for && Symbol.for('react.element')) ||
|
20 |
0xeac7;
|
21 |
|
22 |
+
var emptyFunction = __webpack_require__(81);
|
23 |
var invariant = __webpack_require__(107);
|
24 |
var warning = __webpack_require__(108);
|
25 |
|
397 |
|
398 |
|
399 |
|
400 |
+
var emptyFunction = __webpack_require__(81);
|
401 |
|
402 |
/**
|
403 |
* Similar to invariant but only logs a warning if the condition is not met.
|
663 |
var defineProperty = __webpack_require__(36);
|
664 |
|
665 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
666 |
+
var toConsumableArray = __webpack_require__(80);
|
667 |
|
668 |
// EXTERNAL MODULE: external "lodash"
|
669 |
var external_lodash_ = __webpack_require__(3);
|
973 |
|
974 |
/***/ }),
|
975 |
|
976 |
+
/***/ 526:
|
977 |
/***/ (function(module, exports, __webpack_require__) {
|
978 |
|
979 |
(function webpackUniversalModuleDefinition(root, factory) {
|
1569 |
|
1570 |
/***/ }),
|
1571 |
|
1572 |
+
/***/ 543:
|
1573 |
/***/ (function(module, exports, __webpack_require__) {
|
1574 |
|
1575 |
"use strict";
|
1578 |
|
1579 |
/***/ }),
|
1580 |
|
1581 |
+
/***/ 580:
|
1582 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1583 |
|
1584 |
"use strict";
|
1602 |
|
1603 |
/***/ }),
|
1604 |
|
1605 |
+
/***/ 581:
|
1606 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1607 |
|
1608 |
"use strict";
|
1628 |
|
1629 |
/***/ }),
|
1630 |
|
1631 |
+
/***/ 582:
|
1632 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1633 |
|
1634 |
"use strict";
|
1654 |
|
1655 |
/***/ }),
|
1656 |
|
1657 |
+
/***/ 583:
|
1658 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1659 |
|
1660 |
"use strict";
|
1678 |
|
1679 |
/***/ }),
|
1680 |
|
1681 |
+
/***/ 584:
|
1682 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1683 |
|
1684 |
"use strict";
|
1702 |
|
1703 |
/***/ }),
|
1704 |
|
1705 |
+
/***/ 585:
|
1706 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1707 |
|
1708 |
"use strict";
|
1717 |
|
1718 |
var pencil = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__[/* SVG */ "b"], {
|
1719 |
xmlns: "http://www.w3.org/2000/svg",
|
1720 |
+
viewBox: "0 0 24 24"
|
1721 |
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__[/* Path */ "a"], {
|
1722 |
+
d: "M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"
|
1723 |
}));
|
1724 |
/* harmony default export */ __webpack_exports__["a"] = (pencil);
|
1725 |
//# sourceMappingURL=pencil.js.map
|
1726 |
|
1727 |
/***/ }),
|
1728 |
|
1729 |
+
/***/ 586:
|
1730 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1731 |
|
1732 |
"use strict";
|
1752 |
|
1753 |
/***/ }),
|
1754 |
|
1755 |
+
/***/ 587:
|
1756 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1757 |
|
1758 |
"use strict";
|
1778 |
|
1779 |
/***/ }),
|
1780 |
|
1781 |
+
/***/ 588:
|
1782 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1783 |
|
1784 |
"use strict";
|
1802 |
|
1803 |
/***/ }),
|
1804 |
|
1805 |
+
/***/ 81:
|
1806 |
/***/ (function(module, exports, __webpack_require__) {
|
1807 |
|
1808 |
"use strict";
|
dist/chunks/52.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[52,8],{106:function(e,t,n){"use strict";var o=n(10),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(82),a=n(107),c=n(108),l="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,o={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return o[e]}))):t.toString(36);var n,o}function s(e,t,n,o){var i,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===r)return n(o,e,""===t?"."+u(e,0):t),1;var f=0,p=""===t?".":t+":";if(Array.isArray(e))for(var h=0;h<e.length;h++)f+=s(i=e[h],p+u(i,h),n,o);else{var d=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(d){0;for(var v,m=d.call(e),b=0;!(v=m.next()).done;)f+=s(i=v.value,p+u(i,b++),n,o)}else if("object"===c){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 p(e){return(""+e).replace(f,"$&/")}var h,d,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,n,o){this.result=e,this.keyPrefix=t,this.func=n,this.context=o,this.count=0}function g(e,t,n){var r,a,c=e.result,l=e.keyPrefix,u=e.func,s=e.context,f=u.call(s,t,e.count++);Array.isArray(f)?w(f,c,n,i.thatReturnsArgument):null!=f&&(o.isValidElement(f)&&(r=f,a=l+(!f.key||t&&t.key===f.key?"":p(f.key)+"/")+n,f=o.cloneElement(r,{key:a},void 0!==r.props?r.props.children:void 0)),c.push(f))}function w(e,t,n,o,r){var i="";null!=n&&(i=p(n)+"/");var a=y.getPooled(t,i,o,r);!function(e,t,n){null==e||s(e,"",t,n)}(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},h=function(e,t,n,o){if(this.instancePool.length){var r=this.instancePool.pop();return this.call(r,e,t,n,o),r}return new this(e,t,n,o)},(d=y).instancePool=[],d.getPooled=h||v,d.poolSize||(d.poolSize=10),d.release=b;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(o.isValidElement(e))return c(!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 n in e)w(e[n],t,n,i.thatReturnsArgument);return t}},107:function(e,t,n){"use strict";e.exports=function(e,t,n,o,r,i,a,c){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,r,i,a,c],s=0;(l=new Error(t.replace(/%s/g,(function(){return u[s++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},108:function(e,t,n){"use strict";var o=n(82);e.exports=o},109:function(e,t,n){"use strict";function o(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(o)}},187:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,r=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),l=function(e,t){var n={};for(var o in e)0<=t.indexOf(o)||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["size","onClick","icon","className"]),u=["gridicon","gridicons-notice-outline",c,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:u,height:r,width:r,onClick:i},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var r,i=n(10),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},190:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,r=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),l=function(e,t){var n={};for(var o in e)0<=t.indexOf(o)||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["size","onClick","icon","className"]),u=["gridicon","gridicons-star",c,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:u,height:r,width:r,onClick:i},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})))};var r,i=n(10),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},26:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=c(n(10)),i=c(n(106)),a=c(n(109));function c(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function u(e,t){var n,a,c,s,f,p,h,d,v=[],m={};for(p=0;p<e.length;p++)if("string"!==(f=e[p]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==o(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+l);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],c=p;break}v.push(t[f.value])}else v.push(f.value);return n&&(s=function(e,t){var n,o,r=t[e],i=0;for(o=e+1;o<t.length;o++)if((n=t[o]).value===r.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return o;i--}}throw new Error("Missing closing component token `"+r.value+"`")}(c,e),h=u(e.slice(c+1,s),t),a=r.default.cloneElement(n,{},h),v.push(a),s<e.length-1&&(d=u(e.slice(s+1),t),v=v.concat(d))),1===v.length?v[0]:(v.forEach((function(e,t){e&&(m["interpolation-child-"+t]=e)})),(0,i.default)(m))}t.default=function(e){var t=e.mixedString,n=e.components,r=e.throwErrors;if(l=t,!n)return t;if("object"!==(void 0===n?"undefined":o(n))){if(r)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,a.default)(t);try{return u(i,n)}catch(e){if(r)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},46:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return f})),n.d(t,"g",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"i",(function(){return d})),n.d(t,"f",(function(){return v})),n.d(t,"b",(function(){return m}));var o=n(36),r=n(81),i=n(3),a=n(2);function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(i.includes)(["iPad","iPhone"],t)}var l=8,u=9,s=13,f=27,p=32,h=37,d=38,v=39,m=40,b="alt",y="ctrl",g="shift",w={primary:function(e){return e()?["meta"]:[y]},primaryShift:function(e){return e()?[g,"meta"]:[y,g]},primaryAlt:function(e){return e()?[b,"meta"]:[y,b]},secondary:function(e){return e()?[g,b,"meta"]:[y,g,b]},access:function(e){return e()?[y,b]:[g,b]},ctrl:function(){return[y]},alt:function(){return[b]},ctrlShift:function(){return[y,g]},shift:function(){return[g]},shiftAlt:function(){return[g,b]}},O=(Object(i.mapValues)(w,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;return[].concat(Object(r.a)(e(n)),[t.toLowerCase()]).join("+")}})),Object(i.mapValues)(w,(function(e){return function(t){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,l=a(),u=(n={},Object(o.a)(n,b,l?"⌥":"Alt"),Object(o.a)(n,y,l?"^":"Ctrl"),Object(o.a)(n,"meta","⌘"),Object(o.a)(n,g,l?"⇧":"Shift"),n),s=e(a).reduce((function(e,t){var n=Object(i.get)(u,t,t);return[].concat(Object(r.a)(e),l?[n]:[n,"+"])}),[]),f=Object(i.capitalize)(t);return[].concat(Object(r.a)(s),[f])}})));Object(i.mapValues)(O,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;return e(t,n).join("")}})),Object(i.mapValues)(w,(function(e){return function(t){var n,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,u=l(),s=(n={},Object(o.a)(n,g,"Shift"),Object(o.a)(n,"meta",u?"Command":"Control"),Object(o.a)(n,y,"Control"),Object(o.a)(n,b,u?"Option":"Alt"),Object(o.a)(n,",",Object(a.__)("Comma")),Object(o.a)(n,".",Object(a.__)("Period")),Object(o.a)(n,"`",Object(a.__)("Backtick")),n);return[].concat(Object(r.a)(e(l)),[t]).map((function(e){return Object(i.capitalize)(Object(i.get)(s,e,e))})).join(u?" ":" + ")}})),Object(i.mapValues)(w,(function(e){return function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,r=e(o);return!!r.every((function(e){return t["".concat(e,"Key")]}))&&(n?t.key===n:Object(i.includes)(r,t.key.toLowerCase()))}}))},531:function(e,t,n){var o;o=function(e,t){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){e.exports=n(5)()},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=function(e,t,n){var o=e.direction,r=e.value;switch(o){case"top":return n.top+r<t.top&&n.bottom>t.bottom&&n.left<t.left&&n.right>t.right;case"left":return n.left+r<t.left&&n.bottom>t.bottom&&n.top<t.top&&n.right>t.right;case"bottom":return n.bottom-r>t.bottom&&n.left<t.left&&n.right>t.right&&n.top<t.top;case"right":return n.right-r>t.right&&n.left<t.left&&n.top<t.top&&n.bottom>t.bottom}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return b}));var o=n(1),r=n.n(o),i=n(2),a=n.n(i),c=n(0),l=n.n(c),u=n(3),s=n.n(u);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){function t(e){var n,o,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=this,r=h(t).call(this,e),n=!r||"object"!==f(r)&&"function"!=typeof r?d(o):r,m(d(n),"getContainer",(function(){return n.props.containment||window})),m(d(n),"addEventListener",(function(e,t,o,r){var i;n.debounceCheck||(n.debounceCheck={});var a=function(){i=null,n.check()},c={target:e,fn:r>-1?function(){i||(i=setTimeout(a,r||0))}:function(){clearTimeout(i),i=setTimeout(a,o||0)},getLastTimeout:function(){return i}};e.addEventListener(t,c.fn),n.debounceCheck[t]=c})),m(d(n),"startWatching",(function(){n.debounceCheck||n.interval||(n.props.intervalCheck&&(n.interval=setInterval(n.check,n.props.intervalDelay)),n.props.scrollCheck&&n.addEventListener(n.getContainer(),"scroll",n.props.scrollDelay,n.props.scrollThrottle),n.props.resizeCheck&&n.addEventListener(window,"resize",n.props.resizeDelay,n.props.resizeThrottle),!n.props.delayedCall&&n.check())})),m(d(n),"stopWatching",(function(){if(n.debounceCheck)for(var e in n.debounceCheck)if(n.debounceCheck.hasOwnProperty(e)){var t=n.debounceCheck[e];clearTimeout(t.getLastTimeout()),t.target.removeEventListener(e,t.fn),n.debounceCheck[e]=null}n.debounceCheck=null,n.interval&&(n.interval=clearInterval(n.interval))})),m(d(n),"check",(function(){var e,t,o=n.node;if(!o)return n.state;if(e=function(e){return void 0===e.width&&(e.width=e.right-e.left),void 0===e.height&&(e.height=e.bottom-e.top),e}(n.roundRectDown(o.getBoundingClientRect())),n.props.containment){var r=n.props.containment.getBoundingClientRect();t={top:r.top,left:r.left,bottom:r.bottom,right:r.right}}else t={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var i=n.props.offset||{};"object"===f(i)&&(t.top+=i.top||0,t.left+=i.left||0,t.bottom-=i.bottom||0,t.right-=i.right||0);var a={top:e.top>=t.top,left:e.left>=t.left,bottom:e.bottom<=t.bottom,right:e.right<=t.right},c=e.height>0&&e.width>0,l=c&&a.top&&a.left&&a.bottom&&a.right;if(c&&n.props.partialVisibility){var u=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof n.props.partialVisibility&&(u=a[n.props.partialVisibility]),l=n.props.minTopValue?u&&e.top<=t.bottom-n.props.minTopValue:u}"string"==typeof i.direction&&"number"==typeof i.value&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",i.direction,i.value),l=s()(i,e,t));var p=n.state;return n.state.isVisible!==l&&(p={isVisible:l,visibilityRect:a},n.setState(p),n.props.onChange&&n.props.onChange(l)),p})),n.state={isVisible:null,visibilityRect:{}},n}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.node=a.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(e){this.node=a.a.findDOMNode(this),this.props.active&&!e.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(e){return{top:Math.floor(e.top),left:Math.floor(e.left),bottom:Math.floor(e.bottom),right:Math.floor(e.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):r.a.Children.only(this.props.children)}}])&&p(n.prototype,o),i&&p(n,i),t}(r.a.Component);m(b,"defaultProps",{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:r.a.createElement("span",null)}),m(b,"propTypes",{onChange:l.a.func,active:l.a.bool,partialVisibility:l.a.oneOfType([l.a.bool,l.a.oneOf(["top","right","bottom","left"])]),delayedCall:l.a.bool,offset:l.a.oneOfType([l.a.shape({top:l.a.number,left:l.a.number,bottom:l.a.number,right:l.a.number}),l.a.shape({direction:l.a.oneOf(["top","right","bottom","left"]),value:l.a.number})]),scrollCheck:l.a.bool,scrollDelay:l.a.number,scrollThrottle:l.a.number,resizeCheck:l.a.bool,resizeDelay:l.a.number,resizeThrottle:l.a.number,intervalCheck:l.a.bool,intervalDelay:l.a.number,containment:"undefined"!=typeof window?l.a.instanceOf(window.Element):l.a.any,children:l.a.oneOfType([l.a.element,l.a.func]),minTopValue:l.a.number})},function(e,t,n){"use strict";var o=n(6);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}])},e.exports=o(n(10),n(48))},548:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,r=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),l=function(e,t){var n={};for(var o in e)0<=t.indexOf(o)||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["size","onClick","icon","className"]),u=["gridicon","gridicons-star-outline",c,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:u,height:r,width:r,onClick:i},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"})))};var r,i=n(10),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},584:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.a=i},585:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{fillRule:"evenodd",d:"M6.863 13.644L5 13.25h-.5a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5H5L18 6.5h2V16h-2l-3.854-.815.026.008a3.75 3.75 0 01-7.31-1.549zm1.477.313a2.251 2.251 0 004.356.921l-4.356-.921zm-2.84-3.28L18.157 8h.343v6.5h-.343L5.5 11.823v-1.146z",clipRule:"evenodd"}));t.a=i},586:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"}));t.a=i},587:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(o.createElement)(r.a,{d:"M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z"}));t.a=i},588:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"}));t.a=i},589:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(o.createElement)(r.a,{d:"M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6zM13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z"}));t.a=i},590:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{fillRule:"evenodd",d:"M5.5 9.5v-2h13v2h-13zm0 3v4h13v-4h-13zM4 7a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H5a1 1 0 01-1-1V7z",clipRule:"evenodd"}));t.a=i},591:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{fillRule:"evenodd",d:"M6.5 8a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zM8 5a3 3 0 100 6 3 3 0 000-6zm6.5 11a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zm1.5-3a3 3 0 100 6 3 3 0 000-6zM5.47 17.41a.75.75 0 001.06 1.06L18.47 6.53a.75.75 0 10-1.06-1.06L5.47 17.41z",clipRule:"evenodd"}));t.a=i},592:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{d:"M3 6.75C3 5.784 3.784 5 4.75 5H15V7.313l.05.027 5.056 2.73.394.212v3.468a1.75 1.75 0 01-1.75 1.75h-.012a2.5 2.5 0 11-4.975 0H9.737a2.5 2.5 0 11-4.975 0H3V6.75zM13.5 14V6.5H4.75a.25.25 0 00-.25.25V14h.965a2.493 2.493 0 011.785-.75c.7 0 1.332.287 1.785.75H13.5zm4.535 0h.715a.25.25 0 00.25-.25v-2.573l-4-2.16v4.568a2.487 2.487 0 011.25-.335c.7 0 1.332.287 1.785.75zM6.282 15.5a1.002 1.002 0 00.968 1.25 1 1 0 10-.968-1.25zm9 0a1 1 0 101.937.498 1 1 0 00-1.938-.498z"}));t.a=i},82:function(e,t,n){"use strict";function o(e){return function(){return e}}var r=function(){};r.thatReturns=o,r.thatReturnsFalse=o(!1),r.thatReturnsTrue=o(!0),r.thatReturnsNull=o(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[52,8],{106:function(e,t,n){"use strict";var o=n(10),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(81),a=n(107),c=n(108),l="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,o={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return o[e]}))):t.toString(36);var n,o}function s(e,t,n,o){var i,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===r)return n(o,e,""===t?"."+u(e,0):t),1;var f=0,p=""===t?".":t+":";if(Array.isArray(e))for(var h=0;h<e.length;h++)f+=s(i=e[h],p+u(i,h),n,o);else{var d=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(d){0;for(var v,m=d.call(e),b=0;!(v=m.next()).done;)f+=s(i=v.value,p+u(i,b++),n,o)}else if("object"===c){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 p(e){return(""+e).replace(f,"$&/")}var h,d,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,n,o){this.result=e,this.keyPrefix=t,this.func=n,this.context=o,this.count=0}function g(e,t,n){var r,a,c=e.result,l=e.keyPrefix,u=e.func,s=e.context,f=u.call(s,t,e.count++);Array.isArray(f)?w(f,c,n,i.thatReturnsArgument):null!=f&&(o.isValidElement(f)&&(r=f,a=l+(!f.key||t&&t.key===f.key?"":p(f.key)+"/")+n,f=o.cloneElement(r,{key:a},void 0!==r.props?r.props.children:void 0)),c.push(f))}function w(e,t,n,o,r){var i="";null!=n&&(i=p(n)+"/");var a=y.getPooled(t,i,o,r);!function(e,t,n){null==e||s(e,"",t,n)}(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},h=function(e,t,n,o){if(this.instancePool.length){var r=this.instancePool.pop();return this.call(r,e,t,n,o),r}return new this(e,t,n,o)},(d=y).instancePool=[],d.getPooled=h||v,d.poolSize||(d.poolSize=10),d.release=b;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(o.isValidElement(e))return c(!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 n in e)w(e[n],t,n,i.thatReturnsArgument);return t}},107:function(e,t,n){"use strict";e.exports=function(e,t,n,o,r,i,a,c){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,r,i,a,c],s=0;(l=new Error(t.replace(/%s/g,(function(){return u[s++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},108:function(e,t,n){"use strict";var o=n(81);e.exports=o},109:function(e,t,n){"use strict";function o(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(o)}},187:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,r=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),l=function(e,t){var n={};for(var o in e)0<=t.indexOf(o)||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["size","onClick","icon","className"]),u=["gridicon","gridicons-notice-outline",c,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:u,height:r,width:r,onClick:i},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var r,i=n(10),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},190:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,r=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),l=function(e,t){var n={};for(var o in e)0<=t.indexOf(o)||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["size","onClick","icon","className"]),u=["gridicon","gridicons-star",c,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:u,height:r,width:r,onClick:i},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})))};var r,i=n(10),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},26:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=c(n(10)),i=c(n(106)),a=c(n(109));function c(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function u(e,t){var n,a,c,s,f,p,h,d,v=[],m={};for(p=0;p<e.length;p++)if("string"!==(f=e[p]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==o(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+l);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],c=p;break}v.push(t[f.value])}else v.push(f.value);return n&&(s=function(e,t){var n,o,r=t[e],i=0;for(o=e+1;o<t.length;o++)if((n=t[o]).value===r.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return o;i--}}throw new Error("Missing closing component token `"+r.value+"`")}(c,e),h=u(e.slice(c+1,s),t),a=r.default.cloneElement(n,{},h),v.push(a),s<e.length-1&&(d=u(e.slice(s+1),t),v=v.concat(d))),1===v.length?v[0]:(v.forEach((function(e,t){e&&(m["interpolation-child-"+t]=e)})),(0,i.default)(m))}t.default=function(e){var t=e.mixedString,n=e.components,r=e.throwErrors;if(l=t,!n)return t;if("object"!==(void 0===n?"undefined":o(n))){if(r)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,a.default)(t);try{return u(i,n)}catch(e){if(r)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},46:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return f})),n.d(t,"g",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"i",(function(){return d})),n.d(t,"f",(function(){return v})),n.d(t,"b",(function(){return m}));var o=n(36),r=n(80),i=n(3),a=n(2);function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(i.includes)(["iPad","iPhone"],t)}var l=8,u=9,s=13,f=27,p=32,h=37,d=38,v=39,m=40,b="alt",y="ctrl",g="shift",w={primary:function(e){return e()?["meta"]:[y]},primaryShift:function(e){return e()?[g,"meta"]:[y,g]},primaryAlt:function(e){return e()?[b,"meta"]:[y,b]},secondary:function(e){return e()?[g,b,"meta"]:[y,g,b]},access:function(e){return e()?[y,b]:[g,b]},ctrl:function(){return[y]},alt:function(){return[b]},ctrlShift:function(){return[y,g]},shift:function(){return[g]},shiftAlt:function(){return[g,b]}},O=(Object(i.mapValues)(w,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;return[].concat(Object(r.a)(e(n)),[t.toLowerCase()]).join("+")}})),Object(i.mapValues)(w,(function(e){return function(t){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,l=a(),u=(n={},Object(o.a)(n,b,l?"⌥":"Alt"),Object(o.a)(n,y,l?"^":"Ctrl"),Object(o.a)(n,"meta","⌘"),Object(o.a)(n,g,l?"⇧":"Shift"),n),s=e(a).reduce((function(e,t){var n=Object(i.get)(u,t,t);return[].concat(Object(r.a)(e),l?[n]:[n,"+"])}),[]),f=Object(i.capitalize)(t);return[].concat(Object(r.a)(s),[f])}})));Object(i.mapValues)(O,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;return e(t,n).join("")}})),Object(i.mapValues)(w,(function(e){return function(t){var n,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,u=l(),s=(n={},Object(o.a)(n,g,"Shift"),Object(o.a)(n,"meta",u?"Command":"Control"),Object(o.a)(n,y,"Control"),Object(o.a)(n,b,u?"Option":"Alt"),Object(o.a)(n,",",Object(a.__)("Comma")),Object(o.a)(n,".",Object(a.__)("Period")),Object(o.a)(n,"`",Object(a.__)("Backtick")),n);return[].concat(Object(r.a)(e(l)),[t]).map((function(e){return Object(i.capitalize)(Object(i.get)(s,e,e))})).join(u?" ":" + ")}})),Object(i.mapValues)(w,(function(e){return function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,r=e(o);return!!r.every((function(e){return t["".concat(e,"Key")]}))&&(n?t.key===n:Object(i.includes)(r,t.key.toLowerCase()))}}))},526:function(e,t,n){var o;o=function(e,t){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){e.exports=n(5)()},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=function(e,t,n){var o=e.direction,r=e.value;switch(o){case"top":return n.top+r<t.top&&n.bottom>t.bottom&&n.left<t.left&&n.right>t.right;case"left":return n.left+r<t.left&&n.bottom>t.bottom&&n.top<t.top&&n.right>t.right;case"bottom":return n.bottom-r>t.bottom&&n.left<t.left&&n.right>t.right&&n.top<t.top;case"right":return n.right-r>t.right&&n.left<t.left&&n.top<t.top&&n.bottom>t.bottom}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return b}));var o=n(1),r=n.n(o),i=n(2),a=n.n(i),c=n(0),l=n.n(c),u=n(3),s=n.n(u);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){function t(e){var n,o,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=this,r=h(t).call(this,e),n=!r||"object"!==f(r)&&"function"!=typeof r?d(o):r,m(d(n),"getContainer",(function(){return n.props.containment||window})),m(d(n),"addEventListener",(function(e,t,o,r){var i;n.debounceCheck||(n.debounceCheck={});var a=function(){i=null,n.check()},c={target:e,fn:r>-1?function(){i||(i=setTimeout(a,r||0))}:function(){clearTimeout(i),i=setTimeout(a,o||0)},getLastTimeout:function(){return i}};e.addEventListener(t,c.fn),n.debounceCheck[t]=c})),m(d(n),"startWatching",(function(){n.debounceCheck||n.interval||(n.props.intervalCheck&&(n.interval=setInterval(n.check,n.props.intervalDelay)),n.props.scrollCheck&&n.addEventListener(n.getContainer(),"scroll",n.props.scrollDelay,n.props.scrollThrottle),n.props.resizeCheck&&n.addEventListener(window,"resize",n.props.resizeDelay,n.props.resizeThrottle),!n.props.delayedCall&&n.check())})),m(d(n),"stopWatching",(function(){if(n.debounceCheck)for(var e in n.debounceCheck)if(n.debounceCheck.hasOwnProperty(e)){var t=n.debounceCheck[e];clearTimeout(t.getLastTimeout()),t.target.removeEventListener(e,t.fn),n.debounceCheck[e]=null}n.debounceCheck=null,n.interval&&(n.interval=clearInterval(n.interval))})),m(d(n),"check",(function(){var e,t,o=n.node;if(!o)return n.state;if(e=function(e){return void 0===e.width&&(e.width=e.right-e.left),void 0===e.height&&(e.height=e.bottom-e.top),e}(n.roundRectDown(o.getBoundingClientRect())),n.props.containment){var r=n.props.containment.getBoundingClientRect();t={top:r.top,left:r.left,bottom:r.bottom,right:r.right}}else t={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var i=n.props.offset||{};"object"===f(i)&&(t.top+=i.top||0,t.left+=i.left||0,t.bottom-=i.bottom||0,t.right-=i.right||0);var a={top:e.top>=t.top,left:e.left>=t.left,bottom:e.bottom<=t.bottom,right:e.right<=t.right},c=e.height>0&&e.width>0,l=c&&a.top&&a.left&&a.bottom&&a.right;if(c&&n.props.partialVisibility){var u=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof n.props.partialVisibility&&(u=a[n.props.partialVisibility]),l=n.props.minTopValue?u&&e.top<=t.bottom-n.props.minTopValue:u}"string"==typeof i.direction&&"number"==typeof i.value&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",i.direction,i.value),l=s()(i,e,t));var p=n.state;return n.state.isVisible!==l&&(p={isVisible:l,visibilityRect:a},n.setState(p),n.props.onChange&&n.props.onChange(l)),p})),n.state={isVisible:null,visibilityRect:{}},n}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.node=a.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(e){this.node=a.a.findDOMNode(this),this.props.active&&!e.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(e){return{top:Math.floor(e.top),left:Math.floor(e.left),bottom:Math.floor(e.bottom),right:Math.floor(e.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):r.a.Children.only(this.props.children)}}])&&p(n.prototype,o),i&&p(n,i),t}(r.a.Component);m(b,"defaultProps",{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:r.a.createElement("span",null)}),m(b,"propTypes",{onChange:l.a.func,active:l.a.bool,partialVisibility:l.a.oneOfType([l.a.bool,l.a.oneOf(["top","right","bottom","left"])]),delayedCall:l.a.bool,offset:l.a.oneOfType([l.a.shape({top:l.a.number,left:l.a.number,bottom:l.a.number,right:l.a.number}),l.a.shape({direction:l.a.oneOf(["top","right","bottom","left"]),value:l.a.number})]),scrollCheck:l.a.bool,scrollDelay:l.a.number,scrollThrottle:l.a.number,resizeCheck:l.a.bool,resizeDelay:l.a.number,resizeThrottle:l.a.number,intervalCheck:l.a.bool,intervalDelay:l.a.number,containment:"undefined"!=typeof window?l.a.instanceOf(window.Element):l.a.any,children:l.a.oneOfType([l.a.element,l.a.func]),minTopValue:l.a.number})},function(e,t,n){"use strict";var o=n(6);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}])},e.exports=o(n(10),n(48))},543:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,r=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),l=function(e,t){var n={};for(var o in e)0<=t.indexOf(o)||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["size","onClick","icon","className"]),u=["gridicon","gridicons-star-outline",c,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:u,height:r,width:r,onClick:i},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"})))};var r,i=n(10),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},580:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.a=i},581:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{fillRule:"evenodd",d:"M6.863 13.644L5 13.25h-.5a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5H5L18 6.5h2V16h-2l-3.854-.815.026.008a3.75 3.75 0 01-7.31-1.549zm1.477.313a2.251 2.251 0 004.356.921l-4.356-.921zm-2.84-3.28L18.157 8h.343v6.5h-.343L5.5 11.823v-1.146z",clipRule:"evenodd"}));t.a=i},582:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"}));t.a=i},583:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(o.createElement)(r.a,{d:"M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z"}));t.a=i},584:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"}));t.a=i},585:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.a=i},586:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{fillRule:"evenodd",d:"M5.5 9.5v-2h13v2h-13zm0 3v4h13v-4h-13zM4 7a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H5a1 1 0 01-1-1V7z",clipRule:"evenodd"}));t.a=i},587:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{fillRule:"evenodd",d:"M6.5 8a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zM8 5a3 3 0 100 6 3 3 0 000-6zm6.5 11a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zm1.5-3a3 3 0 100 6 3 3 0 000-6zM5.47 17.41a.75.75 0 001.06 1.06L18.47 6.53a.75.75 0 10-1.06-1.06L5.47 17.41z",clipRule:"evenodd"}));t.a=i},588:function(e,t,n){"use strict";var o=n(0),r=n(196),i=Object(o.createElement)(r.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.a,{d:"M3 6.75C3 5.784 3.784 5 4.75 5H15V7.313l.05.027 5.056 2.73.394.212v3.468a1.75 1.75 0 01-1.75 1.75h-.012a2.5 2.5 0 11-4.975 0H9.737a2.5 2.5 0 11-4.975 0H3V6.75zM13.5 14V6.5H4.75a.25.25 0 00-.25.25V14h.965a2.493 2.493 0 011.785-.75c.7 0 1.332.287 1.785.75H13.5zm4.535 0h.715a.25.25 0 00.25-.25v-2.573l-4-2.16v4.568a2.487 2.487 0 011.25-.335c.7 0 1.332.287 1.785.75zM6.282 15.5a1.002 1.002 0 00.968 1.25 1 1 0 10-.968-1.25zm9 0a1 1 0 101.937.498 1 1 0 00-1.938-.498z"}));t.a=i},81:function(e,t,n){"use strict";function o(e){return function(){return e}}var r=function(){};r.thatReturns=o,r.thatReturnsFalse=o(!1),r.thatReturnsTrue=o(!0),r.thatReturnsNull=o(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r}}]);
|
dist/chunks/53.js
CHANGED
@@ -19,7 +19,7 @@ var REACT_ELEMENT_TYPE =
|
|
19 |
(typeof Symbol === 'function' && Symbol.for && Symbol.for('react.element')) ||
|
20 |
0xeac7;
|
21 |
|
22 |
-
var emptyFunction = __webpack_require__(
|
23 |
var invariant = __webpack_require__(107);
|
24 |
var warning = __webpack_require__(108);
|
25 |
|
@@ -397,7 +397,7 @@ module.exports = invariant;
|
|
397 |
|
398 |
|
399 |
|
400 |
-
var emptyFunction = __webpack_require__(
|
401 |
|
402 |
/**
|
403 |
* Similar to invariant but only logs a warning if the condition is not met.
|
@@ -623,7 +623,7 @@ exports.default = interpolate;
|
|
623 |
|
624 |
/***/ }),
|
625 |
|
626 |
-
/***/
|
627 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
628 |
|
629 |
"use strict";
|
@@ -647,7 +647,7 @@ var chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["creat
|
|
647 |
|
648 |
/***/ }),
|
649 |
|
650 |
-
/***/
|
651 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
652 |
|
653 |
"use strict";
|
@@ -657,7 +657,7 @@ var chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["creat
|
|
657 |
/* unused harmony export combineReducers */
|
658 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return compose; });
|
659 |
/* unused harmony export createStore */
|
660 |
-
/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
661 |
|
662 |
|
663 |
/**
|
@@ -1311,11 +1311,11 @@ if (false) {}
|
|
1311 |
|
1312 |
/***/ }),
|
1313 |
|
1314 |
-
/***/
|
1315 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1316 |
|
1317 |
"use strict";
|
1318 |
-
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1319 |
/* global window */
|
1320 |
|
1321 |
|
@@ -1334,11 +1334,11 @@ if (typeof self !== 'undefined') {
|
|
1334 |
var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(root);
|
1335 |
/* harmony default export */ __webpack_exports__["a"] = (result);
|
1336 |
|
1337 |
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(
|
1338 |
|
1339 |
/***/ }),
|
1340 |
|
1341 |
-
/***/
|
1342 |
/***/ (function(module, exports) {
|
1343 |
|
1344 |
module.exports = function(originalModule) {
|
@@ -1369,7 +1369,7 @@ module.exports = function(originalModule) {
|
|
1369 |
|
1370 |
/***/ }),
|
1371 |
|
1372 |
-
/***/
|
1373 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1374 |
|
1375 |
"use strict";
|
@@ -1395,7 +1395,7 @@ function symbolObservablePonyfill(root) {
|
|
1395 |
|
1396 |
/***/ }),
|
1397 |
|
1398 |
-
/***/
|
1399 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1400 |
|
1401 |
"use strict";
|
@@ -1419,7 +1419,7 @@ var page = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement
|
|
1419 |
|
1420 |
/***/ }),
|
1421 |
|
1422 |
-
/***/
|
1423 |
/***/ (function(module, exports, __webpack_require__) {
|
1424 |
|
1425 |
"use strict";
|
19 |
(typeof Symbol === 'function' && Symbol.for && Symbol.for('react.element')) ||
|
20 |
0xeac7;
|
21 |
|
22 |
+
var emptyFunction = __webpack_require__(81);
|
23 |
var invariant = __webpack_require__(107);
|
24 |
var warning = __webpack_require__(108);
|
25 |
|
397 |
|
398 |
|
399 |
|
400 |
+
var emptyFunction = __webpack_require__(81);
|
401 |
|
402 |
/**
|
403 |
* Similar to invariant but only logs a warning if the condition is not met.
|
623 |
|
624 |
/***/ }),
|
625 |
|
626 |
+
/***/ 531:
|
627 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
628 |
|
629 |
"use strict";
|
647 |
|
648 |
/***/ }),
|
649 |
|
650 |
+
/***/ 566:
|
651 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
652 |
|
653 |
"use strict";
|
657 |
/* unused harmony export combineReducers */
|
658 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return compose; });
|
659 |
/* unused harmony export createStore */
|
660 |
+
/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(567);
|
661 |
|
662 |
|
663 |
/**
|
1311 |
|
1312 |
/***/ }),
|
1313 |
|
1314 |
+
/***/ 567:
|
1315 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1316 |
|
1317 |
"use strict";
|
1318 |
+
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(569);
|
1319 |
/* global window */
|
1320 |
|
1321 |
|
1334 |
var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(root);
|
1335 |
/* harmony default export */ __webpack_exports__["a"] = (result);
|
1336 |
|
1337 |
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(82), __webpack_require__(568)(module)))
|
1338 |
|
1339 |
/***/ }),
|
1340 |
|
1341 |
+
/***/ 568:
|
1342 |
/***/ (function(module, exports) {
|
1343 |
|
1344 |
module.exports = function(originalModule) {
|
1369 |
|
1370 |
/***/ }),
|
1371 |
|
1372 |
+
/***/ 569:
|
1373 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1374 |
|
1375 |
"use strict";
|
1395 |
|
1396 |
/***/ }),
|
1397 |
|
1398 |
+
/***/ 590:
|
1399 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1400 |
|
1401 |
"use strict";
|
1419 |
|
1420 |
/***/ }),
|
1421 |
|
1422 |
+
/***/ 81:
|
1423 |
/***/ (function(module, exports, __webpack_require__) {
|
1424 |
|
1425 |
"use strict";
|
dist/chunks/53.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[53],{106:function(e,t,n){"use strict";var r=n(10),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[53],{106:function(e,t,n){"use strict";var r=n(10),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(81),a=n(107),u=n(108),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function s(e,t,n,r){var i,u=typeof e;if("undefined"!==u&&"boolean"!==u||(e=null),null===e||"string"===u||"number"===u||"object"===u&&e.$$typeof===o)return n(r,e,""===t?"."+l(e,0):t),1;var f=0,p=""===t?".":t+":";if(Array.isArray(e))for(var v=0;v<e.length;v++)f+=s(i=e[v],p+l(i,v),n,r);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(h){0;for(var d,y=h.call(e),m=0;!(d=y.next()).done;)f+=s(i=d.value,p+l(i,m++),n,r)}else if("object"===u){0;var b=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(e).join(", ")+"}":b,"")}}return f}var f=/\/+/g;function p(e){return(""+e).replace(f,"$&/")}var v,h,d=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},m=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 b(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function g(e,t,n){var o,a,u=e.result,c=e.keyPrefix,l=e.func,s=e.context,f=l.call(s,t,e.count++);Array.isArray(f)?w(f,u,n,i.thatReturnsArgument):null!=f&&(r.isValidElement(f)&&(o=f,a=c+(!f.key||t&&t.key===f.key?"":p(f.key)+"/")+n,f=r.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),u.push(f))}function w(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var a=b.getPooled(t,i,r,o);!function(e,t,n){null==e||s(e,"",t,n)}(e,g,a),b.release(a)}b.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},v=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(h=b).instancePool=[],h.getPooled=v||d,h.poolSize||(h.poolSize=10),h.release=m;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return u(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return u(!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 n in e)w(e[n],t,n,i.thatReturnsArgument);return t}},107:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,u],s=0;(c=new Error(t.replace(/%s/g,(function(){return l[s++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},108:function(e,t,n){"use strict";var r=n(81);e.exports=r},109:function(e,t,n){"use strict";function r(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(r)}},26:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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=u(n(10)),i=u(n(106)),a=u(n(109));function u(e){return e&&e.__esModule?e:{default:e}}var c=void 0;function l(e,t){var n,a,u,s,f,p,v,h,d=[],y={};for(p=0;p<e.length;p++)if("string"!==(f=e[p]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==r(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+c);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],u=p;break}d.push(t[f.value])}else d.push(f.value);return n&&(s=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+o.value+"`")}(u,e),v=l(e.slice(u+1,s),t),a=o.default.cloneElement(n,{},v),d.push(a),s<e.length-1&&(h=l(e.slice(s+1),t),d=d.concat(h))),1===d.length?d[0]:(d.forEach((function(e,t){e&&(y["interpolation-child-"+t]=e)})),(0,i.default)(y))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,a.default)(t);try{return l(i,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},531:function(e,t,n){"use strict";var r=n(0),o=n(196),i=Object(r.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.a,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=i},566:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n(567);var r=function(){return Math.random().toString(36).substring(7).split("").join(".")};r(),r();function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}},567:function(e,t,n){"use strict";(function(e,r){var o,i=n(569);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(82),n(568)(e))},568: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}},569:function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},590:function(e,t,n){"use strict";var r=n(0),o=n(196),i=Object(r.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.a,{d:"M7 5.5h10a.5.5 0 01.5.5v12a.5.5 0 01-.5.5H7a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM17 4H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V6a2 2 0 00-2-2zm-1 3.75H8v1.5h8v-1.5zM8 11h8v1.5H8V11zm6 3.25H8v1.5h6v-1.5z"}));t.a=i},81:function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o}}]);
|
dist/chunks/6.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[6],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
@@ -28,11 +28,11 @@ function createNoticesFromResponse(response) {
|
|
28 |
|
29 |
/***/ }),
|
30 |
|
31 |
-
/***/
|
32 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
33 |
|
34 |
"use strict";
|
35 |
-
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
36 |
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
37 |
/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(43);
|
38 |
/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);
|
@@ -60,7 +60,7 @@ function createNoticesFromResponse(response) {
|
|
60 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_12__);
|
61 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47);
|
62 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_13__);
|
63 |
-
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
64 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_14__);
|
65 |
|
66 |
|
@@ -298,7 +298,7 @@ var UsageModal = /*#__PURE__*/function (_Component) {
|
|
298 |
|
299 |
/***/ }),
|
300 |
|
301 |
-
/***/
|
302 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
303 |
|
304 |
"use strict";
|
@@ -317,9 +317,6 @@ var external_this_wp_i18n_ = __webpack_require__(2);
|
|
317 |
var external_this_wp_apiFetch_ = __webpack_require__(27);
|
318 |
var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
|
319 |
|
320 |
-
// EXTERNAL MODULE: external "lodash"
|
321 |
-
var external_lodash_ = __webpack_require__(3);
|
322 |
-
|
323 |
// EXTERNAL MODULE: ./node_modules/interpolate-components/lib/index.js
|
324 |
var lib = __webpack_require__(26);
|
325 |
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
@@ -331,14 +328,14 @@ var settings = __webpack_require__(25);
|
|
331 |
var external_this_wc_components_ = __webpack_require__(47);
|
332 |
|
333 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
334 |
-
var external_this_wc_data_ = __webpack_require__(
|
335 |
|
336 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
|
337 |
var helpers_extends = __webpack_require__(24);
|
338 |
var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
|
339 |
|
340 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
341 |
-
var regenerator = __webpack_require__(
|
342 |
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
343 |
|
344 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
|
@@ -354,7 +351,7 @@ var createClass = __webpack_require__(12);
|
|
354 |
var createClass_default = /*#__PURE__*/__webpack_require__.n(createClass);
|
355 |
|
356 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/assertThisInitialized.js
|
357 |
-
var assertThisInitialized = __webpack_require__(
|
358 |
var assertThisInitialized_default = /*#__PURE__*/__webpack_require__.n(assertThisInitialized);
|
359 |
|
360 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/inherits.js
|
@@ -719,11 +716,81 @@ var bacs_Bacs = /*#__PURE__*/function (_Component) {
|
|
719 |
fill: "white"
|
720 |
})));
|
721 |
});
|
722 |
-
//
|
723 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
724 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
725 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
726 |
-
var external_this_wc_navigation_ = __webpack_require__(
|
727 |
|
728 |
// CONCATENATED MODULE: ./client/task-list/tasks/payments/stripe.js
|
729 |
|
@@ -1374,7 +1441,7 @@ var wcpay_WCPay = /*#__PURE__*/function (_Component) {
|
|
1374 |
return WCPay;
|
1375 |
}(external_this_wp_element_["Component"]);
|
1376 |
|
1377 |
-
/* harmony default export */ var
|
1378 |
var _dispatch = dispatch('core/notices'),
|
1379 |
createNotice = _dispatch.createNotice;
|
1380 |
|
@@ -1382,33 +1449,8 @@ var wcpay_WCPay = /*#__PURE__*/function (_Component) {
|
|
1382 |
createNotice: createNotice
|
1383 |
};
|
1384 |
})(wcpay_WCPay));
|
1385 |
-
// CONCATENATED MODULE: ./client/task-list/tasks/payments/images/wcpay.js
|
1386 |
-
|
1387 |
-
/* harmony default export */ var images_wcpay = (function () {
|
1388 |
-
return Object(external_this_wp_element_["createElement"])("svg", {
|
1389 |
-
width: "100",
|
1390 |
-
height: "64",
|
1391 |
-
viewBox: "-10 0 120 64",
|
1392 |
-
fill: "none",
|
1393 |
-
xmlns: "http://www.w3.org/2000/svg"
|
1394 |
-
}, Object(external_this_wp_element_["createElement"])("path", {
|
1395 |
-
fillRule: "evenodd",
|
1396 |
-
clipRule: "evenodd",
|
1397 |
-
d: "M9.78073 0.5H91.1787C96.3299 0.5 100.5 4.77335 100.5 10.0522V41.8929C100.5 47.1717 96.3299 51.4451 91.1787 51.4451H61.9883L65.9948 61.5L48.3742 51.4451H9.82161C4.67036 51.4451 0.500298 47.1717 0.500298 41.8929V10.0522C0.459415 4.81524 4.62947 0.5 9.78073 0.5Z",
|
1398 |
-
fill: "#7F54B3"
|
1399 |
-
}), Object(external_this_wp_element_["createElement"])("path", {
|
1400 |
-
d: "M5.48791 9.1725C6.06028 8.37648 6.91882 7.95752 8.06354 7.87373C10.1486 7.70615 11.3342 8.71165 11.6204 10.8902C12.8877 19.6464 14.2778 27.0619 15.7495 33.1368L24.7029 15.6663C25.5206 14.0743 26.5426 13.2364 27.7691 13.1526C29.568 13.0269 30.6718 14.2 31.1215 16.6718C32.1436 22.2439 33.4519 26.9781 35.0054 31.0001C36.0684 20.3586 37.8672 12.6917 40.402 7.95753C41.0152 6.78445 41.9146 6.19791 43.1002 6.11412C44.0405 6.03033 44.8991 6.3236 45.6759 6.95203C46.4526 7.58047 46.8615 8.37648 46.9432 9.34008C46.9841 10.0942 46.8615 10.7226 46.5344 11.3511C44.94 14.3676 43.6317 19.4369 42.5688 26.4754C41.5467 33.3044 41.1787 38.6251 41.424 42.4376C41.5058 43.485 41.3423 44.4067 40.9334 45.2027C40.4428 46.1244 39.707 46.6272 38.7666 46.711C37.7037 46.7948 36.5998 46.292 35.5369 45.1608C31.7348 41.1807 28.7094 35.2316 26.5018 27.3133C23.8444 32.6759 21.882 36.6979 20.6146 39.3792C18.2025 44.1134 16.1584 46.5434 14.4413 46.6691C13.3374 46.7529 12.3971 45.7893 11.5795 43.7783C9.49445 38.2899 7.24589 27.6904 4.83379 11.9795C4.71114 10.8902 4.91555 9.92662 5.48791 9.1725Z",
|
1401 |
-
fill: "white"
|
1402 |
-
}), Object(external_this_wp_element_["createElement"])("path", {
|
1403 |
-
d: "M93.3864 15.7499C91.9146 13.1105 89.7478 11.5185 86.8451 10.89C86.0683 10.7225 85.3324 10.6387 84.6374 10.6387C80.7127 10.6387 77.5238 12.7335 75.0299 16.923C72.904 20.4841 71.8411 24.4223 71.8411 28.7376C71.8411 31.9635 72.4952 34.7286 73.8034 37.0329C75.2752 39.6723 77.442 41.2644 80.3447 41.8928C81.1215 42.0604 81.8574 42.1442 82.5524 42.1442C86.518 42.1442 89.7069 40.0494 92.1599 35.8598C94.2858 32.2568 95.3488 28.3186 95.3488 24.0034C95.3488 20.7355 94.6946 18.0123 93.3864 15.7499ZM88.2351 27.355C87.6628 30.1201 86.6407 32.173 85.128 33.5556C83.9424 34.6449 82.8386 35.1057 81.8165 34.8962C80.8353 34.6868 80.0177 33.8069 79.4044 32.173C78.9138 30.8742 78.6685 29.5755 78.6685 28.3605C78.6685 27.3131 78.7503 26.2657 78.9547 25.3021C79.3226 23.5844 80.0177 21.9086 81.1215 20.3166C82.4706 18.2637 83.9015 17.4258 85.3733 17.719C86.3545 17.9285 87.1722 18.8083 87.7854 20.4422C88.276 21.741 88.5213 23.0398 88.5213 24.2547C88.5213 25.344 88.3987 26.3914 88.2351 27.355Z",
|
1404 |
-
fill: "white"
|
1405 |
-
}), Object(external_this_wp_element_["createElement"])("path", {
|
1406 |
-
d: "M67.7528 15.7499C66.281 13.1105 64.0734 11.5185 61.2116 10.89C60.4348 10.7225 59.6989 10.6387 59.0039 10.6387C55.0791 10.6387 51.8903 12.7335 49.3964 16.923C47.2705 20.4841 46.2075 24.4223 46.2075 28.7376C46.2075 31.9635 46.8616 34.7286 48.1699 37.0329C49.6417 39.6723 51.8085 41.2644 54.7112 41.8928C55.488 42.0604 56.2238 42.1442 56.9189 42.1442C60.8845 42.1442 64.0734 40.0494 66.5263 35.8598C68.6523 32.2568 69.7152 28.3186 69.7152 24.0034C69.7152 20.7355 69.0611 18.0123 67.7528 15.7499ZM62.6016 27.355C62.0292 30.1201 61.0071 32.173 59.4945 33.5556C58.3089 34.6449 57.205 35.1057 56.183 34.8962C55.2018 34.6868 54.3841 33.8069 53.7709 32.173C53.2803 30.8742 53.035 29.5755 53.035 28.3605C53.035 27.3131 53.1167 26.2657 53.3212 25.3021C53.6891 23.5844 54.3841 21.9086 55.4879 20.3166C56.8371 18.2637 58.268 17.4258 59.7398 17.719C60.721 17.9285 61.5386 18.8083 62.1519 20.4422C62.6425 21.741 62.8878 23.0398 62.8878 24.2547C62.8878 25.344 62.806 26.3914 62.6016 27.355Z",
|
1407 |
-
fill: "white"
|
1408 |
-
}));
|
1409 |
-
});
|
1410 |
// EXTERNAL MODULE: external {"this":["wp","url"]}
|
1411 |
-
var external_this_wp_url_ = __webpack_require__(
|
1412 |
|
1413 |
// CONCATENATED MODULE: ./client/task-list/tasks/payments/paypal.js
|
1414 |
|
@@ -1431,6 +1473,8 @@ function paypal_createSuper(Derived) { var hasNativeReflectConstruct = paypal_is
|
|
1431 |
|
1432 |
function paypal_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
1433 |
|
|
|
|
|
1434 |
/**
|
1435 |
* External dependencies
|
1436 |
*/
|
@@ -1445,6 +1489,55 @@ function paypal_isNativeReflectConstruct() { if (typeof Reflect === "undefined"
|
|
1445 |
|
1446 |
|
1447 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1448 |
var paypal_PayPal = /*#__PURE__*/function (_Component) {
|
1449 |
inherits_default()(PayPal, _Component);
|
1450 |
|
@@ -1458,10 +1551,10 @@ var paypal_PayPal = /*#__PURE__*/function (_Component) {
|
|
1458 |
_this = _super.call(this, props);
|
1459 |
_this.state = {
|
1460 |
autoConnectFailed: false,
|
1461 |
-
connectURL: ''
|
1462 |
-
isPending: false
|
1463 |
};
|
1464 |
-
_this.
|
|
|
1465 |
_this.validate = _this.validate.bind(assertThisInitialized_default()(_this));
|
1466 |
return _this;
|
1467 |
}
|
@@ -1469,60 +1562,52 @@ var paypal_PayPal = /*#__PURE__*/function (_Component) {
|
|
1469 |
createClass_default()(PayPal, [{
|
1470 |
key: "componentDidMount",
|
1471 |
value: function componentDidMount() {
|
1472 |
-
var
|
1473 |
-
createNotice = _this$props.createNotice,
|
1474 |
-
markConfigured = _this$props.markConfigured;
|
1475 |
var query = Object(external_this_wc_navigation_["getQuery"])(); // Handle redirect back from PayPal
|
1476 |
|
1477 |
-
if (query
|
1478 |
-
if (query
|
1479 |
-
|
1480 |
-
markConfigured('paypal');
|
1481 |
return;
|
1482 |
}
|
1483 |
-
/* eslint-disable react/no-did-mount-set-state */
|
1484 |
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
|
|
|
|
1490 |
|
1491 |
return;
|
1492 |
}
|
1493 |
|
1494 |
-
this.
|
1495 |
}
|
1496 |
}, {
|
1497 |
key: "componentDidUpdate",
|
1498 |
value: function componentDidUpdate(prevProps) {
|
1499 |
var activePlugins = this.props.activePlugins;
|
1500 |
|
1501 |
-
if (!prevProps.activePlugins.includes(
|
1502 |
-
this.
|
1503 |
}
|
1504 |
}
|
1505 |
}, {
|
1506 |
-
key: "
|
1507 |
-
value: function isWooCommerceServicesConnected() {
|
1508 |
-
var _this$props2 = this.props,
|
1509 |
-
activePlugins = _this$props2.activePlugins,
|
1510 |
-
isJetpackConnected = _this$props2.isJetpackConnected,
|
1511 |
-
wcsTosAccepted = _this$props2.wcsTosAccepted;
|
1512 |
-
return isJetpackConnected && wcsTosAccepted && activePlugins.includes('woocommerce-services');
|
1513 |
-
}
|
1514 |
-
}, {
|
1515 |
-
key: "fetchOAuthConnectURL",
|
1516 |
value: function () {
|
1517 |
-
var
|
1518 |
-
var
|
|
|
|
|
|
|
1519 |
return regenerator_default.a.wrap(function _callee$(_context) {
|
1520 |
while (1) {
|
1521 |
switch (_context.prev = _context.next) {
|
1522 |
case 0:
|
1523 |
-
|
1524 |
|
1525 |
-
if (activePlugins.includes(
|
1526 |
_context.next = 3;
|
1527 |
break;
|
1528 |
}
|
@@ -1536,14 +1621,20 @@ var paypal_PayPal = /*#__PURE__*/function (_Component) {
|
|
1536 |
_context.prev = 4;
|
1537 |
_context.next = 7;
|
1538 |
return external_this_wp_apiFetch_default()({
|
1539 |
-
path:
|
1540 |
-
method: 'POST'
|
|
|
|
|
|
|
|
|
|
|
|
|
1541 |
});
|
1542 |
|
1543 |
case 7:
|
1544 |
result = _context.sent;
|
1545 |
|
1546 |
-
if (!(!result || !result.
|
1547 |
_context.next = 11;
|
1548 |
break;
|
1549 |
}
|
@@ -1555,22 +1646,29 @@ var paypal_PayPal = /*#__PURE__*/function (_Component) {
|
|
1555 |
return _context.abrupt("return");
|
1556 |
|
1557 |
case 11:
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
|
|
|
|
1561 |
});
|
1562 |
-
_context.next =
|
1563 |
break;
|
1564 |
|
1565 |
case 14:
|
1566 |
_context.prev = 14;
|
1567 |
_context.t0 = _context["catch"](4);
|
|
|
|
|
|
|
|
|
|
|
1568 |
this.setState({
|
1569 |
autoConnectFailed: true,
|
1570 |
isPending: false
|
1571 |
});
|
1572 |
|
1573 |
-
case
|
1574 |
case "end":
|
1575 |
return _context.stop();
|
1576 |
}
|
@@ -1578,41 +1676,37 @@ var paypal_PayPal = /*#__PURE__*/function (_Component) {
|
|
1578 |
}, _callee, this, [[4, 14]]);
|
1579 |
}));
|
1580 |
|
1581 |
-
function
|
1582 |
-
return
|
1583 |
}
|
1584 |
|
1585 |
-
return
|
1586 |
}()
|
1587 |
}, {
|
1588 |
-
key: "
|
1589 |
value: function () {
|
1590 |
-
var
|
1591 |
-
var _this$
|
1592 |
|
1593 |
return regenerator_default.a.wrap(function _callee2$(_context2) {
|
1594 |
while (1) {
|
1595 |
switch (_context2.prev = _context2.next) {
|
1596 |
case 0:
|
1597 |
-
_this$
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
|
|
|
|
1601 |
|
1602 |
-
if (
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
-
optionValues.email = values.account_email;
|
1607 |
-
} else {
|
1608 |
-
optionValues.api_username = values.api_username;
|
1609 |
-
optionValues.api_password = values.api_password;
|
1610 |
}
|
1611 |
|
1612 |
_context2.next = 5;
|
1613 |
-
return updateOptions(
|
1614 |
-
woocommerce_ppec_paypal_settings: optionValues
|
1615 |
-
});
|
1616 |
|
1617 |
case 5:
|
1618 |
update = _context2.sent;
|
@@ -1632,113 +1726,260 @@ var paypal_PayPal = /*#__PURE__*/function (_Component) {
|
|
1632 |
}, _callee2, this);
|
1633 |
}));
|
1634 |
|
1635 |
-
function
|
1636 |
-
return
|
1637 |
}
|
1638 |
|
1639 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1640 |
}()
|
1641 |
}, {
|
1642 |
key: "getInitialConfigValues",
|
1643 |
value: function getInitialConfigValues() {
|
1644 |
-
|
1645 |
-
|
1646 |
-
|
1647 |
-
|
1648 |
-
account_email: ''
|
1649 |
-
};
|
1650 |
}
|
1651 |
}, {
|
1652 |
key: "validate",
|
1653 |
value: function validate(values) {
|
1654 |
var errors = {};
|
1655 |
|
1656 |
-
if (!values.
|
1657 |
-
errors.
|
1658 |
}
|
1659 |
|
1660 |
-
if (!values.
|
1661 |
-
errors.
|
1662 |
}
|
1663 |
|
1664 |
-
if (
|
1665 |
-
errors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1666 |
}
|
1667 |
|
1668 |
return errors;
|
1669 |
}
|
1670 |
}, {
|
1671 |
-
key: "
|
1672 |
-
value: function
|
1673 |
var isOptionsUpdating = this.props.isOptionsUpdating;
|
1674 |
-
var
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
1679 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1680 |
return Object(external_this_wp_element_["createElement"])(external_this_wc_components_["Form"], {
|
1681 |
-
initialValues:
|
1682 |
-
onSubmitCallback: this.
|
1683 |
validate: this.validate
|
1684 |
-
}, function (
|
1685 |
-
var getInputProps =
|
1686 |
-
handleSubmit =
|
1687 |
-
|
1688 |
-
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, canAutoCreate && Object(external_this_wp_element_["createElement"])("div", {
|
1689 |
-
className: "woocommerce-task-payments__paypal-auto-create-account"
|
1690 |
-
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["CheckboxControl"], extends_default()({
|
1691 |
-
label: Object(external_this_wp_i18n_["__"])('Create a PayPal account for me', 'woocommerce-admin')
|
1692 |
-
}, getInputProps('create_account'))), values.create_account && Object(external_this_wp_element_["createElement"])(external_this_wc_components_["TextControl"], extends_default()({
|
1693 |
label: Object(external_this_wp_i18n_["__"])('Email address', 'woocommerce-admin'),
|
1694 |
-
type: "email"
|
1695 |
-
}, getInputProps('account_email')))), !isPending && (autoConnectFailed || !connectURL) && (!canAutoCreate || !values.create_account) && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wc_components_["TextControl"], extends_default()({
|
1696 |
-
label: Object(external_this_wp_i18n_["__"])('API Username', 'woocommerce-admin'),
|
1697 |
required: true
|
1698 |
-
}, getInputProps('
|
1699 |
-
label: Object(external_this_wp_i18n_["__"])('
|
1700 |
required: true
|
1701 |
-
}, getInputProps('
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
link: Object(external_this_wp_element_["createElement"])(external_this_wc_components_["Link"], {
|
1709 |
-
href: "https://docs.woocommerce.com/document/paypal-express-checkout/#section-8",
|
1710 |
-
target: "_blank",
|
1711 |
-
type: "external"
|
1712 |
-
})
|
1713 |
-
}
|
1714 |
-
}))), canAutoCreate && values.create_account && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
1715 |
-
onClick: handleSubmit,
|
1716 |
-
isPrimary: true,
|
1717 |
-
isBusy: isOptionsUpdating
|
1718 |
-
}, Object(external_this_wp_i18n_["__"])('Create account', 'woocommerce-admin')), !autoConnectFailed && connectURL && (!canAutoCreate || !values.create_account) && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
1719 |
isPrimary: true,
|
1720 |
-
|
1721 |
-
|
|
|
1722 |
});
|
1723 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1724 |
}, {
|
1725 |
key: "getConnectStep",
|
1726 |
value: function getConnectStep() {
|
|
|
1727 |
return {
|
1728 |
key: 'connect',
|
1729 |
label: Object(external_this_wp_i18n_["__"])('Connect your PayPal account', 'woocommerce-admin'),
|
1730 |
description: Object(external_this_wp_i18n_["__"])('A PayPal account is required to process payments. Connect your store to your PayPal account.', 'woocommerce-admin'),
|
1731 |
-
content: this.
|
1732 |
};
|
1733 |
}
|
1734 |
}, {
|
1735 |
key: "render",
|
1736 |
value: function render() {
|
1737 |
-
var
|
|
|
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[6],{
|
2 |
|
3 |
+
/***/ 504:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
28 |
|
29 |
/***/ }),
|
30 |
|
31 |
+
/***/ 506:
|
32 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
33 |
|
34 |
"use strict";
|
35 |
+
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
|
36 |
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
37 |
/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(43);
|
38 |
/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);
|
60 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_12__);
|
61 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47);
|
62 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_13__);
|
63 |
+
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(23);
|
64 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_14__);
|
65 |
|
66 |
|
298 |
|
299 |
/***/ }),
|
300 |
|
301 |
+
/***/ 522:
|
302 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
303 |
|
304 |
"use strict";
|
317 |
var external_this_wp_apiFetch_ = __webpack_require__(27);
|
318 |
var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
|
319 |
|
|
|
|
|
|
|
320 |
// EXTERNAL MODULE: ./node_modules/interpolate-components/lib/index.js
|
321 |
var lib = __webpack_require__(26);
|
322 |
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
328 |
var external_this_wc_components_ = __webpack_require__(47);
|
329 |
|
330 |
// EXTERNAL MODULE: external {"this":["wc","data"]}
|
331 |
+
var external_this_wc_data_ = __webpack_require__(23);
|
332 |
|
333 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
|
334 |
var helpers_extends = __webpack_require__(24);
|
335 |
var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
|
336 |
|
337 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
338 |
+
var regenerator = __webpack_require__(8);
|
339 |
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
340 |
|
341 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
|
351 |
var createClass_default = /*#__PURE__*/__webpack_require__.n(createClass);
|
352 |
|
353 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/assertThisInitialized.js
|
354 |
+
var assertThisInitialized = __webpack_require__(9);
|
355 |
var assertThisInitialized_default = /*#__PURE__*/__webpack_require__.n(assertThisInitialized);
|
356 |
|
357 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/inherits.js
|
716 |
fill: "white"
|
717 |
})));
|
718 |
});
|
719 |
+
// CONCATENATED MODULE: ./client/task-list/tasks/payments/images/wcpay.js
|
720 |
+
|
721 |
+
/* harmony default export */ var wcpay = (function () {
|
722 |
+
return Object(external_this_wp_element_["createElement"])("svg", {
|
723 |
+
width: "100",
|
724 |
+
height: "64",
|
725 |
+
viewBox: "-10 0 120 64",
|
726 |
+
fill: "none",
|
727 |
+
xmlns: "http://www.w3.org/2000/svg"
|
728 |
+
}, Object(external_this_wp_element_["createElement"])("path", {
|
729 |
+
fillRule: "evenodd",
|
730 |
+
clipRule: "evenodd",
|
731 |
+
d: "M9.78073 0.5H91.1787C96.3299 0.5 100.5 4.77335 100.5 10.0522V41.8929C100.5 47.1717 96.3299 51.4451 91.1787 51.4451H61.9883L65.9948 61.5L48.3742 51.4451H9.82161C4.67036 51.4451 0.500298 47.1717 0.500298 41.8929V10.0522C0.459415 4.81524 4.62947 0.5 9.78073 0.5Z",
|
732 |
+
fill: "#7F54B3"
|
733 |
+
}), Object(external_this_wp_element_["createElement"])("path", {
|
734 |
+
d: "M5.48791 9.1725C6.06028 8.37648 6.91882 7.95752 8.06354 7.87373C10.1486 7.70615 11.3342 8.71165 11.6204 10.8902C12.8877 19.6464 14.2778 27.0619 15.7495 33.1368L24.7029 15.6663C25.5206 14.0743 26.5426 13.2364 27.7691 13.1526C29.568 13.0269 30.6718 14.2 31.1215 16.6718C32.1436 22.2439 33.4519 26.9781 35.0054 31.0001C36.0684 20.3586 37.8672 12.6917 40.402 7.95753C41.0152 6.78445 41.9146 6.19791 43.1002 6.11412C44.0405 6.03033 44.8991 6.3236 45.6759 6.95203C46.4526 7.58047 46.8615 8.37648 46.9432 9.34008C46.9841 10.0942 46.8615 10.7226 46.5344 11.3511C44.94 14.3676 43.6317 19.4369 42.5688 26.4754C41.5467 33.3044 41.1787 38.6251 41.424 42.4376C41.5058 43.485 41.3423 44.4067 40.9334 45.2027C40.4428 46.1244 39.707 46.6272 38.7666 46.711C37.7037 46.7948 36.5998 46.292 35.5369 45.1608C31.7348 41.1807 28.7094 35.2316 26.5018 27.3133C23.8444 32.6759 21.882 36.6979 20.6146 39.3792C18.2025 44.1134 16.1584 46.5434 14.4413 46.6691C13.3374 46.7529 12.3971 45.7893 11.5795 43.7783C9.49445 38.2899 7.24589 27.6904 4.83379 11.9795C4.71114 10.8902 4.91555 9.92662 5.48791 9.1725Z",
|
735 |
+
fill: "white"
|
736 |
+
}), Object(external_this_wp_element_["createElement"])("path", {
|
737 |
+
d: "M93.3864 15.7499C91.9146 13.1105 89.7478 11.5185 86.8451 10.89C86.0683 10.7225 85.3324 10.6387 84.6374 10.6387C80.7127 10.6387 77.5238 12.7335 75.0299 16.923C72.904 20.4841 71.8411 24.4223 71.8411 28.7376C71.8411 31.9635 72.4952 34.7286 73.8034 37.0329C75.2752 39.6723 77.442 41.2644 80.3447 41.8928C81.1215 42.0604 81.8574 42.1442 82.5524 42.1442C86.518 42.1442 89.7069 40.0494 92.1599 35.8598C94.2858 32.2568 95.3488 28.3186 95.3488 24.0034C95.3488 20.7355 94.6946 18.0123 93.3864 15.7499ZM88.2351 27.355C87.6628 30.1201 86.6407 32.173 85.128 33.5556C83.9424 34.6449 82.8386 35.1057 81.8165 34.8962C80.8353 34.6868 80.0177 33.8069 79.4044 32.173C78.9138 30.8742 78.6685 29.5755 78.6685 28.3605C78.6685 27.3131 78.7503 26.2657 78.9547 25.3021C79.3226 23.5844 80.0177 21.9086 81.1215 20.3166C82.4706 18.2637 83.9015 17.4258 85.3733 17.719C86.3545 17.9285 87.1722 18.8083 87.7854 20.4422C88.276 21.741 88.5213 23.0398 88.5213 24.2547C88.5213 25.344 88.3987 26.3914 88.2351 27.355Z",
|
738 |
+
fill: "white"
|
739 |
+
}), Object(external_this_wp_element_["createElement"])("path", {
|
740 |
+
d: "M67.7528 15.7499C66.281 13.1105 64.0734 11.5185 61.2116 10.89C60.4348 10.7225 59.6989 10.6387 59.0039 10.6387C55.0791 10.6387 51.8903 12.7335 49.3964 16.923C47.2705 20.4841 46.2075 24.4223 46.2075 28.7376C46.2075 31.9635 46.8616 34.7286 48.1699 37.0329C49.6417 39.6723 51.8085 41.2644 54.7112 41.8928C55.488 42.0604 56.2238 42.1442 56.9189 42.1442C60.8845 42.1442 64.0734 40.0494 66.5263 35.8598C68.6523 32.2568 69.7152 28.3186 69.7152 24.0034C69.7152 20.7355 69.0611 18.0123 67.7528 15.7499ZM62.6016 27.355C62.0292 30.1201 61.0071 32.173 59.4945 33.5556C58.3089 34.6449 57.205 35.1057 56.183 34.8962C55.2018 34.6868 54.3841 33.8069 53.7709 32.173C53.2803 30.8742 53.035 29.5755 53.035 28.3605C53.035 27.3131 53.1167 26.2657 53.3212 25.3021C53.6891 23.5844 54.3841 21.9086 55.4879 20.3166C56.8371 18.2637 58.268 17.4258 59.7398 17.719C60.721 17.9285 61.5386 18.8083 62.1519 20.4422C62.6425 21.741 62.8878 23.0398 62.8878 24.2547C62.8878 25.344 62.806 26.3914 62.6016 27.355Z",
|
741 |
+
fill: "white"
|
742 |
+
}));
|
743 |
+
});
|
744 |
+
// CONCATENATED MODULE: ./client/task-list/tasks/payments/images/razorpay.js
|
745 |
|
746 |
+
/* harmony default export */ var razorpay = (function () {
|
747 |
+
return Object(external_this_wp_element_["createElement"])("svg", {
|
748 |
+
xmlns: "http://www.w3.org/2000/svg",
|
749 |
+
width: "100",
|
750 |
+
height: "24",
|
751 |
+
fill: "#072654",
|
752 |
+
viewBox: "0 0 1896 401"
|
753 |
+
}, Object(external_this_wp_element_["createElement"])("path", {
|
754 |
+
fill: "#3395FF",
|
755 |
+
d: "M122.63 105.7l-15.75 57.97 90.15-58.3-58.96 219.98 59.88.05L285.05.48"
|
756 |
+
}), Object(external_this_wp_element_["createElement"])("path", {
|
757 |
+
d: "M25.6 232.92L.8 325.4h122.73l50.22-188.13L25.6 232.92m426.32-81.42c-3 11.15-8.78 19.34-17.4 24.57-8.6 5.22-20.67 7.84-36.25 7.84h-49.5l17.38-64.8h49.5c15.56 0 26.25 2.6 32.05 7.9 5.8 5.3 7.2 13.4 4.22 24.6m51.25-1.4c6.3-23.4 3.7-41.4-7.82-54-11.5-12.5-31.68-18.8-60.48-18.8H324.4l-66.5 248.1h53.67l26.8-100h35.2c7.9 0 14.12 1.3 18.66 3.8 4.55 2.6 7.22 7.1 8.04 13.6l9.58 82.6h57.5l-9.32-77c-1.9-17.2-9.77-27.3-23.6-30.3 17.63-5.1 32.4-13.6 44.3-25.4a92.6 92.6 0 0 0 24.44-42.5m130.46 86.4c-4.5 16.8-11.4 29.5-20.73 38.4-9.34 8.9-20.5 13.3-33.52 13.3-13.26 0-22.25-4.3-27-13-4.76-8.7-4.92-21.3-.5-37.8 4.42-16.5 11.47-29.4 21.17-38.7 9.7-9.3 21.04-13.95 34.06-13.95 13 0 21.9 4.5 26.4 13.43 4.6 8.97 4.7 21.8.2 38.5zm23.52-87.8l-6.72 25.1c-2.9-9-8.53-16.2-16.85-21.6-8.34-5.3-18.66-8-30.97-8-15.1 0-29.6 3.9-43.5 11.7-13.9 7.8-26.1 18.8-36.5 33-10.4 14.2-18 30.3-22.9 48.4-4.8 18.2-5.8 34.1-2.9 47.9 3 13.9 9.3 24.5 19 31.9 9.8 7.5 22.3 11.2 37.6 11.2a82.4 82.4 0 0 0 35.2-7.7 82.11 82.11 0 0 0 28.4-21.2l-7 26.16h51.9L709.3 149h-52zm238.65 0H744.87l-10.55 39.4h87.82l-116.1 100.3-9.92 37h155.8l10.55-39.4h-94.1l117.88-101.8m142.4 52c-4.67 17.4-11.6 30.48-20.75 39-9.15 8.6-20.23 12.9-33.24 12.9-27.2 0-36.14-17.3-26.86-51.9 4.6-17.2 11.56-30.13 20.86-38.84 9.3-8.74 20.57-13.1 33.82-13.1 13 0 21.78 4.33 26.3 13.05 4.52 8.7 4.48 21.67-.13 38.87m30.38-80.83c-11.95-7.44-27.2-11.16-45.8-11.16-18.83 0-36.26 3.7-52.3 11.1a113.09 113.09 0 0 0-41 32.06c-11.3 13.9-19.43 30.2-24.42 48.8-4.9 18.53-5.5 34.8-1.7 48.73 3.8 13.9 11.8 24.6 23.8 32 12.1 7.46 27.5 11.17 46.4 11.17 18.6 0 35.9-3.74 51.8-11.18 15.9-7.48 29.5-18.1 40.8-32.1 11.3-13.94 19.4-30.2 24.4-48.8 5-18.6 5.6-34.84 1.8-48.8-3.8-13.9-11.7-24.6-23.6-32.05m185.1 40.8l13.3-48.1c-4.5-2.3-10.4-3.5-17.8-3.5-11.9 0-23.3 2.94-34.3 8.9-9.46 5.06-17.5 12.2-24.3 21.14l6.9-25.9-15.07.06h-37l-47.7 176.7h52.63l24.75-92.37c3.6-13.43 10.08-24 19.43-31.5 9.3-7.53 20.9-11.3 34.9-11.3 8.6 0 16.6 1.97 24.2 5.9m146.5 41.1c-4.5 16.5-11.3 29.1-20.6 37.8-9.3 8.74-20.5 13.1-33.5 13.1s-21.9-4.4-26.6-13.2c-4.8-8.85-4.9-21.6-.4-38.36 4.5-16.75 11.4-29.6 20.9-38.5 9.5-8.97 20.7-13.45 33.7-13.45 12.8 0 21.4 4.6 26 13.9 4.6 9.3 4.7 22.2.28 38.7m36.8-81.4c-9.75-7.8-22.2-11.7-37.3-11.7-13.23 0-25.84 3-37.8 9.06-11.95 6.05-21.65 14.3-29.1 24.74l.18-1.2 8.83-28.1h-51.4l-13.1 48.9-.4 1.7-54 201.44h52.7l27.2-101.4c2.7 9.02 8.2 16.1 16.6 21.22 8.4 5.1 18.77 7.63 31.1 7.63 15.3 0 29.9-3.7 43.75-11.1 13.9-7.42 25.9-18.1 36.1-31.9 10.2-13.8 17.77-29.8 22.6-47.9 4.9-18.13 5.9-34.3 3.1-48.45-2.85-14.17-9.16-25.14-18.9-32.9m174.65 80.65c-4.5 16.7-11.4 29.5-20.7 38.3-9.3 8.86-20.5 13.27-33.5 13.27-13.3 0-22.3-4.3-27-13-4.8-8.7-4.9-21.3-.5-37.8 4.4-16.5 11.42-29.4 21.12-38.7 9.7-9.3 21.05-13.94 34.07-13.94 13 0 21.8 4.5 26.4 13.4 4.6 8.93 4.63 21.76.15 38.5zm23.5-87.85l-6.73 25.1c-2.9-9.05-8.5-16.25-16.8-21.6-8.4-5.34-18.7-8-31-8-15.1 0-29.68 3.9-43.6 11.7-13.9 7.8-26.1 18.74-36.5 32.9-10.4 14.16-18 30.3-22.9 48.4-4.85 18.17-5.8 34.1-2.9 47.96 2.93 13.8 9.24 24.46 19 31.9 9.74 7.4 22.3 11.14 37.6 11.14 12.3 0 24.05-2.56 35.2-7.7a82.3 82.3 0 0 0 28.33-21.23l-7 26.18h51.9l47.38-176.7h-51.9zm269.87.06l.03-.05h-31.9c-1.02 0-1.92.05-2.85.07h-16.55l-8.5 11.8-2.1 2.8-.9 1.4-67.25 93.68-13.9-109.7h-55.08l27.9 166.7-61.6 85.3h54.9l14.9-21.13c.42-.62.8-1.14 1.3-1.8l17.4-24.7.5-.7 77.93-110.5 65.7-93 .1-.06h-.03z"
|
758 |
+
}));
|
759 |
+
});
|
760 |
+
// CONCATENATED MODULE: ./client/task-list/tasks/payments/images/mollie.js
|
761 |
+
|
762 |
+
var mollie_MollieLogo = function MollieLogo() {
|
763 |
+
return Object(external_this_wp_element_["createElement"])("svg", {
|
764 |
+
fill: "none",
|
765 |
+
viewBox: "0 0 677 200",
|
766 |
+
width: "100",
|
767 |
+
xmlns: "http://www.w3.org/2000/svg"
|
768 |
+
}, Object(external_this_wp_element_["createElement"])("g", {
|
769 |
+
fill: "#000"
|
770 |
+
}, Object(external_this_wp_element_["createElement"])("path", {
|
771 |
+
clipRule: "evenodd",
|
772 |
+
d: "m286.342 65.3132c-37.175 0-67.35 30.2415-67.35 67.3438 0 37.101 30.245 67.343 67.35 67.343 37.106 0 67.35-30.242 67.35-67.343 0-37.1023-30.174-67.3438-67.35-67.3438zm0 102.8348c-19.533 0-35.425-15.89-35.425-35.421s15.892-35.4222 35.425-35.4222 35.426 15.8912 35.426 35.4222-15.893 35.421-35.426 35.421z",
|
773 |
+
fillRule: "evenodd"
|
774 |
+
}), Object(external_this_wp_element_["createElement"])("path", {
|
775 |
+
d: "m510.375 42.0021c11.6 0 21.003-9.4025 21.003-21.0011 0-11.59851-9.403-21.001-21.003-21.001-11.599 0-21.003 9.40249-21.003 21.001 0 11.5986 9.404 21.0011 21.003 21.0011z"
|
776 |
+
}), Object(external_this_wp_element_["createElement"])("path", {
|
777 |
+
clipRule: "evenodd",
|
778 |
+
d: "m148.842 65.3833c-1.75-.14-3.431-.21-5.181-.21-16.242 0-31.644 6.6503-42.706 18.4109-11.0617-11.6906-26.394-18.4109-42.4964-18.4109-32.2047 0-58.4586 26.1813-58.4586 58.3827v73.714h31.5047v-72.804c0-13.37 10.9916-25.691 23.9435-27.0211.9101-.07 1.8203-.14 2.6604-.14 14.5621 0 26.4639 11.9001 26.5339 26.4611v73.504h32.2045v-72.944c0-13.3 10.922-25.621 23.944-26.9511.91-.07 1.82-.14 2.66-.14 14.562 0 26.534 11.8301 26.604 26.3211v73.714h32.205v-72.804c0-14.77-5.461-28.9812-15.332-39.9717-9.872-11.0606-23.384-17.8509-38.086-19.111z",
|
779 |
+
fillRule: "evenodd"
|
780 |
+
}), Object(external_this_wp_element_["createElement"])("path", {
|
781 |
+
d: "m403.26 3.15015h-32.205v194.25985h32.205z"
|
782 |
+
}), Object(external_this_wp_element_["createElement"])("path", {
|
783 |
+
d: "m464.869 3.15015h-32.205v194.25985h32.205z"
|
784 |
+
}), Object(external_this_wp_element_["createElement"])("path", {
|
785 |
+
d: "m526.478 68.5334h-32.205v128.8066h32.205z"
|
786 |
+
}), Object(external_this_wp_element_["createElement"])("path", {
|
787 |
+
clipRule: "evenodd",
|
788 |
+
d: "m677 129.646c0-17.08-6.651-33.1812-18.693-45.4318-12.112-12.2506-28.074-19.0409-45.086-19.0409-.28 0-.561 0-.841 0-17.642.21-34.305 7.2103-46.766 19.741-12.462 12.5306-19.463 29.1217-19.673 46.8327-.21 18.06 6.721 35.141 19.533 48.092 12.811 12.951 29.754 20.091 47.817 20.091h.07c23.663 0 45.856-12.671 57.968-33.042l1.54-2.59-26.604-13.09-1.33 2.17c-6.651 10.99-18.202 17.501-31.014 17.501-16.383 0-30.525-10.921-34.866-26.462h97.945zm-65.04-35.2113c14.703 0 27.864 9.6603 32.485 23.3813h-64.899c4.55-13.721 17.712-23.3813 32.414-23.3813z",
|
789 |
+
fillRule: "evenodd"
|
790 |
+
})));
|
791 |
+
};
|
792 |
// EXTERNAL MODULE: external {"this":["wc","navigation"]}
|
793 |
+
var external_this_wc_navigation_ = __webpack_require__(21);
|
794 |
|
795 |
// CONCATENATED MODULE: ./client/task-list/tasks/payments/stripe.js
|
796 |
|
1441 |
return WCPay;
|
1442 |
}(external_this_wp_element_["Component"]);
|
1443 |
|
1444 |
+
/* harmony default export */ var payments_wcpay = (Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
|
1445 |
var _dispatch = dispatch('core/notices'),
|
1446 |
createNotice = _dispatch.createNotice;
|
1447 |
|
1449 |
createNotice: createNotice
|
1450 |
};
|
1451 |
})(wcpay_WCPay));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1452 |
// EXTERNAL MODULE: external {"this":["wp","url"]}
|
1453 |
+
var external_this_wp_url_ = __webpack_require__(22);
|
1454 |
|
1455 |
// CONCATENATED MODULE: ./client/task-list/tasks/payments/paypal.js
|
1456 |
|
1473 |
|
1474 |
function paypal_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
1475 |
|
1476 |
+
/* global ppcp_onboarding */
|
1477 |
+
|
1478 |
/**
|
1479 |
* External dependencies
|
1480 |
*/
|
1489 |
|
1490 |
|
1491 |
|
1492 |
+
var PAYPAL_PLUGIN = 'woocommerce-paypal-payments';
|
1493 |
+
var WC_PAYPAL_NAMESPACE = '/wc-paypal/v1';
|
1494 |
+
/**
|
1495 |
+
* Loads the onboarding script file into the dom on the fly.
|
1496 |
+
*
|
1497 |
+
* @param {string} url of the onboarding js file.
|
1498 |
+
* @param {Object} data required for the onboarding script, labeled as PayPalCommerceGatewayOnboarding
|
1499 |
+
* @param {Function} onLoad callback for when the script is loaded.
|
1500 |
+
*/
|
1501 |
+
|
1502 |
+
function loadOnboardingScript(url, data, onLoad) {
|
1503 |
+
try {
|
1504 |
+
// eslint-disable-next-line camelcase
|
1505 |
+
if (ppcp_onboarding) {
|
1506 |
+
onLoad();
|
1507 |
+
}
|
1508 |
+
} catch (e) {
|
1509 |
+
var script = document.createElement('script');
|
1510 |
+
script.src = url;
|
1511 |
+
document.body.append(script); // Callback after scripts have loaded.
|
1512 |
+
|
1513 |
+
script.onload = function () {
|
1514 |
+
onLoad();
|
1515 |
+
};
|
1516 |
+
|
1517 |
+
window.PayPalCommerceGatewayOnboarding = data;
|
1518 |
+
}
|
1519 |
+
}
|
1520 |
+
|
1521 |
+
function PaypalConnectButton(_ref) {
|
1522 |
+
var connectUrl = _ref.connectUrl;
|
1523 |
+
Object(external_this_wp_element_["useEffect"])(function () {
|
1524 |
+
// eslint-disable-next-line camelcase
|
1525 |
+
if (ppcp_onboarding) {
|
1526 |
+
// Makes sure the onboarding is hooked up to the Connect button rendered.
|
1527 |
+
ppcp_onboarding.reload();
|
1528 |
+
}
|
1529 |
+
}, []);
|
1530 |
+
return Object(external_this_wp_element_["createElement"])("a", {
|
1531 |
+
className: "button-primary",
|
1532 |
+
target: "_blank",
|
1533 |
+
rel: "noreferrer",
|
1534 |
+
href: connectUrl,
|
1535 |
+
"data-paypal-onboard-button": "true",
|
1536 |
+
"data-paypal-button": "true",
|
1537 |
+
"data-paypal-onboard-complete": "ppcp_onboarding_productionCallback"
|
1538 |
+
}, Object(external_this_wp_i18n_["__"])('Connect', 'woocommerce-admin'));
|
1539 |
+
}
|
1540 |
+
|
1541 |
var paypal_PayPal = /*#__PURE__*/function (_Component) {
|
1542 |
inherits_default()(PayPal, _Component);
|
1543 |
|
1551 |
_this = _super.call(this, props);
|
1552 |
_this.state = {
|
1553 |
autoConnectFailed: false,
|
1554 |
+
connectURL: ''
|
|
|
1555 |
};
|
1556 |
+
_this.enablePaypalPlugin = _this.enablePaypalPlugin.bind(assertThisInitialized_default()(_this));
|
1557 |
+
_this.setCredentials = _this.setCredentials.bind(assertThisInitialized_default()(_this));
|
1558 |
_this.validate = _this.validate.bind(assertThisInitialized_default()(_this));
|
1559 |
return _this;
|
1560 |
}
|
1562 |
createClass_default()(PayPal, [{
|
1563 |
key: "componentDidMount",
|
1564 |
value: function componentDidMount() {
|
1565 |
+
var createNotice = this.props.createNotice;
|
|
|
|
|
1566 |
var query = Object(external_this_wc_navigation_["getQuery"])(); // Handle redirect back from PayPal
|
1567 |
|
1568 |
+
if (query.onboarding) {
|
1569 |
+
if (query.onboarding === 'complete' && !query['ppcp-onboarding-error']) {
|
1570 |
+
this.enablePaypalPlugin();
|
|
|
1571 |
return;
|
1572 |
}
|
|
|
1573 |
|
1574 |
+
if (query['ppcp-onboarding-error']) {
|
1575 |
+
/* eslint-disable react/no-did-mount-set-state */
|
1576 |
+
this.setState({
|
1577 |
+
autoConnectFailed: true
|
1578 |
+
});
|
1579 |
+
createNotice('error', Object(external_this_wp_i18n_["__"])('There was a problem saving your payment settings through the onboarding, please fill the fields in manually.', 'woocommerce-admin'));
|
1580 |
+
}
|
1581 |
|
1582 |
return;
|
1583 |
}
|
1584 |
|
1585 |
+
this.fetchOAuthConnectURLAndOnboardingSetup();
|
1586 |
}
|
1587 |
}, {
|
1588 |
key: "componentDidUpdate",
|
1589 |
value: function componentDidUpdate(prevProps) {
|
1590 |
var activePlugins = this.props.activePlugins;
|
1591 |
|
1592 |
+
if (!prevProps.activePlugins.includes(PAYPAL_PLUGIN) && activePlugins.includes(PAYPAL_PLUGIN)) {
|
1593 |
+
this.fetchOAuthConnectURLAndOnboardingSetup();
|
1594 |
}
|
1595 |
}
|
1596 |
}, {
|
1597 |
+
key: "fetchOAuthConnectURLAndOnboardingSetup",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1598 |
value: function () {
|
1599 |
+
var _fetchOAuthConnectURLAndOnboardingSetup = asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() {
|
1600 |
+
var _this2 = this;
|
1601 |
+
|
1602 |
+
var _this$props, activePlugins, createNotice, result;
|
1603 |
+
|
1604 |
return regenerator_default.a.wrap(function _callee$(_context) {
|
1605 |
while (1) {
|
1606 |
switch (_context.prev = _context.next) {
|
1607 |
case 0:
|
1608 |
+
_this$props = this.props, activePlugins = _this$props.activePlugins, createNotice = _this$props.createNotice;
|
1609 |
|
1610 |
+
if (activePlugins.includes(PAYPAL_PLUGIN)) {
|
1611 |
_context.next = 3;
|
1612 |
break;
|
1613 |
}
|
1621 |
_context.prev = 4;
|
1622 |
_context.next = 7;
|
1623 |
return external_this_wp_apiFetch_default()({
|
1624 |
+
path: WC_PAYPAL_NAMESPACE + '/onboarding/get-params',
|
1625 |
+
method: 'POST',
|
1626 |
+
data: {
|
1627 |
+
environment: 'production',
|
1628 |
+
returnUrlArgs: {
|
1629 |
+
ppcpobw: '1'
|
1630 |
+
}
|
1631 |
+
}
|
1632 |
});
|
1633 |
|
1634 |
case 7:
|
1635 |
result = _context.sent;
|
1636 |
|
1637 |
+
if (!(!result || !result.signupLink)) {
|
1638 |
_context.next = 11;
|
1639 |
break;
|
1640 |
}
|
1646 |
return _context.abrupt("return");
|
1647 |
|
1648 |
case 11:
|
1649 |
+
loadOnboardingScript(result.scriptURL, result.scriptData, function () {
|
1650 |
+
_this2.setState({
|
1651 |
+
connectURL: result.signupLink,
|
1652 |
+
isPending: false
|
1653 |
+
});
|
1654 |
});
|
1655 |
+
_context.next = 18;
|
1656 |
break;
|
1657 |
|
1658 |
case 14:
|
1659 |
_context.prev = 14;
|
1660 |
_context.t0 = _context["catch"](4);
|
1661 |
+
|
1662 |
+
if (_context.t0 && _context.t0.data && _context.t0.data.status === 500) {
|
1663 |
+
createNotice('error', Object(external_this_wp_i18n_["__"])('There was a problem with the Paypal onboarding setup, please fill the fields in manually.', 'woocommerce-admin'));
|
1664 |
+
}
|
1665 |
+
|
1666 |
this.setState({
|
1667 |
autoConnectFailed: true,
|
1668 |
isPending: false
|
1669 |
});
|
1670 |
|
1671 |
+
case 18:
|
1672 |
case "end":
|
1673 |
return _context.stop();
|
1674 |
}
|
1676 |
}, _callee, this, [[4, 14]]);
|
1677 |
}));
|
1678 |
|
1679 |
+
function fetchOAuthConnectURLAndOnboardingSetup() {
|
1680 |
+
return _fetchOAuthConnectURLAndOnboardingSetup.apply(this, arguments);
|
1681 |
}
|
1682 |
|
1683 |
+
return fetchOAuthConnectURLAndOnboardingSetup;
|
1684 |
}()
|
1685 |
}, {
|
1686 |
+
key: "enablePaypalPlugin",
|
1687 |
value: function () {
|
1688 |
+
var _enablePaypalPlugin = asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee2(skipPpcpSettingsUpdate) {
|
1689 |
+
var _this$props2, createNotice, updateOptions, markConfigured, options, updatedOptions, update;
|
1690 |
|
1691 |
return regenerator_default.a.wrap(function _callee2$(_context2) {
|
1692 |
while (1) {
|
1693 |
switch (_context2.prev = _context2.next) {
|
1694 |
case 0:
|
1695 |
+
_this$props2 = this.props, createNotice = _this$props2.createNotice, updateOptions = _this$props2.updateOptions, markConfigured = _this$props2.markConfigured, options = _this$props2.options;
|
1696 |
+
updatedOptions = {
|
1697 |
+
'woocommerce_ppcp-gateway_settings': {
|
1698 |
+
enabled: 'yes'
|
1699 |
+
}
|
1700 |
+
};
|
1701 |
|
1702 |
+
if (!skipPpcpSettingsUpdate) {
|
1703 |
+
updatedOptions['woocommerce-ppcp-settings'] = paypal_objectSpread(paypal_objectSpread({}, options), {}, {
|
1704 |
+
enabled: true
|
1705 |
+
});
|
|
|
|
|
|
|
|
|
1706 |
}
|
1707 |
|
1708 |
_context2.next = 5;
|
1709 |
+
return updateOptions(updatedOptions);
|
|
|
|
|
1710 |
|
1711 |
case 5:
|
1712 |
update = _context2.sent;
|
1726 |
}, _callee2, this);
|
1727 |
}));
|
1728 |
|
1729 |
+
function enablePaypalPlugin(_x) {
|
1730 |
+
return _enablePaypalPlugin.apply(this, arguments);
|
1731 |
}
|
1732 |
|
1733 |
+
return enablePaypalPlugin;
|
1734 |
+
}()
|
1735 |
+
}, {
|
1736 |
+
key: "setCredentials",
|
1737 |
+
value: function () {
|
1738 |
+
var _setCredentials = asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee3(values) {
|
1739 |
+
var createNotice, result;
|
1740 |
+
return regenerator_default.a.wrap(function _callee3$(_context3) {
|
1741 |
+
while (1) {
|
1742 |
+
switch (_context3.prev = _context3.next) {
|
1743 |
+
case 0:
|
1744 |
+
createNotice = this.props.createNotice;
|
1745 |
+
_context3.prev = 1;
|
1746 |
+
_context3.next = 4;
|
1747 |
+
return external_this_wp_apiFetch_default()({
|
1748 |
+
path: WC_PAYPAL_NAMESPACE + '/onboarding/set-credentials',
|
1749 |
+
method: 'POST',
|
1750 |
+
data: paypal_objectSpread({
|
1751 |
+
environment: 'production'
|
1752 |
+
}, values)
|
1753 |
+
});
|
1754 |
+
|
1755 |
+
case 4:
|
1756 |
+
result = _context3.sent;
|
1757 |
+
|
1758 |
+
if (!(result && result.data)) {
|
1759 |
+
_context3.next = 9;
|
1760 |
+
break;
|
1761 |
+
}
|
1762 |
+
|
1763 |
+
createNotice('error', Object(external_this_wp_i18n_["__"])('There was a problem updating the credentials.', 'woocommerce-admin'));
|
1764 |
+
_context3.next = 11;
|
1765 |
+
break;
|
1766 |
+
|
1767 |
+
case 9:
|
1768 |
+
_context3.next = 11;
|
1769 |
+
return this.enablePaypalPlugin(true);
|
1770 |
+
|
1771 |
+
case 11:
|
1772 |
+
_context3.next = 18;
|
1773 |
+
break;
|
1774 |
+
|
1775 |
+
case 13:
|
1776 |
+
_context3.prev = 13;
|
1777 |
+
_context3.t0 = _context3["catch"](1);
|
1778 |
+
|
1779 |
+
if (!(_context3.t0 && _context3.t0.data && _context3.t0.data.status === 404)) {
|
1780 |
+
_context3.next = 18;
|
1781 |
+
break;
|
1782 |
+
}
|
1783 |
+
|
1784 |
+
_context3.next = 18;
|
1785 |
+
return this.updateManualSettings(values);
|
1786 |
+
|
1787 |
+
case 18:
|
1788 |
+
case "end":
|
1789 |
+
return _context3.stop();
|
1790 |
+
}
|
1791 |
+
}
|
1792 |
+
}, _callee3, this, [[1, 13]]);
|
1793 |
+
}));
|
1794 |
+
|
1795 |
+
function setCredentials(_x2) {
|
1796 |
+
return _setCredentials.apply(this, arguments);
|
1797 |
+
}
|
1798 |
+
|
1799 |
+
return setCredentials;
|
1800 |
+
}()
|
1801 |
+
}, {
|
1802 |
+
key: "updateManualSettings",
|
1803 |
+
value: function () {
|
1804 |
+
var _updateManualSettings = asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee4(values) {
|
1805 |
+
var _this$props3, createNotice, options, updateOptions, markConfigured, productionValues, optionValues, update;
|
1806 |
+
|
1807 |
+
return regenerator_default.a.wrap(function _callee4$(_context4) {
|
1808 |
+
while (1) {
|
1809 |
+
switch (_context4.prev = _context4.next) {
|
1810 |
+
case 0:
|
1811 |
+
_this$props3 = this.props, createNotice = _this$props3.createNotice, options = _this$props3.options, updateOptions = _this$props3.updateOptions, markConfigured = _this$props3.markConfigured;
|
1812 |
+
productionValues = Object.keys(values).reduce(function (vals, key) {
|
1813 |
+
var prodKey = key + '_production';
|
1814 |
+
return paypal_objectSpread(paypal_objectSpread({}, vals), {}, defineProperty_default()({}, prodKey, values[key]));
|
1815 |
+
}, {});
|
1816 |
+
/**
|
1817 |
+
* merchant data can be the same across sandbox and production, that's why we set it as
|
1818 |
+
* standalone as well.
|
1819 |
+
*/
|
1820 |
+
|
1821 |
+
optionValues = paypal_objectSpread(paypal_objectSpread({}, options), {}, {
|
1822 |
+
enabled: true,
|
1823 |
+
sandbox_on: false,
|
1824 |
+
merchant_email: values.merchant_email,
|
1825 |
+
merchant_id: values.merchant_id
|
1826 |
+
}, productionValues);
|
1827 |
+
_context4.next = 5;
|
1828 |
+
return updateOptions({
|
1829 |
+
'woocommerce-ppcp-settings': optionValues,
|
1830 |
+
'woocommerce_ppcp-gateway_settings': {
|
1831 |
+
enabled: 'yes'
|
1832 |
+
}
|
1833 |
+
});
|
1834 |
+
|
1835 |
+
case 5:
|
1836 |
+
update = _context4.sent;
|
1837 |
+
|
1838 |
+
if (update.success) {
|
1839 |
+
createNotice('success', Object(external_this_wp_i18n_["__"])('PayPal connected successfully.', 'woocommerce-admin'));
|
1840 |
+
markConfigured('paypal');
|
1841 |
+
} else {
|
1842 |
+
createNotice('error', Object(external_this_wp_i18n_["__"])('There was a problem saving your payment settings.', 'woocommerce-admin'));
|
1843 |
+
}
|
1844 |
+
|
1845 |
+
case 7:
|
1846 |
+
case "end":
|
1847 |
+
return _context4.stop();
|
1848 |
+
}
|
1849 |
+
}
|
1850 |
+
}, _callee4, this);
|
1851 |
+
}));
|
1852 |
+
|
1853 |
+
function updateManualSettings(_x3) {
|
1854 |
+
return _updateManualSettings.apply(this, arguments);
|
1855 |
+
}
|
1856 |
+
|
1857 |
+
return updateManualSettings;
|
1858 |
}()
|
1859 |
}, {
|
1860 |
key: "getInitialConfigValues",
|
1861 |
value: function getInitialConfigValues() {
|
1862 |
+
var options = this.props.options;
|
1863 |
+
return ['merchant_email', 'merchant_id', 'client_id', 'client_secret'].reduce(function (initialVals, key) {
|
1864 |
+
return paypal_objectSpread(paypal_objectSpread({}, initialVals), {}, defineProperty_default()({}, key, options && options[key + '_production'] ? options[key + '_production'] : ''));
|
1865 |
+
}, {});
|
|
|
|
|
1866 |
}
|
1867 |
}, {
|
1868 |
key: "validate",
|
1869 |
value: function validate(values) {
|
1870 |
var errors = {};
|
1871 |
|
1872 |
+
if (!values.merchant_email) {
|
1873 |
+
errors.merchant_email = Object(external_this_wp_i18n_["__"])('Please enter your Merchant email', 'woocommerce-admin');
|
1874 |
}
|
1875 |
|
1876 |
+
if (!Object(external_this_wp_url_["isEmail"])(values.merchant_email)) {
|
1877 |
+
errors.merchant_email = Object(external_this_wp_i18n_["__"])('Please enter a valid email address', 'woocommerce-admin');
|
1878 |
}
|
1879 |
|
1880 |
+
if (!values.merchant_id) {
|
1881 |
+
errors.merchant_id = Object(external_this_wp_i18n_["__"])('Please enter your Merchant Id', 'woocommerce-admin');
|
1882 |
+
}
|
1883 |
+
|
1884 |
+
if (!values.client_id) {
|
1885 |
+
errors.client_id = Object(external_this_wp_i18n_["__"])('Please enter your Client Id', 'woocommerce-admin');
|
1886 |
+
}
|
1887 |
+
|
1888 |
+
if (!values.client_secret) {
|
1889 |
+
errors.client_secret = Object(external_this_wp_i18n_["__"])('Please enter your Client Secret', 'woocommerce-admin');
|
1890 |
}
|
1891 |
|
1892 |
return errors;
|
1893 |
}
|
1894 |
}, {
|
1895 |
+
key: "renderManualConfig",
|
1896 |
+
value: function renderManualConfig() {
|
1897 |
var isOptionsUpdating = this.props.isOptionsUpdating;
|
1898 |
+
var stripeHelp = lib_default()({
|
1899 |
+
mixedString: Object(external_this_wp_i18n_["__"])('Your API details can be obtained from your {{docsLink}}Paypal developer account{{/docsLink}}, and your Merchant Id from your {{merchantLink}}Paypal Business account{{/merchantLink}}. Don’t have a Paypal account? {{registerLink}}Create one.{{/registerLink}}', 'woocommerce-admin'),
|
1900 |
+
components: {
|
1901 |
+
docsLink: Object(external_this_wp_element_["createElement"])(external_this_wc_components_["Link"], {
|
1902 |
+
href: "https://developer.paypal.com/docs/api-basics/manage-apps/#create-or-edit-sandbox-and-live-apps",
|
1903 |
+
target: "_blank",
|
1904 |
+
type: "external"
|
1905 |
+
}),
|
1906 |
+
merchantLink: Object(external_this_wp_element_["createElement"])(external_this_wc_components_["Link"], {
|
1907 |
+
href: "https://www.paypal.com/ca/smarthelp/article/FAQ3850",
|
1908 |
+
target: "_blank",
|
1909 |
+
type: "external"
|
1910 |
+
}),
|
1911 |
+
registerLink: Object(external_this_wp_element_["createElement"])(external_this_wc_components_["Link"], {
|
1912 |
+
href: "https://www.paypal.com/us/business",
|
1913 |
+
target: "_blank",
|
1914 |
+
type: "external"
|
1915 |
+
})
|
1916 |
+
}
|
1917 |
+
});
|
1918 |
return Object(external_this_wp_element_["createElement"])(external_this_wc_components_["Form"], {
|
1919 |
+
initialValues: this.getInitialConfigValues(),
|
1920 |
+
onSubmitCallback: this.setCredentials,
|
1921 |
validate: this.validate
|
1922 |
+
}, function (_ref2) {
|
1923 |
+
var getInputProps = _ref2.getInputProps,
|
1924 |
+
handleSubmit = _ref2.handleSubmit;
|
1925 |
+
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wc_components_["TextControl"], extends_default()({
|
|
|
|
|
|
|
|
|
|
|
1926 |
label: Object(external_this_wp_i18n_["__"])('Email address', 'woocommerce-admin'),
|
|
|
|
|
|
|
1927 |
required: true
|
1928 |
+
}, getInputProps('merchant_email'))), Object(external_this_wp_element_["createElement"])(external_this_wc_components_["TextControl"], extends_default()({
|
1929 |
+
label: Object(external_this_wp_i18n_["__"])('Merchant Id', 'woocommerce-admin'),
|
1930 |
required: true
|
1931 |
+
}, getInputProps('merchant_id'))), Object(external_this_wp_element_["createElement"])(external_this_wc_components_["TextControl"], extends_default()({
|
1932 |
+
label: Object(external_this_wp_i18n_["__"])('Client Id', 'woocommerce-admin'),
|
1933 |
+
required: true
|
1934 |
+
}, getInputProps('client_id'))), Object(external_this_wp_element_["createElement"])(external_this_wc_components_["TextControl"], extends_default()({
|
1935 |
+
label: Object(external_this_wp_i18n_["__"])('Secret Key', 'woocommerce-admin'),
|
1936 |
+
required: true
|
1937 |
+
}, getInputProps('client_secret'))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1938 |
isPrimary: true,
|
1939 |
+
isBusy: isOptionsUpdating,
|
1940 |
+
onClick: handleSubmit
|
1941 |
+
}, Object(external_this_wp_i18n_["__"])('Proceed', 'woocommerce-admin')), Object(external_this_wp_element_["createElement"])("p", null, stripeHelp));
|
1942 |
});
|
1943 |
}
|
1944 |
+
}, {
|
1945 |
+
key: "renderConnectFields",
|
1946 |
+
value: function renderConnectFields() {
|
1947 |
+
var _this$state = this.state,
|
1948 |
+
autoConnectFailed = _this$state.autoConnectFailed,
|
1949 |
+
connectURL = _this$state.connectURL;
|
1950 |
+
|
1951 |
+
if (!autoConnectFailed && connectURL) {
|
1952 |
+
return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(PaypalConnectButton, {
|
1953 |
+
connectUrl: connectURL
|
1954 |
+
}), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('You will be redirected to the PayPal website to create the connection.', 'woocommerce-admin')));
|
1955 |
+
}
|
1956 |
+
|
1957 |
+
if (autoConnectFailed) {
|
1958 |
+
return this.renderManualConfig();
|
1959 |
+
}
|
1960 |
+
}
|
1961 |
}, {
|
1962 |
key: "getConnectStep",
|
1963 |
value: function getConnectStep() {
|
1964 |
+
var isRequestingOptions = this.props.isRequestingOptions;
|
1965 |
return {
|
1966 |
key: 'connect',
|
1967 |
label: Object(external_this_wp_i18n_["__"])('Connect your PayPal account', 'woocommerce-admin'),
|
1968 |
description: Object(external_this_wp_i18n_["__"])('A PayPal account is required to process payments. Connect your store to your PayPal account.', 'woocommerce-admin'),
|
1969 |
+
content: isRequestingOptions ? null : this.renderConnectFields()
|
1970 |
};
|
1971 |
}
|
1972 |
}, {
|
1973 |
key: "render",
|
1974 |
value: function render() {
|
1975 |
+
var _this$props4 = this.props,
|
1976 |
+
installStep = _this$props4.installStep,
|
1977 |
+
isRequesting
|