Version Description
Download this release
Release Info
Developer | joshuaflow |
Plugin | WooCommerce Admin |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
- dist/app/index.js +500 -499
- dist/app/index.min.asset.php +1 -1
- dist/app/index.min.js +1 -1
- dist/chunks/0.js +11 -11
- dist/chunks/0.min.js +1 -1
- dist/chunks/1.js +1 -1
- dist/chunks/1.min.js +1 -1
- dist/chunks/2.js +21 -21
- dist/chunks/2.min.js +1 -1
- dist/chunks/3.js +10 -10
- dist/chunks/3.min.js +1 -1
- dist/chunks/4.js +16 -16
- dist/chunks/4.min.js +1 -1
- dist/chunks/5.js +18 -18
- dist/chunks/5.min.js +1 -1
- dist/chunks/52.js +8 -8
- dist/chunks/52.min.js +1 -1
- dist/chunks/53.js +7 -7
- dist/chunks/53.min.js +1 -1
- dist/chunks/54.js +5 -5
- dist/chunks/54.min.js +1 -1
- dist/chunks/6.js +15 -15
- dist/chunks/6.min.js +1 -1
- dist/chunks/activity-panels-help.js +3 -3
- dist/chunks/activity-panels-help.min.js +1 -1
- dist/chunks/activity-panels-inbox.js +2 -2
- dist/chunks/activity-panels-inbox.min.js +1 -1
- dist/chunks/analytics-report-categories.js +21 -21
- dist/chunks/analytics-report-categories.min.js +1 -1
dist/app/index.js
CHANGED
@@ -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 |
/******/ ([
|
@@ -878,21 +878,8 @@ module.exports = {};
|
|
878 |
/* 37 */
|
879 |
/***/ (function(module, exports, __webpack_require__) {
|
880 |
|
881 |
-
var requireObjectCoercible = __webpack_require__(32);
|
882 |
-
|
883 |
-
// `ToObject` abstract operation
|
884 |
-
// https://tc39.es/ecma262/#sec-toobject
|
885 |
-
module.exports = function (argument) {
|
886 |
-
return Object(requireObjectCoercible(argument));
|
887 |
-
};
|
888 |
-
|
889 |
-
|
890 |
-
/***/ }),
|
891 |
-
/* 38 */
|
892 |
-
/***/ (function(module, exports, __webpack_require__) {
|
893 |
-
|
894 |
var $ = __webpack_require__(12);
|
895 |
-
var toObject = __webpack_require__(
|
896 |
var nativeKeys = __webpack_require__(54);
|
897 |
var fails = __webpack_require__(6);
|
898 |
|
@@ -907,6 +894,19 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
|
907 |
});
|
908 |
|
909 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
910 |
/***/ }),
|
911 |
/* 39 */
|
912 |
/***/ (function(module, exports) {
|
@@ -981,13 +981,13 @@ module.exports = function (argument) {
|
|
981 |
/* 43 */
|
982 |
/***/ (function(module, exports, __webpack_require__) {
|
983 |
|
984 |
-
var arrayWithHoles = __webpack_require__(
|
985 |
|
986 |
-
var iterableToArrayLimit = __webpack_require__(
|
987 |
|
988 |
-
var unsupportedIterableToArray = __webpack_require__(
|
989 |
|
990 |
-
var nonIterableRest = __webpack_require__(
|
991 |
|
992 |
function _slicedToArray(arr, i) {
|
993 |
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
|
@@ -999,13 +999,13 @@ module.exports = _slicedToArray;
|
|
999 |
/* 44 */
|
1000 |
/***/ (function(module, exports, __webpack_require__) {
|
1001 |
|
1002 |
-
var arrayWithoutHoles = __webpack_require__(
|
1003 |
|
1004 |
-
var iterableToArray = __webpack_require__(
|
1005 |
|
1006 |
-
var unsupportedIterableToArray = __webpack_require__(
|
1007 |
|
1008 |
-
var nonIterableSpread = __webpack_require__(
|
1009 |
|
1010 |
function _toConsumableArray(arr) {
|
1011 |
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
|
@@ -1023,7 +1023,7 @@ var isObject = __webpack_require__(10);
|
|
1023 |
var createNonEnumerableProperty = __webpack_require__(19);
|
1024 |
var objectHas = __webpack_require__(11);
|
1025 |
var shared = __webpack_require__(47);
|
1026 |
-
var sharedKey = __webpack_require__(
|
1027 |
var hiddenKeys = __webpack_require__(36);
|
1028 |
|
1029 |
var WeakMap = global.WeakMap;
|
@@ -1133,7 +1133,7 @@ module.exports = [
|
|
1133 |
/***/ (function(module, exports, __webpack_require__) {
|
1134 |
|
1135 |
var global = __webpack_require__(3);
|
1136 |
-
var DOMIterables = __webpack_require__(
|
1137 |
var forEach = __webpack_require__(149);
|
1138 |
var createNonEnumerableProperty = __webpack_require__(19);
|
1139 |
|
@@ -1159,20 +1159,6 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
1159 |
/* 51 */
|
1160 |
/***/ (function(module, exports, __webpack_require__) {
|
1161 |
|
1162 |
-
var shared = __webpack_require__(58);
|
1163 |
-
var uid = __webpack_require__(55);
|
1164 |
-
|
1165 |
-
var keys = shared('keys');
|
1166 |
-
|
1167 |
-
module.exports = function (key) {
|
1168 |
-
return keys[key] || (keys[key] = uid(key));
|
1169 |
-
};
|
1170 |
-
|
1171 |
-
|
1172 |
-
/***/ }),
|
1173 |
-
/* 52 */
|
1174 |
-
/***/ (function(module, exports, __webpack_require__) {
|
1175 |
-
|
1176 |
"use strict";
|
1177 |
|
1178 |
var $ = __webpack_require__(12);
|
@@ -1191,6 +1177,20 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
1191 |
});
|
1192 |
|
1193 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1194 |
/***/ }),
|
1195 |
/* 53 */
|
1196 |
/***/ (function(module, exports, __webpack_require__) {
|
@@ -1209,7 +1209,7 @@ var has = __webpack_require__(11);
|
|
1209 |
var isArray = __webpack_require__(84);
|
1210 |
var isObject = __webpack_require__(10);
|
1211 |
var anObject = __webpack_require__(9);
|
1212 |
-
var toObject = __webpack_require__(
|
1213 |
var toIndexedObject = __webpack_require__(21);
|
1214 |
var toPrimitive = __webpack_require__(40);
|
1215 |
var createPropertyDescriptor = __webpack_require__(39);
|
@@ -1224,7 +1224,7 @@ var propertyIsEnumerableModule = __webpack_require__(76);
|
|
1224 |
var createNonEnumerableProperty = __webpack_require__(19);
|
1225 |
var redefine = __webpack_require__(27);
|
1226 |
var shared = __webpack_require__(58);
|
1227 |
-
var sharedKey = __webpack_require__(
|
1228 |
var hiddenKeys = __webpack_require__(36);
|
1229 |
var uid = __webpack_require__(55);
|
1230 |
var wellKnownSymbol = __webpack_require__(8);
|
@@ -1748,7 +1748,7 @@ var $ = __webpack_require__(12);
|
|
1748 |
var fails = __webpack_require__(6);
|
1749 |
var isArray = __webpack_require__(84);
|
1750 |
var isObject = __webpack_require__(10);
|
1751 |
-
var toObject = __webpack_require__(
|
1752 |
var toLength = __webpack_require__(34);
|
1753 |
var createProperty = __webpack_require__(102);
|
1754 |
var arraySpeciesCreate = __webpack_require__(109);
|
@@ -1850,7 +1850,7 @@ var enumBugKeys = __webpack_require__(48);
|
|
1850 |
var hiddenKeys = __webpack_require__(36);
|
1851 |
var html = __webpack_require__(98);
|
1852 |
var documentCreateElement = __webpack_require__(67);
|
1853 |
-
var sharedKey = __webpack_require__(
|
1854 |
|
1855 |
var GT = '>';
|
1856 |
var LT = '<';
|
@@ -2026,7 +2026,7 @@ module.exports = isForced;
|
|
2026 |
|
2027 |
var bind = __webpack_require__(94);
|
2028 |
var IndexedObject = __webpack_require__(71);
|
2029 |
-
var toObject = __webpack_require__(
|
2030 |
var toLength = __webpack_require__(34);
|
2031 |
var arraySpeciesCreate = __webpack_require__(109);
|
2032 |
|
@@ -2256,7 +2256,7 @@ module.exports = Array.isArray || function isArray(arg) {
|
|
2256 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getAdminLink; });
|
2257 |
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(108);
|
2258 |
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);
|
2259 |
-
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
2260 |
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1__);
|
2261 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(107);
|
2262 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2__);
|
@@ -2648,7 +2648,7 @@ module.exports = getBuiltIn('document', 'documentElement');
|
|
2648 |
|
2649 |
var TO_STRING_TAG_SUPPORT = __webpack_require__(82);
|
2650 |
var redefine = __webpack_require__(27);
|
2651 |
-
var toString = __webpack_require__(
|
2652 |
|
2653 |
// `Object.prototype.toString` method
|
2654 |
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
@@ -3151,12 +3151,14 @@ exports.f = wellKnownSymbol;
|
|
3151 |
|
3152 |
"use strict";
|
3153 |
|
3154 |
-
var
|
3155 |
|
3156 |
-
|
3157 |
-
|
3158 |
-
|
3159 |
-
|
|
|
|
|
3160 |
};
|
3161 |
|
3162 |
|
@@ -3166,14 +3168,12 @@ module.exports = function (S, index, unicode) {
|
|
3166 |
|
3167 |
"use strict";
|
3168 |
|
3169 |
-
var
|
3170 |
|
3171 |
-
|
3172 |
-
|
3173 |
-
|
3174 |
-
|
3175 |
-
method.call(null, argument || function () { throw 1; }, 1);
|
3176 |
-
});
|
3177 |
};
|
3178 |
|
3179 |
|
@@ -3187,7 +3187,7 @@ var toIndexedObject = __webpack_require__(21);
|
|
3187 |
var addToUnscopables = __webpack_require__(118);
|
3188 |
var Iterators = __webpack_require__(110);
|
3189 |
var InternalStateModule = __webpack_require__(45);
|
3190 |
-
var defineIterator = __webpack_require__(
|
3191 |
|
3192 |
var ARRAY_ITERATOR = 'Array Iterator';
|
3193 |
var setInternalState = InternalStateModule.set;
|
@@ -3294,111 +3294,6 @@ module.exports = {
|
|
3294 |
|
3295 |
/***/ }),
|
3296 |
/* 127 */
|
3297 |
-
/***/ (function(module, exports, __webpack_require__) {
|
3298 |
-
|
3299 |
-
"use strict";
|
3300 |
-
|
3301 |
-
var fixRegExpWellKnownSymbolLogic = __webpack_require__(111);
|
3302 |
-
var anObject = __webpack_require__(9);
|
3303 |
-
var toLength = __webpack_require__(34);
|
3304 |
-
var toInteger = __webpack_require__(42);
|
3305 |
-
var requireObjectCoercible = __webpack_require__(32);
|
3306 |
-
var advanceStringIndex = __webpack_require__(121);
|
3307 |
-
var getSubstitution = __webpack_require__(161);
|
3308 |
-
var regExpExec = __webpack_require__(112);
|
3309 |
-
|
3310 |
-
var max = Math.max;
|
3311 |
-
var min = Math.min;
|
3312 |
-
|
3313 |
-
var maybeToString = function (it) {
|
3314 |
-
return it === undefined ? it : String(it);
|
3315 |
-
};
|
3316 |
-
|
3317 |
-
// @@replace logic
|
3318 |
-
fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
|
3319 |
-
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
|
3320 |
-
var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
|
3321 |
-
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
3322 |
-
|
3323 |
-
return [
|
3324 |
-
// `String.prototype.replace` method
|
3325 |
-
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
3326 |
-
function replace(searchValue, replaceValue) {
|
3327 |
-
var O = requireObjectCoercible(this);
|
3328 |
-
var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
|
3329 |
-
return replacer !== undefined
|
3330 |
-
? replacer.call(searchValue, O, replaceValue)
|
3331 |
-
: nativeReplace.call(String(O), searchValue, replaceValue);
|
3332 |
-
},
|
3333 |
-
// `RegExp.prototype[@@replace]` method
|
3334 |
-
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
3335 |
-
function (regexp, replaceValue) {
|
3336 |
-
if (
|
3337 |
-
(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
|
3338 |
-
(typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
|
3339 |
-
) {
|
3340 |
-
var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
|
3341 |
-
if (res.done) return res.value;
|
3342 |
-
}
|
3343 |
-
|
3344 |
-
var rx = anObject(regexp);
|
3345 |
-
var S = String(this);
|
3346 |
-
|
3347 |
-
var functionalReplace = typeof replaceValue === 'function';
|
3348 |
-
if (!functionalReplace) replaceValue = String(replaceValue);
|
3349 |
-
|
3350 |
-
var global = rx.global;
|
3351 |
-
if (global) {
|
3352 |
-
var fullUnicode = rx.unicode;
|
3353 |
-
rx.lastIndex = 0;
|
3354 |
-
}
|
3355 |
-
var results = [];
|
3356 |
-
while (true) {
|
3357 |
-
var result = regExpExec(rx, S);
|
3358 |
-
if (result === null) break;
|
3359 |
-
|
3360 |
-
results.push(result);
|
3361 |
-
if (!global) break;
|
3362 |
-
|
3363 |
-
var matchStr = String(result[0]);
|
3364 |
-
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
3365 |
-
}
|
3366 |
-
|
3367 |
-
var accumulatedResult = '';
|
3368 |
-
var nextSourcePosition = 0;
|
3369 |
-
for (var i = 0; i < results.length; i++) {
|
3370 |
-
result = results[i];
|
3371 |
-
|
3372 |
-
var matched = String(result[0]);
|
3373 |
-
var position = max(min(toInteger(result.index), S.length), 0);
|
3374 |
-
var captures = [];
|
3375 |
-
// NOTE: This is equivalent to
|
3376 |
-
// captures = result.slice(1).map(maybeToString)
|
3377 |
-
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
3378 |
-
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
3379 |
-
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
3380 |
-
for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
|
3381 |
-
var namedCaptures = result.groups;
|
3382 |
-
if (functionalReplace) {
|
3383 |
-
var replacerArgs = [matched].concat(captures, position, S);
|
3384 |
-
if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
|
3385 |
-
var replacement = String(replaceValue.apply(undefined, replacerArgs));
|
3386 |
-
} else {
|
3387 |
-
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
3388 |
-
}
|
3389 |
-
if (position >= nextSourcePosition) {
|
3390 |
-
accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
|
3391 |
-
nextSourcePosition = position + matched.length;
|
3392 |
-
}
|
3393 |
-
}
|
3394 |
-
return accumulatedResult + S.slice(nextSourcePosition);
|
3395 |
-
}
|
3396 |
-
];
|
3397 |
-
});
|
3398 |
-
|
3399 |
-
|
3400 |
-
/***/ }),
|
3401 |
-
/* 128 */
|
3402 |
/***/ (function(module, exports) {
|
3403 |
|
3404 |
// iterable DOM collections
|
@@ -3439,7 +3334,7 @@ module.exports = {
|
|
3439 |
|
3440 |
|
3441 |
/***/ }),
|
3442 |
-
/*
|
3443 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3444 |
|
3445 |
"use strict";
|
@@ -3465,7 +3360,7 @@ function _inheritsLoose(subClass, superClass) {
|
|
3465 |
}
|
3466 |
|
3467 |
/***/ }),
|
3468 |
-
/*
|
3469 |
/***/ (function(module, exports, __webpack_require__) {
|
3470 |
|
3471 |
var DESCRIPTORS = __webpack_require__(13);
|
@@ -3493,7 +3388,7 @@ if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
|
|
3493 |
|
3494 |
|
3495 |
/***/ }),
|
3496 |
-
/*
|
3497 |
/***/ (function(module, exports, __webpack_require__) {
|
3498 |
|
3499 |
"use strict";
|
@@ -3509,7 +3404,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
|
|
3509 |
|
3510 |
|
3511 |
/***/ }),
|
3512 |
-
/*
|
3513 |
/***/ (function(module, exports, __webpack_require__) {
|
3514 |
|
3515 |
var arrayLikeToArray = __webpack_require__(124);
|
@@ -3526,13 +3421,13 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
3526 |
module.exports = _unsupportedIterableToArray;
|
3527 |
|
3528 |
/***/ }),
|
3529 |
-
/*
|
3530 |
/***/ (function(module, exports) {
|
3531 |
|
3532 |
(function() { module.exports = window["wp"]["htmlEntities"]; }());
|
3533 |
|
3534 |
/***/ }),
|
3535 |
-
/*
|
3536 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3537 |
|
3538 |
"use strict";
|
@@ -3553,7 +3448,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
3553 |
}
|
3554 |
|
3555 |
/***/ }),
|
3556 |
-
/*
|
3557 |
/***/ (function(module, exports) {
|
3558 |
|
3559 |
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
@@ -3594,6 +3489,111 @@ function _asyncToGenerator(fn) {
|
|
3594 |
|
3595 |
module.exports = _asyncToGenerator;
|
3596 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3597 |
/***/ }),
|
3598 |
/* 136 */
|
3599 |
/***/ (function(module, exports) {
|
@@ -3645,7 +3645,7 @@ exports.BROKEN_CARET = fails(function () {
|
|
3645 |
var $ = __webpack_require__(12);
|
3646 |
var IndexedObject = __webpack_require__(71);
|
3647 |
var toIndexedObject = __webpack_require__(21);
|
3648 |
-
var arrayMethodIsStrict = __webpack_require__(
|
3649 |
|
3650 |
var nativeJoin = [].join;
|
3651 |
|
@@ -3779,7 +3779,7 @@ module.exports = function (it) {
|
|
3779 |
/***/ (function(module, exports, __webpack_require__) {
|
3780 |
|
3781 |
var global = __webpack_require__(3);
|
3782 |
-
var DOMIterables = __webpack_require__(
|
3783 |
var ArrayIteratorMethods = __webpack_require__(123);
|
3784 |
var createNonEnumerableProperty = __webpack_require__(19);
|
3785 |
var wellKnownSymbol = __webpack_require__(8);
|
@@ -3865,7 +3865,7 @@ module.exports = function (NAME) {
|
|
3865 |
"use strict";
|
3866 |
|
3867 |
var $forEach = __webpack_require__(75).forEach;
|
3868 |
-
var arrayMethodIsStrict = __webpack_require__(
|
3869 |
|
3870 |
var STRICT_METHOD = arrayMethodIsStrict('forEach');
|
3871 |
|
@@ -3903,7 +3903,7 @@ module.exports = function (O, defaultConstructor) {
|
|
3903 |
|
3904 |
var charAt = __webpack_require__(125).charAt;
|
3905 |
var InternalStateModule = __webpack_require__(45);
|
3906 |
-
var defineIterator = __webpack_require__(
|
3907 |
|
3908 |
var STRING_ITERATOR = 'String Iterator';
|
3909 |
var setInternalState = InternalStateModule.set;
|
@@ -4234,54 +4234,8 @@ module.exports = function (it) {
|
|
4234 |
|
4235 |
|
4236 |
/***/ }),
|
4237 |
-
/* 161
|
4238 |
-
|
4239 |
-
|
4240 |
-
var toObject = __webpack_require__(37);
|
4241 |
-
|
4242 |
-
var floor = Math.floor;
|
4243 |
-
var replace = ''.replace;
|
4244 |
-
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
4245 |
-
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
4246 |
-
|
4247 |
-
// https://tc39.es/ecma262/#sec-getsubstitution
|
4248 |
-
module.exports = function (matched, str, position, captures, namedCaptures, replacement) {
|
4249 |
-
var tailPos = position + matched.length;
|
4250 |
-
var m = captures.length;
|
4251 |
-
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
4252 |
-
if (namedCaptures !== undefined) {
|
4253 |
-
namedCaptures = toObject(namedCaptures);
|
4254 |
-
symbols = SUBSTITUTION_SYMBOLS;
|
4255 |
-
}
|
4256 |
-
return replace.call(replacement, symbols, function (match, ch) {
|
4257 |
-
var capture;
|
4258 |
-
switch (ch.charAt(0)) {
|
4259 |
-
case '$': return '$';
|
4260 |
-
case '&': return matched;
|
4261 |
-
case '`': return str.slice(0, position);
|
4262 |
-
case "'": return str.slice(tailPos);
|
4263 |
-
case '<':
|
4264 |
-
capture = namedCaptures[ch.slice(1, -1)];
|
4265 |
-
break;
|
4266 |
-
default: // \d\d?
|
4267 |
-
var n = +ch;
|
4268 |
-
if (n === 0) return match;
|
4269 |
-
if (n > m) {
|
4270 |
-
var f = floor(n / 10);
|
4271 |
-
if (f === 0) return match;
|
4272 |
-
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
|
4273 |
-
return match;
|
4274 |
-
}
|
4275 |
-
capture = captures[n - 1];
|
4276 |
-
}
|
4277 |
-
return capture === undefined ? '' : capture;
|
4278 |
-
});
|
4279 |
-
};
|
4280 |
-
|
4281 |
-
|
4282 |
-
/***/ }),
|
4283 |
-
/* 162 */,
|
4284 |
-
/* 163 */
|
4285 |
/***/ (function(module, exports, __webpack_require__) {
|
4286 |
|
4287 |
"use strict";
|
@@ -4299,13 +4253,13 @@ module.exports = {
|
|
4299 |
|
4300 |
|
4301 |
/***/ }),
|
4302 |
-
/*
|
4303 |
/***/ (function(module, exports) {
|
4304 |
|
4305 |
(function() { module.exports = window["ReactDOM"]; }());
|
4306 |
|
4307 |
/***/ }),
|
4308 |
-
/*
|
4309 |
/***/ (function(module, exports, __webpack_require__) {
|
4310 |
|
4311 |
"use strict";
|
@@ -4324,7 +4278,7 @@ var aFunction = __webpack_require__(70);
|
|
4324 |
var anInstance = __webpack_require__(136);
|
4325 |
var inspectSource = __webpack_require__(68);
|
4326 |
var iterate = __webpack_require__(154);
|
4327 |
-
var checkCorrectnessOfIteration = __webpack_require__(
|
4328 |
var speciesConstructor = __webpack_require__(150);
|
4329 |
var task = __webpack_require__(157).set;
|
4330 |
var microtask = __webpack_require__(194);
|
@@ -4693,7 +4647,7 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
4693 |
|
4694 |
|
4695 |
/***/ }),
|
4696 |
-
/*
|
4697 |
/***/ (function(module, exports, __webpack_require__) {
|
4698 |
|
4699 |
var wellKnownSymbol = __webpack_require__(8);
|
@@ -4737,7 +4691,7 @@ module.exports = function (exec, SKIP_CLOSING) {
|
|
4737 |
|
4738 |
|
4739 |
/***/ }),
|
4740 |
-
/*
|
4741 |
/***/ (function(module, exports, __webpack_require__) {
|
4742 |
|
4743 |
"use strict";
|
@@ -4834,7 +4788,53 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I
|
|
4834 |
|
4835 |
|
4836 |
/***/ }),
|
4837 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4838 |
/* 169 */
|
4839 |
/***/ (function(module, exports, __webpack_require__) {
|
4840 |
|
@@ -4991,8 +4991,8 @@ module.exports = {
|
|
4991 |
/***/ (function(module, exports, __webpack_require__) {
|
4992 |
|
4993 |
var has = __webpack_require__(11);
|
4994 |
-
var toObject = __webpack_require__(
|
4995 |
-
var sharedKey = __webpack_require__(
|
4996 |
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(213);
|
4997 |
|
4998 |
var IE_PROTO = sharedKey('IE_PROTO');
|
@@ -5009,29 +5009,172 @@ module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O)
|
|
5009 |
};
|
5010 |
|
5011 |
|
5012 |
-
/***/ }),
|
5013 |
-
/* 175 */,
|
5014 |
-
/* 176 */
|
5015 |
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5016 |
|
5017 |
-
|
5018 |
-
|
5019 |
-
var
|
5020 |
-
|
5021 |
-
|
5022 |
-
|
5023 |
-
|
5024 |
-
|
5025 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5026 |
}
|
5027 |
-
|
5028 |
-
}
|
5029 |
-
|
5030 |
-
/* harmony default export */ __webpack_exports__["a"] = (invariant);
|
5031 |
|
5032 |
|
5033 |
/***/ }),
|
5034 |
-
/*
|
5035 |
/***/ (function(module, exports, __webpack_require__) {
|
5036 |
|
5037 |
"use strict";
|
@@ -5118,7 +5261,7 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
|
|
5118 |
|
5119 |
|
5120 |
/***/ }),
|
5121 |
-
/*
|
5122 |
/***/ (function(module, exports, __webpack_require__) {
|
5123 |
|
5124 |
var arrayLikeToArray = __webpack_require__(124);
|
@@ -5130,7 +5273,7 @@ function _arrayWithoutHoles(arr) {
|
|
5130 |
module.exports = _arrayWithoutHoles;
|
5131 |
|
5132 |
/***/ }),
|
5133 |
-
/*
|
5134 |
/***/ (function(module, exports) {
|
5135 |
|
5136 |
function _iterableToArray(iter) {
|
@@ -5140,7 +5283,7 @@ function _iterableToArray(iter) {
|
|
5140 |
module.exports = _iterableToArray;
|
5141 |
|
5142 |
/***/ }),
|
5143 |
-
/*
|
5144 |
/***/ (function(module, exports) {
|
5145 |
|
5146 |
function _nonIterableSpread() {
|
@@ -5150,7 +5293,7 @@ function _nonIterableSpread() {
|
|
5150 |
module.exports = _nonIterableSpread;
|
5151 |
|
5152 |
/***/ }),
|
5153 |
-
/*
|
5154 |
/***/ (function(module, exports) {
|
5155 |
|
5156 |
function _arrayWithHoles(arr) {
|
@@ -5160,7 +5303,7 @@ function _arrayWithHoles(arr) {
|
|
5160 |
module.exports = _arrayWithHoles;
|
5161 |
|
5162 |
/***/ }),
|
5163 |
-
/*
|
5164 |
/***/ (function(module, exports) {
|
5165 |
|
5166 |
function _iterableToArrayLimit(arr, i) {
|
@@ -5193,7 +5336,7 @@ function _iterableToArrayLimit(arr, i) {
|
|
5193 |
module.exports = _iterableToArrayLimit;
|
5194 |
|
5195 |
/***/ }),
|
5196 |
-
/*
|
5197 |
/***/ (function(module, exports) {
|
5198 |
|
5199 |
function _nonIterableRest() {
|
@@ -5203,151 +5346,8 @@ function _nonIterableRest() {
|
|
5203 |
module.exports = _nonIterableRest;
|
5204 |
|
5205 |
/***/ }),
|
5206 |
-
/* 184 */,
|
5207 |
/* 185 */,
|
5208 |
-
/* 186
|
5209 |
-
/***/ (function(module, exports, __webpack_require__) {
|
5210 |
-
|
5211 |
-
"use strict";
|
5212 |
-
|
5213 |
-
var fixRegExpWellKnownSymbolLogic = __webpack_require__(111);
|
5214 |
-
var isRegExp = __webpack_require__(144);
|
5215 |
-
var anObject = __webpack_require__(9);
|
5216 |
-
var requireObjectCoercible = __webpack_require__(32);
|
5217 |
-
var speciesConstructor = __webpack_require__(150);
|
5218 |
-
var advanceStringIndex = __webpack_require__(121);
|
5219 |
-
var toLength = __webpack_require__(34);
|
5220 |
-
var callRegExpExec = __webpack_require__(112);
|
5221 |
-
var regexpExec = __webpack_require__(91);
|
5222 |
-
var fails = __webpack_require__(6);
|
5223 |
-
|
5224 |
-
var arrayPush = [].push;
|
5225 |
-
var min = Math.min;
|
5226 |
-
var MAX_UINT32 = 0xFFFFFFFF;
|
5227 |
-
|
5228 |
-
// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
|
5229 |
-
var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });
|
5230 |
-
|
5231 |
-
// @@split logic
|
5232 |
-
fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {
|
5233 |
-
var internalSplit;
|
5234 |
-
if (
|
5235 |
-
'abbc'.split(/(b)*/)[1] == 'c' ||
|
5236 |
-
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
5237 |
-
'test'.split(/(?:)/, -1).length != 4 ||
|
5238 |
-
'ab'.split(/(?:ab)*/).length != 2 ||
|
5239 |
-
'.'.split(/(.?)(.?)/).length != 4 ||
|
5240 |
-
// eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
|
5241 |
-
'.'.split(/()()/).length > 1 ||
|
5242 |
-
''.split(/.?/).length
|
5243 |
-
) {
|
5244 |
-
// based on es5-shim implementation, need to rework it
|
5245 |
-
internalSplit = function (separator, limit) {
|
5246 |
-
var string = String(requireObjectCoercible(this));
|
5247 |
-
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
5248 |
-
if (lim === 0) return [];
|
5249 |
-
if (separator === undefined) return [string];
|
5250 |
-
// If `separator` is not a regex, use native split
|
5251 |
-
if (!isRegExp(separator)) {
|
5252 |
-
return nativeSplit.call(string, separator, lim);
|
5253 |
-
}
|
5254 |
-
var output = [];
|
5255 |
-
var flags = (separator.ignoreCase ? 'i' : '') +
|
5256 |
-
(separator.multiline ? 'm' : '') +
|
5257 |
-
(separator.unicode ? 'u' : '') +
|
5258 |
-
(separator.sticky ? 'y' : '');
|
5259 |
-
var lastLastIndex = 0;
|
5260 |
-
// Make `global` and avoid `lastIndex` issues by working with a copy
|
5261 |
-
var separatorCopy = new RegExp(separator.source, flags + 'g');
|
5262 |
-
var match, lastIndex, lastLength;
|
5263 |
-
while (match = regexpExec.call(separatorCopy, string)) {
|
5264 |
-
lastIndex = separatorCopy.lastIndex;
|
5265 |
-
if (lastIndex > lastLastIndex) {
|
5266 |
-
output.push(string.slice(lastLastIndex, match.index));
|
5267 |
-
if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));
|
5268 |
-
lastLength = match[0].length;
|
5269 |
-
lastLastIndex = lastIndex;
|
5270 |
-
if (output.length >= lim) break;
|
5271 |
-
}
|
5272 |
-
if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
|
5273 |
-
}
|
5274 |
-
if (lastLastIndex === string.length) {
|
5275 |
-
if (lastLength || !separatorCopy.test('')) output.push('');
|
5276 |
-
} else output.push(string.slice(lastLastIndex));
|
5277 |
-
return output.length > lim ? output.slice(0, lim) : output;
|
5278 |
-
};
|
5279 |
-
// Chakra, V8
|
5280 |
-
} else if ('0'.split(undefined, 0).length) {
|
5281 |
-
internalSplit = function (separator, limit) {
|
5282 |
-
return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);
|
5283 |
-
};
|
5284 |
-
} else internalSplit = nativeSplit;
|
5285 |
-
|
5286 |
-
return [
|
5287 |
-
// `String.prototype.split` method
|
5288 |
-
// https://tc39.es/ecma262/#sec-string.prototype.split
|
5289 |
-
function split(separator, limit) {
|
5290 |
-
var O = requireObjectCoercible(this);
|
5291 |
-
var splitter = separator == undefined ? undefined : separator[SPLIT];
|
5292 |
-
return splitter !== undefined
|
5293 |
-
? splitter.call(separator, O, limit)
|
5294 |
-
: internalSplit.call(String(O), separator, limit);
|
5295 |
-
},
|
5296 |
-
// `RegExp.prototype[@@split]` method
|
5297 |
-
// https://tc39.es/ecma262/#sec-regexp.prototype-@@split
|
5298 |
-
//
|
5299 |
-
// NOTE: This cannot be properly polyfilled in engines that don't support
|
5300 |
-
// the 'y' flag.
|
5301 |
-
function (regexp, limit) {
|
5302 |
-
var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);
|
5303 |
-
if (res.done) return res.value;
|
5304 |
-
|
5305 |
-
var rx = anObject(regexp);
|
5306 |
-
var S = String(this);
|
5307 |
-
var C = speciesConstructor(rx, RegExp);
|
5308 |
-
|
5309 |
-
var unicodeMatching = rx.unicode;
|
5310 |
-
var flags = (rx.ignoreCase ? 'i' : '') +
|
5311 |
-
(rx.multiline ? 'm' : '') +
|
5312 |
-
(rx.unicode ? 'u' : '') +
|
5313 |
-
(SUPPORTS_Y ? 'y' : 'g');
|
5314 |
-
|
5315 |
-
// ^(? + rx + ) is needed, in combination with some S slicing, to
|
5316 |
-
// simulate the 'y' flag.
|
5317 |
-
var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
|
5318 |
-
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
5319 |
-
if (lim === 0) return [];
|
5320 |
-
if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
|
5321 |
-
var p = 0;
|
5322 |
-
var q = 0;
|
5323 |
-
var A = [];
|
5324 |
-
while (q < S.length) {
|
5325 |
-
splitter.lastIndex = SUPPORTS_Y ? q : 0;
|
5326 |
-
var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
|
5327 |
-
var e;
|
5328 |
-
if (
|
5329 |
-
z === null ||
|
5330 |
-
(e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
|
5331 |
-
) {
|
5332 |
-
q = advanceStringIndex(S, q, unicodeMatching);
|
5333 |
-
} else {
|
5334 |
-
A.push(S.slice(p, q));
|
5335 |
-
if (A.length === lim) return A;
|
5336 |
-
for (var i = 1; i <= z.length - 1; i++) {
|
5337 |
-
A.push(z[i]);
|
5338 |
-
if (A.length === lim) return A;
|
5339 |
-
}
|
5340 |
-
q = p = e;
|
5341 |
-
}
|
5342 |
-
}
|
5343 |
-
A.push(S.slice(p));
|
5344 |
-
return A;
|
5345 |
-
}
|
5346 |
-
];
|
5347 |
-
}, !SUPPORTS_Y);
|
5348 |
-
|
5349 |
-
|
5350 |
-
/***/ }),
|
5351 |
/* 187 */
|
5352 |
/***/ (function(module, exports, __webpack_require__) {
|
5353 |
|
@@ -6973,7 +6973,7 @@ var fixRegExpWellKnownSymbolLogic = __webpack_require__(111);
|
|
6973 |
var anObject = __webpack_require__(9);
|
6974 |
var toLength = __webpack_require__(34);
|
6975 |
var requireObjectCoercible = __webpack_require__(32);
|
6976 |
-
var advanceStringIndex = __webpack_require__(
|
6977 |
var regExpExec = __webpack_require__(112);
|
6978 |
|
6979 |
// @@match logic
|
@@ -7403,7 +7403,7 @@ var fails = __webpack_require__(6);
|
|
7403 |
var objectKeys = __webpack_require__(54);
|
7404 |
var getOwnPropertySymbolsModule = __webpack_require__(79);
|
7405 |
var propertyIsEnumerableModule = __webpack_require__(76);
|
7406 |
-
var toObject = __webpack_require__(
|
7407 |
var IndexedObject = __webpack_require__(71);
|
7408 |
|
7409 |
var nativeAssign = Object.assign;
|
@@ -7480,7 +7480,7 @@ function _defineProperty(obj, key, value) {
|
|
7480 |
|
7481 |
"use strict";
|
7482 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
7483 |
-
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
7484 |
|
7485 |
function _objectWithoutProperties(source, excluded) {
|
7486 |
if (source == null) return {};
|
@@ -8066,7 +8066,7 @@ var iterate = __webpack_require__(154);
|
|
8066 |
var anInstance = __webpack_require__(136);
|
8067 |
var isObject = __webpack_require__(10);
|
8068 |
var fails = __webpack_require__(6);
|
8069 |
-
var checkCorrectnessOfIteration = __webpack_require__(
|
8070 |
var setToStringTag = __webpack_require__(90);
|
8071 |
var inheritIfRequired = __webpack_require__(156);
|
8072 |
|
@@ -8176,7 +8176,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
8176 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return isWCAdmin; });
|
8177 |
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
|
8178 |
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);
|
8179 |
-
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
8180 |
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_1__);
|
8181 |
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(88);
|
8182 |
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
|
@@ -8184,7 +8184,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
8184 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3__);
|
8185 |
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(140);
|
8186 |
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);
|
8187 |
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
8188 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_5__);
|
8189 |
/* harmony import */ var core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(248);
|
8190 |
/* harmony import */ var core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_6__);
|
@@ -8202,11 +8202,11 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
8202 |
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__);
|
8203 |
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(192);
|
8204 |
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_13__);
|
8205 |
-
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
8206 |
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__);
|
8207 |
-
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
8208 |
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15__);
|
8209 |
-
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
8210 |
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16__);
|
8211 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(5);
|
8212 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_17__);
|
@@ -8398,7 +8398,7 @@ module.exports = _objectWithoutPropertiesLoose;
|
|
8398 |
"use strict";
|
8399 |
|
8400 |
var bind = __webpack_require__(94);
|
8401 |
-
var toObject = __webpack_require__(
|
8402 |
var callWithSafeIterationClosing = __webpack_require__(252);
|
8403 |
var isArrayIteratorMethod = __webpack_require__(171);
|
8404 |
var toLength = __webpack_require__(34);
|
@@ -8451,7 +8451,7 @@ var redefineAll = __webpack_require__(152);
|
|
8451 |
var bind = __webpack_require__(94);
|
8452 |
var anInstance = __webpack_require__(136);
|
8453 |
var iterate = __webpack_require__(154);
|
8454 |
-
var defineIterator = __webpack_require__(
|
8455 |
var setSpecies = __webpack_require__(153);
|
8456 |
var DESCRIPTORS = __webpack_require__(13);
|
8457 |
var fastKey = __webpack_require__(205).fastKey;
|
@@ -8830,7 +8830,7 @@ if (true) {
|
|
8830 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8831 |
|
8832 |
"use strict";
|
8833 |
-
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
8834 |
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
|
8835 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(100);
|
8836 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);
|
@@ -8870,34 +8870,34 @@ var REPORTS_FILTER = 'woocommerce_admin_reports_list';
|
|
8870 |
*/
|
8871 |
|
8872 |
var RevenueReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8873 |
-
return Promise.all(/* import() | analytics-report-revenue */[__webpack_require__.e(0), __webpack_require__.e(16)]).then(__webpack_require__.bind(null,
|
8874 |
});
|
8875 |
var ProductsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8876 |
-
return Promise.all(/* import() | analytics-report-products */[__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(15)]).then(__webpack_require__.bind(null,
|
8877 |
});
|
8878 |
var VariationsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8879 |
-
return Promise.all(/* import() | analytics-report-variations */[__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(19)]).then(__webpack_require__.bind(null,
|
8880 |
});
|
8881 |
var OrdersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8882 |
-
return Promise.all(/* import() | analytics-report-orders */[__webpack_require__.e(0), __webpack_require__.e(5), __webpack_require__.e(14)]).then(__webpack_require__.bind(null,
|
8883 |
});
|
8884 |
var CategoriesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8885 |
-
return Promise.all(/* import() | analytics-report-categories */[__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(10)]).then(__webpack_require__.bind(null,
|
8886 |
});
|
8887 |
var CouponsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8888 |
-
return Promise.all(/* import() | analytics-report-coupons */[__webpack_require__.e(0), __webpack_require__.e(11)]).then(__webpack_require__.bind(null,
|
8889 |
});
|
8890 |
var TaxesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8891 |
-
return Promise.all(/* import() | analytics-report-taxes */[__webpack_require__.e(0), __webpack_require__.e(18)]).then(__webpack_require__.bind(null,
|
8892 |
});
|
8893 |
var DownloadsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8894 |
-
return Promise.all(/* import() | analytics-report-downloads */[__webpack_require__.e(0), __webpack_require__.e(13)]).then(__webpack_require__.bind(null,
|
8895 |
});
|
8896 |
var StockReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8897 |
-
return Promise.all(/* import() | analytics-report-stock */[__webpack_require__.e(0), __webpack_require__.e(17)]).then(__webpack_require__.bind(null,
|
8898 |
});
|
8899 |
var CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8900 |
-
return Promise.all(/* import() | analytics-report-customers */[__webpack_require__.e(0), __webpack_require__.e(12)]).then(__webpack_require__.bind(null,
|
8901 |
});
|
8902 |
/* harmony default export */ __webpack_exports__["a"] = (function () {
|
8903 |
var reports = [{
|
@@ -9102,7 +9102,7 @@ __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding *
|
|
9102 |
var es_reflect_construct = __webpack_require__(64);
|
9103 |
|
9104 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
9105 |
-
var es_object_keys = __webpack_require__(
|
9106 |
|
9107 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
9108 |
var es_symbol = __webpack_require__(53);
|
@@ -9152,7 +9152,7 @@ var getPrototypeOf_default = /*#__PURE__*/__webpack_require__.n(getPrototypeOf);
|
|
9152 |
var external_wp_element_ = __webpack_require__(0);
|
9153 |
|
9154 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
9155 |
-
var es_promise = __webpack_require__(
|
9156 |
|
9157 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
9158 |
var es_object_to_string = __webpack_require__(100);
|
@@ -9173,7 +9173,7 @@ var es_string_search = __webpack_require__(170);
|
|
9173 |
var es_regexp_exec = __webpack_require__(88);
|
9174 |
|
9175 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
9176 |
-
var es_string_replace = __webpack_require__(
|
9177 |
|
9178 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
9179 |
var es_array_includes = __webpack_require__(107);
|
@@ -9182,7 +9182,7 @@ var es_array_includes = __webpack_require__(107);
|
|
9182 |
var es_string_includes = __webpack_require__(140);
|
9183 |
|
9184 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
9185 |
-
var es_array_map = __webpack_require__(
|
9186 |
|
9187 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
9188 |
var es_array_filter = __webpack_require__(41);
|
@@ -9194,7 +9194,7 @@ var external_wp_compose_ = __webpack_require__(65);
|
|
9194 |
var external_wp_data_ = __webpack_require__(26);
|
9195 |
|
9196 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
|
9197 |
-
var inheritsLoose = __webpack_require__(
|
9198 |
|
9199 |
// EXTERNAL MODULE: external "React"
|
9200 |
var external_React_ = __webpack_require__(20);
|
@@ -9224,7 +9224,7 @@ var path_to_regexp_default = /*#__PURE__*/__webpack_require__.n(path_to_regexp);
|
|
9224 |
var react_is = __webpack_require__(268);
|
9225 |
|
9226 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
9227 |
-
var objectWithoutPropertiesLoose = __webpack_require__(
|
9228 |
|
9229 |
// EXTERNAL MODULE: ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
|
9230 |
var hoist_non_react_statics_cjs = __webpack_require__(278);
|
@@ -9894,7 +9894,7 @@ if (false) { var secondaryBuildName, initialBuildName, buildNames, react_router_
|
|
9894 |
var external_lodash_ = __webpack_require__(5);
|
9895 |
|
9896 |
// EXTERNAL MODULE: ./node_modules/qs/lib/index.js
|
9897 |
-
var lib = __webpack_require__(
|
9898 |
|
9899 |
// EXTERNAL MODULE: external ["wc","components"]
|
9900 |
var external_wc_components_ = __webpack_require__(145);
|
@@ -9912,10 +9912,10 @@ var external_wc_data_ = __webpack_require__(59);
|
|
9912 |
var external_wc_tracks_ = __webpack_require__(92);
|
9913 |
|
9914 |
// EXTERNAL MODULE: external ["wc","notices"]
|
9915 |
-
var external_wc_notices_ = __webpack_require__(
|
9916 |
|
9917 |
// EXTERNAL MODULE: ./client/layout/style.scss
|
9918 |
-
var layout_style = __webpack_require__(
|
9919 |
|
9920 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
9921 |
var es_array_concat = __webpack_require__(66);
|
@@ -9924,7 +9924,7 @@ var es_array_concat = __webpack_require__(66);
|
|
9924 |
var es_string_match = __webpack_require__(203);
|
9925 |
|
9926 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
9927 |
-
var es_string_split = __webpack_require__(
|
9928 |
|
9929 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
9930 |
var es_object_assign = __webpack_require__(250);
|
@@ -10266,29 +10266,29 @@ var classnames = __webpack_require__(15);
|
|
10266 |
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
10267 |
|
10268 |
// EXTERNAL MODULE: external ["wp","htmlEntities"]
|
10269 |
-
var external_wp_htmlEntities_ = __webpack_require__(
|
10270 |
|
10271 |
// EXTERNAL MODULE: ./packages/experimental/build-module/index.js
|
10272 |
var build_module = __webpack_require__(105);
|
10273 |
|
10274 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
10275 |
-
var build_module_icon = __webpack_require__(
|
10276 |
|
10277 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
|
10278 |
-
var chevron_left = __webpack_require__(
|
10279 |
|
10280 |
// EXTERNAL MODULE: external ["wp","keycodes"]
|
10281 |
var external_wp_keycodes_ = __webpack_require__(126);
|
10282 |
|
10283 |
// EXTERNAL MODULE: ./client/header/style.scss
|
10284 |
-
var header_style = __webpack_require__(
|
10285 |
|
10286 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
|
10287 |
var slicedToArray = __webpack_require__(43);
|
10288 |
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
10289 |
|
10290 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
10291 |
-
var es_function_name = __webpack_require__(
|
10292 |
|
10293 |
// EXTERNAL MODULE: external ["wp","primitives"]
|
10294 |
var external_wp_primitives_ = __webpack_require__(28);
|
@@ -10326,13 +10326,13 @@ var help_help = Object(external_wp_element_["createElement"])(external_wp_primit
|
|
10326 |
/* harmony default export */ var library_help = (help_help);
|
10327 |
//# sourceMappingURL=help.js.map
|
10328 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
|
10329 |
-
var external = __webpack_require__(
|
10330 |
|
10331 |
// EXTERNAL MODULE: ./client/header/activity-panel/style.scss
|
10332 |
-
var activity_panel_style = __webpack_require__(
|
10333 |
|
10334 |
// EXTERNAL MODULE: ./client/inbox-panel/utils.js
|
10335 |
-
var inbox_panel_utils = __webpack_require__(
|
10336 |
|
10337 |
// CONCATENATED MODULE: ./client/header/activity-panel/unread-indicators.js
|
10338 |
/**
|
@@ -10672,10 +10672,10 @@ var display_options_DisplayOptions = function DisplayOptions() {
|
|
10672 |
});
|
10673 |
};
|
10674 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
|
10675 |
-
var library_close = __webpack_require__(
|
10676 |
|
10677 |
// EXTERNAL MODULE: ./client/header/activity-panel/highlight-tooltip/style.scss
|
10678 |
-
var highlight_tooltip_style = __webpack_require__(
|
10679 |
|
10680 |
// CONCATENATED MODULE: ./client/header/activity-panel/highlight-tooltip/index.js
|
10681 |
|
@@ -11589,7 +11589,7 @@ var app_icon_AppIcon = function AppIcon() {
|
|
11589 |
}));
|
11590 |
};
|
11591 |
// EXTERNAL MODULE: ./client/mobile-banner/style.scss
|
11592 |
-
var mobile_banner_style = __webpack_require__(
|
11593 |
|
11594 |
// CONCATENATED MODULE: ./client/mobile-banner/constants.js
|
11595 |
// The Play Store link is defined as an exported constant mainly for the sake of testing the Mobile App Banner.
|
@@ -11714,7 +11714,7 @@ function useIsScrolled() {
|
|
11714 |
var external_wp_plugins_ = __webpack_require__(279);
|
11715 |
|
11716 |
// EXTERNAL MODULE: ./client/navigation/style.scss
|
11717 |
-
var navigation_style = __webpack_require__(
|
11718 |
|
11719 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js
|
11720 |
var toConsumableArray = __webpack_require__(44);
|
@@ -11724,10 +11724,10 @@ var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableA
|
|
11724 |
var es_object_values = __webpack_require__(285);
|
11725 |
|
11726 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.max-safe-integer.js
|
11727 |
-
var es_number_max_safe_integer = __webpack_require__(
|
11728 |
|
11729 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
11730 |
-
var es_number_constructor = __webpack_require__(
|
11731 |
|
11732 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.constructor.js
|
11733 |
var es_regexp_constructor = __webpack_require__(209);
|
@@ -12118,10 +12118,10 @@ var header_Header = function Header() {
|
|
12118 |
|
12119 |
/* harmony default export */ var header = (header_Header);
|
12120 |
// EXTERNAL MODULE: ./client/navigation/components/category-title/style.scss
|
12121 |
-
var category_title_style = __webpack_require__(
|
12122 |
|
12123 |
// EXTERNAL MODULE: ./client/navigation/components/favorite-button/style.scss
|
12124 |
-
var favorite_button_style = __webpack_require__(
|
12125 |
|
12126 |
// CONCATENATED MODULE: ./client/navigation/components/favorite-button/index.js
|
12127 |
|
@@ -12818,17 +12818,17 @@ var external_regeneratorRuntime_ = __webpack_require__(16);
|
|
12818 |
var external_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_regeneratorRuntime_);
|
12819 |
|
12820 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
|
12821 |
-
var asyncToGenerator = __webpack_require__(
|
12822 |
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
12823 |
|
12824 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.js
|
12825 |
-
var es_weak_map = __webpack_require__(
|
12826 |
|
12827 |
// EXTERNAL MODULE: ./node_modules/react-spring/web.cjs.js
|
12828 |
var web_cjs = __webpack_require__(315);
|
12829 |
|
12830 |
// EXTERNAL MODULE: ./client/layout/transient-notices/snackbar/index.js
|
12831 |
-
var snackbar = __webpack_require__(
|
12832 |
|
12833 |
// CONCATENATED MODULE: ./client/layout/transient-notices/snackbar/list.js
|
12834 |
|
@@ -12985,7 +12985,7 @@ function SnackbarList(_ref) {
|
|
12985 |
|
12986 |
/* harmony default export */ var list = (SnackbarList);
|
12987 |
// EXTERNAL MODULE: ./client/layout/transient-notices/style.scss
|
12988 |
-
var transient_notices_style = __webpack_require__(
|
12989 |
|
12990 |
// CONCATENATED MODULE: ./client/layout/transient-notices/index.js
|
12991 |
|
@@ -13230,7 +13230,7 @@ var StoreAlerts = Object(external_wp_element_["lazy"])(function () {
|
|
13230 |
return Promise.all(/* import() | store-alerts */[__webpack_require__.e(1), __webpack_require__.e(47)]).then(__webpack_require__.bind(null, 714));
|
13231 |
});
|
13232 |
var WCPayUsageModal = Object(external_wp_element_["lazy"])(function () {
|
13233 |
-
return __webpack_require__.e(/* import() | wcpay-usage-modal */ 51).then(__webpack_require__.bind(null,
|
13234 |
});
|
13235 |
var layout_PrimaryLayout = /*#__PURE__*/function (_Component) {
|
13236 |
inherits_default()(PrimaryLayout, _Component);
|
@@ -13460,7 +13460,7 @@ var EmbedLayout = Object(external_wp_compose_["compose"])(window.wcSettings.prel
|
|
13460 |
|
13461 |
var $ = __webpack_require__(12);
|
13462 |
var from = __webpack_require__(234);
|
13463 |
-
var checkCorrectnessOfIteration = __webpack_require__(
|
13464 |
|
13465 |
var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
|
13466 |
Array.from(iterable);
|
@@ -15301,7 +15301,7 @@ var _extends = _interopDefault(__webpack_require__(80));
|
|
15301 |
var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(233));
|
15302 |
var React = __webpack_require__(20);
|
15303 |
var React__default = _interopDefault(React);
|
15304 |
-
var _inheritsLoose = _interopDefault(__webpack_require__(
|
15305 |
var _assertThisInitialized = _interopDefault(__webpack_require__(18));
|
15306 |
|
15307 |
var is = {
|
@@ -17623,7 +17623,7 @@ exports.useSprings = useSprings;
|
|
17623 |
"use strict";
|
17624 |
/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20);
|
17625 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
17626 |
-
/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
17627 |
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
|
17628 |
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
17629 |
|
@@ -17807,7 +17807,7 @@ var index = react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext || create
|
|
17807 |
/* 317 */
|
17808 |
/***/ (function(module, exports, __webpack_require__) {
|
17809 |
|
17810 |
-
var isarray = __webpack_require__(
|
17811 |
|
17812 |
/**
|
17813 |
* Expose `pathToRegexp`.
|
@@ -18249,7 +18249,8 @@ function pathToRegexp (path, keys, options) {
|
|
18249 |
/* 328 */,
|
18250 |
/* 329 */,
|
18251 |
/* 330 */,
|
18252 |
-
/* 331
|
|
|
18253 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18254 |
|
18255 |
"use strict";
|
@@ -18298,7 +18299,6 @@ function hasValidNotes(notes) {
|
|
18298 |
}
|
18299 |
|
18300 |
/***/ }),
|
18301 |
-
/* 332 */,
|
18302 |
/* 333 */,
|
18303 |
/* 334 */,
|
18304 |
/* 335 */,
|
@@ -18357,23 +18357,24 @@ function hasValidNotes(notes) {
|
|
18357 |
/* 388 */,
|
18358 |
/* 389 */,
|
18359 |
/* 390 */,
|
18360 |
-
/* 391
|
|
|
18361 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18362 |
|
18363 |
"use strict";
|
18364 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
18365 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
18366 |
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
18367 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__);
|
18368 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5);
|
18369 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
|
18370 |
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15);
|
18371 |
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);
|
18372 |
-
/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
18373 |
/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_4__);
|
18374 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2);
|
18375 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);
|
18376 |
-
/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
18377 |
/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_6__);
|
18378 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4);
|
18379 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__);
|
@@ -18513,32 +18514,32 @@ function Snackbar(_ref, ref) {
|
|
18513 |
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(297)))
|
18514 |
|
18515 |
/***/ }),
|
18516 |
-
/*
|
18517 |
/***/ (function(module, exports) {
|
18518 |
|
18519 |
(function() { module.exports = window["wp"]["a11y"]; }());
|
18520 |
|
18521 |
/***/ }),
|
18522 |
-
/*
|
18523 |
/***/ (function(module, exports) {
|
18524 |
|
18525 |
(function() { module.exports = window["wp"]["warning"]; }());
|
18526 |
|
18527 |
/***/ }),
|
18528 |
-
/*
|
18529 |
/***/ (function(module, exports) {
|
18530 |
|
18531 |
(function() { module.exports = window["wc"]["customerEffortScore"]; }());
|
18532 |
|
18533 |
/***/ }),
|
18534 |
-
/* 395 */,
|
18535 |
/* 396 */,
|
18536 |
/* 397 */,
|
18537 |
/* 398 */,
|
18538 |
/* 399 */,
|
18539 |
/* 400 */,
|
18540 |
/* 401 */,
|
18541 |
-
/* 402
|
|
|
18542 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18543 |
|
18544 |
"use strict";
|
@@ -18567,7 +18568,7 @@ __webpack_require__.r(selectors_namespaceObject);
|
|
18567 |
__webpack_require__.d(selectors_namespaceObject, "getCesSurveyQueue", function() { return selectors_getCesSurveyQueue; });
|
18568 |
|
18569 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
18570 |
-
var es_object_keys = __webpack_require__(
|
18571 |
|
18572 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
18573 |
var es_symbol = __webpack_require__(53);
|
@@ -18610,7 +18611,7 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
18610 |
var external_wc_tracks_ = __webpack_require__(92);
|
18611 |
|
18612 |
// EXTERNAL MODULE: external ["wc","customerEffortScore"]
|
18613 |
-
var external_wc_customerEffortScore_ = __webpack_require__(
|
18614 |
var external_wc_customerEffortScore_default = /*#__PURE__*/__webpack_require__.n(external_wc_customerEffortScore_);
|
18615 |
|
18616 |
// EXTERNAL MODULE: external ["wp","compose"]
|
@@ -18860,7 +18861,7 @@ function getStoreAgeInWeeks(adminInstallTimestamp) {
|
|
18860 |
};
|
18861 |
}))(CustomerEffortScoreTracks));
|
18862 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
18863 |
-
var es_array_map = __webpack_require__(
|
18864 |
|
18865 |
// EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
|
18866 |
var constants = __webpack_require__(210);
|
@@ -19193,7 +19194,6 @@ CustomerEffortScoreTracksContainer.propTypes = {
|
|
19193 |
|
19194 |
|
19195 |
/***/ }),
|
19196 |
-
/* 403 */,
|
19197 |
/* 404 */,
|
19198 |
/* 405 */,
|
19199 |
/* 406 */,
|
@@ -19207,7 +19207,8 @@ CustomerEffortScoreTracksContainer.propTypes = {
|
|
19207 |
/* 414 */,
|
19208 |
/* 415 */,
|
19209 |
/* 416 */,
|
19210 |
-
/* 417
|
|
|
19211 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19212 |
|
19213 |
"use strict";
|
@@ -19218,10 +19219,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
19218 |
/* harmony import */ var _wordpress_notices__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_notices__WEBPACK_IMPORTED_MODULE_1__);
|
19219 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(59);
|
19220 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_2__);
|
19221 |
-
/* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
19222 |
/* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3__);
|
19223 |
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(280);
|
19224 |
-
/* harmony import */ var _customer_effort_score_tracks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
19225 |
|
19226 |
|
19227 |
/**
|
@@ -19291,44 +19292,44 @@ if (window.wcAdminFeatures && window.wcAdminFeatures['customer-effort-score-trac
|
|
19291 |
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(96)))
|
19292 |
|
19293 |
/***/ }),
|
19294 |
-
/*
|
19295 |
-
/*
|
19296 |
/***/ (function(module, exports, __webpack_require__) {
|
19297 |
|
19298 |
// extracted by mini-css-extract-plugin
|
19299 |
|
19300 |
/***/ }),
|
19301 |
-
/*
|
19302 |
/***/ (function(module, exports) {
|
19303 |
|
19304 |
(function() { module.exports = window["wc"]["notices"]; }());
|
19305 |
|
19306 |
/***/ }),
|
19307 |
-
/*
|
19308 |
/***/ (function(module, exports, __webpack_require__) {
|
19309 |
|
19310 |
// extracted by mini-css-extract-plugin
|
19311 |
|
19312 |
/***/ }),
|
19313 |
-
/*
|
19314 |
/***/ (function(module, exports, __webpack_require__) {
|
19315 |
|
19316 |
// extracted by mini-css-extract-plugin
|
19317 |
|
19318 |
/***/ }),
|
19319 |
-
/*
|
19320 |
/***/ (function(module, exports, __webpack_require__) {
|
19321 |
|
19322 |
// extracted by mini-css-extract-plugin
|
19323 |
|
19324 |
/***/ }),
|
19325 |
-
/*
|
19326 |
/***/ (function(module, exports, __webpack_require__) {
|
19327 |
|
19328 |
// extracted by mini-css-extract-plugin
|
19329 |
|
19330 |
/***/ }),
|
19331 |
-
/*
|
19332 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19333 |
|
19334 |
"use strict";
|
@@ -19375,19 +19376,19 @@ function Icon(_ref) {
|
|
19375 |
//# sourceMappingURL=index.js.map
|
19376 |
|
19377 |
/***/ }),
|
19378 |
-
/*
|
19379 |
/***/ (function(module, exports, __webpack_require__) {
|
19380 |
|
19381 |
// extracted by mini-css-extract-plugin
|
19382 |
|
19383 |
/***/ }),
|
19384 |
-
/*
|
19385 |
/***/ (function(module, exports, __webpack_require__) {
|
19386 |
|
19387 |
// extracted by mini-css-extract-plugin
|
19388 |
|
19389 |
/***/ }),
|
19390 |
-
/*
|
19391 |
/***/ (function(module, exports, __webpack_require__) {
|
19392 |
|
19393 |
var $ = __webpack_require__(12);
|
@@ -19400,19 +19401,19 @@ $({ target: 'Number', stat: true }, {
|
|
19400 |
|
19401 |
|
19402 |
/***/ }),
|
19403 |
-
/*
|
19404 |
/***/ (function(module, exports, __webpack_require__) {
|
19405 |
|
19406 |
// extracted by mini-css-extract-plugin
|
19407 |
|
19408 |
/***/ }),
|
19409 |
-
/*
|
19410 |
/***/ (function(module, exports, __webpack_require__) {
|
19411 |
|
19412 |
// extracted by mini-css-extract-plugin
|
19413 |
|
19414 |
/***/ }),
|
19415 |
-
/*
|
19416 |
/***/ (function(module, exports, __webpack_require__) {
|
19417 |
|
19418 |
"use strict";
|
@@ -19421,7 +19422,7 @@ var global = __webpack_require__(3);
|
|
19421 |
var redefineAll = __webpack_require__(152);
|
19422 |
var InternalMetadataModule = __webpack_require__(205);
|
19423 |
var collection = __webpack_require__(229);
|
19424 |
-
var collectionWeak = __webpack_require__(
|
19425 |
var isObject = __webpack_require__(10);
|
19426 |
var enforceIternalState = __webpack_require__(45).enforce;
|
19427 |
var NATIVE_WEAK_MAP = __webpack_require__(106);
|
@@ -19486,7 +19487,7 @@ if (NATIVE_WEAK_MAP && IS_IE11) {
|
|
19486 |
|
19487 |
|
19488 |
/***/ }),
|
19489 |
-
/*
|
19490 |
/***/ (function(module, exports, __webpack_require__) {
|
19491 |
|
19492 |
"use strict";
|
@@ -19614,7 +19615,7 @@ module.exports = {
|
|
19614 |
|
19615 |
|
19616 |
/***/ }),
|
19617 |
-
/*
|
19618 |
/***/ (function(module, exports, __webpack_require__) {
|
19619 |
|
19620 |
var setPrototypeOf = __webpack_require__(204);
|
@@ -19628,13 +19629,13 @@ function _inheritsLoose(subClass, superClass) {
|
|
19628 |
module.exports = _inheritsLoose;
|
19629 |
|
19630 |
/***/ }),
|
19631 |
-
/*
|
19632 |
/***/ (function(module, exports, __webpack_require__) {
|
19633 |
|
19634 |
// extracted by mini-css-extract-plugin
|
19635 |
|
19636 |
/***/ }),
|
19637 |
-
/*
|
19638 |
/***/ (function(module, exports) {
|
19639 |
|
19640 |
module.exports = Array.isArray || function (arr) {
|
@@ -19643,7 +19644,6 @@ module.exports = Array.isArray || function (arr) {
|
|
19643 |
|
19644 |
|
19645 |
/***/ }),
|
19646 |
-
/* 436 */,
|
19647 |
/* 437 */,
|
19648 |
/* 438 */,
|
19649 |
/* 439 */,
|
@@ -19785,13 +19785,13 @@ module.exports = Array.isArray || function (arr) {
|
|
19785 |
/* 575 */,
|
19786 |
/* 576 */,
|
19787 |
/* 577 */,
|
19788 |
-
/* 578
|
|
|
19789 |
/***/ (function(module, exports) {
|
19790 |
|
19791 |
(function() { module.exports = window["wc"]["csvExport"]; }());
|
19792 |
|
19793 |
/***/ }),
|
19794 |
-
/* 579 */,
|
19795 |
/* 580 */,
|
19796 |
/* 581 */,
|
19797 |
/* 582 */,
|
@@ -19806,7 +19806,8 @@ module.exports = Array.isArray || function (arr) {
|
|
19806 |
/* 591 */,
|
19807 |
/* 592 */,
|
19808 |
/* 593 */,
|
19809 |
-
/* 594
|
|
|
19810 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19811 |
|
19812 |
"use strict";
|
@@ -19830,7 +19831,7 @@ var close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElemen
|
|
19830 |
//# sourceMappingURL=close.js.map
|
19831 |
|
19832 |
/***/ }),
|
19833 |
-
/*
|
19834 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19835 |
|
19836 |
"use strict";
|
@@ -19854,7 +19855,7 @@ var external = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEle
|
|
19854 |
//# sourceMappingURL=external.js.map
|
19855 |
|
19856 |
/***/ }),
|
19857 |
-
/*
|
19858 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19859 |
|
19860 |
"use strict";
|
259 |
/******/
|
260 |
/******/
|
261 |
/******/ // Load entry module and return exports
|
262 |
+
/******/ return __webpack_require__(__webpack_require__.s = 418);
|
263 |
/******/ })
|
264 |
/************************************************************************/
|
265 |
/******/ ([
|
878 |
/* 37 */
|
879 |
/***/ (function(module, exports, __webpack_require__) {
|
880 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
881 |
var $ = __webpack_require__(12);
|
882 |
+
var toObject = __webpack_require__(38);
|
883 |
var nativeKeys = __webpack_require__(54);
|
884 |
var fails = __webpack_require__(6);
|
885 |
|
894 |
});
|
895 |
|
896 |
|
897 |
+
/***/ }),
|
898 |
+
/* 38 */
|
899 |
+
/***/ (function(module, exports, __webpack_require__) {
|
900 |
+
|
901 |
+
var requireObjectCoercible = __webpack_require__(32);
|
902 |
+
|
903 |
+
// `ToObject` abstract operation
|
904 |
+
// https://tc39.es/ecma262/#sec-toobject
|
905 |
+
module.exports = function (argument) {
|
906 |
+
return Object(requireObjectCoercible(argument));
|
907 |
+
};
|
908 |
+
|
909 |
+
|
910 |
/***/ }),
|
911 |
/* 39 */
|
912 |
/***/ (function(module, exports) {
|
981 |
/* 43 */
|
982 |
/***/ (function(module, exports, __webpack_require__) {
|
983 |
|
984 |
+
var arrayWithHoles = __webpack_require__(182);
|
985 |
|
986 |
+
var iterableToArrayLimit = __webpack_require__(183);
|
987 |
|
988 |
+
var unsupportedIterableToArray = __webpack_require__(131);
|
989 |
|
990 |
+
var nonIterableRest = __webpack_require__(184);
|
991 |
|
992 |
function _slicedToArray(arr, i) {
|
993 |
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
|
999 |
/* 44 */
|
1000 |
/***/ (function(module, exports, __webpack_require__) {
|
1001 |
|
1002 |
+
var arrayWithoutHoles = __webpack_require__(179);
|
1003 |
|
1004 |
+
var iterableToArray = __webpack_require__(180);
|
1005 |
|
1006 |
+
var unsupportedIterableToArray = __webpack_require__(131);
|
1007 |
|
1008 |
+
var nonIterableSpread = __webpack_require__(181);
|
1009 |
|
1010 |
function _toConsumableArray(arr) {
|
1011 |
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
|
1023 |
var createNonEnumerableProperty = __webpack_require__(19);
|
1024 |
var objectHas = __webpack_require__(11);
|
1025 |
var shared = __webpack_require__(47);
|
1026 |
+
var sharedKey = __webpack_require__(52);
|
1027 |
var hiddenKeys = __webpack_require__(36);
|
1028 |
|
1029 |
var WeakMap = global.WeakMap;
|
1133 |
/***/ (function(module, exports, __webpack_require__) {
|
1134 |
|
1135 |
var global = __webpack_require__(3);
|
1136 |
+
var DOMIterables = __webpack_require__(127);
|
1137 |
var forEach = __webpack_require__(149);
|
1138 |
var createNonEnumerableProperty = __webpack_require__(19);
|
1139 |
|
1159 |
/* 51 */
|
1160 |
/***/ (function(module, exports, __webpack_require__) {
|
1161 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1162 |
"use strict";
|
1163 |
|
1164 |
var $ = __webpack_require__(12);
|
1177 |
});
|
1178 |
|
1179 |
|
1180 |
+
/***/ }),
|
1181 |
+
/* 52 */
|
1182 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1183 |
+
|
1184 |
+
var shared = __webpack_require__(58);
|
1185 |
+
var uid = __webpack_require__(55);
|
1186 |
+
|
1187 |
+
var keys = shared('keys');
|
1188 |
+
|
1189 |
+
module.exports = function (key) {
|
1190 |
+
return keys[key] || (keys[key] = uid(key));
|
1191 |
+
};
|
1192 |
+
|
1193 |
+
|
1194 |
/***/ }),
|
1195 |
/* 53 */
|
1196 |
/***/ (function(module, exports, __webpack_require__) {
|
1209 |
var isArray = __webpack_require__(84);
|
1210 |
var isObject = __webpack_require__(10);
|
1211 |
var anObject = __webpack_require__(9);
|
1212 |
+
var toObject = __webpack_require__(38);
|
1213 |
var toIndexedObject = __webpack_require__(21);
|
1214 |
var toPrimitive = __webpack_require__(40);
|
1215 |
var createPropertyDescriptor = __webpack_require__(39);
|
1224 |
var createNonEnumerableProperty = __webpack_require__(19);
|
1225 |
var redefine = __webpack_require__(27);
|
1226 |
var shared = __webpack_require__(58);
|
1227 |
+
var sharedKey = __webpack_require__(52);
|
1228 |
var hiddenKeys = __webpack_require__(36);
|
1229 |
var uid = __webpack_require__(55);
|
1230 |
var wellKnownSymbol = __webpack_require__(8);
|
1748 |
var fails = __webpack_require__(6);
|
1749 |
var isArray = __webpack_require__(84);
|
1750 |
var isObject = __webpack_require__(10);
|
1751 |
+
var toObject = __webpack_require__(38);
|
1752 |
var toLength = __webpack_require__(34);
|
1753 |
var createProperty = __webpack_require__(102);
|
1754 |
var arraySpeciesCreate = __webpack_require__(109);
|
1850 |
var hiddenKeys = __webpack_require__(36);
|
1851 |
var html = __webpack_require__(98);
|
1852 |
var documentCreateElement = __webpack_require__(67);
|
1853 |
+
var sharedKey = __webpack_require__(52);
|
1854 |
|
1855 |
var GT = '>';
|
1856 |
var LT = '<';
|
2026 |
|
2027 |
var bind = __webpack_require__(94);
|
2028 |
var IndexedObject = __webpack_require__(71);
|
2029 |
+
var toObject = __webpack_require__(38);
|
2030 |
var toLength = __webpack_require__(34);
|
2031 |
var arraySpeciesCreate = __webpack_require__(109);
|
2032 |
|
2256 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getAdminLink; });
|
2257 |
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(108);
|
2258 |
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);
|
2259 |
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(37);
|
2260 |
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1__);
|
2261 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(107);
|
2262 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2__);
|
2648 |
|
2649 |
var TO_STRING_TAG_SUPPORT = __webpack_require__(82);
|
2650 |
var redefine = __webpack_require__(27);
|
2651 |
+
var toString = __webpack_require__(130);
|
2652 |
|
2653 |
// `Object.prototype.toString` method
|
2654 |
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
3151 |
|
3152 |
"use strict";
|
3153 |
|
3154 |
+
var fails = __webpack_require__(6);
|
3155 |
|
3156 |
+
module.exports = function (METHOD_NAME, argument) {
|
3157 |
+
var method = [][METHOD_NAME];
|
3158 |
+
return !!method && fails(function () {
|
3159 |
+
// eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
|
3160 |
+
method.call(null, argument || function () { throw 1; }, 1);
|
3161 |
+
});
|
3162 |
};
|
3163 |
|
3164 |
|
3168 |
|
3169 |
"use strict";
|
3170 |
|
3171 |
+
var charAt = __webpack_require__(125).charAt;
|
3172 |
|
3173 |
+
// `AdvanceStringIndex` abstract operation
|
3174 |
+
// https://tc39.es/ecma262/#sec-advancestringindex
|
3175 |
+
module.exports = function (S, index, unicode) {
|
3176 |
+
return index + (unicode ? charAt(S, index).length : 1);
|
|
|
|
|
3177 |
};
|
3178 |
|
3179 |
|
3187 |
var addToUnscopables = __webpack_require__(118);
|
3188 |
var Iterators = __webpack_require__(110);
|
3189 |
var InternalStateModule = __webpack_require__(45);
|
3190 |
+
var defineIterator = __webpack_require__(166);
|
3191 |
|
3192 |
var ARRAY_ITERATOR = 'Array Iterator';
|
3193 |
var setInternalState = InternalStateModule.set;
|
3294 |
|
3295 |
/***/ }),
|
3296 |
/* 127 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3297 |
/***/ (function(module, exports) {
|
3298 |
|
3299 |
// iterable DOM collections
|
3334 |
|
3335 |
|
3336 |
/***/ }),
|
3337 |
+
/* 128 */
|
3338 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3339 |
|
3340 |
"use strict";
|
3360 |
}
|
3361 |
|
3362 |
/***/ }),
|
3363 |
+
/* 129 */
|
3364 |
/***/ (function(module, exports, __webpack_require__) {
|
3365 |
|
3366 |
var DESCRIPTORS = __webpack_require__(13);
|
3388 |
|
3389 |
|
3390 |
/***/ }),
|
3391 |
+
/* 130 */
|
3392 |
/***/ (function(module, exports, __webpack_require__) {
|
3393 |
|
3394 |
"use strict";
|
3404 |
|
3405 |
|
3406 |
/***/ }),
|
3407 |
+
/* 131 */
|
3408 |
/***/ (function(module, exports, __webpack_require__) {
|
3409 |
|
3410 |
var arrayLikeToArray = __webpack_require__(124);
|
3421 |
module.exports = _unsupportedIterableToArray;
|
3422 |
|
3423 |
/***/ }),
|
3424 |
+
/* 132 */
|
3425 |
/***/ (function(module, exports) {
|
3426 |
|
3427 |
(function() { module.exports = window["wp"]["htmlEntities"]; }());
|
3428 |
|
3429 |
/***/ }),
|
3430 |
+
/* 133 */
|
3431 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3432 |
|
3433 |
"use strict";
|
3448 |
}
|
3449 |
|
3450 |
/***/ }),
|
3451 |
+
/* 134 */
|
3452 |
/***/ (function(module, exports) {
|
3453 |
|
3454 |
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
3489 |
|
3490 |
module.exports = _asyncToGenerator;
|
3491 |
|
3492 |
+
/***/ }),
|
3493 |
+
/* 135 */
|
3494 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3495 |
+
|
3496 |
+
"use strict";
|
3497 |
+
|
3498 |
+
var fixRegExpWellKnownSymbolLogic = __webpack_require__(111);
|
3499 |
+
var anObject = __webpack_require__(9);
|
3500 |
+
var toLength = __webpack_require__(34);
|
3501 |
+
var toInteger = __webpack_require__(42);
|
3502 |
+
var requireObjectCoercible = __webpack_require__(32);
|
3503 |
+
var advanceStringIndex = __webpack_require__(122);
|
3504 |
+
var getSubstitution = __webpack_require__(168);
|
3505 |
+
var regExpExec = __webpack_require__(112);
|
3506 |
+
|
3507 |
+
var max = Math.max;
|
3508 |
+
var min = Math.min;
|
3509 |
+
|
3510 |
+
var maybeToString = function (it) {
|
3511 |
+
return it === undefined ? it : String(it);
|
3512 |
+
};
|
3513 |
+
|
3514 |
+
// @@replace logic
|
3515 |
+
fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
|
3516 |
+
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
|
3517 |
+
var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
|
3518 |
+
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
3519 |
+
|
3520 |
+
return [
|
3521 |
+
// `String.prototype.replace` method
|
3522 |
+
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
3523 |
+
function replace(searchValue, replaceValue) {
|
3524 |
+
var O = requireObjectCoercible(this);
|
3525 |
+
var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
|
3526 |
+
return replacer !== undefined
|
3527 |
+
? replacer.call(searchValue, O, replaceValue)
|
3528 |
+
: nativeReplace.call(String(O), searchValue, replaceValue);
|
3529 |
+
},
|
3530 |
+
// `RegExp.prototype[@@replace]` method
|
3531 |
+
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
3532 |
+
function (regexp, replaceValue) {
|
3533 |
+
if (
|
3534 |
+
(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
|
3535 |
+
(typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
|
3536 |
+
) {
|
3537 |
+
var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
|
3538 |
+
if (res.done) return res.value;
|
3539 |
+
}
|
3540 |
+
|
3541 |
+
var rx = anObject(regexp);
|
3542 |
+
var S = String(this);
|
3543 |
+
|
3544 |
+
var functionalReplace = typeof replaceValue === 'function';
|
3545 |
+
if (!functionalReplace) replaceValue = String(replaceValue);
|
3546 |
+
|
3547 |
+
var global = rx.global;
|
3548 |
+
if (global) {
|
3549 |
+
var fullUnicode = rx.unicode;
|
3550 |
+
rx.lastIndex = 0;
|
3551 |
+
}
|
3552 |
+
var results = [];
|
3553 |
+
while (true) {
|
3554 |
+
var result = regExpExec(rx, S);
|
3555 |
+
if (result === null) break;
|
3556 |
+
|
3557 |
+
results.push(result);
|
3558 |
+
if (!global) break;
|
3559 |
+
|
3560 |
+
var matchStr = String(result[0]);
|
3561 |
+
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
3562 |
+
}
|
3563 |
+
|
3564 |
+
var accumulatedResult = '';
|
3565 |
+
var nextSourcePosition = 0;
|
3566 |
+
for (var i = 0; i < results.length; i++) {
|
3567 |
+
result = results[i];
|
3568 |
+
|
3569 |
+
var matched = String(result[0]);
|
3570 |
+
var position = max(min(toInteger(result.index), S.length), 0);
|
3571 |
+
var captures = [];
|
3572 |
+
// NOTE: This is equivalent to
|
3573 |
+
// captures = result.slice(1).map(maybeToString)
|
3574 |
+
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
3575 |
+
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
3576 |
+
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
3577 |
+
for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
|
3578 |
+
var namedCaptures = result.groups;
|
3579 |
+
if (functionalReplace) {
|
3580 |
+
var replacerArgs = [matched].concat(captures, position, S);
|
3581 |
+
if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
|
3582 |
+
var replacement = String(replaceValue.apply(undefined, replacerArgs));
|
3583 |
+
} else {
|
3584 |
+
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
3585 |
+
}
|
3586 |
+
if (position >= nextSourcePosition) {
|
3587 |
+
accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
|
3588 |
+
nextSourcePosition = position + matched.length;
|
3589 |
+
}
|
3590 |
+
}
|
3591 |
+
return accumulatedResult + S.slice(nextSourcePosition);
|
3592 |
+
}
|
3593 |
+
];
|
3594 |
+
});
|
3595 |
+
|
3596 |
+
|
3597 |
/***/ }),
|
3598 |
/* 136 */
|
3599 |
/***/ (function(module, exports) {
|
3645 |
var $ = __webpack_require__(12);
|
3646 |
var IndexedObject = __webpack_require__(71);
|
3647 |
var toIndexedObject = __webpack_require__(21);
|
3648 |
+
var arrayMethodIsStrict = __webpack_require__(121);
|
3649 |
|
3650 |
var nativeJoin = [].join;
|
3651 |
|
3779 |
/***/ (function(module, exports, __webpack_require__) {
|
3780 |
|
3781 |
var global = __webpack_require__(3);
|
3782 |
+
var DOMIterables = __webpack_require__(127);
|
3783 |
var ArrayIteratorMethods = __webpack_require__(123);
|
3784 |
var createNonEnumerableProperty = __webpack_require__(19);
|
3785 |
var wellKnownSymbol = __webpack_require__(8);
|
3865 |
"use strict";
|
3866 |
|
3867 |
var $forEach = __webpack_require__(75).forEach;
|
3868 |
+
var arrayMethodIsStrict = __webpack_require__(121);
|
3869 |
|
3870 |
var STRICT_METHOD = arrayMethodIsStrict('forEach');
|
3871 |
|
3903 |
|
3904 |
var charAt = __webpack_require__(125).charAt;
|
3905 |
var InternalStateModule = __webpack_require__(45);
|
3906 |
+
var defineIterator = __webpack_require__(166);
|
3907 |
|
3908 |
var STRING_ITERATOR = 'String Iterator';
|
3909 |
var setInternalState = InternalStateModule.set;
|
4234 |
|
4235 |
|
4236 |
/***/ }),
|
4237 |
+
/* 161 */,
|
4238 |
+
/* 162 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4239 |
/***/ (function(module, exports, __webpack_require__) {
|
4240 |
|
4241 |
"use strict";
|
4253 |
|
4254 |
|
4255 |
/***/ }),
|
4256 |
+
/* 163 */
|
4257 |
/***/ (function(module, exports) {
|
4258 |
|
4259 |
(function() { module.exports = window["ReactDOM"]; }());
|
4260 |
|
4261 |
/***/ }),
|
4262 |
+
/* 164 */
|
4263 |
/***/ (function(module, exports, __webpack_require__) {
|
4264 |
|
4265 |
"use strict";
|
4278 |
var anInstance = __webpack_require__(136);
|
4279 |
var inspectSource = __webpack_require__(68);
|
4280 |
var iterate = __webpack_require__(154);
|
4281 |
+
var checkCorrectnessOfIteration = __webpack_require__(165);
|
4282 |
var speciesConstructor = __webpack_require__(150);
|
4283 |
var task = __webpack_require__(157).set;
|
4284 |
var microtask = __webpack_require__(194);
|
4647 |
|
4648 |
|
4649 |
/***/ }),
|
4650 |
+
/* 165 */
|
4651 |
/***/ (function(module, exports, __webpack_require__) {
|
4652 |
|
4653 |
var wellKnownSymbol = __webpack_require__(8);
|
4691 |
|
4692 |
|
4693 |
/***/ }),
|
4694 |
+
/* 166 */
|
4695 |
/***/ (function(module, exports, __webpack_require__) {
|
4696 |
|
4697 |
"use strict";
|
4788 |
|
4789 |
|
4790 |
/***/ }),
|
4791 |
+
/* 167 */,
|
4792 |
+
/* 168 */
|
4793 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4794 |
+
|
4795 |
+
var toObject = __webpack_require__(38);
|
4796 |
+
|
4797 |
+
var floor = Math.floor;
|
4798 |
+
var replace = ''.replace;
|
4799 |
+
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
4800 |
+
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
4801 |
+
|
4802 |
+
// https://tc39.es/ecma262/#sec-getsubstitution
|
4803 |
+
module.exports = function (matched, str, position, captures, namedCaptures, replacement) {
|
4804 |
+
var tailPos = position + matched.length;
|
4805 |
+
var m = captures.length;
|
4806 |
+
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
4807 |
+
if (namedCaptures !== undefined) {
|
4808 |
+
namedCaptures = toObject(namedCaptures);
|
4809 |
+
symbols = SUBSTITUTION_SYMBOLS;
|
4810 |
+
}
|
4811 |
+
return replace.call(replacement, symbols, function (match, ch) {
|
4812 |
+
var capture;
|
4813 |
+
switch (ch.charAt(0)) {
|
4814 |
+
case '$': return '$';
|
4815 |
+
case '&': return matched;
|
4816 |
+
case '`': return str.slice(0, position);
|
4817 |
+
case "'": return str.slice(tailPos);
|
4818 |
+
case '<':
|
4819 |
+
capture = namedCaptures[ch.slice(1, -1)];
|
4820 |
+
break;
|
4821 |
+
default: // \d\d?
|
4822 |
+
var n = +ch;
|
4823 |
+
if (n === 0) return match;
|
4824 |
+
if (n > m) {
|
4825 |
+
var f = floor(n / 10);
|
4826 |
+
if (f === 0) return match;
|
4827 |
+
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
|
4828 |
+
return match;
|
4829 |
+
}
|
4830 |
+
capture = captures[n - 1];
|
4831 |
+
}
|
4832 |
+
return capture === undefined ? '' : capture;
|
4833 |
+
});
|
4834 |
+
};
|
4835 |
+
|
4836 |
+
|
4837 |
+
/***/ }),
|
4838 |
/* 169 */
|
4839 |
/***/ (function(module, exports, __webpack_require__) {
|
4840 |
|
4991 |
/***/ (function(module, exports, __webpack_require__) {
|
4992 |
|
4993 |
var has = __webpack_require__(11);
|
4994 |
+
var toObject = __webpack_require__(38);
|
4995 |
+
var sharedKey = __webpack_require__(52);
|
4996 |
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(213);
|
4997 |
|
4998 |
var IE_PROTO = sharedKey('IE_PROTO');
|
5009 |
};
|
5010 |
|
5011 |
|
5012 |
+
/***/ }),
|
5013 |
+
/* 175 */,
|
5014 |
+
/* 176 */
|
5015 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5016 |
+
|
5017 |
+
"use strict";
|
5018 |
+
var isProduction = "production" === 'production';
|
5019 |
+
var prefix = 'Invariant failed';
|
5020 |
+
function invariant(condition, message) {
|
5021 |
+
if (condition) {
|
5022 |
+
return;
|
5023 |
+
}
|
5024 |
+
if (isProduction) {
|
5025 |
+
throw new Error(prefix);
|
5026 |
+
}
|
5027 |
+
throw new Error(prefix + ": " + (message || ''));
|
5028 |
+
}
|
5029 |
+
|
5030 |
+
/* harmony default export */ __webpack_exports__["a"] = (invariant);
|
5031 |
+
|
5032 |
+
|
5033 |
+
/***/ }),
|
5034 |
+
/* 177 */
|
5035 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5036 |
+
|
5037 |
+
"use strict";
|
5038 |
+
|
5039 |
+
var fixRegExpWellKnownSymbolLogic = __webpack_require__(111);
|
5040 |
+
var isRegExp = __webpack_require__(144);
|
5041 |
+
var anObject = __webpack_require__(9);
|
5042 |
+
var requireObjectCoercible = __webpack_require__(32);
|
5043 |
+
var speciesConstructor = __webpack_require__(150);
|
5044 |
+
var advanceStringIndex = __webpack_require__(122);
|
5045 |
+
var toLength = __webpack_require__(34);
|
5046 |
+
var callRegExpExec = __webpack_require__(112);
|
5047 |
+
var regexpExec = __webpack_require__(91);
|
5048 |
+
var fails = __webpack_require__(6);
|
5049 |
+
|
5050 |
+
var arrayPush = [].push;
|
5051 |
+
var min = Math.min;
|
5052 |
+
var MAX_UINT32 = 0xFFFFFFFF;
|
5053 |
+
|
5054 |
+
// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
|
5055 |
+
var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });
|
5056 |
+
|
5057 |
+
// @@split logic
|
5058 |
+
fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {
|
5059 |
+
var internalSplit;
|
5060 |
+
if (
|
5061 |
+
'abbc'.split(/(b)*/)[1] == 'c' ||
|
5062 |
+
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
5063 |
+
'test'.split(/(?:)/, -1).length != 4 ||
|
5064 |
+
'ab'.split(/(?:ab)*/).length != 2 ||
|
5065 |
+
'.'.split(/(.?)(.?)/).length != 4 ||
|
5066 |
+
// eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
|
5067 |
+
'.'.split(/()()/).length > 1 ||
|
5068 |
+
''.split(/.?/).length
|
5069 |
+
) {
|
5070 |
+
// based on es5-shim implementation, need to rework it
|
5071 |
+
internalSplit = function (separator, limit) {
|
5072 |
+
var string = String(requireObjectCoercible(this));
|
5073 |
+
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
5074 |
+
if (lim === 0) return [];
|
5075 |
+
if (separator === undefined) return [string];
|
5076 |
+
// If `separator` is not a regex, use native split
|
5077 |
+
if (!isRegExp(separator)) {
|
5078 |
+
return nativeSplit.call(string, separator, lim);
|
5079 |
+
}
|
5080 |
+
var output = [];
|
5081 |
+
var flags = (separator.ignoreCase ? 'i' : '') +
|
5082 |
+
(separator.multiline ? 'm' : '') +
|
5083 |
+
(separator.unicode ? 'u' : '') +
|
5084 |
+
(separator.sticky ? 'y' : '');
|
5085 |
+
var lastLastIndex = 0;
|
5086 |
+
// Make `global` and avoid `lastIndex` issues by working with a copy
|
5087 |
+
var separatorCopy = new RegExp(separator.source, flags + 'g');
|
5088 |
+
var match, lastIndex, lastLength;
|
5089 |
+
while (match = regexpExec.call(separatorCopy, string)) {
|
5090 |
+
lastIndex = separatorCopy.lastIndex;
|
5091 |
+
if (lastIndex > lastLastIndex) {
|
5092 |
+
output.push(string.slice(lastLastIndex, match.index));
|
5093 |
+
if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));
|
5094 |
+
lastLength = match[0].length;
|
5095 |
+
lastLastIndex = lastIndex;
|
5096 |
+
if (output.length >= lim) break;
|
5097 |
+
}
|
5098 |
+
if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
|
5099 |
+
}
|
5100 |
+
if (lastLastIndex === string.length) {
|
5101 |
+
if (lastLength || !separatorCopy.test('')) output.push('');
|
5102 |
+
} else output.push(string.slice(lastLastIndex));
|
5103 |
+
return output.length > lim ? output.slice(0, lim) : output;
|
5104 |
+
};
|
5105 |
+
// Chakra, V8
|
5106 |
+
} else if ('0'.split(undefined, 0).length) {
|
5107 |
+
internalSplit = function (separator, limit) {
|
5108 |
+
return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);
|
5109 |
+
};
|
5110 |
+
} else internalSplit = nativeSplit;
|
5111 |
+
|
5112 |
+
return [
|
5113 |
+
// `String.prototype.split` method
|
5114 |
+
// https://tc39.es/ecma262/#sec-string.prototype.split
|
5115 |
+
function split(separator, limit) {
|
5116 |
+
var O = requireObjectCoercible(this);
|
5117 |
+
var splitter = separator == undefined ? undefined : separator[SPLIT];
|
5118 |
+
return splitter !== undefined
|
5119 |
+
? splitter.call(separator, O, limit)
|
5120 |
+
: internalSplit.call(String(O), separator, limit);
|
5121 |
+
},
|
5122 |
+
// `RegExp.prototype[@@split]` method
|
5123 |
+
// https://tc39.es/ecma262/#sec-regexp.prototype-@@split
|
5124 |
+
//
|
5125 |
+
// NOTE: This cannot be properly polyfilled in engines that don't support
|
5126 |
+
// the 'y' flag.
|
5127 |
+
function (regexp, limit) {
|
5128 |
+
var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);
|
5129 |
+
if (res.done) return res.value;
|
5130 |
+
|
5131 |
+
var rx = anObject(regexp);
|
5132 |
+
var S = String(this);
|
5133 |
+
var C = speciesConstructor(rx, RegExp);
|
5134 |
+
|
5135 |
+
var unicodeMatching = rx.unicode;
|
5136 |
+
var flags = (rx.ignoreCase ? 'i' : '') +
|
5137 |
+
(rx.multiline ? 'm' : '') +
|
5138 |
+
(rx.unicode ? 'u' : '') +
|
5139 |
+
(SUPPORTS_Y ? 'y' : 'g');
|
5140 |
|
5141 |
+
// ^(? + rx + ) is needed, in combination with some S slicing, to
|
5142 |
+
// simulate the 'y' flag.
|
5143 |
+
var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
|
5144 |
+
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
5145 |
+
if (lim === 0) return [];
|
5146 |
+
if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
|
5147 |
+
var p = 0;
|
5148 |
+
var q = 0;
|
5149 |
+
var A = [];
|
5150 |
+
while (q < S.length) {
|
5151 |
+
splitter.lastIndex = SUPPORTS_Y ? q : 0;
|
5152 |
+
var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
|
5153 |
+
var e;
|
5154 |
+
if (
|
5155 |
+
z === null ||
|
5156 |
+
(e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
|
5157 |
+
) {
|
5158 |
+
q = advanceStringIndex(S, q, unicodeMatching);
|
5159 |
+
} else {
|
5160 |
+
A.push(S.slice(p, q));
|
5161 |
+
if (A.length === lim) return A;
|
5162 |
+
for (var i = 1; i <= z.length - 1; i++) {
|
5163 |
+
A.push(z[i]);
|
5164 |
+
if (A.length === lim) return A;
|
5165 |
+
}
|
5166 |
+
q = p = e;
|
5167 |
+
}
|
5168 |
+
}
|
5169 |
+
A.push(S.slice(p));
|
5170 |
+
return A;
|
5171 |
}
|
5172 |
+
];
|
5173 |
+
}, !SUPPORTS_Y);
|
|
|
|
|
5174 |
|
5175 |
|
5176 |
/***/ }),
|
5177 |
+
/* 178 */
|
5178 |
/***/ (function(module, exports, __webpack_require__) {
|
5179 |
|
5180 |
"use strict";
|
5261 |
|
5262 |
|
5263 |
/***/ }),
|
5264 |
+
/* 179 */
|
5265 |
/***/ (function(module, exports, __webpack_require__) {
|
5266 |
|
5267 |
var arrayLikeToArray = __webpack_require__(124);
|
5273 |
module.exports = _arrayWithoutHoles;
|
5274 |
|
5275 |
/***/ }),
|
5276 |
+
/* 180 */
|
5277 |
/***/ (function(module, exports) {
|
5278 |
|
5279 |
function _iterableToArray(iter) {
|
5283 |
module.exports = _iterableToArray;
|
5284 |
|
5285 |
/***/ }),
|
5286 |
+
/* 181 */
|
5287 |
/***/ (function(module, exports) {
|
5288 |
|
5289 |
function _nonIterableSpread() {
|
5293 |
module.exports = _nonIterableSpread;
|
5294 |
|
5295 |
/***/ }),
|
5296 |
+
/* 182 */
|
5297 |
/***/ (function(module, exports) {
|
5298 |
|
5299 |
function _arrayWithHoles(arr) {
|
5303 |
module.exports = _arrayWithHoles;
|
5304 |
|
5305 |
/***/ }),
|
5306 |
+
/* 183 */
|
5307 |
/***/ (function(module, exports) {
|
5308 |
|
5309 |
function _iterableToArrayLimit(arr, i) {
|
5336 |
module.exports = _iterableToArrayLimit;
|
5337 |
|
5338 |
/***/ }),
|
5339 |
+
/* 184 */
|
5340 |
/***/ (function(module, exports) {
|
5341 |
|
5342 |
function _nonIterableRest() {
|
5346 |
module.exports = _nonIterableRest;
|
5347 |
|
5348 |
/***/ }),
|
|
|
5349 |
/* 185 */,
|
5350 |
+
/* 186 */,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5351 |
/* 187 */
|
5352 |
/***/ (function(module, exports, __webpack_require__) {
|
5353 |
|
6973 |
var anObject = __webpack_require__(9);
|
6974 |
var toLength = __webpack_require__(34);
|
6975 |
var requireObjectCoercible = __webpack_require__(32);
|
6976 |
+
var advanceStringIndex = __webpack_require__(122);
|
6977 |
var regExpExec = __webpack_require__(112);
|
6978 |
|
6979 |
// @@match logic
|
7403 |
var objectKeys = __webpack_require__(54);
|
7404 |
var getOwnPropertySymbolsModule = __webpack_require__(79);
|
7405 |
var propertyIsEnumerableModule = __webpack_require__(76);
|
7406 |
+
var toObject = __webpack_require__(38);
|
7407 |
var IndexedObject = __webpack_require__(71);
|
7408 |
|
7409 |
var nativeAssign = Object.assign;
|
7480 |
|
7481 |
"use strict";
|
7482 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
7483 |
+
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(133);
|
7484 |
|
7485 |
function _objectWithoutProperties(source, excluded) {
|
7486 |
if (source == null) return {};
|
8066 |
var anInstance = __webpack_require__(136);
|
8067 |
var isObject = __webpack_require__(10);
|
8068 |
var fails = __webpack_require__(6);
|
8069 |
+
var checkCorrectnessOfIteration = __webpack_require__(165);
|
8070 |
var setToStringTag = __webpack_require__(90);
|
8071 |
var inheritIfRequired = __webpack_require__(156);
|
8072 |
|
8176 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return isWCAdmin; });
|
8177 |
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
|
8178 |
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);
|
8179 |
+
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(177);
|
8180 |
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_1__);
|
8181 |
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(88);
|
8182 |
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
|
8184 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3__);
|
8185 |
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(140);
|
8186 |
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);
|
8187 |
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(51);
|
8188 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_5__);
|
8189 |
/* harmony import */ var core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(248);
|
8190 |
/* harmony import */ var core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_6__);
|
8202 |
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__);
|
8203 |
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(192);
|
8204 |
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_13__);
|
8205 |
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(178);
|
8206 |
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__);
|
8207 |
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(135);
|
8208 |
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15__);
|
8209 |
+
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(132);
|
8210 |
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16__);
|
8211 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(5);
|
8212 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_17__);
|
8398 |
"use strict";
|
8399 |
|
8400 |
var bind = __webpack_require__(94);
|
8401 |
+
var toObject = __webpack_require__(38);
|
8402 |
var callWithSafeIterationClosing = __webpack_require__(252);
|
8403 |
var isArrayIteratorMethod = __webpack_require__(171);
|
8404 |
var toLength = __webpack_require__(34);
|
8451 |
var bind = __webpack_require__(94);
|
8452 |
var anInstance = __webpack_require__(136);
|
8453 |
var iterate = __webpack_require__(154);
|
8454 |
+
var defineIterator = __webpack_require__(166);
|
8455 |
var setSpecies = __webpack_require__(153);
|
8456 |
var DESCRIPTORS = __webpack_require__(13);
|
8457 |
var fastKey = __webpack_require__(205).fastKey;
|
8830 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8831 |
|
8832 |
"use strict";
|
8833 |
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(164);
|
8834 |
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
|
8835 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(100);
|
8836 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);
|
8870 |
*/
|
8871 |
|
8872 |
var RevenueReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8873 |
+
return Promise.all(/* import() | analytics-report-revenue */[__webpack_require__.e(0), __webpack_require__.e(16)]).then(__webpack_require__.bind(null, 584));
|
8874 |
});
|
8875 |
var ProductsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8876 |
+
return Promise.all(/* import() | analytics-report-products */[__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(15)]).then(__webpack_require__.bind(null, 580));
|
8877 |
});
|
8878 |
var VariationsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8879 |
+
return Promise.all(/* import() | analytics-report-variations */[__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(19)]).then(__webpack_require__.bind(null, 585));
|
8880 |
});
|
8881 |
var OrdersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8882 |
+
return Promise.all(/* import() | analytics-report-orders */[__webpack_require__.e(0), __webpack_require__.e(5), __webpack_require__.e(14)]).then(__webpack_require__.bind(null, 586));
|
8883 |
});
|
8884 |
var CategoriesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8885 |
+
return Promise.all(/* import() | analytics-report-categories */[__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(10)]).then(__webpack_require__.bind(null, 582));
|
8886 |
});
|
8887 |
var CouponsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8888 |
+
return Promise.all(/* import() | analytics-report-coupons */[__webpack_require__.e(0), __webpack_require__.e(11)]).then(__webpack_require__.bind(null, 587));
|
8889 |
});
|
8890 |
var TaxesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8891 |
+
return Promise.all(/* import() | analytics-report-taxes */[__webpack_require__.e(0), __webpack_require__.e(18)]).then(__webpack_require__.bind(null, 588));
|
8892 |
});
|
8893 |
var DownloadsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8894 |
+
return Promise.all(/* import() | analytics-report-downloads */[__webpack_require__.e(0), __webpack_require__.e(13)]).then(__webpack_require__.bind(null, 589));
|
8895 |
});
|
8896 |
var StockReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8897 |
+
return Promise.all(/* import() | analytics-report-stock */[__webpack_require__.e(0), __webpack_require__.e(17)]).then(__webpack_require__.bind(null, 581));
|
8898 |
});
|
8899 |
var CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["lazy"])(function () {
|
8900 |
+
return Promise.all(/* import() | analytics-report-customers */[__webpack_require__.e(0), __webpack_require__.e(12)]).then(__webpack_require__.bind(null, 583));
|
8901 |
});
|
8902 |
/* harmony default export */ __webpack_exports__["a"] = (function () {
|
8903 |
var reports = [{
|
9102 |
var es_reflect_construct = __webpack_require__(64);
|
9103 |
|
9104 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
9105 |
+
var es_object_keys = __webpack_require__(37);
|
9106 |
|
9107 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
9108 |
var es_symbol = __webpack_require__(53);
|
9152 |
var external_wp_element_ = __webpack_require__(0);
|
9153 |
|
9154 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
9155 |
+
var es_promise = __webpack_require__(164);
|
9156 |
|
9157 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
9158 |
var es_object_to_string = __webpack_require__(100);
|
9173 |
var es_regexp_exec = __webpack_require__(88);
|
9174 |
|
9175 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
9176 |
+
var es_string_replace = __webpack_require__(135);
|
9177 |
|
9178 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
9179 |
var es_array_includes = __webpack_require__(107);
|
9182 |
var es_string_includes = __webpack_require__(140);
|
9183 |
|
9184 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
9185 |
+
var es_array_map = __webpack_require__(51);
|
9186 |
|
9187 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
9188 |
var es_array_filter = __webpack_require__(41);
|
9194 |
var external_wp_data_ = __webpack_require__(26);
|
9195 |
|
9196 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
|
9197 |
+
var inheritsLoose = __webpack_require__(128);
|
9198 |
|
9199 |
// EXTERNAL MODULE: external "React"
|
9200 |
var external_React_ = __webpack_require__(20);
|
9224 |
var react_is = __webpack_require__(268);
|
9225 |
|
9226 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
9227 |
+
var objectWithoutPropertiesLoose = __webpack_require__(133);
|
9228 |
|
9229 |
// EXTERNAL MODULE: ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
|
9230 |
var hoist_non_react_statics_cjs = __webpack_require__(278);
|
9894 |
var external_lodash_ = __webpack_require__(5);
|
9895 |
|
9896 |
// EXTERNAL MODULE: ./node_modules/qs/lib/index.js
|
9897 |
+
var lib = __webpack_require__(162);
|
9898 |
|
9899 |
// EXTERNAL MODULE: external ["wc","components"]
|
9900 |
var external_wc_components_ = __webpack_require__(145);
|
9912 |
var external_wc_tracks_ = __webpack_require__(92);
|
9913 |
|
9914 |
// EXTERNAL MODULE: external ["wc","notices"]
|
9915 |
+
var external_wc_notices_ = __webpack_require__(421);
|
9916 |
|
9917 |
// EXTERNAL MODULE: ./client/layout/style.scss
|
9918 |
+
var layout_style = __webpack_require__(422);
|
9919 |
|
9920 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
9921 |
var es_array_concat = __webpack_require__(66);
|
9924 |
var es_string_match = __webpack_require__(203);
|
9925 |
|
9926 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
9927 |
+
var es_string_split = __webpack_require__(177);
|
9928 |
|
9929 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
9930 |
var es_object_assign = __webpack_require__(250);
|
10266 |
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
10267 |
|
10268 |
// EXTERNAL MODULE: external ["wp","htmlEntities"]
|
10269 |
+
var external_wp_htmlEntities_ = __webpack_require__(132);
|
10270 |
|
10271 |
// EXTERNAL MODULE: ./packages/experimental/build-module/index.js
|
10272 |
var build_module = __webpack_require__(105);
|
10273 |
|
10274 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
10275 |
+
var build_module_icon = __webpack_require__(426);
|
10276 |
|
10277 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
|
10278 |
+
var chevron_left = __webpack_require__(597);
|
10279 |
|
10280 |
// EXTERNAL MODULE: external ["wp","keycodes"]
|
10281 |
var external_wp_keycodes_ = __webpack_require__(126);
|
10282 |
|
10283 |
// EXTERNAL MODULE: ./client/header/style.scss
|
10284 |
+
var header_style = __webpack_require__(423);
|
10285 |
|
10286 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js
|
10287 |
var slicedToArray = __webpack_require__(43);
|
10288 |
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
10289 |
|
10290 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
10291 |
+
var es_function_name = __webpack_require__(129);
|
10292 |
|
10293 |
// EXTERNAL MODULE: external ["wp","primitives"]
|
10294 |
var external_wp_primitives_ = __webpack_require__(28);
|
10326 |
/* harmony default export */ var library_help = (help_help);
|
10327 |
//# sourceMappingURL=help.js.map
|
10328 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
|
10329 |
+
var external = __webpack_require__(596);
|
10330 |
|
10331 |
// EXTERNAL MODULE: ./client/header/activity-panel/style.scss
|
10332 |
+
var activity_panel_style = __webpack_require__(424);
|
10333 |
|
10334 |
// EXTERNAL MODULE: ./client/inbox-panel/utils.js
|
10335 |
+
var inbox_panel_utils = __webpack_require__(332);
|
10336 |
|
10337 |
// CONCATENATED MODULE: ./client/header/activity-panel/unread-indicators.js
|
10338 |
/**
|
10672 |
});
|
10673 |
};
|
10674 |
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
|
10675 |
+
var library_close = __webpack_require__(595);
|
10676 |
|
10677 |
// EXTERNAL MODULE: ./client/header/activity-panel/highlight-tooltip/style.scss
|
10678 |
+
var highlight_tooltip_style = __webpack_require__(425);
|
10679 |
|
10680 |
// CONCATENATED MODULE: ./client/header/activity-panel/highlight-tooltip/index.js
|
10681 |
|
11589 |
}));
|
11590 |
};
|
11591 |
// EXTERNAL MODULE: ./client/mobile-banner/style.scss
|
11592 |
+
var mobile_banner_style = __webpack_require__(427);
|
11593 |
|
11594 |
// CONCATENATED MODULE: ./client/mobile-banner/constants.js
|
11595 |
// The Play Store link is defined as an exported constant mainly for the sake of testing the Mobile App Banner.
|
11714 |
var external_wp_plugins_ = __webpack_require__(279);
|
11715 |
|
11716 |
// EXTERNAL MODULE: ./client/navigation/style.scss
|
11717 |
+
var navigation_style = __webpack_require__(428);
|
11718 |
|
11719 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js
|
11720 |
var toConsumableArray = __webpack_require__(44);
|
11724 |
var es_object_values = __webpack_require__(285);
|
11725 |
|
11726 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.max-safe-integer.js
|
11727 |
+
var es_number_max_safe_integer = __webpack_require__(429);
|
11728 |
|
11729 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
11730 |
+
var es_number_constructor = __webpack_require__(178);
|
11731 |
|
11732 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.constructor.js
|
11733 |
var es_regexp_constructor = __webpack_require__(209);
|
12118 |
|
12119 |
/* harmony default export */ var header = (header_Header);
|
12120 |
// EXTERNAL MODULE: ./client/navigation/components/category-title/style.scss
|
12121 |
+
var category_title_style = __webpack_require__(430);
|
12122 |
|
12123 |
// EXTERNAL MODULE: ./client/navigation/components/favorite-button/style.scss
|
12124 |
+
var favorite_button_style = __webpack_require__(431);
|
12125 |
|
12126 |
// CONCATENATED MODULE: ./client/navigation/components/favorite-button/index.js
|
12127 |
|
12818 |
var external_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_regeneratorRuntime_);
|
12819 |
|
12820 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
|
12821 |
+
var asyncToGenerator = __webpack_require__(134);
|
12822 |
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
12823 |
|
12824 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.js
|
12825 |
+
var es_weak_map = __webpack_require__(432);
|
12826 |
|
12827 |
// EXTERNAL MODULE: ./node_modules/react-spring/web.cjs.js
|
12828 |
var web_cjs = __webpack_require__(315);
|
12829 |
|
12830 |
// EXTERNAL MODULE: ./client/layout/transient-notices/snackbar/index.js
|
12831 |
+
var snackbar = __webpack_require__(392);
|
12832 |
|
12833 |
// CONCATENATED MODULE: ./client/layout/transient-notices/snackbar/list.js
|
12834 |
|
12985 |
|
12986 |
/* harmony default export */ var list = (SnackbarList);
|
12987 |
// EXTERNAL MODULE: ./client/layout/transient-notices/style.scss
|
12988 |
+
var transient_notices_style = __webpack_require__(435);
|
12989 |
|
12990 |
// CONCATENATED MODULE: ./client/layout/transient-notices/index.js
|
12991 |
|
13230 |
return Promise.all(/* import() | store-alerts */[__webpack_require__.e(1), __webpack_require__.e(47)]).then(__webpack_require__.bind(null, 714));
|
13231 |
});
|
13232 |
var WCPayUsageModal = Object(external_wp_element_["lazy"])(function () {
|
13233 |
+
return __webpack_require__.e(/* import() | wcpay-usage-modal */ 51).then(__webpack_require__.bind(null, 609));
|
13234 |
});
|
13235 |
var layout_PrimaryLayout = /*#__PURE__*/function (_Component) {
|
13236 |
inherits_default()(PrimaryLayout, _Component);
|
13460 |
|
13461 |
var $ = __webpack_require__(12);
|
13462 |
var from = __webpack_require__(234);
|
13463 |
+
var checkCorrectnessOfIteration = __webpack_require__(165);
|
13464 |
|
13465 |
var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
|
13466 |
Array.from(iterable);
|
15301 |
var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(233));
|
15302 |
var React = __webpack_require__(20);
|
15303 |
var React__default = _interopDefault(React);
|
15304 |
+
var _inheritsLoose = _interopDefault(__webpack_require__(434));
|
15305 |
var _assertThisInitialized = _interopDefault(__webpack_require__(18));
|
15306 |
|
15307 |
var is = {
|
17623 |
"use strict";
|
17624 |
/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20);
|
17625 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
17626 |
+
/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(128);
|
17627 |
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
|
17628 |
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
17629 |
|
17807 |
/* 317 */
|
17808 |
/***/ (function(module, exports, __webpack_require__) {
|
17809 |
|
17810 |
+
var isarray = __webpack_require__(436)
|
17811 |
|
17812 |
/**
|
17813 |
* Expose `pathToRegexp`.
|
18249 |
/* 328 */,
|
18250 |
/* 329 */,
|
18251 |
/* 330 */,
|
18252 |
+
/* 331 */,
|
18253 |
+
/* 332 */
|
18254 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18255 |
|
18256 |
"use strict";
|
18299 |
}
|
18300 |
|
18301 |
/***/ }),
|
|
|
18302 |
/* 333 */,
|
18303 |
/* 334 */,
|
18304 |
/* 335 */,
|
18357 |
/* 388 */,
|
18358 |
/* 389 */,
|
18359 |
/* 390 */,
|
18360 |
+
/* 391 */,
|
18361 |
+
/* 392 */
|
18362 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18363 |
|
18364 |
"use strict";
|
18365 |
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
18366 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
18367 |
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51);
|
18368 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__);
|
18369 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5);
|
18370 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
|
18371 |
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15);
|
18372 |
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);
|
18373 |
+
/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(393);
|
18374 |
/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_4__);
|
18375 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2);
|
18376 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);
|
18377 |
+
/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(394);
|
18378 |
/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_6__);
|
18379 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4);
|
18380 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__);
|
18514 |
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(297)))
|
18515 |
|
18516 |
/***/ }),
|
18517 |
+
/* 393 */
|
18518 |
/***/ (function(module, exports) {
|
18519 |
|
18520 |
(function() { module.exports = window["wp"]["a11y"]; }());
|
18521 |
|
18522 |
/***/ }),
|
18523 |
+
/* 394 */
|
18524 |
/***/ (function(module, exports) {
|
18525 |
|
18526 |
(function() { module.exports = window["wp"]["warning"]; }());
|
18527 |
|
18528 |
/***/ }),
|
18529 |
+
/* 395 */
|
18530 |
/***/ (function(module, exports) {
|
18531 |
|
18532 |
(function() { module.exports = window["wc"]["customerEffortScore"]; }());
|
18533 |
|
18534 |
/***/ }),
|
|
|
18535 |
/* 396 */,
|
18536 |
/* 397 */,
|
18537 |
/* 398 */,
|
18538 |
/* 399 */,
|
18539 |
/* 400 */,
|
18540 |
/* 401 */,
|
18541 |
+
/* 402 */,
|
18542 |
+
/* 403 */
|
18543 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
18544 |
|
18545 |
"use strict";
|
18568 |
__webpack_require__.d(selectors_namespaceObject, "getCesSurveyQueue", function() { return selectors_getCesSurveyQueue; });
|
18569 |
|
18570 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
18571 |
+
var es_object_keys = __webpack_require__(37);
|
18572 |
|
18573 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
18574 |
var es_symbol = __webpack_require__(53);
|
18611 |
var external_wc_tracks_ = __webpack_require__(92);
|
18612 |
|
18613 |
// EXTERNAL MODULE: external ["wc","customerEffortScore"]
|
18614 |
+
var external_wc_customerEffortScore_ = __webpack_require__(395);
|
18615 |
var external_wc_customerEffortScore_default = /*#__PURE__*/__webpack_require__.n(external_wc_customerEffortScore_);
|
18616 |
|
18617 |
// EXTERNAL MODULE: external ["wp","compose"]
|
18861 |
};
|
18862 |
}))(CustomerEffortScoreTracks));
|
18863 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
18864 |
+
var es_array_map = __webpack_require__(51);
|
18865 |
|
18866 |
// EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
|
18867 |
var constants = __webpack_require__(210);
|
19194 |
|
19195 |
|
19196 |
/***/ }),
|
|
|
19197 |
/* 404 */,
|
19198 |
/* 405 */,
|
19199 |
/* 406 */,
|
19207 |
/* 414 */,
|
19208 |
/* 415 */,
|
19209 |
/* 416 */,
|
19210 |
+
/* 417 */,
|
19211 |
+
/* 418 */
|
19212 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19213 |
|
19214 |
"use strict";
|
19219 |
/* harmony import */ var _wordpress_notices__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_notices__WEBPACK_IMPORTED_MODULE_1__);
|
19220 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(59);
|
19221 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_2__);
|
19222 |
+
/* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(420);
|
19223 |
/* harmony import */ var _stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_stylesheets_index_scss__WEBPACK_IMPORTED_MODULE_3__);
|
19224 |
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(280);
|
19225 |
+
/* harmony import */ var _customer_effort_score_tracks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(403);
|
19226 |
|
19227 |
|
19228 |
/**
|
19292 |
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(96)))
|
19293 |
|
19294 |
/***/ }),
|
19295 |
+
/* 419 */,
|
19296 |
+
/* 420 */
|
19297 |
/***/ (function(module, exports, __webpack_require__) {
|
19298 |
|
19299 |
// extracted by mini-css-extract-plugin
|
19300 |
|
19301 |
/***/ }),
|
19302 |
+
/* 421 */
|
19303 |
/***/ (function(module, exports) {
|
19304 |
|
19305 |
(function() { module.exports = window["wc"]["notices"]; }());
|
19306 |
|
19307 |
/***/ }),
|
19308 |
+
/* 422 */
|
19309 |
/***/ (function(module, exports, __webpack_require__) {
|
19310 |
|
19311 |
// extracted by mini-css-extract-plugin
|
19312 |
|
19313 |
/***/ }),
|
19314 |
+
/* 423 */
|
19315 |
/***/ (function(module, exports, __webpack_require__) {
|
19316 |
|
19317 |
// extracted by mini-css-extract-plugin
|
19318 |
|
19319 |
/***/ }),
|
19320 |
+
/* 424 */
|
19321 |
/***/ (function(module, exports, __webpack_require__) {
|
19322 |
|
19323 |
// extracted by mini-css-extract-plugin
|
19324 |
|
19325 |
/***/ }),
|
19326 |
+
/* 425 */
|
19327 |
/***/ (function(module, exports, __webpack_require__) {
|
19328 |
|
19329 |
// extracted by mini-css-extract-plugin
|
19330 |
|
19331 |
/***/ }),
|
19332 |
+
/* 426 */
|
19333 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19334 |
|
19335 |
"use strict";
|
19376 |
//# sourceMappingURL=index.js.map
|
19377 |
|
19378 |
/***/ }),
|
19379 |
+
/* 427 */
|
19380 |
/***/ (function(module, exports, __webpack_require__) {
|
19381 |
|
19382 |
// extracted by mini-css-extract-plugin
|
19383 |
|
19384 |
/***/ }),
|
19385 |
+
/* 428 */
|
19386 |
/***/ (function(module, exports, __webpack_require__) {
|
19387 |
|
19388 |
// extracted by mini-css-extract-plugin
|
19389 |
|
19390 |
/***/ }),
|
19391 |
+
/* 429 */
|
19392 |
/***/ (function(module, exports, __webpack_require__) {
|
19393 |
|
19394 |
var $ = __webpack_require__(12);
|
19401 |
|
19402 |
|
19403 |
/***/ }),
|
19404 |
+
/* 430 */
|
19405 |
/***/ (function(module, exports, __webpack_require__) {
|
19406 |
|
19407 |
// extracted by mini-css-extract-plugin
|
19408 |
|
19409 |
/***/ }),
|
19410 |
+
/* 431 */
|
19411 |
/***/ (function(module, exports, __webpack_require__) {
|
19412 |
|
19413 |
// extracted by mini-css-extract-plugin
|
19414 |
|
19415 |
/***/ }),
|
19416 |
+
/* 432 */
|
19417 |
/***/ (function(module, exports, __webpack_require__) {
|
19418 |
|
19419 |
"use strict";
|
19422 |
var redefineAll = __webpack_require__(152);
|
19423 |
var InternalMetadataModule = __webpack_require__(205);
|
19424 |
var collection = __webpack_require__(229);
|
19425 |
+
var collectionWeak = __webpack_require__(433);
|
19426 |
var isObject = __webpack_require__(10);
|
19427 |
var enforceIternalState = __webpack_require__(45).enforce;
|
19428 |
var NATIVE_WEAK_MAP = __webpack_require__(106);
|
19487 |
|
19488 |
|
19489 |
/***/ }),
|
19490 |
+
/* 433 */
|
19491 |
/***/ (function(module, exports, __webpack_require__) {
|
19492 |
|
19493 |
"use strict";
|
19615 |
|
19616 |
|
19617 |
/***/ }),
|
19618 |
+
/* 434 */
|
19619 |
/***/ (function(module, exports, __webpack_require__) {
|
19620 |
|
19621 |
var setPrototypeOf = __webpack_require__(204);
|
19629 |
module.exports = _inheritsLoose;
|
19630 |
|
19631 |
/***/ }),
|
19632 |
+
/* 435 */
|
19633 |
/***/ (function(module, exports, __webpack_require__) {
|
19634 |
|
19635 |
// extracted by mini-css-extract-plugin
|
19636 |
|
19637 |
/***/ }),
|
19638 |
+
/* 436 */
|
19639 |
/***/ (function(module, exports) {
|
19640 |
|
19641 |
module.exports = Array.isArray || function (arr) {
|
19644 |
|
19645 |
|
19646 |
/***/ }),
|
|
|
19647 |
/* 437 */,
|
19648 |
/* 438 */,
|
19649 |
/* 439 */,
|
19785 |
/* 575 */,
|
19786 |
/* 576 */,
|
19787 |
/* 577 */,
|
19788 |
+
/* 578 */,
|
19789 |
+
/* 579 */
|
19790 |
/***/ (function(module, exports) {
|
19791 |
|
19792 |
(function() { module.exports = window["wc"]["csvExport"]; }());
|
19793 |
|
19794 |
/***/ }),
|
|
|
19795 |
/* 580 */,
|
19796 |
/* 581 */,
|
19797 |
/* 582 */,
|
19806 |
/* 591 */,
|
19807 |
/* 592 */,
|
19808 |
/* 593 */,
|
19809 |
+
/* 594 */,
|
19810 |
+
/* 595 */
|
19811 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19812 |
|
19813 |
"use strict";
|
19831 |
//# sourceMappingURL=close.js.map
|
19832 |
|
19833 |
/***/ }),
|
19834 |
+
/* 596 */
|
19835 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19836 |
|
19837 |
"use strict";
|
19855 |
//# sourceMappingURL=external.js.map
|
19856 |
|
19857 |
/***/ }),
|
19858 |
+
/* 597 */
|
19859 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19860 |
|
19861 |
"use strict";
|
dist/app/index.min.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wc-components', 'wc-csv', 'wc-currency', 'wc-customer-effort-score', 'wc-date', 'wc-navigation', 'wc-notices', 'wc-number', 'wc-store-data', 'wc-tracks', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wc-components', 'wc-csv', 'wc-currency', 'wc-customer-effort-score', 'wc-date', 'wc-navigation', 'wc-notices', 'wc-number', 'wc-store-data', 'wc-tracks', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning'), 'version' => '927e1f0406a60aea36e4fe3d9a8816df');
|
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,4:1,7:1,9:1,10:1,14:1,15: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=417)}([function(e,t){e.exports=window.wp.element},function(e,t,n){e.exports=n(215)()},function(e,t){e.exports=window.wp.i18n},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(96))},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.lodash},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},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}},function(e,t,n){var r=n(3),o=n(58),i=n(11),a=n(55),c=n(62),u=n(93),s=o("wks"),l=r.Symbol,f=u?l:l&&l.withoutSetter||a;e.exports=function(e){return i(s,e)&&(c||"string"==typeof s[e])||(c&&i(l,e)?s[e]=l[e]:s[e]=f("Symbol."+e)),s[e]}},function(e,t,n){var r=n(10);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(3),o=n(33).f,i=n(19),a=n(27),c=n(46),u=n(103),s=n(74);e.exports=function(e,t){var n,l,f,p,d,m=e.target,h=e.global,v=e.stat;if(n=h?r:v?r[m]||c(m,{}):(r[m]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(d=o(n,l))&&d.value:n[l],!s(h?l:m+(v?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,l,p,e)}}},function(e,t,n){var r=n(6);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},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},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}()},function(e,t){e.exports=window.regeneratorRuntime},function(e,t,n){var r=n(13),o=n(72),i=n(9),a=n(40),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},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}},function(e,t,n){var r=n(13),o=n(17),i=n(39);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=window.React},function(e,t,n){var r=n(71),o=n(32);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},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}},function(e,t,n){var r=n(204);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)}},function(e,t,n){var r=n(108),o=n(18);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=window.wp.data},function(e,t,n){var r=n(3),o=n(19),i=n(11),a=n(46),c=n(68),u=n(45),s=u.get,l=u.enforce,f=String(String).split("String");(e.exports=function(e,t,n,c){var u,s=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),(u=l(n)).source||(u.source=f.join("string"==typeof t?t:""))),e!==r?(s?!d&&e[t]&&(p=!0):delete e[t],p?e[t]=n:o(e,t,n)):p?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},function(e,t){e.exports=window.wp.primitives},function(e,t){e.exports=window.moment},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(81),o=n(3),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(13),o=n(76),i=n(39),a=n(21),c=n(40),u=n(11),s=n(72),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=c(t,!0),s)try{return l(e,t)}catch(e){}if(u(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(42),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){e.exports=window.wp.dataControls},function(e,t){e.exports={}},function(e,t,n){var r=n(32);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(12),o=n(37),i=n(54);r({target:"Object",stat:!0,forced:n(6)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(10);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var r=n(12),o=n(75).filter;r({target:"Array",proto:!0,forced:!n(89)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(181),o=n(182),i=n(132),a=n(183);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t,n){var r=n(178),o=n(179),i=n(132),a=n(180);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t,n){var r,o,i,a=n(106),c=n(3),u=n(10),s=n(19),l=n(11),f=n(47),p=n(51),d=n(36),m=c.WeakMap;if(a){var h=f.state||(f.state=new m),v=h.get,y=h.has,g=h.set;r=function(e,t){return t.facade=e,g.call(h,e,t),t},o=function(e){return v.call(h,e)||{}},i=function(e){return y.call(h,e)}}else{var b=p("state");d[b]=!0,r=function(e,t){return t.facade=e,s(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(3),o=n(19);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(3),o=n(46),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var r=n(3),o=n(128),i=n(149),a=n(19);for(var c in o){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(e){s.forEach=i}}},function(e,t){e.exports=window.wc.navigation},function(e,t,n){var r=n(58),o=n(55),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){"use strict";var r=n(12),o=n(75).map;r({target:"Array",proto:!0,forced:!n(89)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(12),o=n(3),i=n(31),a=n(57),c=n(13),u=n(62),s=n(93),l=n(6),f=n(11),p=n(84),d=n(10),m=n(9),h=n(37),v=n(21),y=n(40),g=n(39),b=n(69),w=n(54),O=n(56),j=n(147),E=n(79),_=n(33),x=n(17),S=n(76),k=n(19),P=n(27),C=n(58),A=n(51),T=n(36),R=n(55),N=n(8),L=n(119),I=n(148),M=n(90),U=n(45),D=n(75).forEach,F=A("hidden"),V=N("toPrimitive"),B=U.set,q=U.getterFor("Symbol"),z=Object.prototype,H=o.Symbol,$=i("JSON","stringify"),W=_.f,G=x.f,Q=j.f,Y=S.f,K=C("symbols"),Z=C("op-symbols"),J=C("string-to-symbol-registry"),X=C("symbol-to-string-registry"),ee=C("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=c&&l((function(){return 7!=b(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=W(z,t);r&&delete z[t],G(e,t,n),r&&e!==z&&G(z,t,r)}:G,oe=function(e,t){var n=K[e]=b(H.prototype);return B(n,{type:"Symbol",tag:e,description:t}),c||(n.description=t),n},ie=s?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof H},ae=function(e,t,n){e===z&&ae(Z,t,n),m(e);var r=y(t,!0);return m(n),f(K,r)?(n.enumerable?(f(e,F)&&e[F][r]&&(e[F][r]=!1),n=b(n,{enumerable:g(0,!1)})):(f(e,F)||G(e,F,g(1,{})),e[F][r]=!0),re(e,r,n)):G(e,r,n)},ce=function(e,t){m(e);var n=v(t),r=w(n).concat(fe(n));return D(r,(function(t){c&&!ue.call(n,t)||ae(e,t,n[t])})),e},ue=function(e){var t=y(e,!0),n=Y.call(this,t);return!(this===z&&f(K,t)&&!f(Z,t))&&(!(n||!f(this,t)||!f(K,t)||f(this,F)&&this[F][t])||n)},se=function(e,t){var n=v(e),r=y(t,!0);if(n!==z||!f(K,r)||f(Z,r)){var o=W(n,r);return!o||!f(K,r)||f(n,F)&&n[F][r]||(o.enumerable=!0),o}},le=function(e){var t=Q(v(e)),n=[];return D(t,(function(e){f(K,e)||f(T,e)||n.push(e)})),n},fe=function(e){var t=e===z,n=Q(t?Z:v(e)),r=[];return D(n,(function(e){!f(K,e)||t&&!f(z,e)||r.push(K[e])})),r};(u||(P((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e),n=function(e){this===z&&n.call(Z,e),f(this,F)&&f(this[F],t)&&(this[F][t]=!1),re(this,t,g(1,e))};return c&&ne&&re(z,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return q(this).tag})),P(H,"withoutSetter",(function(e){return oe(R(e),e)})),S.f=ue,x.f=ae,_.f=se,O.f=j.f=le,E.f=fe,L.f=function(e){return oe(N(e),e)},c&&(G(H.prototype,"description",{configurable:!0,get:function(){return q(this).description}}),a||P(z,"propertyIsEnumerable",ue,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:H}),D(w(ee),(function(e){I(e)})),r({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=String(e);if(f(J,t))return J[t];var n=H(t);return J[t]=n,X[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(f(X,e))return X[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,t){return void 0===t?b(e):ce(b(e),t)},defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:se}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:le,getOwnPropertySymbols:fe}),r({target:"Object",stat:!0,forced:l((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(h(e))}}),$)&&r({target:"JSON",stat:!0,forced:!u||l((function(){var e=H();return"[null]"!=$([e])||"{}"!=$({a:e})||"{}"!=$(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(d(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,$.apply(null,o)}});H.prototype[V]||k(H.prototype,V,H.prototype.valueOf),M(H,"Symbol"),T[F]=!0},function(e,t,n){var r=n(73),o=n(48);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(73),o=n(48).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){e.exports=!1},function(e,t,n){var r=n(57),o=n(47);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=window.wc.data},function(e,t,n){var r=n(12),o=n(6),i=n(21),a=n(33).f,c=n(13),u=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(12),o=n(13),i=n(86),a=n(21),c=n(33),u=n(102);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=c.f,s=i(r),l={},f=0;s.length>f;)void 0!==(n=o(r,t=s[f++]))&&u(l,t,n);return l}})},function(e,t,n){var r=n(77),o=n(63),i=n(6);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(r?38===o:o>37&&o<41)}))},function(e,t,n){var r,o,i=n(3),a=n(87),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){var r=n(12),o=n(31),i=n(70),a=n(9),c=n(10),u=n(69),s=n(212),l=n(6),f=o("Reflect","construct"),p=l((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!l((function(){f((function(){}))})),m=p||d;r({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!p)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var o=n.prototype,l=u(c(o)?o:Object.prototype),m=Function.apply.call(e,l,t);return c(m)?m:l}})},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";var r=n(12),o=n(6),i=n(84),a=n(10),c=n(37),u=n(34),s=n(102),l=n(109),f=n(89),p=n(8),d=n(63),m=p("isConcatSpreadable"),h=d>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),v=f("concat"),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!h||!v},{concat:function(e){var t,n,r,o,i,a=c(this),f=l(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&s(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(f,p++,i)}return f.length=p,f}})},function(e,t,n){var r=n(3),o=n(10),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(47),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r,o=n(9),i=n(104),a=n(48),c=n(36),u=n(98),s=n(67),l=n(51),f=l("IE_PROTO"),p=function(){},d=function(e){return"<script>"+e+"<\/script>"},m=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;m=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=s("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};c[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[f]=e):n=m(),void 0===t?n:i(n,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(6),o=n(30),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(13),o=n(6),i=n(67);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(11),o=n(21),i=n(83).indexOf,a=n(36);e.exports=function(e,t){var n,c=o(e),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;t.length>u;)r(c,n=t[u++])&&(~i(s,n)||s.push(n));return s}},function(e,t,n){var r=n(6),o=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==s||n!=u&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(94),o=n(71),i=n(37),a=n(34),c=n(109),u=[].push,s=function(e){var t=1==e,n=2==e,s=3==e,l=4==e,f=6==e,p=7==e,d=5==e||f;return function(m,h,v,y){for(var g,b,w=i(m),O=o(w),j=r(h,v,3),E=a(O.length),_=0,x=y||c,S=t?x(m,E):n||p?x(m,0):void 0;E>_;_++)if((d||_ in O)&&(b=j(g=O[_],_,w),e))if(t)S[_]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:u.call(S,g)}else switch(e){case 4:return!1;case 7:u.call(S,g)}return f?-1:s||l?l:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(30),o=n(3);e.exports="process"==r(o.process)},function(e,t){e.exports=window.wp.url},function(e,t){t.f=Object.getOwnPropertySymbols},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},function(e,t,n){var r=n(3);e.exports=r},function(e,t,n){var r={};r[n(8)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(21),o=n(34),i=n(97),a=function(e){return function(t,n,a){var c,u=r(t),s=o(u.length),l=i(a,s);if(e&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(30);e.exports=Array.isArray||function(e){return"Array"==r(e)}},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(108),o=n.n(r),i=(n(38),n(107),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}},function(e,t,n){var r=n(31),o=n(56),i=n(79),a=n(9);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(31);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(12),o=n(91);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r=n(6),o=n(8),i=n(63),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r=n(17).f,o=n(11),i=n(8)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r,o,i=n(114),a=n(137),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,l=(r=/a/,o=/b*/g,c.call(r,"a"),c.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(l||p||f)&&(s=function(e){var t,n,r,o,a=this,s=f&&a.sticky,d=i.call(a),m=a.source,h=0,v=e;return s&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(m="(?: "+m+")",v=" "+v,h++),n=new RegExp("^(?:"+m+")",d)),p&&(n=new RegExp("^"+m+"$(?!\\s)",d)),l&&(t=a.lastIndex),r=c.call(s?n:a,v),s?r?(r.input=r.input.slice(h),r[0]=r[0].slice(h),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),p&&r&&r.length>1&&u.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=s},function(e,t){e.exports=window.wc.tracks},function(e,t,n){var r=n(62);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(70);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=window.wp.apiFetch},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},function(e,t,n){var r=n(42),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(31);e.exports=r("document","documentElement")},,function(e,t,n){var r=n(82),o=n(27),i=n(131);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t){e.exports=window.wc.date},function(e,t,n){"use strict";var r=n(40),o=n(17),i=n(39);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(11),o=n(86),i=n(33),a=n(17);e.exports=function(e,t){for(var n=o(t),c=a.f,u=i.f,s=0;s<n.length;s++){var l=n[s];r(e,l)||c(e,l,u(t,l))}}},function(e,t,n){var r=n(13),o=n(17),i=n(9),a=n(54);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),c=r.length,u=0;c>u;)o.f(e,n=r[u++],t[n]);return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return s}));var r=n(4),o=r.Navigation||r.__experimentalNavigation,i=(r.NavigationBackButton||r.__experimentalNavigationBackButton,r.NavigationGroup||r.__experimentalNavigationGroup),a=r.NavigationMenu||r.__experimentalNavigationMenu,c=r.NavigationItem||r.__experimentalNavigationItem,u=r.Text||r.__experimentalText,s=r.useSlot||r.__experimentalUseSlot},function(e,t,n){var r=n(3),o=n(68),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){"use strict";var r=n(12),o=n(83).includes,i=n(118);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},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},function(e,t,n){var r=n(10),o=n(84),i=n(8)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t){e.exports={}},function(e,t,n){"use strict";n(88);var r=n(27),o=n(6),i=n(8),a=n(91),c=n(19),u=i("species"),s=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var m=i(e),h=!o((function(){var t={};return t[m]=function(){return 7},7!=""[e](t)})),v=h&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[m]=/./[m]),n.exec=function(){return t=!0,null},n[m](""),!t}));if(!h||!v||"replace"===e&&(!s||!l||p)||"split"===e&&!d){var y=/./[m],g=n(m,""[e],(function(e,t,n,r,o){return t.exec===a?h&&!o?{done:!0,value:y.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],w=g[1];r(String.prototype,e,b),r(RegExp.prototype,m,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&c(RegExp.prototype[m],"sham",!0)}},function(e,t,n){var r=n(30),o=n(91);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){var r=n(82),o=n(30),i=n(8)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){"use strict";var r=n(9);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},,function(e,t,n){var r=n(233);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}},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}))},function(e,t,n){var r=n(8),o=n(69),i=n(17),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){var r=n(8);t.f=r},,function(e,t,n){"use strict";var r=n(125).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var r=n(21),o=n(118),i=n(110),a=n(45),c=n(167),u=a.set,s=a.getterFor("Array Iterator");e.exports=c(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=s(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},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}},function(e,t,n){var r=n(42),o=n(32),i=function(e){return function(t,n){var i,a,c=String(o(t)),u=r(n),s=c.length;return u<0||u>=s?e?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?e?c.charAt(u):i:e?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t){e.exports=window.wp.keycodes},function(e,t,n){"use strict";var r=n(111),o=n(9),i=n(34),a=n(42),c=n(32),u=n(121),s=n(161),l=n(112),f=Math.max,p=Math.min;r("replace",2,(function(e,t,n,r){var d=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,h=d?"$":"$0";return[function(n,r){var o=c(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!d&&m||"string"==typeof r&&-1===r.indexOf(h)){var c=n(t,e,this,r);if(c.done)return c.value}var v=o(e),y=String(this),g="function"==typeof r;g||(r=String(r));var b=v.global;if(b){var w=v.unicode;v.lastIndex=0}for(var O=[];;){var j=l(v,y);if(null===j)break;if(O.push(j),!b)break;""===String(j[0])&&(v.lastIndex=u(y,i(v.lastIndex),w))}for(var E,_="",x=0,S=0;S<O.length;S++){j=O[S];for(var k=String(j[0]),P=f(p(a(j.index),y.length),0),C=[],A=1;A<j.length;A++)C.push(void 0===(E=j[A])?E:String(E));var T=j.groups;if(g){var R=[k].concat(C,P,y);void 0!==T&&R.push(T);var N=String(r.apply(void 0,R))}else N=s(k,y,P,C,T,r);P>=x&&(_+=y.slice(x,P)+N,x=P+k.length)}return _+y.slice(x)}]}))},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t,n){var r=n(13),o=n(17).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(82),o=n(113);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){var r=n(124);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}}},function(e,t){e.exports=window.wp.htmlEntities},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}))},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)}))}}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){"use strict";var r=n(6);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},,function(e,t,n){"use strict";var r=n(12),o=n(71),i=n(21),a=n(122),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(e){return c.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(12),o=n(207),i=n(32);r({target:"String",proto:!0,forced:!n(208)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t){e.exports=window.wp.hooks},function(e,t,n){"use strict";var r=n(27),o=n(9),i=n(6),a=n(114),c=RegExp.prototype,u=c.toString,s=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l="toString"!=u.name;(s||l)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(9),o=n(160);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(10),o=n(30),i=n(8)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t){e.exports=window.wc.components},function(e,t,n){var r=n(3),o=n(128),i=n(123),a=n(19),c=n(8),u=c("iterator"),s=c("toStringTag"),l=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[u]!==l)try{a(d,u,l)}catch(e){d[u]=l}if(d[s]||a(d,s,f),o[f])for(var m in i)if(d[m]!==i[m])try{a(d,m,i[m])}catch(e){d[m]=i[m]}}}},function(e,t,n){var r=n(21),o=n(56).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(81),o=n(11),i=n(119),a=n(17).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";var r=n(75).forEach,o=n(122)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(9),o=n(70),i=n(8)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){"use strict";var r=n(125).charAt,o=n(45),i=n(167),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(27);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(31),o=n(17),i=n(8),a=n(13),c=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(9),o=n(171),i=n(34),a=n(94),c=n(155),u=n(172),s=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var l,f,p,d,m,h,v,y=n&&n.that,g=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),O=a(t,y,1+g+w),j=function(e){return l&&u(l),new s(!0,e)},E=function(e){return g?(r(e),w?O(e[0],e[1],j):O(e[0],e[1])):w?O(e,j):O(e)};if(b)l=e;else{if("function"!=typeof(f=c(e)))throw TypeError("Target is not iterable");if(o(f)){for(p=0,d=i(e.length);d>p;p++)if((m=E(e[p]))&&m instanceof s)return m;return new s(!1)}l=f.call(e)}for(h=l.next;!(v=h.call(l)).done;){try{m=E(v.value)}catch(e){throw u(l),e}if("object"==typeof m&&m&&m instanceof s)return m}return new s(!1)}},function(e,t,n){var r=n(113),o=n(110),i=n(8)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(10),o=n(143);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},function(e,t,n){var r,o,i,a=n(3),c=n(6),u=n(94),s=n(98),l=n(67),f=n(158),p=n(77),d=a.location,m=a.setImmediate,h=a.clearImmediate,v=a.process,y=a.MessageChannel,g=a.Dispatch,b=0,w={},O=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},j=function(e){return function(){O(e)}},E=function(e){O(e.data)},_=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};m&&h||(m=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},h=function(e){delete w[e]},p?r=function(e){v.nextTick(j(e))}:g&&g.now?r=function(e){g.now(j(e))}:y&&!f?(i=(o=new y).port2,o.port1.onmessage=E,r=u(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!c(_)?(r=_,a.addEventListener("message",E,!1)):r="onreadystatechange"in l("script")?function(e){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),O(e)}}:function(e){setTimeout(j(e),0)}),e.exports={set:m,clear:h}},function(e,t,n){var r=n(87);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){"use strict";var r=n(70),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(10);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(37),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,u,s,l){var f=n+e.length,p=u.length,d=c;return void 0!==s&&(s=r(s),d=a),i.call(l,d,(function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(f);case"<":a=s[i.slice(1,-1)];break;default:var c=+i;if(0===c)return r;if(c>p){var l=o(c/10);return 0===l?r:l<=p?void 0===u[l-1]?i.charAt(1):u[l-1]+i.charAt(1):r}a=u[c-1]}return void 0===a?"":a}))}},,function(e,t,n){"use strict";var r=n(227),o=n(228),i=n(169);e.exports={formats:i,parse:o,stringify:r}},function(e,t){e.exports=window.ReactDOM},function(e,t,n){"use strict";var r,o,i,a,c=n(12),u=n(57),s=n(3),l=n(31),f=n(193),p=n(27),d=n(152),m=n(90),h=n(153),v=n(10),y=n(70),g=n(136),b=n(68),w=n(154),O=n(166),j=n(150),E=n(157).set,_=n(194),x=n(196),S=n(197),k=n(159),P=n(198),C=n(45),A=n(74),T=n(8),R=n(77),N=n(63),L=T("species"),I="Promise",M=C.get,U=C.set,D=C.getterFor(I),F=f,V=s.TypeError,B=s.document,q=s.process,z=l("fetch"),H=k.f,$=H,W=!!(B&&B.createEvent&&s.dispatchEvent),G="function"==typeof PromiseRejectionEvent,Q=A(I,(function(){if(!(b(F)!==String(F))){if(66===N)return!0;if(!R&&!G)return!0}if(u&&!F.prototype.finally)return!0;if(N>=51&&/native code/.test(F))return!1;var e=F.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[L]=t,!(e.then((function(){}))instanceof t)})),Y=Q||!O((function(e){F.all(e).catch((function(){}))})),K=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Z=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;_((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,c,u,s=n[i++],l=o?s.ok:s.fail,f=s.resolve,p=s.reject,d=s.domain;try{l?(o||(2===e.rejection&&te(e),e.rejection=1),!0===l?a=r:(d&&d.enter(),a=l(r),d&&(d.exit(),u=!0)),a===s.promise?p(V("Promise-chain cycle")):(c=K(a))?c.call(a,f,p):f(a)):p(r)}catch(e){d&&!u&&d.exit(),p(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&X(e)}))}},J=function(e,t,n){var r,o;W?((r=B.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},!G&&(o=s["on"+e])?o(r):"unhandledrejection"===e&&S("Unhandled promise rejection",n)},X=function(e){E.call(s,(function(){var t,n=e.facade,r=e.value;if(ee(e)&&(t=P((function(){R?q.emit("unhandledRejection",r,n):J("unhandledrejection",n,r)})),e.rejection=R||ee(e)?2:1,t.error))throw t.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e){E.call(s,(function(){var t=e.facade;R?q.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)}))},ne=function(e,t,n){return function(r){e(t,r,n)}},re=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Z(e,!0))},oe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw V("Promise can't be resolved itself");var r=K(t);r?_((function(){var n={done:!1};try{r.call(t,ne(oe,n,e),ne(re,n,e))}catch(t){re(n,t,e)}})):(e.value=t,e.state=1,Z(e,!1))}catch(t){re({done:!1},t,e)}}};Q&&(F=function(e){g(this,F,I),y(e),r.call(this);var t=M(this);try{e(ne(oe,t),ne(re,t))}catch(e){re(t,e)}},(r=function(e){U(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(F.prototype,{then:function(e,t){var n=D(this),r=H(j(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=R?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Z(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=M(e);this.promise=e,this.resolve=ne(oe,t),this.reject=ne(re,t)},k.f=H=function(e){return e===F||e===i?new o(e):$(e)},u||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var n=this;return new F((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof z&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return x(F,z.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:Q},{Promise:F}),m(F,I,!1,!0),h(I),i=l(I),c({target:I,stat:!0,forced:Q},{reject:function(e){var t=H(this);return t.reject.call(void 0,e),t.promise}}),c({target:I,stat:!0,forced:u||Q},{resolve:function(e){return x(u&&this===i?F:this,e)}}),c({target:I,stat:!0,forced:Y},{all:function(e){var t=this,n=H(t),r=n.resolve,o=n.reject,i=P((function(){var n=y(t.resolve),i=[],a=0,c=1;w(e,(function(e){var u=a++,s=!1;i.push(void 0),c++,n.call(t,e).then((function(e){s||(s=!0,i[u]=e,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=H(t),r=n.reject,o=P((function(){var o=y(t.resolve);w(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){var r=n(8)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(12),o=n(199),i=n(174),a=n(143),c=n(90),u=n(19),s=n(27),l=n(8),f=n(57),p=n(110),d=n(173),m=d.IteratorPrototype,h=d.BUGGY_SAFARI_ITERATORS,v=l("iterator"),y=function(){return this};e.exports=function(e,t,n,l,d,g,b){o(n,t,l);var w,O,j,E=function(e){if(e===d&&P)return P;if(!h&&e in S)return S[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},_=t+" Iterator",x=!1,S=e.prototype,k=S[v]||S["@@iterator"]||d&&S[d],P=!h&&k||E(d),C="Array"==t&&S.entries||k;if(C&&(w=i(C.call(new e)),m!==Object.prototype&&w.next&&(f||i(w)===m||(a?a(w,m):"function"!=typeof w[v]&&u(w,v,y)),c(w,_,!0,!0),f&&(p[_]=y))),"values"==d&&k&&"values"!==k.name&&(x=!0,P=function(){return k.call(this)}),f&&!b||S[v]===P||u(S,v,P),p[t]=P,d)if(O={values:E("values"),keys:g?P:E("keys"),entries:E("entries")},b)for(j in O)(h||x||!(j in S))&&s(S,j,O[j]);else r({target:t,proto:!0,forced:h||x},O);return O}},,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}},function(e,t,n){"use strict";var r=n(111),o=n(9),i=n(32),a=n(214),c=n(112);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var l=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===l?-1:l.index}]}))},function(e,t,n){var r=n(8),o=n(110),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(9);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},function(e,t,n){"use strict";var r,o,i,a=n(6),c=n(174),u=n(19),s=n(11),l=n(8),f=n(57),p=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):d=!0);var m=null==r||a((function(){var e={};return r[p].call(e)!==e}));m&&(r={}),f&&!m||s(r,p)||u(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var r=n(11),o=n(37),i=n(51),a=n(213),c=i("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},,function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},function(e,t,n){"use strict";var r=n(13),o=n(3),i=n(74),a=n(27),c=n(11),u=n(30),s=n(156),l=n(40),f=n(6),p=n(69),d=n(56).f,m=n(33).f,h=n(17).f,v=n(188).trim,y=o.Number,g=y.prototype,b="Number"==u(p(g)),w=function(e){var t,n,r,o,i,a,c,u,s=l(e,!1);if("string"==typeof s&&s.length>2)if(43===(t=(s=v(s)).charCodeAt(0))||45===t){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var O,j=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof j&&(b?f((function(){g.valueOf.call(n)})):"Number"!=u(n))?s(new y(w(t)),n,j):w(t)},E=r?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),_=0;E.length>_;_++)c(y,O=E[_])&&!c(j,O)&&h(j,O,m(y,O));j.prototype=g,g.constructor=j,a(o,"Number",j)}},function(e,t,n){var r=n(124);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},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.")}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},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}}},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.")}},,,function(e,t,n){"use strict";var r=n(111),o=n(144),i=n(9),a=n(32),c=n(150),u=n(121),s=n(34),l=n(112),f=n(91),p=n(6),d=[].push,m=Math.min,h=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var c,u,s,l=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,h=new RegExp(e.source,p+"g");(c=f.call(h,r))&&!((u=h.lastIndex)>m&&(l.push(r.slice(m,c.index)),c.length>1&&c.index<r.length&&d.apply(l,c.slice(1)),s=c[0].length,m=u,l.length>=i));)h.lastIndex===c.index&&h.lastIndex++;return m===r.length?!s&&h.test("")||l.push(""):l.push(r.slice(m)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),p=String(this),d=c(f,RegExp),v=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(h?"y":"g"),g=new d(h?f:"^(?:"+f.source+")",y),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===p.length)return null===l(g,p)?[p]:[];for(var w=0,O=0,j=[];O<p.length;){g.lastIndex=h?O:0;var E,_=l(g,h?p:p.slice(O));if(null===_||(E=m(s(g.lastIndex+(h?0:O)),p.length))===w)O=u(p,O,v);else{if(j.push(p.slice(w,O)),j.length===b)return j;for(var x=1;x<=_.length-1;x++)if(j.push(_[x]),j.length===b)return j;O=w=E}}return j.push(p.slice(w)),j}]}),!h)},function(e,t,n){"use strict";var r=n(12),o=n(10),i=n(84),a=n(97),c=n(34),u=n(21),s=n(102),l=n(8),f=n(89)("slice"),p=l("species"),d=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var n,r,l,f=u(this),h=c(f.length),v=a(e,h),y=a(void 0===t?h:t,h);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(f,v,y);for(r=new(void 0===n?Array:n)(m(y-v,0)),l=0;v<y;v++,l++)v in f&&s(r,l,f[v]);return r.length=l,r}})},function(e,t,n){var r=n(32),o="["+n(189)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},,,function(e,t,n){"use strict";var r=n(12),o=n(75).find,i=n(118),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){var r=n(3);e.exports=r.Promise},function(e,t,n){var r,o,i,a,c,u,s,l,f=n(3),p=n(33).f,d=n(157).set,m=n(158),h=n(195),v=n(77),y=f.MutationObserver||f.WebKitMutationObserver,g=f.document,b=f.process,w=f.Promise,O=p(f,"queueMicrotask"),j=O&&O.value;j||(r=function(){var e,t;for(v&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},m||v||h||!y||!g?w&&w.resolve?(s=w.resolve(void 0),l=s.then,a=function(){l.call(s,r)}):a=v?function(){b.nextTick(r)}:function(){d.call(f,r)}:(c=!0,u=g.createTextNode(""),new y(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),e.exports=j||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(87);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(9),o=n(10),i=n(159);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(3);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(173).IteratorPrototype,o=n(69),i=n(39),a=n(90),c=n(110),u=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,s,!1,!0),c[s]=u,e}},function(e,t,n){"use strict";var r=n(169),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)}}},,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(117);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(176);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 g(e,t){t(window.confirm(e))}function b(){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?g:h,O=a.keyLength,j=void 0===O?6:O,E=e.basename?p(l(e.basename)):"";function _(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return E&&(i=f(i,E)),m(i,r,n)}function x(){return Math.random().toString(36).substr(2,j)}var S=v();function k(e){Object(r.a)(F,e),F.length=n.length,S.notifyListeners(F.location,F.action)}function P(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||T(_(e.state))}function C(){T(_(b()))}var A=!1;function T(e){if(A)A=!1,k();else{S.confirmTransitionTo(e,"POP",w,(function(t){t?k({action:"POP",location:e}):function(e){var t=F.location,n=N.indexOf(t.key);-1===n&&(n=0);var r=N.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,I(o))}(e)}))}}var R=_(b()),N=[R.key];function L(e){return E+d(e)}function I(e){n.go(e)}var M=0;function U(e){1===(M+=e)&&1===e?(window.addEventListener("popstate",P),i&&window.addEventListener("hashchange",C)):0===M&&(window.removeEventListener("popstate",P),i&&window.removeEventListener("hashchange",C))}var D=!1;var F={length:n.length,action:"POP",location:R,createHref:L,push:function(e,t){var r=m(e,t,x(),F.location);S.confirmTransitionTo(r,"PUSH",w,(function(e){if(e){var t=L(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=N.indexOf(F.location.key),s=N.slice(0,c+1);s.push(r.key),N=s,k({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=m(e,t,x(),F.location);S.confirmTransitionTo(r,"REPLACE",w,(function(e){if(e){var t=L(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=N.indexOf(F.location.key);-1!==c&&(N[c]=r.key),k({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=S.setPrompt(e);return D||(U(1),D=!0),function(){return D&&(D=!1,U(-1)),t()}},listen:function(e){var t=S.appendListener(e);return U(1),function(){U(-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())})),g=d;function b(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:g,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:b,goBack:function(){b(-1)},goForward:function(){b(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}},function(e,t,n){"use strict";var r=n(111),o=n(9),i=n(34),a=n(32),c=n(121),u=n(112);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),s=String(this);if(!a.global)return u(a,s);var l=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=u(a,s));){var m=String(f[0]);p[d]=m,""===m&&(a.lastIndex=c(s,i(a.lastIndex),l)),d++}return 0===d?null:p}]}))},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},function(e,t,n){var r=n(36),o=n(10),i=n(11),a=n(17).f,c=n(55),u=n(253),s=c("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(e){a(e,s,{value:{objectID:"O"+ ++l,weakData:{}}})},d=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,s)){if(!f(e))return"F";if(!t)return"E";p(e)}return e[s].objectID},getWeakData:function(e,t){if(!i(e,s)){if(!f(e))return!0;if(!t)return!1;p(e)}return e[s].weakData},onFreeze:function(e){return u&&d.REQUIRED&&f(e)&&!i(e,s)&&p(e),e}};r[s]=!0},,function(e,t,n){var r=n(144);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(8)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){var r=n(13),o=n(3),i=n(74),a=n(156),c=n(17).f,u=n(56).f,s=n(144),l=n(114),f=n(137),p=n(27),d=n(6),m=n(45).set,h=n(153),v=n(8)("match"),y=o.RegExp,g=y.prototype,b=/a/g,w=/a/g,O=new y(b)!==b,j=f.UNSUPPORTED_Y;if(r&&i("RegExp",!O||j||d((function(){return w[v]=!1,y(b)!=b||y(w)==w||"/a/i"!=y(b,"i")})))){for(var E=function(e,t){var n,r=this instanceof E,o=s(e),i=void 0===t;if(!r&&o&&e.constructor===E&&i)return e;O?o&&!i&&(e=e.source):e instanceof E&&(i&&(t=l.call(e)),e=e.source),j&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var c=a(O?new y(e,t):y(e,t),r?this:g,E);return j&&n&&m(c,{sticky:n}),c},_=function(e){e in E||c(E,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})},x=u(y),S=0;x.length>S;)_(x[S++]);g.constructor=E,E.prototype=g,p(o,"RegExp",E)}h("RegExp")},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"},function(e,t){e.exports=window.wp.date},function(e,t,n){"use strict";var r=n(70),o=n(10),i=[].slice,a={},c=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?c(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){var r=n(6);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(216);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,,,,function(e,t,n){"use strict";var r=n(13),o=n(6),i=n(54),a=n(79),c=n(76),u=n(37),s=n(71),l=Object.assign,f=Object.defineProperty;e.exports=!l||o((function(){if(r&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=i(l({},t)).join("")}))?function(e,t){for(var n=u(e),o=arguments.length,l=1,f=a.f,p=c.f;o>l;)for(var d,m=s(arguments[l++]),h=f?i(m).concat(f(m)):i(m),v=h.length,y=0;v>y;)d=h[y++],r&&!p.call(m,d)||(n[d]=m[d]);return n}:l},,,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}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(134);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}},,function(e,t,n){"use strict";var r=n(200),o=n(169),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,g){var b,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,g,"key",h):n;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||r.isBuffer(w))return u?[v(y?n:u(n,p.encoder,g,"key",h))+"="+v(u(w,p.encoder,g,"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 E=Object.keys(w);O=f?E.sort(f):E}for(var _=0;_<O.length;++_){var x=O[_],S="object"==typeof x&&void 0!==x.value?x.value:w[x];if(!a||null!==S){var k=c(w)?"function"==typeof o?o(n,x):n:n+(d?"."+x:"["+x+"]");s(j,e(S,k,o,i,a,u,l,f,d,m,h,v,y,g))}}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),g=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),y.length>0?g+y:""}},function(e,t,n){"use strict";var r=n(200),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],g=y.indexOf("]="),b=-1===g?y.indexOf("="):g+1;-1===b?(h=t.decoder(y,a.decoder,m,"key"),v=t.strictNullHandling?null:""):(h=t.decoder(y.slice(0,b),a.decoder,m,"key"),v=r.maybeMap(u(y.slice(b+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)}},function(e,t,n){"use strict";var r=n(12),o=n(3),i=n(74),a=n(27),c=n(205),u=n(154),s=n(136),l=n(10),f=n(6),p=n(166),d=n(90),m=n(156);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),y=h?"set":"add",g=o[e],b=g&&g.prototype,w=g,O={},j=function(e){var t=b[e];a(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof g||!(v||b.forEach&&!f((function(){(new g).entries().next()})))))w=n.getConstructor(t,e,h,y),c.REQUIRED=!0;else if(i(e,!0)){var E=new w,_=E[y](v?{}:-0,1)!=E,x=f((function(){E.has(1)})),S=p((function(e){new g(e)})),k=!v&&f((function(){for(var e=new g,t=5;t--;)e[y](t,t);return!e.has(-0)}));S||((w=t((function(t,n){s(t,w,e);var r=m(new g,t,w);return null!=n&&u(n,r[y],{that:r,AS_ENTRIES:h}),r}))).prototype=b,b.constructor=w),(x||k)&&(j("delete"),j("has"),h&&j("get")),(k||_)&&j(y),v&&b.clear&&delete b.clear}return O[e]=w,r({global:!0,forced:w!=g},O),d(w,e),v||n.setStrong(w,e,h),w}},,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(44),o=n.n(r),i=(n(186),n(88),n(107),n(140),n(52),n(248),n(100),n(151),n(123),n(146),n(66),n(49),n(192),n(177),n(127),n(133)),a=n(5),c=n(85);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)}},,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}},function(e,t,n){"use strict";var r=n(94),o=n(37),i=n(252),a=n(171),c=n(34),u=n(102),s=n(155);e.exports=function(e){var t,n,l,f,p,d,m=o(e),h="function"==typeof this?this:Array,v=arguments.length,y=v>1?arguments[1]:void 0,g=void 0!==y,b=s(m),w=0;if(g&&(y=r(y,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(t=c(m.length));t>w;w++)d=g?y(m[w],w):m[w],u(n,w,d);else for(p=(f=b.call(m)).next,n=new h;!(l=p.call(f)).done;w++)d=g?i(f,y,[l.value,w],!0):l.value,u(n,w,d);return n.length=w,n}},function(e,t,n){"use strict";var r=n(17).f,o=n(69),i=n(152),a=n(94),c=n(136),u=n(154),s=n(167),l=n(153),f=n(13),p=n(205).fastKey,d=n(45),m=d.set,h=d.getterFor;e.exports={getConstructor:function(e,t,n,s){var l=e((function(e,r){c(e,l,t),m(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&u(r,e[s],{that:e,AS_ENTRIES:n})})),d=h(t),v=function(e,t,n){var r,o,i=d(e),a=y(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},y=function(e,t){var n,r=d(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(l.prototype,{clear:function(){for(var e=d(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=d(this),n=y(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),f?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=d(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(l.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),f&&r(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",o=h(t),i=h(r);s(e,t,(function(e,t){m(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(t)}}},,,,,,,,,,,,function(e,t){e.exports=window.wc.currency},function(e,t,n){"use strict";var r=n(229),o=n(235);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},function(e,t,n){var r=n(13),o=n(54),i=n(21),a=n(76).f,c=function(e){return function(t){for(var n,c=i(t),u=o(c),s=u.length,l=0,f=[];s>l;)n=u[l++],r&&!a.call(c,n)||f.push(e?[n,c[n]]:c[n]);return f}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,n){var r=n(12),o=n(221);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},,function(e,t,n){var r=n(9),o=n(172);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){throw o(e),t}}},function(e,t,n){var r=n(6);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var r=n(6),o=n(8),i=n(57),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},,,,,,,,function(e,t){e.exports=window.wp.dom},,,,,,function(e,t,n){"use strict";e.exports=n(298)},,,,,,,,,function(e,t,n){"use strict";n(165),n(100),n(151),n(123),n(146),n(41);var r=n(2),o=n(141),i=n(85),a=n(0),c=Object(i.g)("manageStock","no"),u=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,583))})),s=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(2),n.e(15)]).then(n.bind(null,579))})),l=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(2),n.e(19)]).then(n.bind(null,584))})),f=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(5),n.e(14)]).then(n.bind(null,585))})),p=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(2),n.e(10)]).then(n.bind(null,581))})),d=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(11)]).then(n.bind(null,586))})),m=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(18)]).then(n.bind(null,587))})),h=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(13)]).then(n.bind(null,588))})),v=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,580))})),y=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(12)]).then(n.bind(null,582))}));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)}},function(e,t,n){"use strict";var r=n(268),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 g=p(n,y);try{s(t,y,g)}catch(e){}}}}return t}},function(e,t){e.exports=window.wp.plugins},function(e,t,n){"use strict";n.d(t,"c",(function(){return zt})),n.d(t,"b",(function(){return Wt})),n.d(t,"a",(function(){return Gt}));n(64),n(38),n(53),n(60),n(49),n(61);var r=n(80),o=n.n(r),i=n(116),a=n.n(i),c=n(7),u=n.n(c),s=n(22),l=n.n(s),f=n(23),p=n.n(f),d=n(24),m=n.n(d),h=n(25),v=n.n(h),y=n(14),g=n.n(y),b=n(0),w=(n(165),n(100),n(151),n(123),n(146),n(170),n(88),n(127),n(107),n(140),n(52),n(41),n(65)),O=n(26),j=n(129),E=n(20),_=n.n(E),x=n(1),S=n.n(x),k=n(202),P=n(316),C=n(176),A=n(117),T=n(317),R=n.n(T),N=(n(268),n(134)),L=(n(278),function(e){var t=Object(P.a)();return t.displayName=e,t}("Router-History")),I=function(e){var t=Object(P.a)();return t.displayName=e,t}("Router"),M=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 _.a.createElement(I.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},_.a.createElement(L.Provider,{children:this.props.children||null,value:this.props.history}))},t}(_.a.Component);_.a.Component;_.a.Component;var U={},D=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=U[n]||(U[n]={});if(r[e])return r[e];var o=[],i={regexp:R()(e,o,t),keys:o};return D<1e4&&(r[e]=i,D++),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 V=function(e){function t(){return e.apply(this,arguments)||this}return Object(j.a)(t,e),t.prototype.render=function(){var e=this;return _.a.createElement(I.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),_.a.createElement(I.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:c?_.a.createElement(c,o):u?u(o):null:"function"==typeof a?a(o):null)}))},t}(_.a.Component);function B(e){return"/"===e.charAt(0)?e:"/"+e}function q(e,t){if(!e)return t;var n=B(e);return 0!==t.pathname.indexOf(n)?t:Object(A.a)({},t,{pathname:t.pathname.substr(n.length)})}function z(e){return"string"==typeof e?e:Object(k.d)(e)}function H(e){return function(){Object(C.a)(!1)}}function $(){}_.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 _.a.createElement(I.Consumer,null,(function(t){t||Object(C.a)(!1);var n,r,o=e.props.location||t.location;return _.a.Children.forEach(e.props.children,(function(e){if(null==r&&_.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?_.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(_.a.Component);_.a.useContext;var G=n(5),Q=n(163),Y=n(145),K=n(50),Z=n(85),J=n(59),X=n(92),ee=(n(420),n(421),n(66),n(203),n(186),n(250),n(283),n(141)),te=n(2),ne=n(277),re=n(231);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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var o=g()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var ie=Object(b.lazy)((function(){return n.e(9).then(n.bind(null,691))})),ae=Object(b.lazy)((function(){return n.e(20).then(n.bind(null,711))})),ce=Object(b.lazy)((function(){return n.e(28).then(n.bind(null,692))})),ue=Object(b.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(52),n.e(4),n.e(32)]).then(n.bind(null,708))})),se=Object(b.lazy)((function(){return Promise.all([n.e(3),n.e(36)]).then(n.bind(null,712))})),le=Object(b.lazy)((function(){return Promise.all([n.e(53),n.e(46)]).then(n.bind(null,709))})),fe=Object(b.lazy)((function(){return Promise.all([n.e(53),n.e(46)]).then(n.bind(null,704))})),pe=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"},capability:"manage_woocommerce"}),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"},capability:"view_woocommerce_reports"}),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"},capability:"view_woocommerce_reports"}),e.push({container:ie,path:"/customers",breadcrumbs:[].concat(t,[Object(te.__)("Customers","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-analytics-customers"},capability:"view_woocommerce_reports"}),e.push({container:ie,path:"/analytics/:report",breadcrumbs:function(e){var n=e.match,r=Object(G.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",capability:"view_woocommerce_reports"})),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"},capability:"view_woocommerce_reports"}),window.wcAdminFeatures.onboarding&&e.push({container:le,path:"/setup-wizard",breadcrumbs:[].concat(t,[["/setup-wizard",Object(te.__)("Setup Wizard","woocommerce-admin")]]),capability:"manage_woocommerce"}),window.wcAdminFeatures.settings&&e.push({container:fe,path:"/settings/:page",breadcrumbs:function(e){var n=e.match,r=Object(Z.g)("settingsPages"),o=r[n.params.page];return o?[].concat(t,[[r.general?"/settings/general":"/settings/".concat(Object.keys(r)[0]),Object(te.__)("Settings","woocommerce-admin")],o]):[]},wpOpenMenu:"toplevel_page_woocommerce",capability:"manage_woocommerce"}),Object(ee.applyFilters)("woocommerce_admin_pages_list",e)},de=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(G.omit)(e.query,"chartType","filter","paged"),n=Object(G.omit)(this.props.query,"chartType","filter","paged");e.query.paged>1&&!Object(G.isEqual)(t,n)&&Object(K.getHistory)().replace(Object(K.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(b.createElement)(b.Suspense,{fallback:Object(b.createElement)(Y.Spinner,null)},Object(b.createElement)(t.container,{params:i,path:o,pathMatch:t.path,query:r}))}}]),n}(b.Component);window.wpNavMenuUrlUpdate=function(e){var t=Object(K.getPersistedQuery)(e),n=Object(K.getQueryExcludedScreens)();Array.from(document.querySelectorAll("#adminmenu a")).forEach((function(e){return function(e,t,n){if(Object(re.f)(e.href)){var r=Object(G.last)(e.href.split("?")),o=Object(Q.parse)(r),i=o.path||"homescreen",a=Object(K.getScreenFromPath)(i),c=n.includes(a),u="admin.php?"+Object(Q.stringify)(Object.assign(o,c?{}:t));e.href=u,e.onclick=function(e){e.preventDefault(),Object(K.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")};n(287),n(187),n(139);var me=n(4),he=n(15),ve=n.n(he),ye=n(133),ge=n(105),be=n(425),we=n(596),Oe=n(126),je=(n(422),n(43)),Ee=n.n(je),_e=(n(130),n(28)),xe=Object(b.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(_e.Path,{fillRule:"evenodd",d:"M6 5.5h12a.5.5 0 01.5.5v7H14a2 2 0 11-4 0H5.5V6a.5.5 0 01.5-.5zm-.5 9V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5v-3.5h-3.337a3.5 3.5 0 01-6.326 0H5.5zM4 13V6a2 2 0 012-2h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2v-5z",clipRule:"evenodd"})),Se=Object(b.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(_e.Path,{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(595),Pe=(n(423),n(331)),Ce={page:1,per_page:J.QUERY_DEFAULTS.pageSize,status:"unactioned",type:J.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc"};function Ae(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;n(Ce);var c=Boolean(r("getNotes",[Ce])),u=o("getNotes",[Ce]);if(c||u)return null;var s=n(Ce);return Object(Pe.a)(s,a)>0}var Te=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=ve()("woocommerce-layout__activity-panel-tab",{"is-active":a&&i,"has-unread":o}),s="activity-panel-tab-".concat(r);return Object(b.createElement)(me.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(b.createElement)("span",{className:"screen-reader-text"},Object(te.__)("unread activity","woocommerce-admin")))},Re=function(e){var t=e.tabs,n=e.onTabClick,r=e.selectedTab,i=e.tabOpen,a=void 0!==i&&i,c=Object(b.useState)({tabOpen:a,currentTab:r}),u=Ee()(c,2),s=u[0],l=s.tabOpen,f=s.currentTab,p=u[1];return Object(b.useEffect)((function(){p({tabOpen:a,currentTab:r})}),[a,r]),Object(b.createElement)(me.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(b.createElement)(r,o()({key:t},i))}return Object(b.createElement)(Te,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(b.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(b.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(b.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(b.createElement)(b.Fragment,null,Object(b.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(b.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(b.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(b.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(b.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"))},Ie=[{value:"single_column",label:Object(b.createElement)(b.Fragment,null,Object(b.createElement)((function(){return Object(b.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(b.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(b.createElement)(b.Fragment,null,Object(b.createElement)((function(){return Object(b.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(b.createElement)("rect",{x:"0.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"}),Object(b.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(b.createElement)(me.DropdownMenu,{icon:Object(b.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(b.createElement)(me.MenuGroup,{className:"woocommerce-layout__homescreen-display-options",label:Object(te.__)("Layout","woocommerce-admin")},Object(b.createElement)(me.MenuItemsChoice,{choices:Ie,onSelect:function(e){n({homepage_layout:e}),o(),Object(X.recordEvent)("homescreen_display_option",{display_option:e})},value:r||e}))}))},Ue=n(594),De=(n(424),"highlight-tooltip__show");function Fe(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?G.noop:s,f=e.useAnchor,p=void 0!==f&&f,d=Object(b.useState)(u>0?null:i),m=Ee()(d,2),h=m[0],v=m[1],y=Object(b.useState)(null),g=Ee()(y,2),w=g[0],O=g[1],j=Object(b.useState)(null),E=Ee()(j,2),_=E[0],x=E[1];function S(){if(p){var e=document.getElementById(a);x(e.getBoundingClientRect())}}Object(b.useEffect)((function(){var e,t,n=document.getElementById(a);n&&!w&&(p?(t=document.createElement("div"),document.body.appendChild(t)):t=n.parentElement,(e=document.createElement("div")).classList.add("highlight-tooltip__container"),t.appendChild(e),O(e));var r=k(e);return function(){if(e){var t=e.parentElement;t.removeChild(e),p&&t.remove()}r&&clearTimeout(r)}}),[]),Object(b.useEffect)((function(){!h&&w&&w.classList.remove(De)}),[h]),Object(b.useEffect)((function(){i!==h&&null!==h&&w&&(v(i),i?w&&k(w):w.classList.remove(De))}),[i]),Object(b.useLayoutEffect)((function(){return window.addEventListener("resize",S),function(){return window.removeEventListener("resize",S)}}),[]);var k=function(e){var t=null;return u>0?t=setTimeout((function(){t=null,P(e)}),u):h||P(e),t},P=function(e){var t=document.getElementById(a);t&&p&&x(t.getBoundingClientRect()),e&&e.classList.add(De),v(!0),l()},C=function(){v(!1),c&&c()};return w?Object(b.createPortal)(Object(b.createElement)("div",{className:"highlight-tooltip__portal"},h?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(me.IsolatedEventContainer,{className:"highlight-tooltip__overlay"}),Object(b.createElement)(me.Popover,{className:"highlight-tooltip__popover",noArrow:!1,anchorRect:_,focusOnMount:"container"},Object(b.createElement)(me.Card,{size:"medium"},Object(b.createElement)(me.CardHeader,null,t,Object(b.createElement)(me.Button,{isSmall:!0,onClick:C,icon:Ue.a})),Object(b.createElement)(me.CardBody,null,r||null),Object(b.createElement)(me.CardFooter,{isBorderless:!0},Object(b.createElement)(me.Button,{size:"small",isPrimary:!0,onClick:C},n||Object(te.__)("Close","woocommerce-admin")))))):null),w):null}Fe.propTypes={id:S.a.string.isRequired,title:S.a.string.isRequired,closeButtonText:S.a.string.isRequired,content:S.a.oneOfType([S.a.string,S.a.node]),show:S.a.bool,onClose:S.a.func,delay:S.a.number,onShow:S.a.func,useAnchor:S.a.bool};n(192);var Ve=n(262);var Be=["button","submit"];function qe(e){var t=Object(b.useRef)(e);Object(b.useEffect)((function(){t.current=e}),[e]);var n=Object(b.useRef)(!1),r=Object(b.useRef)(),o=Object(b.useCallback)((function(){clearTimeout(r.current)}),[]);Object(b.useEffect)((function(){return function(){return o()}}),[]),Object(b.useEffect)((function(){e||o()}),[e,o]);var i=Object(b.useCallback)((function(e){var t=e.type,r=e.target;Object(G.includes)(["mouseup","touchend"],t)?n.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(G.includes)(Be,e.type)}return!1}(r)&&(n.current=!0)}),[]),a=Object(b.useCallback)((function(e){e.persist(),n.current||(r.current=setTimeout((function(){document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()}),0))}),[]);return{onFocus:o,onMouseDown:i,onMouseUp:i,onTouchStart:i,onTouchEnd:i,onBlur:a}}var ze=function(e){var t=e.content,n=e.isPanelOpen,r=e.isPanelSwitching,i=e.currentTab,a=e.tab,c=e.closePanel,u=e.clearPanel,s="woocommerce-layout__activity-panel-wrapper",l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"firstElement",t=Object(b.useRef)(e);return Object(b.useEffect)((function(){t.current=e}),[e]),Object(b.useCallback)((function(e){if(e&&!1!==t.current&&!e.contains(e.ownerDocument.activeElement)){var n=e;if("firstElement"===t.current){var r=Ve.focus.tabbable.find(e)[0];r&&(n=r)}n.focus()}}),[])}(),f=qe((function(e){var t=e.relatedTarget&&(e.relatedTarget.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.relatedTarget.closest(".components-snackbar__action"));n&&!t&&c()})),p=Object(b.useRef)(null),d=Object(b.useCallback)((function(e){p.current=e,l(e)}),[]);if(!a)return Object(b.createElement)("div",{className:s});if(!t)return null;var m=ve()(s,{"is-open":n,"is-switching":r});return Object(b.createElement)("div",o()({className:m,tabIndex:0,role:"tabpanel","aria-label":a.title,onTransitionEnd:function(e){e&&"transform"===e.propertyName&&(u(),p.current&&n&&a&&l(p.current))}},f,{ref:d}),Object(b.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+i,id:"activity-panel-"+i},Object(b.createElement)(b.Suspense,{fallback:Object(b.createElement)(Y.Spinner,null)},t)))},He=Object(b.lazy)((function(){return Promise.all([n.e(54),n.e(6),n.e(7)]).then(n.bind(null,705))})),$e=Object(b.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(4),n.e(8)]).then(n.bind(null,689))})),We=function(e){var t,n,r,o=e.isEmbedded,i=e.query,a=e.userPreferencesData,c=Object(b.useState)(""),u=Ee()(c,2),s=u[0],l=u[1],f=Object(b.useState)(!1),p=Ee()(f,2),d=p[0],m=p[1],h=Object(b.useState)(!1),v=Ee()(h,2),y=v[0],g=v[1],w=Object(b.useState)(!1),j=Ee()(w,2),E=j[0],_=j[1],x=Object(O.useSelect)((function(e){var t=e(J.OPTIONS_STORE_NAME),n=t.getOption,r=t.isResolving;return{hasUnreadNotes:Ae(e),requestingTaskListOptions:r("getOption",["woocommerce_task_list_complete"])||r("getOption",["woocommerce_task_list_hidden"]),setupTaskListComplete:"yes"===n("woocommerce_task_list_complete"),setupTaskListHidden:"yes"===n("woocommerce_task_list_hidden"),trackedCompletedTasks:n("woocommerce_task_list_tracked_completed_tasks")||[]}})),S=x.hasUnreadNotes,k=x.requestingTaskListOptions,P=x.setupTaskListComplete,C=x.setupTaskListHidden,A=x.trackedCompletedTasks,T=Object(O.useDispatch)(J.OPTIONS_STORE_NAME).updateOptions,R=Object(J.useUser)().currentUserCan,N=function(){return"wc-admin"===i.page&&!i.path},L=function(){return i.task&&!i.path&&(!0===k||!1===C&&!1===P)},I=function(){var e={name:"inbox",title:Object(te.__)("Inbox","woocommerce-admin"),icon:Object(b.createElement)(be.a,{icon:xe}),unread:S,visible:(o||!N())&&!L()},t={name:"setup",title:Object(te.__)("Finish setup","woocommerce-admin"),icon:Object(b.createElement)(Ne,null),onClick:function(){return window.location.href!==Object(Z.f)("admin.php?page=wc-admin")&&("no"===C?M():T({woocommerce_task_list_hidden:"no"}).then(M)),null},visible:R("manage_woocommerce")&&!P&&!C&&!L()&&(!N()||o)},n={name:"help",title:Object(te.__)("Help","woocommerce-admin"),icon:Object(b.createElement)(be.a,{icon:Se}),visible:N()&&!o||L()},r={component:Me,visible:!o&&N()&&!L()};return[e,t,{name:"previewSite",title:Object(te.__)("Preview site","woocommerce-admin"),icon:Object(b.createElement)(be.a,{icon:ke.a}),visible:"wc-admin"===i.page&&"appearance"===i.task,onClick:function(){return window.open(window.wcSettings.siteUrl),null}},r,n].filter((function(e){return e.visible}))},M=function(){Object(re.f)(window.location.href)?Object(K.getHistory)().push(Object(K.getNewPath)({},"/",{})):window.location.href=Object(Z.f)("admin.php?page=wc-admin")},U=I(),D=Object(G.uniqueId)("activity-panel-header_"),F=(t=i.task,n=a&&a.task_list_tracked_started_tasks,r=a&&a.help_panel_highlight_shown,!(!(t&&"yes"!==r&&(n||{})[t]>1)||A.includes(t)));return Object(b.createElement)("div",null,Object(b.createElement)(Y.H,{id:D,className:"screen-reader-text"},Object(te.__)("Store Activity","woocommerce-admin")),Object(b.createElement)(Y.Section,{component:"aside",id:"woocommerce-activity-panel",className:"woocommerce-layout__activity-panel","aria-labelledby":D},Object(b.createElement)(Re,{tabs:U,tabOpen:y,selectedTab:s,onTabClick:function(e,t){var n,r,o;e.onClick?e.onClick():(n=t,r=e.name,o=r!==s&&""!==s&&n&&y,d||(l(r),g(n),_(o)))}}),Object(b.createElement)(ze,{currentTab:!0,isPanelOpen:y,isPanelSwitching:E,tab:Object(G.find)(I(),{name:s}),content:function(e){var t=i.task;switch(e){case"inbox":return Object(b.createElement)($e,null);case"help":return Object(b.createElement)(He,{taskName:t});default:return null}}(s),closePanel:function(){return m(!0),void g(!1)},clearPanel:function(){y||(m(!1),_(!1),l(""))}})),F?Object(b.createElement)(Fe,{delay:1e3,useAnchor:!0,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 Object(X.recordEvent)("help_tooltip_click"),void(a&&a.updateUserPreferences&&a.updateUserPreferences({help_panel_highlight_shown:"yes"}))},onShow:function(){return Object(X.recordEvent)("help_tooltip_view")}}):null)};We.defaultProps={getHistory:K.getHistory};var Ge=We,Qe=function(){return/iPhone|iPad|iPod/i.test(window.navigator.userAgent)?"ios":/Android/i.test(window.navigator.userAgent)?"android":"unknown"},Ye=function(){return Object(b.createElement)("svg",{width:"37",height:"37",viewBox:"0 0 92 92",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)("rect",{width:"92",height:"92",rx:"21.3953",fill:"#7F54B3"}),Object(b.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"}))},Ke=(n(426),function(e){var t=e.onInstall,n=e.onDismiss;Object(b.useEffect)((function(){var e=document.getElementsByClassName("woocommerce-layout")[0];return"android"===Qe()&&e&&e.classList.add("woocommerce-layout__show-app-banner"),function(){e&&e.classList.remove("woocommerce-layout__show-app-banner")}}),[]);var r=Object(b.useState)(!1),o=Ee()(r,2),i=o[0],a=o[1];return"android"!==Qe()||i?null:Object(b.createElement)("div",{className:"woocommerce-mobile-app-banner"},Object(b.createElement)(me.Icon,{icon:"no-alt","data-testid":"dismiss-btn",onClick:function(){n(),a(!0),Object(X.recordEvent)("wcadmin_mobile_android_banner_click",{action:"dismiss"})}}),Object(b.createElement)(Ye,null),Object(b.createElement)("div",{className:"woocommerce-mobile-app-banner__description"},Object(b.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(te.__)("Run your store from anywhere","woocommerce-admin")),Object(b.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(te.__)("Download the WooCommerce app","woocommerce-admin"))),Object(b.createElement)(me.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")))});function Ze(){var e=Object(b.useState)(!1),t=Ee()(e,2),n=t[0],r=t[1],o=Object(b.useRef)(null);return Object(b.useEffect)((function(){var e=function(){r(window.pageYOffset>20)},t=function(){o.current=window.requestAnimationFrame(e)};return window.addEventListener("scroll",t),function(){window.removeEventListener("scroll",t),window.cancelAnimationFrame(o.current)}}),[]),n}var Je=n(279),Xe=(n(427),n(44)),et=n.n(Xe);n(285),n(428),n(177),n(209),n(142);function tt(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}var nt=function(e){return 0===e.indexOf("http")?e:Object(Z.f)(e)},rt=function(e){var t=e.replace(/[-\/\\^$*+?.()|[\]{}]/gi,"\\$&").split(/\\\?|#/),n=Ee()(t,3),r=n[0],o=n[1],i=n[2],a=i?"(.*#".concat(i,"$)"):"";return"^"+r+(o?o.split("&").reduce((function(e,t){return"".concat(e,"(?=.*[?|&]").concat(t,"(&|$|#))")}),""):"")+a},ot=function(e){var t,n,r;return window.wcNavigation.historyPatched||(t=window.history,n=t.pushState,r=t.replaceState,t.pushState=function(e,r,o){var i=new CustomEvent("pushstate",e);return window.dispatchEvent(i),n.apply(t,[e,r,o])},t.replaceState=function(e,n,o){var i=new CustomEvent("replacestate",e);return window.dispatchEvent(i),r.apply(t,[e,n,o])},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)}},it=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)return 0;var r=nt(t),o=e.href;if(r===o)return Number.MAX_SAFE_INTEGER;var i=rt(r),a=new RegExp(n||i,"i");return(decodeURIComponent(o).match(a)||[]).length}(window.location,e.url,e.matchExpression);r>0&&r>=n&&(n=r,t=e)})),t||null},at=["primary","favorites","plugins","secondary"],ct={woocommerce:{id:"woocommerce",isCategory:!0,menuId:"primary",migrate:!0,order:10,parent:"",title:"WooCommerce"}},ut=function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ct);return{items:function(e){return e.sort((function(e,t){return e.order===t.order?e.title.localeCompare(t.title):e.order-t.order}))}(e).reduce((function(e,r){if(e[r.parent]||(e[r.parent]={},at.forEach((function(t){e[r.parent][t]=[]}))),!e[r.parent][r.menuId])return e;if(t&&r.capability&&!t(r.capability))return e;r.isCategory&&(n[r.id]=r);var o=e[r.parent][r.menuId];return o&&o.push(r),e}),{}),categories:n}},st=Object(b.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(_e.Path,{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"})),lt=function(){var e=Object(Z.g)("siteTitle",""),t=Object(Z.g)("homeUrl",""),n=Ze(),r=Object(b.useState)(document.body.classList.contains(!1)),o=Ee()(r,2),i=o[0],a=o[1],c="is-wc-nav-folded",u="is-wc-nav-expanded",s=function(){document.body.classList.add(c),document.body.classList.remove(u),a(!0)},l=function(){document.body.classList.remove(c),document.body.classList.add(u),a(!1)},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body.clientWidth;e<=960?s():l()};Object(b.useEffect)((function(){f();for(var e=0,t=[{eventName:"orientationchange",handler:function(e){return f(e.target.screen.availWidth)}},{eventName:"resize",handler:Object(G.debounce)((function(){return f()}),200)}];e<t.length;e++){var n=t[e],r=n.eventName,o=n.handler;window.addEventListener(r,o,!1)}ot((function(){return f()}))}),[]);var p=Object(b.createElement)(be.a,{size:"36px",icon:st}),d=Object(O.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}})),m=d.isRequestingSiteIcon,h=d.siteIconUrl;h?p=Object(b.createElement)("img",{alt:Object(te.__)("Site Icon"),src:h}):m&&(p=null);var v=ve()("woocommerce-navigation-header",{"is-scrolled":n});return Object(b.createElement)("div",{className:v},Object(b.createElement)(me.Button,{onClick:function(){document.body.classList.contains(c)?l():s()},className:"woocommerce-navigation-header__site-icon","aria-label":"Fold navigation",role:"switch","aria-checked":i?"true":"false"},p),Object(b.createElement)(me.Button,{href:t,className:"woocommerce-navigation-header__site-title",as:"span"},Object(ye.decodeEntities)(e)))},ft=(n(429),n(430),function(e){var t=e.id,n=Object(O.useSelect)((function(e){return{favorites:e(J.NAVIGATION_STORE_NAME).getFavorites(),isResolving:e(J.NAVIGATION_STORE_NAME).isResolving("getFavorites")}})),r=n.favorites,o=n.isResolving,i=Object(O.useDispatch)(J.NAVIGATION_STORE_NAME),a=i.addFavorite,c=i.removeFavorite,u=r.includes(t);return o?null:Object(b.createElement)(me.Button,{id:"woocommerce-navigation-favorite-button",className:"woocommerce-navigation-favorite-button",isTertiary:!0,onClick:function(){(u?c:a)(t),Object(X.recordEvent)("navigation_favorite",{id:t,action:u?"unfavorite":"favorite"})},icon:u?"star-filled":"star-empty","aria-label":u?Object(te.__)("Add this item to your favorites.","woocommerce-admin"):Object(te.__)("Remove this item from your favorites.","woocommerce-admin")})}),pt="woocommerce_navigation_favorites_tooltip_hidden",dt=function(){var e=Object(O.useSelect)((function(e){var t=e(J.OPTIONS_STORE_NAME),n=t.getOption,r=t.isResolving;return{isFavoritesResolving:e(J.NAVIGATION_STORE_NAME).isResolving("getFavorites"),isOptionResolving:r("getOption",[pt]),isTooltipHidden:"yes"===n(pt)}})),t=e.isFavoritesResolving,n=e.isOptionResolving,r=e.isTooltipHidden,o=Object(O.useDispatch)(J.OPTIONS_STORE_NAME).updateOptions;return t||r||n||document.body.classList.contains("is-wc-nav-folded")?null:Object(b.createElement)(Fe,{delay:1e3,title:Object(te.__)("Introducing favorites","woocommerce-admin"),content:Object(te.__)("You can now favorite your extensions to pin them in the top level of the navigation.","woocommerce-admin"),closeButtonText:Object(te.__)("Got it","woocommerce-admin"),id:"woocommerce-navigation-favorite-button",onClose:function(){return o(u()({},pt,"yes"))},useAnchor:!0})},mt=function(e){var t=e.category,n=t.id,r=t.menuId,o=t.title,i="woocommerce-navigation-category-title";return["plugins","favorites"].includes(r)?Object(b.createElement)("span",{className:i},Object(b.createElement)("span",{className:"".concat(i,"__text")},o),Object(b.createElement)(ft,{id:n}),Object(b.createElement)(dt,null)):Object(b.createElement)("span",{className:i},o)},ht=function(e){var t=e.item,n=Object(K.useNavSlot)("woocommerce_navigation_"+t.id),r=Boolean(n.fills&&n.fills.length),o=function(e){Object(X.recordEvent)("navigation_click",{menu_item:e})};return r&&!t.isCategory?Object(b.createElement)(ge.c,{key:t.id,item:t.id},Object(b.createElement)("div",{onClick:function(){return o(t.id)}},Object(b.createElement)(K.WooNavigationItem.Slot,{name:t.id}))):Object(b.createElement)(ge.c,{key:t.id,item:t.id,title:t.title,href:t.url,navigateToMenu:!t.url&&t.id,onClick:function(){return o(t.id)},hideIfTargetMenuEmpty:!0})},vt=function(e){var t=e.category,n=e.onBackClick,r=e.pluginItems,o=e.primaryItems;if(!o.length&&!r.length)return null;var i=Object(ee.applyFilters)("woocommerce_navigation_root_back_label",Object(te.__)("WordPress Dashboard","woocommerce-admin")),a=Object(ee.applyFilters)("woocommerce_navigation_root_back_url",window.wcNavigation.rootBackUrl),c="woocommerce"===t.id&&a;return Object(b.createElement)(ge.d,{title:Object(b.createElement)(mt,{category:t}),menu:t.id,parentMenu:t.parent,backButtonLabel:c?i:t.backButtonLabel||null,onBackButtonClick:c?function(){n("woocommerce"),window.location=a}:function(){return n(t.id)}},!!o.length&&Object(b.createElement)(ge.b,null,o.map((function(e){return Object(b.createElement)(ht,{key:e.id,item:e})}))),!!r.length&&Object(b.createElement)(ge.b,{title:"woocommerce"===t.id?Object(te.__)("Extensions","woocommerce-admin"):null},r.map((function(e){return Object(b.createElement)(ht,{key:e.id,item:e})}))))},yt=function(e){var t=e.category,n=e.items,r=e.onBackClick;if(!n.length)return null;var o="woocommerce"===t.id;return Object(b.createElement)(ge.d,{className:"components-navigation__menu-secondary",title:!o&&Object(b.createElement)(mt,{category:t}),menu:t.id,parentMenu:t.parent,backButtonLabel:t.backButtonLabel||null,onBackButtonClick:o?null:function(){return r(t.id)}},Object(b.createElement)(ge.b,{onBackButtonClick:function(){return r(t.id)}},n.map((function(e){return Object(b.createElement)(ht,{key:e.id,item:e})}))))},gt=function(){var e=Object(O.useSelect)((function(e){return{menuItems:e(J.NAVIGATION_STORE_NAME).getMenuItems()}})).menuItems;Object(b.useEffect)((function(){document.documentElement.classList.remove("wp-toolbar"),document.body.classList.add("has-woocommerce-navigation");var e=document.getElementById("adminmenumain");e&&e.classList.add("folded")}),[]);var t=Object(b.useState)("woocommerce-home"),n=Ee()(t,2),r=n[0],o=n[1],i=Object(b.useState)("woocommerce"),a=Ee()(i,2),c=a[0],u=a[1];Object(b.useEffect)((function(){var t=it(e);return t&&r!==t&&(o(t),u(t.parent)),ot((function(){setTimeout((function(){var t=it(e);t&&(o(t),u(t.parent))}),0)}))}),[e]);var s=Object(J.useUser)().currentUserCan,l=Object(b.useMemo)((function(){return ut(e,s)}),[e,s]),f=l.categories,p=l.items,d=Object(b.useRef)(null),m=function(e){Object(X.recordEvent)("navigation_back_click",{category:e})},h="woocommerce"===c,v=ve()("woocommerce-navigation",{"is-root":h});return Object(b.createElement)("div",{className:v},Object(b.createElement)(lt,null),Object(b.createElement)("div",{className:"woocommerce-navigation__wrapper",ref:d},Object(b.createElement)(ge.a,{activeItem:r?r.id:null,activeMenu:c,onActivateMenu:function(){d&&d.current&&(d.current.scrollTop=0),u.apply(void 0,arguments)}},Object.values(f).map((function(e){var t=p[e.id];return!!t&&[Object(b.createElement)(vt,{key:e.id,category:e,onBackClick:m,primaryItems:[].concat(et()(t.primary),et()(t.favorites)),pluginItems:t.plugins}),Object(b.createElement)(yt,{key:"secondary/".concat(e.id),category:e,onBackClick:m,items:t.secondary})]})))))},bt=Object(J.withNavigationHydration)(window.wcNavigation)((function(){return Object(b.createElement)(K.NavSlotFillProvider,null,Object(b.createElement)(gt,null),Object(b.createElement)(Je.PluginArea,null))}));function wt(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 Ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var jt=function(){if(new URL(window.location.href).searchParams.get("task")){var e=Object(te.__)("WooCommerce Home","woocommerce-admin"),t=function(){Object(X.recordEvent)("topbar_back_button",{page_name:Et(window.title)}),Object(K.updateQueryString)({},Object(K.getHistory)().location.pathname,{})};return Object(b.createElement)(me.Tooltip,{text:e},Object(b.createElement)("div",{tabIndex:"0",role:"button","data-testid":"header-back-button",className:"woocommerce-layout__header-back-button",onKeyDown:function(e){var n=e.keyCode;n!==Oe.ENTER&&n!==Oe.SPACE||t()}},Object(b.createElement)(be.a,{icon:we.a,onClick:t})))}return null},Et=function(e){var t=new URL(window.location.href).searchParams.get("task");return{payments:Object(te.__)("Choose payment methods","woocommerce-admin"),tax:Object(te.__)("Add tax rates","woocommerce-admin"),appearance:Object(te.__)("Personalize your store","woocommerce-admin"),products:Object(te.__)("Add products","woocommerce-admin"),shipping:Object(te.__)("Set up shipping costs","woocommerce-admin")}[t]||e},_t=function(e){var t=e.sections,n=e.isEmbedded,r=void 0!==n&&n,o=e.query,i=Object(b.useRef)(null),c=Object(Z.g)("siteTitle",""),u=t.slice(-1)[0],s=Ze(),l=Object(J.useUserPreferences)(),f=l.updateUserPreferences,p=a()(l,["updateUserPreferences"]),d="yes"===p.android_app_banner_dismissed,m=null,h=ve()("woocommerce-layout__header",{"is-scrolled":s});Object(b.useLayoutEffect)((function(){return v(),window.addEventListener("resize",v),function(){window.removeEventListener("resize",v);var e=document.querySelector("#wpbody");e&&(e.style.marginTop=null)}}),[d]);var v=function(){clearTimeout(m),m=setTimeout((function(){var e=document.querySelector("#wpbody");e&&i.current&&(e.style.marginTop="".concat(i.current.offsetHeight,"px"))}),200)};Object(b.useEffect)((function(){if(!r){var e=t.map((function(e){return Array.isArray(e)?e[1]:e})).reverse().join(" ‹ "),n=Object(ye.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 y=function(){f({android_app_banner_dismissed:"yes"})},g=jt()?"with-back-button":"";return Object(b.createElement)("div",{className:h,ref:i},!d&&Object(b.createElement)(Ke,{onDismiss:y,onInstall:y}),Object(b.createElement)("div",{className:"woocommerce-layout__header-wrapper"},window.wcAdminFeatures.navigation&&Object(b.createElement)(bt,null),jt(),Object(b.createElement)(ge.e,{className:"woocommerce-layout__header-heading ".concat(g),as:"h1",variant:"subtitle.small"},Et(Object(ye.decodeEntities)(u))),window.wcAdminFeatures["activity-panels"]&&Object(b.createElement)(Ge,{isEmbedded:r,query:o,userPreferencesData:Ot(Ot({},p),{},{updateUserPreferences:f})})))};function xt(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var o=g()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var St=function(e){m()(n,e);var t=xt(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"render",value:function(){return Object(b.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}]),n}(b.Component),kt=n(16),Pt=n.n(kt),Ct=n(135),At=n.n(Ct),Tt=(n(431),n(315)),Rt=n(391);var Nt=function(e){var t=e.notices,n=e.className,r=e.children,i=e.onRemove,a=void 0===i?G.noop:i,c=e.onRemove2,u=void 0===c?G.noop:c,s=Object(w.useReducedMotion)(),l=Object(b.useState)((function(){return new WeakMap})),f=Ee()(l,1)[0],p=Object(Tt.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=At()(Pt.a.mark((function t(n){return Pt.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=At()(Pt.a.mark((function e(t){return Pt.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=ve()("components-snackbar-list",n);var d=function(e){return function(){a(e.id),u(e.id)}};return Object(b.createElement)("div",{className:n},r,p.map((function(e){var t=e.item,n=e.key,r=e.props;return Object(b.createElement)(Tt.animated.div,{key:n,style:r},Object(b.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&f.set(t,e)}},Object(b.createElement)(Rt.a,o()({},Object(G.omit)(t,["content"]),{onRemove:d(t)}),t.content)))})))};n(434);function Lt(e){var t=Object(O.useDispatch)("core/notices").removeNotice,n=Object(O.useDispatch)("core/notices2").removeNotice,r=Object(O.useSelect)((function(e){return{notices:e("core/notices").getNotices(),notices2:e("core/notices2").getNotices()}})),o=e.className,i=ve()("woocommerce-transient-notices","components-notices__snackbar",o),a=function(){var e=r.notices,t=r.notices2,n=void 0===t?[]:t;return e.concat(n)}();return Object(b.createElement)(Nt,{notices:a,className:i,onRemove:t,onRemove2:n})}Lt.propTypes={className:S.a.string,notices:S.a.array};var It=Lt;function Mt(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 Ut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(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 Ft(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 Vt(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var o=g()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}Object(Je.registerPlugin)("wc-admin-navigation",{render:function(){var e=Object(b.useState)(Object(K.getPersistedQuery)()),t=Ee()(e,2),n=t[0],r=t[1],o=function(e){return Object(K.getQueryExcludedScreens)().includes(Object(K.getScreenFromPath)(e))};if(Object(b.useEffect)((function(){return ot((function(){setTimeout((function(){o()||r(Object(K.getPersistedQuery)())}),0)}))}),[]),!Object(re.f)(window.location.href))return null;var i=Object(ne.a)().filter((function(e){return e.navArgs})),a=pe().filter((function(e){return e.navArgs})).map((function(e){return"/analytics/settings"===e.path?Ut(Ut({},e),{},{breadcrumbs:[Object(te.__)("Analytics","woocommerce-admin")]}):e}));return Object(b.createElement)(b.Fragment,null,a.map((function(e){return Object(b.createElement)(K.WooNavigationItem,{item:e.navArgs.id,key:e.navArgs.id},Object(b.createElement)(Y.Link,{className:"components-button",href:Object(K.getNewPath)(o(e.path)?{}:n,e.path,{}),type:"wc-admin"},e.breadcrumbs[e.breadcrumbs.length-1]))})),i.map((function(e){return Object(b.createElement)(K.WooNavigationItem,{item:e.navArgs.id,key:e.navArgs.id},Object(b.createElement)(Y.Link,{className:"components-button",href:Object(K.getNewPath)(o(e.report)?{}:n,"/analytics/".concat(e.report),{}),type:"wc-admin"},e.title))})))}});var Bt=Object(b.lazy)((function(){return Promise.all([n.e(1),n.e(47)]).then(n.bind(null,714))})),qt=Object(b.lazy)((function(){return n.e(51).then(n.bind(null,608))})),zt=function(e){m()(n,e);var t=Vt(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(b.createElement)("div",{className:"woocommerce-layout__primary",id:"woocommerce-layout__primary"},window.wcAdminFeatures["store-alerts"]&&Object(b.createElement)(b.Suspense,{fallback:Object(b.createElement)(Y.Spinner,null)},Object(b.createElement)(Bt,null)),Object(b.createElement)(St,null),e)}}]),n}(b.Component),Ht=function(e){m()(n,e);var t=Vt(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(G.get)(e,"location.pathname"),n=Object(G.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,Ft({is_embedded:!0},i))}else{var c=Object(G.get)(this.props,"location.pathname");if(c){var u=c.substring(1).replace(/\//g,"_");0===u.length&&(u="home_screen"),Object(X.recordPageView)(u,Ft({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(Q.parse)(t)}},{key:"isWCPaySettingsPage",value:function(){var e=Object(K.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(b.createElement)("div",{className:"woocommerce-layout"},Object(b.createElement)(_t,{sections:Object(G.isFunction)(c)?c(this.props):c,isEmbedded:t,query:u}),Object(b.createElement)(It,null),!t&&Object(b.createElement)(zt,null,Object(b.createElement)("div",{className:"woocommerce-layout__main"},Object(b.createElement)(de,o()({},n,{query:u})))),t&&this.isWCPaySettingsPage()&&Object(b.createElement)(b.Suspense,{fallback:null},Object(b.createElement)(qt,null)))}}]),n}(b.Component);Ht.propTypes={isEmbedded:S.a.bool,page:S.a.shape({container:S.a.oneOfType([S.a.func,S.a.object]),path:S.a.string,breadcrumbs:S.a.oneOfType([S.a.func,S.a.arrayOf(S.a.oneOfType([S.a.arrayOf(S.a.string),S.a.string]))]).isRequired,wpOpenMenu:S.a.string}).isRequired};var $t=Object(w.compose)(Object(J.withPluginsHydration)(Ft(Ft({},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()}}})))(Ht),Wt=Object(w.compose)(window.wcSettings.preloadOptions?Object(J.withOptionsHydration)(Ft({},window.wcSettings.preloadOptions)):G.identity)((function(){var e=Object(J.useUser)().currentUserCan;return Object(b.createElement)(M,{history:Object(K.getHistory)()},Object(b.createElement)(W,null,pe().filter((function(t){return!t.capability||e(t.capability)})).map((function(e){return Object(b.createElement)(V,{key:e.path,path:e.path,exact:!0,render:function(t){return Object(b.createElement)($t,o()({page:e},t))}})}))))})),Gt=Object(w.compose)(window.wcSettings.preloadOptions?Object(J.withOptionsHydration)(Ft({},window.wcSettings.preloadOptions)):G.identity)((function(){return Object(b.createElement)($t,{page:{breadcrumbs:Object(Z.g)("embedBreadcrumbs",[])},isEmbedded:!0})}))},function(e,t){e.exports=window.wc.number},,function(e,t,n){var r=n(12),o=n(234);r({target:"Array",stat:!0,forced:!n(166)((function(e){Array.from(e)}))},{from:o})},,function(e,t,n){var r=n(12),o=n(249).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},,function(e,t,n){"use strict";n(151);var r,o=n(12),i=n(13),a=n(254),c=n(3),u=n(104),s=n(27),l=n(136),f=n(11),p=n(221),d=n(234),m=n(125).codeAt,h=n(294),v=n(90),y=n(295),g=n(45),b=c.URL,w=y.URLSearchParams,O=y.getState,j=g.set,E=g.getterFor("URL"),_=Math.floor,x=Math.pow,S=/[A-Za-z]/,k=/[\d+-.A-Za-z]/,P=/\d/,C=/^(0x|0X)/,A=/^[0-7]+$/,T=/^\d+$/,R=/^[\dA-Fa-f]+$/,N=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,L=/[\u0000\t\u000A\u000D #/:?@[\\]]/,I=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,M=/[\t\u000A\u000D]/g,U=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=F(t.slice(1,-1))))return"Invalid host";e.host=n}else if(G(e)){if(t=h(t),N.test(t))return"Invalid host";if(null===(n=D(t)))return"Invalid host";e.host=n}else{if(L.test(t))return"Invalid host";for(n="",r=d(t),o=0;o<r.length;o++)n+=$(r[o],B);e.host=n}},D=function(e){var t,n,r,o,i,a,c,u=e.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=u[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=C.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?T:8==i?A:R).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=x(256,5-t))return null}else if(a>255)return null;for(c=n.pop(),r=0;r<n.length;r++)c+=n[r]*x(256,3-r);return c},F=function(e){var t,n,r,o,i,a,c,u=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,l=++s}for(;p();){if(8==s)return;if(":"!=p()){for(t=n=0;n<4&&R.test(p());)t=16*t+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,s>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;f++}if(!P.test(p()))return;for(;P.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}u[s]=256*u[s]+o,2!=++r&&4!=r||s++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;u[s++]=t}else{if(null!==l)return;f++,l=++s}}if(null!==l)for(a=s-l,s=7;0!=s&&a>0;)c=u[s],u[s--]=u[l+a-1],u[l+--a]=c;else if(8!=s)return;return u},V=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=_(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},B={},q=p({},B,{" ":1,'"':1,"<":1,">":1,"`":1}),z=p({},q,{"#":1,"?":1,"{":1,"}":1}),H=p({},z,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),$=function(e,t){var n=m(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},W={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(e){return f(W,e.scheme)},Q=function(e){return""!=e.username||""!=e.password},Y=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},K=function(e,t){var n;return 2==e.length&&S.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Z=function(e){var t;return e.length>1&&K(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},J=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&K(t[0],!0)||t.pop()},X=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},oe={},ie={},ae={},ce={},ue={},se={},le={},fe={},pe={},de={},me={},he={},ve={},ye={},ge={},be={},we={},Oe=function(e,t,n,o){var i,a,c,u,s,l=n||ee,p=0,m="",h=!1,v=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(I,"")),t=t.replace(M,""),i=d(t);p<=i.length;){switch(a=i[p],l){case ee:if(!a||!S.test(a)){if(n)return"Invalid scheme";l=ne;continue}m+=a.toLowerCase(),l=te;break;case te:if(a&&(k.test(a)||"+"==a||"-"==a||"."==a))m+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";m="",l=ne,p=0;continue}if(n&&(G(e)!=f(W,m)||"file"==m&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=m,n)return void(G(e)&&W[e.scheme]==e.port&&(e.port=null));m="","file"==e.scheme?l=de:G(e)&&o&&o.scheme==e.scheme?l=re:G(e)?l=ce:"/"==i[p+1]?(l=oe,p++):(e.cannotBeABaseURL=!0,e.path.push(""),l=ge)}break;case ne:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,l=we;break}l="file"==o.scheme?de:ie;continue;case re:if("/"!=a||"/"!=i[p+1]){l=ie;continue}l=ue,p++;break;case oe:if("/"==a){l=se;break}l=ye;continue;case ie:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&G(e))l=ae;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",l=be;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),l=ye;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=we}break;case ae:if(!G(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,l=ye;continue}l=se}else l=ue;break;case ce:if(l=ue,"/"!=a||"/"!=m.charAt(p+1))continue;p++;break;case ue:if("/"!=a&&"\\"!=a){l=se;continue}break;case se:if("@"==a){h&&(m="%40"+m),h=!0,c=d(m);for(var g=0;g<c.length;g++){var b=c[g];if(":"!=b||y){var w=$(b,H);y?e.password+=w:e.username+=w}else y=!0}m=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(h&&""==m)return"Invalid authority";p-=d(m).length+1,m="",l=le}else m+=a;break;case le:case fe:if(n&&"file"==e.scheme){l=he;continue}if(":"!=a||v){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(G(e)&&""==m)return"Invalid host";if(n&&""==m&&(Q(e)||null!==e.port))return;if(u=U(e,m))return u;if(m="",l=ve,n)return;continue}"["==a?v=!0:"]"==a&&(v=!1),m+=a}else{if(""==m)return"Invalid host";if(u=U(e,m))return u;if(m="",l=pe,n==fe)return}break;case pe:if(!P.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)||n){if(""!=m){var O=parseInt(m,10);if(O>65535)return"Invalid port";e.port=G(e)&&O===W[e.scheme]?null:O,m=""}if(n)return;l=ve;continue}return"Invalid port"}m+=a;break;case de:if(e.scheme="file","/"==a||"\\"==a)l=me;else{if(!o||"file"!=o.scheme){l=ye;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",l=be;else{if("#"!=a){Z(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),J(e)),l=ye;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=we}}break;case me:if("/"==a||"\\"==a){l=he;break}o&&"file"==o.scheme&&!Z(i.slice(p).join(""))&&(K(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),l=ye;continue;case he:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(m))l=ye;else if(""==m){if(e.host="",n)return;l=ve}else{if(u=U(e,m))return u;if("localhost"==e.host&&(e.host=""),n)return;m="",l=ve}continue}m+=a;break;case ve:if(G(e)){if(l=ye,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=ye,"/"!=a))continue}else e.fragment="",l=we;else e.query="",l=be;break;case ye:if(a==r||"/"==a||"\\"==a&&G(e)||!n&&("?"==a||"#"==a)){if(".."===(s=(s=m).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(J(e),"/"==a||"\\"==a&&G(e)||e.path.push("")):X(m)?"/"==a||"\\"==a&&G(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&K(m)&&(e.host&&(e.host=""),m=m.charAt(0)+":"),e.path.push(m)),m="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=be):"#"==a&&(e.fragment="",l=we)}else m+=$(a,z);break;case ge:"?"==a?(e.query="",l=be):"#"==a?(e.fragment="",l=we):a!=r&&(e.path[0]+=$(a,B));break;case be:n||"#"!=a?a!=r&&("'"==a&&G(e)?e.query+="%27":e.query+="#"==a?"%23":$(a,B)):(e.fragment="",l=we);break;case we:a!=r&&(e.fragment+=$(a,q))}p++}},je=function(e){var t,n,r=l(this,je,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),c=j(r,{type:"URL"});if(void 0!==o)if(o instanceof je)t=E(o);else if(n=Oe(t={},String(o)))throw TypeError(n);if(n=Oe(c,a,null,t))throw TypeError(n);var u=c.searchParams=new w,s=O(u);s.updateSearchParams(c.query),s.updateURL=function(){c.query=String(u)||null},i||(r.href=_e.call(r),r.origin=xe.call(r),r.protocol=Se.call(r),r.username=ke.call(r),r.password=Pe.call(r),r.host=Ce.call(r),r.hostname=Ae.call(r),r.port=Te.call(r),r.pathname=Re.call(r),r.search=Ne.call(r),r.searchParams=Le.call(r),r.hash=Ie.call(r))},Ee=je.prototype,_e=function(){var e=E(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,c=e.query,u=e.fragment,s=t+":";return null!==o?(s+="//",Q(e)&&(s+=n+(r?":"+r:"")+"@"),s+=V(o),null!==i&&(s+=":"+i)):"file"==t&&(s+="//"),s+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==c&&(s+="?"+c),null!==u&&(s+="#"+u),s},xe=function(){var e=E(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&G(e)?t+"://"+V(e.host)+(null!==n?":"+n:""):"null"},Se=function(){return E(this).scheme+":"},ke=function(){return E(this).username},Pe=function(){return E(this).password},Ce=function(){var e=E(this),t=e.host,n=e.port;return null===t?"":null===n?V(t):V(t)+":"+n},Ae=function(){var e=E(this).host;return null===e?"":V(e)},Te=function(){var e=E(this).port;return null===e?"":String(e)},Re=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=E(this).query;return e?"?"+e:""},Le=function(){return E(this).searchParams},Ie=function(){var e=E(this).fragment;return e?"#"+e:""},Me=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&u(Ee,{href:Me(_e,(function(e){var t=E(this),n=String(e),r=Oe(t,n);if(r)throw TypeError(r);O(t.searchParams).updateSearchParams(t.query)})),origin:Me(xe),protocol:Me(Se,(function(e){var t=E(this);Oe(t,String(e)+":",ee)})),username:Me(ke,(function(e){var t=E(this),n=d(String(e));if(!Y(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=$(n[r],H)}})),password:Me(Pe,(function(e){var t=E(this),n=d(String(e));if(!Y(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=$(n[r],H)}})),host:Me(Ce,(function(e){var t=E(this);t.cannotBeABaseURL||Oe(t,String(e),le)})),hostname:Me(Ae,(function(e){var t=E(this);t.cannotBeABaseURL||Oe(t,String(e),fe)})),port:Me(Te,(function(e){var t=E(this);Y(t)||(""==(e=String(e))?t.port=null:Oe(t,e,pe))})),pathname:Me(Re,(function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],Oe(t,e+"",ve))})),search:Me(Ne,(function(e){var t=E(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Oe(t,e,be)),O(t.searchParams).updateSearchParams(t.query)})),searchParams:Me(Le),hash:Me(Ie,(function(e){var t=E(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Oe(t,e,we)):t.fragment=null}))}),s(Ee,"toJSON",(function(){return _e.call(this)}),{enumerable:!0}),s(Ee,"toString",(function(){return _e.call(this)}),{enumerable:!0}),b){var Ue=b.createObjectURL,De=b.revokeObjectURL;Ue&&s(je,"createObjectURL",(function(e){return Ue.apply(b,arguments)})),De&&s(je,"revokeObjectURL",(function(e){return De.apply(b,arguments)}))}v(je,"URL"),o({global:!0,forced:!a,sham:!i},{URL:je})},,,,,,function(e,t){e.exports=window.wp.notices},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,c=String.fromCharCode,u=function(e){return e+22+75*(e<26)},s=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},l=function(e){var t,n,r=[],o=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,l=128,f=0,p=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(c(n));var d=r.length,m=d;for(d&&r.push("-");m<o;){var h=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=l&&n<h&&(h=n);var v=m+1;if(h-l>a((2147483647-f)/v))throw RangeError(i);for(f+=(h-l)*v,l=h,t=0;t<e.length;t++){if((n=e[t])<l&&++f>2147483647)throw RangeError(i);if(n==l){for(var y=f,g=36;;g+=36){var b=g<=p?1:g>=p+26?26:g-p;if(y<b)break;var w=y-b,O=36-b;r.push(c(u(b+w%O))),y=a(w/O)}r.push(c(u(y))),p=s(f,v,m==d),f=0,++m}}++f,++l}return r.join("")};e.exports=function(e){var t,n,i=[],a=e.toLowerCase().replace(o,".").split(".");for(t=0;t<a.length;t++)n=a[t],i.push(r.test(n)?"xn--"+l(n):n);return i.join(".")}},function(e,t,n){"use strict";n(123);var r=n(12),o=n(31),i=n(254),a=n(27),c=n(152),u=n(90),s=n(199),l=n(45),f=n(136),p=n(11),d=n(94),m=n(113),h=n(9),v=n(10),y=n(69),g=n(39),b=n(296),w=n(155),O=n(8),j=o("fetch"),E=o("Headers"),_=O("iterator"),x=l.set,S=l.getterFor("URLSearchParams"),k=l.getterFor("URLSearchParamsIterator"),P=/\+/g,C=Array(4),A=function(e){return C[e-1]||(C[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},T=function(e){try{return decodeURIComponent(e)}catch(t){return e}},R=function(e){var t=e.replace(P," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(A(n--),T);return t}},N=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},I=function(e){return L[e]},M=function(e){return encodeURIComponent(e).replace(N,I)},U=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:R(r.shift()),value:R(r.join("="))}))},D=function(e){this.entries.length=0,U(this.entries,e)},F=function(e,t){if(e<t)throw TypeError("Not enough arguments")},V=s((function(e,t){x(this,{type:"URLSearchParamsIterator",iterator:b(S(e).entries),kind:t})}),"Iterator",(function(){var e=k(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),B=function(){f(this,B,"URLSearchParams");var e,t,n,r,o,i,a,c,u,s=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(x(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:D}),void 0!==s)if(v(s))if("function"==typeof(e=w(s)))for(n=(t=e.call(s)).next;!(r=n.call(t)).done;){if((a=(i=(o=b(h(r.value))).next).call(o)).done||(c=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:c.value+""})}else for(u in s)p(s,u)&&d.push({key:u,value:s[u]+""});else U(d,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},q=B.prototype;c(q,{append:function(e,t){F(arguments.length,2);var n=S(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){F(arguments.length,1);for(var t=S(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){F(arguments.length,1);for(var t=S(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){F(arguments.length,1);for(var t=S(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){F(arguments.length,1);for(var t=S(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){F(arguments.length,1);for(var n,r=S(this),o=r.entries,i=!1,a=e+"",c=t+"",u=0;u<o.length;u++)(n=o[u]).key===a&&(i?o.splice(u--,1):(i=!0,n.value=c));i||o.push({key:a,value:c}),r.updateURL()},sort:function(){var e,t,n,r=S(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=S(this).entries,r=d(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new V(this,"keys")},values:function(){return new V(this,"values")},entries:function(){return new V(this,"entries")}},{enumerable:!0}),a(q,_,q.entries),a(q,"toString",(function(){for(var e,t=S(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(M(e.key)+"="+M(e.value));return n.join("&")}),{enumerable:!0}),u(B,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:B}),i||"function"!=typeof j||"function"!=typeof E||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(v(t=arguments[1])&&(n=t.body,"URLSearchParams"===m(n)&&((r=t.headers?new E(t.headers):new E).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:g(0,String(n)),headers:g(0,r)}))),o.push(t)),j.apply(this,o)}}),e.exports={URLSearchParams:B,getState:S}},function(e,t,n){var r=n(9),o=n(155);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},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}},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,g=r?Symbol.for("react.block"):60121,b=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(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(e)||j(e)===f},t.isConcurrentMode=E,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===b||e.$$typeof===w||e.$$typeof===O||e.$$typeof===g)},t.typeOf=j},,,,,,,,,,,,,,,,,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(80)),i=r(n(233)),a=n(20),c=r(a),u=r(n(433)),s=r(n(18)),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,g=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}(),b=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 g&&e.addChild(s(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof g&&e.removeChild(s(t))}))},t}return u(t,e),t}(g),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 g&&e.addChild(s(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof g&&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 g)&&(t[n]=r instanceof g?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(g);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},x=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function S(e){E=e}var k,P=function(){return Date.now()};function C(e){k=e}var A,T,R=function(e){return e.current};function N(e){A=e}var L=Object.freeze({get applyAnimatedValues(){return v},injectApplyAnimatedValues:O,get colorNames(){return y},injectColorNames:j,get requestFrame(){return _},get cancelFrame(){return x},injectFrame:function(e,t){_=e,x=t},get interpolation(){return E},injectStringInterpolator:S,get now(){return P},injectNow:function(e){P=e},get defaultElement(){return k},injectDefaultElement:C,get animatedApi(){return R},injectAnimatedApi:function(e){R=e},get createAnimatedStyle(){return A},injectCreateAnimatedStyle:N,get manualFrameloop(){return T},injectManualFrameloop:function(e){T=e}}),I=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),M=!1,U=new Set,D=function e(){if(!M)return!1;var t=P(),n=U,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 g,b=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+b/(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,b=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*(b+=1*((-s.tension*(v-h)+-s.friction*b)/s.mass)/1e3)/1e3}var j=!(!s.clamp||0===s.tension)&&(m<h?v>h:v<h),E=Math.abs(b)<=s.precision,x=0===s.tension||Math.abs(h-v)<=s.precision;l=j||E&&x,d.lastVelocity=b,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||(U.delete(a),a.stop(!0))}return U.size?T?T():_(e):M=!1,M};function F(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return F({range:e,output:t,extrapolate:n});if(E&&"string"==typeof e.output[0])return E(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 V=function(e){function t(n,r,o,i){var a;return(a=e.call(this)||this).calc=void 0,a.payload=n instanceof b&&!(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}(b);var B=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 V(this,e,t,n)},t}(g),q=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new B(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 V(this,e,t)},t}(b),z=0,H=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=z++}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,U.has(t)||U.add(t),M||(M=!0,_(T||D));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,U.has(t)&&U.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,g=n.immediate;if(f){var b=[c,i];i=b[0],c=b[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),b=!u&&!h&&!f,O=l.und(i[r])?a:i[r],j=u||h||f?a:1,_=m(s,r);w&&(j=w.animations[r].parent);var x,S=c.parent,k=c.interpolation,C=d(w?j.getPayload():j),A=a;b&&(A=E({range:[0,1],output:[a,a]})(1));var T,R=k&&k.getValue(),N=!l.und(S)&&c.animatedValues.some((function(e){return!e.done})),L=!l.equ(A,R),I=!l.equ(A,c.previous),M=!l.equ(_,c.config);if(v||I&&L||M){var U;if(u||f)S=k=c.parent||new B(O);else if(h)S=k=c.parent||new q(O);else if(b){var D=c.interpolation&&c.interpolation.calc(c.parent.value);D=void 0===D||v?O:D,c.parent?(S=c.parent).setValue(0,!1):S=new B(0);var F={output:[D,a]};c.interpolation?(k=c.interpolation,c.interpolation.updateConfig(F)):k=S.interpolate(F)}return C=d(w?j.getPayload():j),x=d(S.getPayload()),v&&!b&&S.setValue(O,!1),t.hasChanged=!0,x.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=N?e.lastVelocity:void 0,e.lastTime=N?e.lastTime:void 0,e.startTime=P(),e.done=!1,e.animatedStyles.clear()})),m(g,r)&&S.setValue(b?j:a,!1),o({},e,((U={})[r]=o({},c,{name:r,parent:S,interpolation:k,animatedValues:x,toValues:C,previous:A,config:_,fromValues:d(S.getValue()),immediate:m(g,r),initialVelocity:p(_.velocity,0),clamp:p(_.clamp,!1),precision:p(_.precision,.01),tension:p(_.tension,170),friction:p(_.friction,26),mass:p(_.mass,1),duration:_.duration,easing:p(_.easing,(function(e){return e})),decay:_.decay}),U))}return L?e:(b&&(S.setValue(1,!1),k.updateConfig({output:[A,A]})),S.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 H,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,G=function(e,t){return("function"==typeof t?e.map(t):d(t)).map(String)},Q=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:G(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 K=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof g||(t=v.transform(t)),n.payload=t,n}return u(t,e),t}(w),Z={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:Z.hasOwnProperty(t)?Z[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(Z).join("|")+")","g"),ge={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},be=["Webkit","Ms","Moz","O"];function we(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ge.hasOwnProperty(e)&&ge[e]?(""+t).trim():t+"px"}ge=Object.keys(ge).reduce((function(e,t){return be.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ge);var Oe={};N((function(e){return new K(e)})),C("div"),S((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(Z),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,Ee,_e=(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 I(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 R(p,u,r)})),d(t);var m,h=s.current.getValue(),y=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),g=(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:g}))}))},void 0===(Ee=!1)&&(Ee=!0),function(e){return(l.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Ee?t[0].toLowerCase()+t.substring(1):t;return e[n]=je(n),e}),je)}),xe=_e(["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=_e,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=D,t.animated=xe,t.a=xe,t.interpolate=function(e,t,n){return e&&new V(e,t,n)},t.Globals=L,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=Q(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,g=c.ref,b=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=Q(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,g=c.unique,b=c.config,w=c.order,O=void 0===w?["enter","leave","update"]:w,j=Q(r),E=j.keys,_=j.items,x=o({},a.current),S=[].concat(a.deleted),k=Object.keys(x),P=new Set(k),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})),R=s.filter((function(e){return P.has(e)})),N=-y;for(;O.length;){switch(O.shift()){case"enter":A.forEach((function(e,t){g&&S.find((function(t){return t.originalKey===e}))&&(S=S.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=u[r],i=n&&void 0!==l?"initial":"enter";x[e]={slot:i,originalKey:e,key:g?String(e):W++,item:o,trail:N+=y,config:m(b,o,i),from:m(n&&void 0!==l?l||{}:f,o),to:m(p,o)}}));break;case"leave":T.forEach((function(e){var t=E.indexOf(e),n=_[t];S.unshift(o({},x[e],{slot:"leave",destroyed:!0,left:E[Math.max(0,t-1)],right:E[Math.min(E.length,t+1)],trail:N+=y,config:m(b,n,"leave"),to:m(d,n)})),delete x[e]}));break;case"update":R.forEach((function(e){var t=s.indexOf(e),n=u[t];x[e]=o({},x[e],{item:n,slot:"update",trail:N+=y,config:m(b,n,"update"),to:m(h,n)})}))}}var L=s.map((function(e){return x[e]}));return S.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=L.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),L=[].concat(L.slice(0,t),[r],L.slice(t))})),o({},a,{changed:A.length||T.length||R.length,first:n&&0===A.length,transitions:L,current:x,deleted:S,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 H);var l=j.current.instances.get(c),f=o({},b,{to:r,from:n,config:i,ref:g,onRest:function(n){j.current.mounted&&(e.destroyed&&(g||s||Y(j,c),d&&d(u)),!Array.from(j.current.instances).some((function(e){return!e[1].idle}))&&(g||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=$},function(e,t,n){"use strict";(function(e){var r=n(20),o=n.n(r),i=n(129),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(96))},function(e,t,n){var r=n(435);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],g=n[5],b=n[6],w=n[7];c&&(r.push(c),c="");var O=null!=h&&null!=m&&m!==h,j="+"===b||"*"===b,E="?"===b||"*"===b,_=n[2]||l,x=y||g;r.push({name:v||i++,prefix:h||"",delimiter:_,optional:E,repeat:j,partial:O,asterisk:!!w,pattern:x?s(x):w?".*":"[^"+u(_)+"]+?"})}}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)}},,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n(5);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}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(0),o=(n(52),n(5)),i=n(15),a=n.n(i),c=n(392),u=n(2),s=(n(393),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,g=void 0===y?o.noop:y,b=t.icon,w=void 0===b?null:b,O=t.explicitDismiss,j=void 0!==O&&O,E=t.onDismiss,_=void 0===E?null:E;function x(e){e&&e.preventDefault&&e.preventDefault(),_(),g()}_=_||o.noop,function(e,t){var n="string"==typeof e?e:Object(r.renderToString)(e);Object(r.useEffect)((function(){n&&Object(c.speak)(n,t)}),[n,t])}(p,m),Object(r.useEffect)((function(){var e=setTimeout((function(){j||(_(),g())}),1e4);return function(){return clearTimeout(e)}}),[j,_,g]);var S=a()(i,"components-snackbar",{"components-snackbar-explicit-dismiss":!!j});v&&v.length>1&&(void 0!==e&&e.env,v=[v[0]]);var k=a()("components-snackbar__content",{"components-snackbar__content-with-icon":!!w});return Object(r.createElement)("div",{ref:n,className:S,onClick:j?o.noop:x,tabIndex:"0",role:j?"":"button",onKeyPress:j?o.noop:x,"aria-label":j?"":Object(u.__)("Dismiss this notice")},Object(r.createElement)("div",{className:k},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(),g(),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:x,onKeyPress:x},"✕")))}))}).call(this,n(297))},function(e,t){e.exports=window.wp.a11y},function(e,t){e.exports=window.wp.warning},function(e,t){e.exports=window.wc.customerEffortScore},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return z}));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})),n.d(r,"addCesSurveyForCustomerSearch",(function(){return R}));var o={};n.r(o),n.d(o,"getCesSurveyQueue",(function(){return M}));var i={};n.r(i),n.d(i,"getCesSurveyQueue",(function(){return U}));n(38),n(53),n(41),n(60),n(49),n(61);var a=n(44),c=n.n(a),u=n(7),s=n.n(u),l=n(43),f=n.n(l),p=n(0),d=(n(66),n(1)),m=n.n(d),h=n(92),v=n(394),y=n.n(v),g=n(65),b=n(26),w=n(59),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(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){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,g=Object(p.useState)(!1),b=f()(g,2),w=b[0],j=b[1];if(l)return null;if(!u)return null;if(-1!==a.indexOf(t)&&!w)return null;var _=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",E({action:t,score:e,comments:r||"",store_age:d},n)),v("success",i)},label:r,onNoticeShownCallback:function(){Object(h.recordEvent)("ces_snackbar_view",E({action:t,store_age:d},n))},onNoticeDismissedCallback:function(){Object(h.recordEvent)("ces_snackbar_dismiss",E({action:t,store_age:d},n)),_()},onModalShownCallback:function(){j(!0),Object(h.recordEvent)("ces_view",E({action:t,store_age:d},n)),_()},icon:Object(p.createElement)("span",{style:{height:21,width:21},role:"img","aria-label":Object(O.__)("Pencil icon","woocommerce-admin")},"✏️")})}_.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 x=Object(g.compose)(Object(b.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(b.withDispatch)((function(e){return{updateOptions:e(w.OPTIONS_STORE_NAME).updateOptions,createNotice:e("core/notices").createNotice}})))(_),S=(n(52),n(210)),k=n(35),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,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return{type:P.ADD_CES_SURVEY,action:e,label:t,pageNow:n,adminPage:r,onsubmit_label:o,props:i}}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")}function R(){return A("ces_search",Object(O.__)("How easy was it to use search?","woocommerce-admin"),"woocommerce_page_wc-admin","woocommerce_page_wc-admin",void 0,{search_area:"customer"})}var N=n(16),L=n.n(N),I=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(k.apiFetch)({path:"".concat(S.a,"/options?options=").concat(S.b)});case 2:if(!(e=t.sent)){t.next=8;break}return t.next=6,C(e[S.b]||[]);case 6:t.next=9;break;case 8:throw new Error;case 9:case"end":return t.stop()}}),I)}function U(e){return e.queue}function D(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 F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var V={queue:[]},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case P.SET_CES_SURVEY_QUEUE:return F(F({},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,props:t.props};return F(F({},e),{},{queue:[].concat(c()(e.queue),[r])});default:return e}};Object(b.registerStore)(S.c,{actions:r,selectors:i,resolvers:o,controls:k.controls,reducer:B});function q(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)(x,{key:t,action:e.action,label:e.label,onSubmitLabel:e.onsubmit_label,trackProps:e.props||{}})})))}q.propTypes={queue:m.a.arrayOf(m.a.object),resolving:m.a.bool,clearQueue:m.a.func};var z=Object(g.compose)(Object(b.withSelect)((function(e){var t=e(S.c),n=t.getCesSurveyQueue,r=t.isResolving;return{queue:n(),resolving:r("getOption",[S.b])}})),Object(b.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}})}}})))(q)},,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(0),r=(n(293),n(59)),o=(n(419),n(280)),i=n(402);n.p=e.wcAdminAssets.path;var a,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))}window.wcAdminFeatures&&!0===window.wcAdminFeatures["customer-effort-score-tracks"]&&(a=c||u,Object(t.render)(Object(t.createElement)(i.a,null),a.insertBefore(document.createElement("div"),null)))}.call(this,n(96))},,function(e,t,n){},function(e,t){e.exports=window.wc.notices},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(224),o=n(225),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))}},function(e,t,n){},function(e,t,n){},function(e,t,n){n(12)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r,o=n(3),i=n(152),a=n(205),c=n(229),u=n(432),s=n(10),l=n(45).enforce,f=n(106),p=!o.ActiveXObject&&"ActiveXObject"in o,d=Object.isExtensible,m=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},h=e.exports=c("WeakMap",m,u);if(f&&p){r=u.getConstructor(m,"WeakMap",!0),a.REQUIRED=!0;var v=h.prototype,y=v.delete,g=v.has,b=v.get,w=v.set;i(v,{delete:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.delete(e)}return y.call(this,e)},has:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen.has(e)}return g.call(this,e)},get:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),g.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(s(e)&&!d(e)){var n=l(this);n.frozen||(n.frozen=new r),g.call(this,e)?w.call(this,e,t):n.frozen.set(e,t)}else w.call(this,e,t);return this}})}},function(e,t,n){"use strict";var r=n(152),o=n(205).getWeakData,i=n(9),a=n(10),c=n(136),u=n(154),s=n(75),l=n(11),f=n(45),p=f.set,d=f.getterFor,m=s.find,h=s.findIndex,v=0,y=function(e){return e.frozen||(e.frozen=new g)},g=function(){this.entries=[]},b=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=h(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,s){var f=e((function(e,r){c(e,f,t),p(e,{type:t,id:v++,frozen:void 0}),null!=r&&u(r,e[s],{that:e,AS_ENTRIES:n})})),m=d(t),h=function(e,t,n){var r=m(e),a=o(i(t),!0);return!0===a?y(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=m(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=m(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).has(e):n&&l(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=m(this);if(a(e)){var n=o(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return h(this,e,t)}}:{add:function(e){return h(this,e,!0)}}),f}}},function(e,t,n){var r=n(204);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}},function(e,t,n){},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.wc.csvExport},,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{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},function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=i}]);
|
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,4:1,7:1,9:1,10:1,14:1,15: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=418)}([function(e,t){e.exports=window.wp.element},function(e,t,n){e.exports=n(215)()},function(e,t){e.exports=window.wp.i18n},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(96))},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.lodash},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},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}},function(e,t,n){var r=n(3),o=n(58),i=n(11),a=n(55),c=n(62),u=n(93),s=o("wks"),l=r.Symbol,f=u?l:l&&l.withoutSetter||a;e.exports=function(e){return i(s,e)&&(c||"string"==typeof s[e])||(c&&i(l,e)?s[e]=l[e]:s[e]=f("Symbol."+e)),s[e]}},function(e,t,n){var r=n(10);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(3),o=n(33).f,i=n(19),a=n(27),c=n(46),u=n(103),s=n(74);e.exports=function(e,t){var n,l,f,p,d,m=e.target,h=e.global,v=e.stat;if(n=h?r:v?r[m]||c(m,{}):(r[m]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(d=o(n,l))&&d.value:n[l],!s(h?l:m+(v?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,l,p,e)}}},function(e,t,n){var r=n(6);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},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},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}()},function(e,t){e.exports=window.regeneratorRuntime},function(e,t,n){var r=n(13),o=n(72),i=n(9),a=n(40),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},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}},function(e,t,n){var r=n(13),o=n(17),i=n(39);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=window.React},function(e,t,n){var r=n(71),o=n(32);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},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}},function(e,t,n){var r=n(204);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)}},function(e,t,n){var r=n(108),o=n(18);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=window.wp.data},function(e,t,n){var r=n(3),o=n(19),i=n(11),a=n(46),c=n(68),u=n(45),s=u.get,l=u.enforce,f=String(String).split("String");(e.exports=function(e,t,n,c){var u,s=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),(u=l(n)).source||(u.source=f.join("string"==typeof t?t:""))),e!==r?(s?!d&&e[t]&&(p=!0):delete e[t],p?e[t]=n:o(e,t,n)):p?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},function(e,t){e.exports=window.wp.primitives},function(e,t){e.exports=window.moment},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(81),o=n(3),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(13),o=n(76),i=n(39),a=n(21),c=n(40),u=n(11),s=n(72),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=c(t,!0),s)try{return l(e,t)}catch(e){}if(u(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(42),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){e.exports=window.wp.dataControls},function(e,t){e.exports={}},function(e,t,n){var r=n(12),o=n(38),i=n(54);r({target:"Object",stat:!0,forced:n(6)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){var r=n(32);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(10);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var r=n(12),o=n(75).filter;r({target:"Array",proto:!0,forced:!n(89)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(182),o=n(183),i=n(131),a=n(184);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t,n){var r=n(179),o=n(180),i=n(131),a=n(181);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t,n){var r,o,i,a=n(106),c=n(3),u=n(10),s=n(19),l=n(11),f=n(47),p=n(52),d=n(36),m=c.WeakMap;if(a){var h=f.state||(f.state=new m),v=h.get,y=h.has,g=h.set;r=function(e,t){return t.facade=e,g.call(h,e,t),t},o=function(e){return v.call(h,e)||{}},i=function(e){return y.call(h,e)}}else{var b=p("state");d[b]=!0,r=function(e,t){return t.facade=e,s(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(3),o=n(19);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(3),o=n(46),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var r=n(3),o=n(127),i=n(149),a=n(19);for(var c in o){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(e){s.forEach=i}}},function(e,t){e.exports=window.wc.navigation},function(e,t,n){"use strict";var r=n(12),o=n(75).map;r({target:"Array",proto:!0,forced:!n(89)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(58),o=n(55),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){"use strict";var r=n(12),o=n(3),i=n(31),a=n(57),c=n(13),u=n(62),s=n(93),l=n(6),f=n(11),p=n(84),d=n(10),m=n(9),h=n(38),v=n(21),y=n(40),g=n(39),b=n(69),w=n(54),O=n(56),j=n(147),E=n(79),_=n(33),x=n(17),S=n(76),k=n(19),P=n(27),C=n(58),A=n(52),T=n(36),R=n(55),N=n(8),L=n(119),I=n(148),M=n(90),U=n(45),D=n(75).forEach,F=A("hidden"),V=N("toPrimitive"),B=U.set,q=U.getterFor("Symbol"),z=Object.prototype,H=o.Symbol,$=i("JSON","stringify"),W=_.f,G=x.f,Q=j.f,Y=S.f,K=C("symbols"),Z=C("op-symbols"),J=C("string-to-symbol-registry"),X=C("symbol-to-string-registry"),ee=C("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=c&&l((function(){return 7!=b(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=W(z,t);r&&delete z[t],G(e,t,n),r&&e!==z&&G(z,t,r)}:G,oe=function(e,t){var n=K[e]=b(H.prototype);return B(n,{type:"Symbol",tag:e,description:t}),c||(n.description=t),n},ie=s?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof H},ae=function(e,t,n){e===z&&ae(Z,t,n),m(e);var r=y(t,!0);return m(n),f(K,r)?(n.enumerable?(f(e,F)&&e[F][r]&&(e[F][r]=!1),n=b(n,{enumerable:g(0,!1)})):(f(e,F)||G(e,F,g(1,{})),e[F][r]=!0),re(e,r,n)):G(e,r,n)},ce=function(e,t){m(e);var n=v(t),r=w(n).concat(fe(n));return D(r,(function(t){c&&!ue.call(n,t)||ae(e,t,n[t])})),e},ue=function(e){var t=y(e,!0),n=Y.call(this,t);return!(this===z&&f(K,t)&&!f(Z,t))&&(!(n||!f(this,t)||!f(K,t)||f(this,F)&&this[F][t])||n)},se=function(e,t){var n=v(e),r=y(t,!0);if(n!==z||!f(K,r)||f(Z,r)){var o=W(n,r);return!o||!f(K,r)||f(n,F)&&n[F][r]||(o.enumerable=!0),o}},le=function(e){var t=Q(v(e)),n=[];return D(t,(function(e){f(K,e)||f(T,e)||n.push(e)})),n},fe=function(e){var t=e===z,n=Q(t?Z:v(e)),r=[];return D(n,(function(e){!f(K,e)||t&&!f(z,e)||r.push(K[e])})),r};(u||(P((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e),n=function(e){this===z&&n.call(Z,e),f(this,F)&&f(this[F],t)&&(this[F][t]=!1),re(this,t,g(1,e))};return c&&ne&&re(z,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return q(this).tag})),P(H,"withoutSetter",(function(e){return oe(R(e),e)})),S.f=ue,x.f=ae,_.f=se,O.f=j.f=le,E.f=fe,L.f=function(e){return oe(N(e),e)},c&&(G(H.prototype,"description",{configurable:!0,get:function(){return q(this).description}}),a||P(z,"propertyIsEnumerable",ue,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:H}),D(w(ee),(function(e){I(e)})),r({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=String(e);if(f(J,t))return J[t];var n=H(t);return J[t]=n,X[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(f(X,e))return X[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,t){return void 0===t?b(e):ce(b(e),t)},defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:se}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:le,getOwnPropertySymbols:fe}),r({target:"Object",stat:!0,forced:l((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(h(e))}}),$)&&r({target:"JSON",stat:!0,forced:!u||l((function(){var e=H();return"[null]"!=$([e])||"{}"!=$({a:e})||"{}"!=$(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(d(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,$.apply(null,o)}});H.prototype[V]||k(H.prototype,V,H.prototype.valueOf),M(H,"Symbol"),T[F]=!0},function(e,t,n){var r=n(73),o=n(48);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(73),o=n(48).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){e.exports=!1},function(e,t,n){var r=n(57),o=n(47);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=window.wc.data},function(e,t,n){var r=n(12),o=n(6),i=n(21),a=n(33).f,c=n(13),u=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(12),o=n(13),i=n(86),a=n(21),c=n(33),u=n(102);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=c.f,s=i(r),l={},f=0;s.length>f;)void 0!==(n=o(r,t=s[f++]))&&u(l,t,n);return l}})},function(e,t,n){var r=n(77),o=n(63),i=n(6);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(r?38===o:o>37&&o<41)}))},function(e,t,n){var r,o,i=n(3),a=n(87),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){var r=n(12),o=n(31),i=n(70),a=n(9),c=n(10),u=n(69),s=n(212),l=n(6),f=o("Reflect","construct"),p=l((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!l((function(){f((function(){}))})),m=p||d;r({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!p)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var o=n.prototype,l=u(c(o)?o:Object.prototype),m=Function.apply.call(e,l,t);return c(m)?m:l}})},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";var r=n(12),o=n(6),i=n(84),a=n(10),c=n(38),u=n(34),s=n(102),l=n(109),f=n(89),p=n(8),d=n(63),m=p("isConcatSpreadable"),h=d>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),v=f("concat"),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!h||!v},{concat:function(e){var t,n,r,o,i,a=c(this),f=l(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&s(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(f,p++,i)}return f.length=p,f}})},function(e,t,n){var r=n(3),o=n(10),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(47),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r,o=n(9),i=n(104),a=n(48),c=n(36),u=n(98),s=n(67),l=n(52),f=l("IE_PROTO"),p=function(){},d=function(e){return"<script>"+e+"<\/script>"},m=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;m=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=s("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};c[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[f]=e):n=m(),void 0===t?n:i(n,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(6),o=n(30),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(13),o=n(6),i=n(67);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(11),o=n(21),i=n(83).indexOf,a=n(36);e.exports=function(e,t){var n,c=o(e),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;t.length>u;)r(c,n=t[u++])&&(~i(s,n)||s.push(n));return s}},function(e,t,n){var r=n(6),o=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==s||n!=u&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(94),o=n(71),i=n(38),a=n(34),c=n(109),u=[].push,s=function(e){var t=1==e,n=2==e,s=3==e,l=4==e,f=6==e,p=7==e,d=5==e||f;return function(m,h,v,y){for(var g,b,w=i(m),O=o(w),j=r(h,v,3),E=a(O.length),_=0,x=y||c,S=t?x(m,E):n||p?x(m,0):void 0;E>_;_++)if((d||_ in O)&&(b=j(g=O[_],_,w),e))if(t)S[_]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:u.call(S,g)}else switch(e){case 4:return!1;case 7:u.call(S,g)}return f?-1:s||l?l:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(30),o=n(3);e.exports="process"==r(o.process)},function(e,t){e.exports=window.wp.url},function(e,t){t.f=Object.getOwnPropertySymbols},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},function(e,t,n){var r=n(3);e.exports=r},function(e,t,n){var r={};r[n(8)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(21),o=n(34),i=n(97),a=function(e){return function(t,n,a){var c,u=r(t),s=o(u.length),l=i(a,s);if(e&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(30);e.exports=Array.isArray||function(e){return"Array"==r(e)}},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(108),o=n.n(r),i=(n(37),n(107),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}},function(e,t,n){var r=n(31),o=n(56),i=n(79),a=n(9);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(31);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(12),o=n(91);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r=n(6),o=n(8),i=n(63),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r=n(17).f,o=n(11),i=n(8)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r,o,i=n(114),a=n(137),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,l=(r=/a/,o=/b*/g,c.call(r,"a"),c.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(l||p||f)&&(s=function(e){var t,n,r,o,a=this,s=f&&a.sticky,d=i.call(a),m=a.source,h=0,v=e;return s&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(m="(?: "+m+")",v=" "+v,h++),n=new RegExp("^(?:"+m+")",d)),p&&(n=new RegExp("^"+m+"$(?!\\s)",d)),l&&(t=a.lastIndex),r=c.call(s?n:a,v),s?r?(r.input=r.input.slice(h),r[0]=r[0].slice(h),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),p&&r&&r.length>1&&u.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=s},function(e,t){e.exports=window.wc.tracks},function(e,t,n){var r=n(62);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(70);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=window.wp.apiFetch},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},function(e,t,n){var r=n(42),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(31);e.exports=r("document","documentElement")},,function(e,t,n){var r=n(82),o=n(27),i=n(130);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t){e.exports=window.wc.date},function(e,t,n){"use strict";var r=n(40),o=n(17),i=n(39);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(11),o=n(86),i=n(33),a=n(17);e.exports=function(e,t){for(var n=o(t),c=a.f,u=i.f,s=0;s<n.length;s++){var l=n[s];r(e,l)||c(e,l,u(t,l))}}},function(e,t,n){var r=n(13),o=n(17),i=n(9),a=n(54);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),c=r.length,u=0;c>u;)o.f(e,n=r[u++],t[n]);return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return s}));var r=n(4),o=r.Navigation||r.__experimentalNavigation,i=(r.NavigationBackButton||r.__experimentalNavigationBackButton,r.NavigationGroup||r.__experimentalNavigationGroup),a=r.NavigationMenu||r.__experimentalNavigationMenu,c=r.NavigationItem||r.__experimentalNavigationItem,u=r.Text||r.__experimentalText,s=r.useSlot||r.__experimentalUseSlot},function(e,t,n){var r=n(3),o=n(68),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){"use strict";var r=n(12),o=n(83).includes,i=n(118);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},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},function(e,t,n){var r=n(10),o=n(84),i=n(8)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t){e.exports={}},function(e,t,n){"use strict";n(88);var r=n(27),o=n(6),i=n(8),a=n(91),c=n(19),u=i("species"),s=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var m=i(e),h=!o((function(){var t={};return t[m]=function(){return 7},7!=""[e](t)})),v=h&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[m]=/./[m]),n.exec=function(){return t=!0,null},n[m](""),!t}));if(!h||!v||"replace"===e&&(!s||!l||p)||"split"===e&&!d){var y=/./[m],g=n(m,""[e],(function(e,t,n,r,o){return t.exec===a?h&&!o?{done:!0,value:y.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],w=g[1];r(String.prototype,e,b),r(RegExp.prototype,m,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&c(RegExp.prototype[m],"sham",!0)}},function(e,t,n){var r=n(30),o=n(91);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){var r=n(82),o=n(30),i=n(8)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){"use strict";var r=n(9);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},,function(e,t,n){var r=n(233);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}},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}))},function(e,t,n){var r=n(8),o=n(69),i=n(17),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){var r=n(8);t.f=r},,function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var r=n(125).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){"use strict";var r=n(21),o=n(118),i=n(110),a=n(45),c=n(166),u=a.set,s=a.getterFor("Array Iterator");e.exports=c(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=s(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},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}},function(e,t,n){var r=n(42),o=n(32),i=function(e){return function(t,n){var i,a,c=String(o(t)),u=r(n),s=c.length;return u<0||u>=s?e?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?e?c.charAt(u):i:e?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t){e.exports=window.wp.keycodes},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t,n){var r=n(13),o=n(17).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(82),o=n(113);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){var r=n(124);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}}},function(e,t){e.exports=window.wp.htmlEntities},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}))},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)}))}}},function(e,t,n){"use strict";var r=n(111),o=n(9),i=n(34),a=n(42),c=n(32),u=n(122),s=n(168),l=n(112),f=Math.max,p=Math.min;r("replace",2,(function(e,t,n,r){var d=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,h=d?"$":"$0";return[function(n,r){var o=c(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!d&&m||"string"==typeof r&&-1===r.indexOf(h)){var c=n(t,e,this,r);if(c.done)return c.value}var v=o(e),y=String(this),g="function"==typeof r;g||(r=String(r));var b=v.global;if(b){var w=v.unicode;v.lastIndex=0}for(var O=[];;){var j=l(v,y);if(null===j)break;if(O.push(j),!b)break;""===String(j[0])&&(v.lastIndex=u(y,i(v.lastIndex),w))}for(var E,_="",x=0,S=0;S<O.length;S++){j=O[S];for(var k=String(j[0]),P=f(p(a(j.index),y.length),0),C=[],A=1;A<j.length;A++)C.push(void 0===(E=j[A])?E:String(E));var T=j.groups;if(g){var R=[k].concat(C,P,y);void 0!==T&&R.push(T);var N=String(r.apply(void 0,R))}else N=s(k,y,P,C,T,r);P>=x&&(_+=y.slice(x,P)+N,x=P+k.length)}return _+y.slice(x)}]}))},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){"use strict";var r=n(6);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},,function(e,t,n){"use strict";var r=n(12),o=n(71),i=n(21),a=n(121),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(e){return c.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(12),o=n(207),i=n(32);r({target:"String",proto:!0,forced:!n(208)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t){e.exports=window.wp.hooks},function(e,t,n){"use strict";var r=n(27),o=n(9),i=n(6),a=n(114),c=RegExp.prototype,u=c.toString,s=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l="toString"!=u.name;(s||l)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(9),o=n(160);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(10),o=n(30),i=n(8)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t){e.exports=window.wc.components},function(e,t,n){var r=n(3),o=n(127),i=n(123),a=n(19),c=n(8),u=c("iterator"),s=c("toStringTag"),l=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[u]!==l)try{a(d,u,l)}catch(e){d[u]=l}if(d[s]||a(d,s,f),o[f])for(var m in i)if(d[m]!==i[m])try{a(d,m,i[m])}catch(e){d[m]=i[m]}}}},function(e,t,n){var r=n(21),o=n(56).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(81),o=n(11),i=n(119),a=n(17).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";var r=n(75).forEach,o=n(121)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(9),o=n(70),i=n(8)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){"use strict";var r=n(125).charAt,o=n(45),i=n(166),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(27);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(31),o=n(17),i=n(8),a=n(13),c=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(9),o=n(171),i=n(34),a=n(94),c=n(155),u=n(172),s=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var l,f,p,d,m,h,v,y=n&&n.that,g=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),O=a(t,y,1+g+w),j=function(e){return l&&u(l),new s(!0,e)},E=function(e){return g?(r(e),w?O(e[0],e[1],j):O(e[0],e[1])):w?O(e,j):O(e)};if(b)l=e;else{if("function"!=typeof(f=c(e)))throw TypeError("Target is not iterable");if(o(f)){for(p=0,d=i(e.length);d>p;p++)if((m=E(e[p]))&&m instanceof s)return m;return new s(!1)}l=f.call(e)}for(h=l.next;!(v=h.call(l)).done;){try{m=E(v.value)}catch(e){throw u(l),e}if("object"==typeof m&&m&&m instanceof s)return m}return new s(!1)}},function(e,t,n){var r=n(113),o=n(110),i=n(8)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(10),o=n(143);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},function(e,t,n){var r,o,i,a=n(3),c=n(6),u=n(94),s=n(98),l=n(67),f=n(158),p=n(77),d=a.location,m=a.setImmediate,h=a.clearImmediate,v=a.process,y=a.MessageChannel,g=a.Dispatch,b=0,w={},O=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},j=function(e){return function(){O(e)}},E=function(e){O(e.data)},_=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};m&&h||(m=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},h=function(e){delete w[e]},p?r=function(e){v.nextTick(j(e))}:g&&g.now?r=function(e){g.now(j(e))}:y&&!f?(i=(o=new y).port2,o.port1.onmessage=E,r=u(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!c(_)?(r=_,a.addEventListener("message",E,!1)):r="onreadystatechange"in l("script")?function(e){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),O(e)}}:function(e){setTimeout(j(e),0)}),e.exports={set:m,clear:h}},function(e,t,n){var r=n(87);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){"use strict";var r=n(70),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(10);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},,function(e,t,n){"use strict";var r=n(227),o=n(228),i=n(169);e.exports={formats:i,parse:o,stringify:r}},function(e,t){e.exports=window.ReactDOM},function(e,t,n){"use strict";var r,o,i,a,c=n(12),u=n(57),s=n(3),l=n(31),f=n(193),p=n(27),d=n(152),m=n(90),h=n(153),v=n(10),y=n(70),g=n(136),b=n(68),w=n(154),O=n(165),j=n(150),E=n(157).set,_=n(194),x=n(196),S=n(197),k=n(159),P=n(198),C=n(45),A=n(74),T=n(8),R=n(77),N=n(63),L=T("species"),I="Promise",M=C.get,U=C.set,D=C.getterFor(I),F=f,V=s.TypeError,B=s.document,q=s.process,z=l("fetch"),H=k.f,$=H,W=!!(B&&B.createEvent&&s.dispatchEvent),G="function"==typeof PromiseRejectionEvent,Q=A(I,(function(){if(!(b(F)!==String(F))){if(66===N)return!0;if(!R&&!G)return!0}if(u&&!F.prototype.finally)return!0;if(N>=51&&/native code/.test(F))return!1;var e=F.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[L]=t,!(e.then((function(){}))instanceof t)})),Y=Q||!O((function(e){F.all(e).catch((function(){}))})),K=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Z=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;_((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,c,u,s=n[i++],l=o?s.ok:s.fail,f=s.resolve,p=s.reject,d=s.domain;try{l?(o||(2===e.rejection&&te(e),e.rejection=1),!0===l?a=r:(d&&d.enter(),a=l(r),d&&(d.exit(),u=!0)),a===s.promise?p(V("Promise-chain cycle")):(c=K(a))?c.call(a,f,p):f(a)):p(r)}catch(e){d&&!u&&d.exit(),p(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&X(e)}))}},J=function(e,t,n){var r,o;W?((r=B.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},!G&&(o=s["on"+e])?o(r):"unhandledrejection"===e&&S("Unhandled promise rejection",n)},X=function(e){E.call(s,(function(){var t,n=e.facade,r=e.value;if(ee(e)&&(t=P((function(){R?q.emit("unhandledRejection",r,n):J("unhandledrejection",n,r)})),e.rejection=R||ee(e)?2:1,t.error))throw t.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e){E.call(s,(function(){var t=e.facade;R?q.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)}))},ne=function(e,t,n){return function(r){e(t,r,n)}},re=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Z(e,!0))},oe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw V("Promise can't be resolved itself");var r=K(t);r?_((function(){var n={done:!1};try{r.call(t,ne(oe,n,e),ne(re,n,e))}catch(t){re(n,t,e)}})):(e.value=t,e.state=1,Z(e,!1))}catch(t){re({done:!1},t,e)}}};Q&&(F=function(e){g(this,F,I),y(e),r.call(this);var t=M(this);try{e(ne(oe,t),ne(re,t))}catch(e){re(t,e)}},(r=function(e){U(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(F.prototype,{then:function(e,t){var n=D(this),r=H(j(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=R?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Z(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=M(e);this.promise=e,this.resolve=ne(oe,t),this.reject=ne(re,t)},k.f=H=function(e){return e===F||e===i?new o(e):$(e)},u||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var n=this;return new F((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof z&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return x(F,z.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:Q},{Promise:F}),m(F,I,!1,!0),h(I),i=l(I),c({target:I,stat:!0,forced:Q},{reject:function(e){var t=H(this);return t.reject.call(void 0,e),t.promise}}),c({target:I,stat:!0,forced:u||Q},{resolve:function(e){return x(u&&this===i?F:this,e)}}),c({target:I,stat:!0,forced:Y},{all:function(e){var t=this,n=H(t),r=n.resolve,o=n.reject,i=P((function(){var n=y(t.resolve),i=[],a=0,c=1;w(e,(function(e){var u=a++,s=!1;i.push(void 0),c++,n.call(t,e).then((function(e){s||(s=!0,i[u]=e,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=H(t),r=n.reject,o=P((function(){var o=y(t.resolve);w(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){var r=n(8)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(12),o=n(199),i=n(174),a=n(143),c=n(90),u=n(19),s=n(27),l=n(8),f=n(57),p=n(110),d=n(173),m=d.IteratorPrototype,h=d.BUGGY_SAFARI_ITERATORS,v=l("iterator"),y=function(){return this};e.exports=function(e,t,n,l,d,g,b){o(n,t,l);var w,O,j,E=function(e){if(e===d&&P)return P;if(!h&&e in S)return S[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},_=t+" Iterator",x=!1,S=e.prototype,k=S[v]||S["@@iterator"]||d&&S[d],P=!h&&k||E(d),C="Array"==t&&S.entries||k;if(C&&(w=i(C.call(new e)),m!==Object.prototype&&w.next&&(f||i(w)===m||(a?a(w,m):"function"!=typeof w[v]&&u(w,v,y)),c(w,_,!0,!0),f&&(p[_]=y))),"values"==d&&k&&"values"!==k.name&&(x=!0,P=function(){return k.call(this)}),f&&!b||S[v]===P||u(S,v,P),p[t]=P,d)if(O={values:E("values"),keys:g?P:E("keys"),entries:E("entries")},b)for(j in O)(h||x||!(j in S))&&s(S,j,O[j]);else r({target:t,proto:!0,forced:h||x},O);return O}},,function(e,t,n){var r=n(38),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,u,s,l){var f=n+e.length,p=u.length,d=c;return void 0!==s&&(s=r(s),d=a),i.call(l,d,(function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(f);case"<":a=s[i.slice(1,-1)];break;default:var c=+i;if(0===c)return r;if(c>p){var l=o(c/10);return 0===l?r:l<=p?void 0===u[l-1]?i.charAt(1):u[l-1]+i.charAt(1):r}a=u[c-1]}return void 0===a?"":a}))}},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}},function(e,t,n){"use strict";var r=n(111),o=n(9),i=n(32),a=n(214),c=n(112);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var l=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===l?-1:l.index}]}))},function(e,t,n){var r=n(8),o=n(110),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(9);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},function(e,t,n){"use strict";var r,o,i,a=n(6),c=n(174),u=n(19),s=n(11),l=n(8),f=n(57),p=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):d=!0);var m=null==r||a((function(){var e={};return r[p].call(e)!==e}));m&&(r={}),f&&!m||s(r,p)||u(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var r=n(11),o=n(38),i=n(52),a=n(213),c=i("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},,function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},function(e,t,n){"use strict";var r=n(111),o=n(144),i=n(9),a=n(32),c=n(150),u=n(122),s=n(34),l=n(112),f=n(91),p=n(6),d=[].push,m=Math.min,h=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var c,u,s,l=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,h=new RegExp(e.source,p+"g");(c=f.call(h,r))&&!((u=h.lastIndex)>m&&(l.push(r.slice(m,c.index)),c.length>1&&c.index<r.length&&d.apply(l,c.slice(1)),s=c[0].length,m=u,l.length>=i));)h.lastIndex===c.index&&h.lastIndex++;return m===r.length?!s&&h.test("")||l.push(""):l.push(r.slice(m)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),p=String(this),d=c(f,RegExp),v=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(h?"y":"g"),g=new d(h?f:"^(?:"+f.source+")",y),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===p.length)return null===l(g,p)?[p]:[];for(var w=0,O=0,j=[];O<p.length;){g.lastIndex=h?O:0;var E,_=l(g,h?p:p.slice(O));if(null===_||(E=m(s(g.lastIndex+(h?0:O)),p.length))===w)O=u(p,O,v);else{if(j.push(p.slice(w,O)),j.length===b)return j;for(var x=1;x<=_.length-1;x++)if(j.push(_[x]),j.length===b)return j;O=w=E}}return j.push(p.slice(w)),j}]}),!h)},function(e,t,n){"use strict";var r=n(13),o=n(3),i=n(74),a=n(27),c=n(11),u=n(30),s=n(156),l=n(40),f=n(6),p=n(69),d=n(56).f,m=n(33).f,h=n(17).f,v=n(188).trim,y=o.Number,g=y.prototype,b="Number"==u(p(g)),w=function(e){var t,n,r,o,i,a,c,u,s=l(e,!1);if("string"==typeof s&&s.length>2)if(43===(t=(s=v(s)).charCodeAt(0))||45===t){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var O,j=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof j&&(b?f((function(){g.valueOf.call(n)})):"Number"!=u(n))?s(new y(w(t)),n,j):w(t)},E=r?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),_=0;E.length>_;_++)c(y,O=E[_])&&!c(j,O)&&h(j,O,m(y,O));j.prototype=g,g.constructor=j,a(o,"Number",j)}},function(e,t,n){var r=n(124);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},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.")}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},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}}},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.")}},,,function(e,t,n){"use strict";var r=n(12),o=n(10),i=n(84),a=n(97),c=n(34),u=n(21),s=n(102),l=n(8),f=n(89)("slice"),p=l("species"),d=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var n,r,l,f=u(this),h=c(f.length),v=a(e,h),y=a(void 0===t?h:t,h);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(f,v,y);for(r=new(void 0===n?Array:n)(m(y-v,0)),l=0;v<y;v++,l++)v in f&&s(r,l,f[v]);return r.length=l,r}})},function(e,t,n){var r=n(32),o="["+n(189)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},,,function(e,t,n){"use strict";var r=n(12),o=n(75).find,i=n(118),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){var r=n(3);e.exports=r.Promise},function(e,t,n){var r,o,i,a,c,u,s,l,f=n(3),p=n(33).f,d=n(157).set,m=n(158),h=n(195),v=n(77),y=f.MutationObserver||f.WebKitMutationObserver,g=f.document,b=f.process,w=f.Promise,O=p(f,"queueMicrotask"),j=O&&O.value;j||(r=function(){var e,t;for(v&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},m||v||h||!y||!g?w&&w.resolve?(s=w.resolve(void 0),l=s.then,a=function(){l.call(s,r)}):a=v?function(){b.nextTick(r)}:function(){d.call(f,r)}:(c=!0,u=g.createTextNode(""),new y(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),e.exports=j||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(87);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(9),o=n(10),i=n(159);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(3);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(173).IteratorPrototype,o=n(69),i=n(39),a=n(90),c=n(110),u=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,s,!1,!0),c[s]=u,e}},function(e,t,n){"use strict";var r=n(169),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)}}},,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(117);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(176);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 g(e,t){t(window.confirm(e))}function b(){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?g:h,O=a.keyLength,j=void 0===O?6:O,E=e.basename?p(l(e.basename)):"";function _(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return E&&(i=f(i,E)),m(i,r,n)}function x(){return Math.random().toString(36).substr(2,j)}var S=v();function k(e){Object(r.a)(F,e),F.length=n.length,S.notifyListeners(F.location,F.action)}function P(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||T(_(e.state))}function C(){T(_(b()))}var A=!1;function T(e){if(A)A=!1,k();else{S.confirmTransitionTo(e,"POP",w,(function(t){t?k({action:"POP",location:e}):function(e){var t=F.location,n=N.indexOf(t.key);-1===n&&(n=0);var r=N.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,I(o))}(e)}))}}var R=_(b()),N=[R.key];function L(e){return E+d(e)}function I(e){n.go(e)}var M=0;function U(e){1===(M+=e)&&1===e?(window.addEventListener("popstate",P),i&&window.addEventListener("hashchange",C)):0===M&&(window.removeEventListener("popstate",P),i&&window.removeEventListener("hashchange",C))}var D=!1;var F={length:n.length,action:"POP",location:R,createHref:L,push:function(e,t){var r=m(e,t,x(),F.location);S.confirmTransitionTo(r,"PUSH",w,(function(e){if(e){var t=L(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=N.indexOf(F.location.key),s=N.slice(0,c+1);s.push(r.key),N=s,k({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=m(e,t,x(),F.location);S.confirmTransitionTo(r,"REPLACE",w,(function(e){if(e){var t=L(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=N.indexOf(F.location.key);-1!==c&&(N[c]=r.key),k({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=S.setPrompt(e);return D||(U(1),D=!0),function(){return D&&(D=!1,U(-1)),t()}},listen:function(e){var t=S.appendListener(e);return U(1),function(){U(-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())})),g=d;function b(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:g,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:b,goBack:function(){b(-1)},goForward:function(){b(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}},function(e,t,n){"use strict";var r=n(111),o=n(9),i=n(34),a=n(32),c=n(122),u=n(112);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),s=String(this);if(!a.global)return u(a,s);var l=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=u(a,s));){var m=String(f[0]);p[d]=m,""===m&&(a.lastIndex=c(s,i(a.lastIndex),l)),d++}return 0===d?null:p}]}))},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},function(e,t,n){var r=n(36),o=n(10),i=n(11),a=n(17).f,c=n(55),u=n(253),s=c("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(e){a(e,s,{value:{objectID:"O"+ ++l,weakData:{}}})},d=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,s)){if(!f(e))return"F";if(!t)return"E";p(e)}return e[s].objectID},getWeakData:function(e,t){if(!i(e,s)){if(!f(e))return!0;if(!t)return!1;p(e)}return e[s].weakData},onFreeze:function(e){return u&&d.REQUIRED&&f(e)&&!i(e,s)&&p(e),e}};r[s]=!0},,function(e,t,n){var r=n(144);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(8)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){var r=n(13),o=n(3),i=n(74),a=n(156),c=n(17).f,u=n(56).f,s=n(144),l=n(114),f=n(137),p=n(27),d=n(6),m=n(45).set,h=n(153),v=n(8)("match"),y=o.RegExp,g=y.prototype,b=/a/g,w=/a/g,O=new y(b)!==b,j=f.UNSUPPORTED_Y;if(r&&i("RegExp",!O||j||d((function(){return w[v]=!1,y(b)!=b||y(w)==w||"/a/i"!=y(b,"i")})))){for(var E=function(e,t){var n,r=this instanceof E,o=s(e),i=void 0===t;if(!r&&o&&e.constructor===E&&i)return e;O?o&&!i&&(e=e.source):e instanceof E&&(i&&(t=l.call(e)),e=e.source),j&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var c=a(O?new y(e,t):y(e,t),r?this:g,E);return j&&n&&m(c,{sticky:n}),c},_=function(e){e in E||c(E,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})},x=u(y),S=0;x.length>S;)_(x[S++]);g.constructor=E,E.prototype=g,p(o,"RegExp",E)}h("RegExp")},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"},function(e,t){e.exports=window.wp.date},function(e,t,n){"use strict";var r=n(70),o=n(10),i=[].slice,a={},c=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?c(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){var r=n(6);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(216);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,,,,function(e,t,n){"use strict";var r=n(13),o=n(6),i=n(54),a=n(79),c=n(76),u=n(38),s=n(71),l=Object.assign,f=Object.defineProperty;e.exports=!l||o((function(){if(r&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=i(l({},t)).join("")}))?function(e,t){for(var n=u(e),o=arguments.length,l=1,f=a.f,p=c.f;o>l;)for(var d,m=s(arguments[l++]),h=f?i(m).concat(f(m)):i(m),v=h.length,y=0;v>y;)d=h[y++],r&&!p.call(m,d)||(n[d]=m[d]);return n}:l},,,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}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(133);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}},,function(e,t,n){"use strict";var r=n(200),o=n(169),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,g){var b,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,g,"key",h):n;w=""}if("string"==typeof(b=w)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||r.isBuffer(w))return u?[v(y?n:u(n,p.encoder,g,"key",h))+"="+v(u(w,p.encoder,g,"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 E=Object.keys(w);O=f?E.sort(f):E}for(var _=0;_<O.length;++_){var x=O[_],S="object"==typeof x&&void 0!==x.value?x.value:w[x];if(!a||null!==S){var k=c(w)?"function"==typeof o?o(n,x):n:n+(d?"."+x:"["+x+"]");s(j,e(S,k,o,i,a,u,l,f,d,m,h,v,y,g))}}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),g=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),y.length>0?g+y:""}},function(e,t,n){"use strict";var r=n(200),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],g=y.indexOf("]="),b=-1===g?y.indexOf("="):g+1;-1===b?(h=t.decoder(y,a.decoder,m,"key"),v=t.strictNullHandling?null:""):(h=t.decoder(y.slice(0,b),a.decoder,m,"key"),v=r.maybeMap(u(y.slice(b+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)}},function(e,t,n){"use strict";var r=n(12),o=n(3),i=n(74),a=n(27),c=n(205),u=n(154),s=n(136),l=n(10),f=n(6),p=n(165),d=n(90),m=n(156);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),y=h?"set":"add",g=o[e],b=g&&g.prototype,w=g,O={},j=function(e){var t=b[e];a(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof g||!(v||b.forEach&&!f((function(){(new g).entries().next()})))))w=n.getConstructor(t,e,h,y),c.REQUIRED=!0;else if(i(e,!0)){var E=new w,_=E[y](v?{}:-0,1)!=E,x=f((function(){E.has(1)})),S=p((function(e){new g(e)})),k=!v&&f((function(){for(var e=new g,t=5;t--;)e[y](t,t);return!e.has(-0)}));S||((w=t((function(t,n){s(t,w,e);var r=m(new g,t,w);return null!=n&&u(n,r[y],{that:r,AS_ENTRIES:h}),r}))).prototype=b,b.constructor=w),(x||k)&&(j("delete"),j("has"),h&&j("get")),(k||_)&&j(y),v&&b.clear&&delete b.clear}return O[e]=w,r({global:!0,forced:w!=g},O),d(w,e),v||n.setStrong(w,e,h),w}},,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(44),o=n.n(r),i=(n(177),n(88),n(107),n(140),n(51),n(248),n(100),n(151),n(123),n(146),n(66),n(49),n(192),n(178),n(135),n(132)),a=n(5),c=n(85);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)}},,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}},function(e,t,n){"use strict";var r=n(94),o=n(38),i=n(252),a=n(171),c=n(34),u=n(102),s=n(155);e.exports=function(e){var t,n,l,f,p,d,m=o(e),h="function"==typeof this?this:Array,v=arguments.length,y=v>1?arguments[1]:void 0,g=void 0!==y,b=s(m),w=0;if(g&&(y=r(y,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(t=c(m.length));t>w;w++)d=g?y(m[w],w):m[w],u(n,w,d);else for(p=(f=b.call(m)).next,n=new h;!(l=p.call(f)).done;w++)d=g?i(f,y,[l.value,w],!0):l.value,u(n,w,d);return n.length=w,n}},function(e,t,n){"use strict";var r=n(17).f,o=n(69),i=n(152),a=n(94),c=n(136),u=n(154),s=n(166),l=n(153),f=n(13),p=n(205).fastKey,d=n(45),m=d.set,h=d.getterFor;e.exports={getConstructor:function(e,t,n,s){var l=e((function(e,r){c(e,l,t),m(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&u(r,e[s],{that:e,AS_ENTRIES:n})})),d=h(t),v=function(e,t,n){var r,o,i=d(e),a=y(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},y=function(e,t){var n,r=d(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(l.prototype,{clear:function(){for(var e=d(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=d(this),n=y(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),f?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=d(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(l.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),f&&r(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",o=h(t),i=h(r);s(e,t,(function(e,t){m(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(t)}}},,,,,,,,,,,,function(e,t){e.exports=window.wc.currency},function(e,t,n){"use strict";var r=n(229),o=n(235);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},function(e,t,n){var r=n(13),o=n(54),i=n(21),a=n(76).f,c=function(e){return function(t){for(var n,c=i(t),u=o(c),s=u.length,l=0,f=[];s>l;)n=u[l++],r&&!a.call(c,n)||f.push(e?[n,c[n]]:c[n]);return f}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,n){var r=n(12),o=n(221);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},,function(e,t,n){var r=n(9),o=n(172);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){throw o(e),t}}},function(e,t,n){var r=n(6);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var r=n(6),o=n(8),i=n(57),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},,,,,,,,function(e,t){e.exports=window.wp.dom},,,,,,function(e,t,n){"use strict";e.exports=n(298)},,,,,,,,,function(e,t,n){"use strict";n(164),n(100),n(151),n(123),n(146),n(41);var r=n(2),o=n(141),i=n(85),a=n(0),c=Object(i.g)("manageStock","no"),u=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,584))})),s=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(2),n.e(15)]).then(n.bind(null,580))})),l=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(2),n.e(19)]).then(n.bind(null,585))})),f=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(5),n.e(14)]).then(n.bind(null,586))})),p=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(2),n.e(10)]).then(n.bind(null,582))})),d=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(11)]).then(n.bind(null,587))})),m=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(18)]).then(n.bind(null,588))})),h=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(13)]).then(n.bind(null,589))})),v=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,581))})),y=Object(a.lazy)((function(){return Promise.all([n.e(0),n.e(12)]).then(n.bind(null,583))}));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)}},function(e,t,n){"use strict";var r=n(268),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 g=p(n,y);try{s(t,y,g)}catch(e){}}}}return t}},function(e,t){e.exports=window.wp.plugins},function(e,t,n){"use strict";n.d(t,"c",(function(){return zt})),n.d(t,"b",(function(){return Wt})),n.d(t,"a",(function(){return Gt}));n(64),n(37),n(53),n(60),n(49),n(61);var r=n(80),o=n.n(r),i=n(116),a=n.n(i),c=n(7),u=n.n(c),s=n(22),l=n.n(s),f=n(23),p=n.n(f),d=n(24),m=n.n(d),h=n(25),v=n.n(h),y=n(14),g=n.n(y),b=n(0),w=(n(164),n(100),n(151),n(123),n(146),n(170),n(88),n(135),n(107),n(140),n(51),n(41),n(65)),O=n(26),j=n(128),E=n(20),_=n.n(E),x=n(1),S=n.n(x),k=n(202),P=n(316),C=n(176),A=n(117),T=n(317),R=n.n(T),N=(n(268),n(133)),L=(n(278),function(e){var t=Object(P.a)();return t.displayName=e,t}("Router-History")),I=function(e){var t=Object(P.a)();return t.displayName=e,t}("Router"),M=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 _.a.createElement(I.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},_.a.createElement(L.Provider,{children:this.props.children||null,value:this.props.history}))},t}(_.a.Component);_.a.Component;_.a.Component;var U={},D=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=U[n]||(U[n]={});if(r[e])return r[e];var o=[],i={regexp:R()(e,o,t),keys:o};return D<1e4&&(r[e]=i,D++),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 V=function(e){function t(){return e.apply(this,arguments)||this}return Object(j.a)(t,e),t.prototype.render=function(){var e=this;return _.a.createElement(I.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),_.a.createElement(I.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:c?_.a.createElement(c,o):u?u(o):null:"function"==typeof a?a(o):null)}))},t}(_.a.Component);function B(e){return"/"===e.charAt(0)?e:"/"+e}function q(e,t){if(!e)return t;var n=B(e);return 0!==t.pathname.indexOf(n)?t:Object(A.a)({},t,{pathname:t.pathname.substr(n.length)})}function z(e){return"string"==typeof e?e:Object(k.d)(e)}function H(e){return function(){Object(C.a)(!1)}}function $(){}_.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 _.a.createElement(I.Consumer,null,(function(t){t||Object(C.a)(!1);var n,r,o=e.props.location||t.location;return _.a.Children.forEach(e.props.children,(function(e){if(null==r&&_.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?_.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(_.a.Component);_.a.useContext;var G=n(5),Q=n(162),Y=n(145),K=n(50),Z=n(85),J=n(59),X=n(92),ee=(n(421),n(422),n(66),n(203),n(177),n(250),n(283),n(141)),te=n(2),ne=n(277),re=n(231);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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var o=g()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var ie=Object(b.lazy)((function(){return n.e(9).then(n.bind(null,691))})),ae=Object(b.lazy)((function(){return n.e(20).then(n.bind(null,711))})),ce=Object(b.lazy)((function(){return n.e(28).then(n.bind(null,692))})),ue=Object(b.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(52),n.e(4),n.e(32)]).then(n.bind(null,708))})),se=Object(b.lazy)((function(){return Promise.all([n.e(3),n.e(36)]).then(n.bind(null,712))})),le=Object(b.lazy)((function(){return Promise.all([n.e(53),n.e(46)]).then(n.bind(null,709))})),fe=Object(b.lazy)((function(){return Promise.all([n.e(53),n.e(46)]).then(n.bind(null,704))})),pe=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"},capability:"manage_woocommerce"}),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"},capability:"view_woocommerce_reports"}),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"},capability:"view_woocommerce_reports"}),e.push({container:ie,path:"/customers",breadcrumbs:[].concat(t,[Object(te.__)("Customers","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-analytics-customers"},capability:"view_woocommerce_reports"}),e.push({container:ie,path:"/analytics/:report",breadcrumbs:function(e){var n=e.match,r=Object(G.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",capability:"view_woocommerce_reports"})),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"},capability:"view_woocommerce_reports"}),window.wcAdminFeatures.onboarding&&e.push({container:le,path:"/setup-wizard",breadcrumbs:[].concat(t,[["/setup-wizard",Object(te.__)("Setup Wizard","woocommerce-admin")]]),capability:"manage_woocommerce"}),window.wcAdminFeatures.settings&&e.push({container:fe,path:"/settings/:page",breadcrumbs:function(e){var n=e.match,r=Object(Z.g)("settingsPages"),o=r[n.params.page];return o?[].concat(t,[[r.general?"/settings/general":"/settings/".concat(Object.keys(r)[0]),Object(te.__)("Settings","woocommerce-admin")],o]):[]},wpOpenMenu:"toplevel_page_woocommerce",capability:"manage_woocommerce"}),Object(ee.applyFilters)("woocommerce_admin_pages_list",e)},de=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(G.omit)(e.query,"chartType","filter","paged"),n=Object(G.omit)(this.props.query,"chartType","filter","paged");e.query.paged>1&&!Object(G.isEqual)(t,n)&&Object(K.getHistory)().replace(Object(K.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(b.createElement)(b.Suspense,{fallback:Object(b.createElement)(Y.Spinner,null)},Object(b.createElement)(t.container,{params:i,path:o,pathMatch:t.path,query:r}))}}]),n}(b.Component);window.wpNavMenuUrlUpdate=function(e){var t=Object(K.getPersistedQuery)(e),n=Object(K.getQueryExcludedScreens)();Array.from(document.querySelectorAll("#adminmenu a")).forEach((function(e){return function(e,t,n){if(Object(re.f)(e.href)){var r=Object(G.last)(e.href.split("?")),o=Object(Q.parse)(r),i=o.path||"homescreen",a=Object(K.getScreenFromPath)(i),c=n.includes(a),u="admin.php?"+Object(Q.stringify)(Object.assign(o,c?{}:t));e.href=u,e.onclick=function(e){e.preventDefault(),Object(K.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")};n(287),n(187),n(139);var me=n(4),he=n(15),ve=n.n(he),ye=n(132),ge=n(105),be=n(426),we=n(597),Oe=n(126),je=(n(423),n(43)),Ee=n.n(je),_e=(n(129),n(28)),xe=Object(b.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(_e.Path,{fillRule:"evenodd",d:"M6 5.5h12a.5.5 0 01.5.5v7H14a2 2 0 11-4 0H5.5V6a.5.5 0 01.5-.5zm-.5 9V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5v-3.5h-3.337a3.5 3.5 0 01-6.326 0H5.5zM4 13V6a2 2 0 012-2h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2v-5z",clipRule:"evenodd"})),Se=Object(b.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(b.createElement)(_e.Path,{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(596),Pe=(n(424),n(332)),Ce={page:1,per_page:J.QUERY_DEFAULTS.pageSize,status:"unactioned",type:J.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc"};function Ae(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;n(Ce);var c=Boolean(r("getNotes",[Ce])),u=o("getNotes",[Ce]);if(c||u)return null;var s=n(Ce);return Object(Pe.a)(s,a)>0}var Te=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=ve()("woocommerce-layout__activity-panel-tab",{"is-active":a&&i,"has-unread":o}),s="activity-panel-tab-".concat(r);return Object(b.createElement)(me.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(b.createElement)("span",{className:"screen-reader-text"},Object(te.__)("unread activity","woocommerce-admin")))},Re=function(e){var t=e.tabs,n=e.onTabClick,r=e.selectedTab,i=e.tabOpen,a=void 0!==i&&i,c=Object(b.useState)({tabOpen:a,currentTab:r}),u=Ee()(c,2),s=u[0],l=s.tabOpen,f=s.currentTab,p=u[1];return Object(b.useEffect)((function(){p({tabOpen:a,currentTab:r})}),[a,r]),Object(b.createElement)(me.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(b.createElement)(r,o()({key:t},i))}return Object(b.createElement)(Te,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(b.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(b.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(b.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(b.createElement)(b.Fragment,null,Object(b.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(b.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(b.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(b.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(b.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"))},Ie=[{value:"single_column",label:Object(b.createElement)(b.Fragment,null,Object(b.createElement)((function(){return Object(b.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(b.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(b.createElement)(b.Fragment,null,Object(b.createElement)((function(){return Object(b.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(b.createElement)("rect",{x:"0.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"}),Object(b.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(b.createElement)(me.DropdownMenu,{icon:Object(b.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(b.createElement)(me.MenuGroup,{className:"woocommerce-layout__homescreen-display-options",label:Object(te.__)("Layout","woocommerce-admin")},Object(b.createElement)(me.MenuItemsChoice,{choices:Ie,onSelect:function(e){n({homepage_layout:e}),o(),Object(X.recordEvent)("homescreen_display_option",{display_option:e})},value:r||e}))}))},Ue=n(595),De=(n(425),"highlight-tooltip__show");function Fe(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?G.noop:s,f=e.useAnchor,p=void 0!==f&&f,d=Object(b.useState)(u>0?null:i),m=Ee()(d,2),h=m[0],v=m[1],y=Object(b.useState)(null),g=Ee()(y,2),w=g[0],O=g[1],j=Object(b.useState)(null),E=Ee()(j,2),_=E[0],x=E[1];function S(){if(p){var e=document.getElementById(a);x(e.getBoundingClientRect())}}Object(b.useEffect)((function(){var e,t,n=document.getElementById(a);n&&!w&&(p?(t=document.createElement("div"),document.body.appendChild(t)):t=n.parentElement,(e=document.createElement("div")).classList.add("highlight-tooltip__container"),t.appendChild(e),O(e));var r=k(e);return function(){if(e){var t=e.parentElement;t.removeChild(e),p&&t.remove()}r&&clearTimeout(r)}}),[]),Object(b.useEffect)((function(){!h&&w&&w.classList.remove(De)}),[h]),Object(b.useEffect)((function(){i!==h&&null!==h&&w&&(v(i),i?w&&k(w):w.classList.remove(De))}),[i]),Object(b.useLayoutEffect)((function(){return window.addEventListener("resize",S),function(){return window.removeEventListener("resize",S)}}),[]);var k=function(e){var t=null;return u>0?t=setTimeout((function(){t=null,P(e)}),u):h||P(e),t},P=function(e){var t=document.getElementById(a);t&&p&&x(t.getBoundingClientRect()),e&&e.classList.add(De),v(!0),l()},C=function(){v(!1),c&&c()};return w?Object(b.createPortal)(Object(b.createElement)("div",{className:"highlight-tooltip__portal"},h?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(me.IsolatedEventContainer,{className:"highlight-tooltip__overlay"}),Object(b.createElement)(me.Popover,{className:"highlight-tooltip__popover",noArrow:!1,anchorRect:_,focusOnMount:"container"},Object(b.createElement)(me.Card,{size:"medium"},Object(b.createElement)(me.CardHeader,null,t,Object(b.createElement)(me.Button,{isSmall:!0,onClick:C,icon:Ue.a})),Object(b.createElement)(me.CardBody,null,r||null),Object(b.createElement)(me.CardFooter,{isBorderless:!0},Object(b.createElement)(me.Button,{size:"small",isPrimary:!0,onClick:C},n||Object(te.__)("Close","woocommerce-admin")))))):null),w):null}Fe.propTypes={id:S.a.string.isRequired,title:S.a.string.isRequired,closeButtonText:S.a.string.isRequired,content:S.a.oneOfType([S.a.string,S.a.node]),show:S.a.bool,onClose:S.a.func,delay:S.a.number,onShow:S.a.func,useAnchor:S.a.bool};n(192);var Ve=n(262);var Be=["button","submit"];function qe(e){var t=Object(b.useRef)(e);Object(b.useEffect)((function(){t.current=e}),[e]);var n=Object(b.useRef)(!1),r=Object(b.useRef)(),o=Object(b.useCallback)((function(){clearTimeout(r.current)}),[]);Object(b.useEffect)((function(){return function(){return o()}}),[]),Object(b.useEffect)((function(){e||o()}),[e,o]);var i=Object(b.useCallback)((function(e){var t=e.type,r=e.target;Object(G.includes)(["mouseup","touchend"],t)?n.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(G.includes)(Be,e.type)}return!1}(r)&&(n.current=!0)}),[]),a=Object(b.useCallback)((function(e){e.persist(),n.current||(r.current=setTimeout((function(){document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()}),0))}),[]);return{onFocus:o,onMouseDown:i,onMouseUp:i,onTouchStart:i,onTouchEnd:i,onBlur:a}}var ze=function(e){var t=e.content,n=e.isPanelOpen,r=e.isPanelSwitching,i=e.currentTab,a=e.tab,c=e.closePanel,u=e.clearPanel,s="woocommerce-layout__activity-panel-wrapper",l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"firstElement",t=Object(b.useRef)(e);return Object(b.useEffect)((function(){t.current=e}),[e]),Object(b.useCallback)((function(e){if(e&&!1!==t.current&&!e.contains(e.ownerDocument.activeElement)){var n=e;if("firstElement"===t.current){var r=Ve.focus.tabbable.find(e)[0];r&&(n=r)}n.focus()}}),[])}(),f=qe((function(e){var t=e.relatedTarget&&(e.relatedTarget.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.relatedTarget.closest(".components-snackbar__action"));n&&!t&&c()})),p=Object(b.useRef)(null),d=Object(b.useCallback)((function(e){p.current=e,l(e)}),[]);if(!a)return Object(b.createElement)("div",{className:s});if(!t)return null;var m=ve()(s,{"is-open":n,"is-switching":r});return Object(b.createElement)("div",o()({className:m,tabIndex:0,role:"tabpanel","aria-label":a.title,onTransitionEnd:function(e){e&&"transform"===e.propertyName&&(u(),p.current&&n&&a&&l(p.current))}},f,{ref:d}),Object(b.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+i,id:"activity-panel-"+i},Object(b.createElement)(b.Suspense,{fallback:Object(b.createElement)(Y.Spinner,null)},t)))},He=Object(b.lazy)((function(){return Promise.all([n.e(54),n.e(6),n.e(7)]).then(n.bind(null,705))})),$e=Object(b.lazy)((function(){return Promise.all([n.e(1),n.e(3),n.e(4),n.e(8)]).then(n.bind(null,689))})),We=function(e){var t,n,r,o=e.isEmbedded,i=e.query,a=e.userPreferencesData,c=Object(b.useState)(""),u=Ee()(c,2),s=u[0],l=u[1],f=Object(b.useState)(!1),p=Ee()(f,2),d=p[0],m=p[1],h=Object(b.useState)(!1),v=Ee()(h,2),y=v[0],g=v[1],w=Object(b.useState)(!1),j=Ee()(w,2),E=j[0],_=j[1],x=Object(O.useSelect)((function(e){var t=e(J.OPTIONS_STORE_NAME),n=t.getOption,r=t.isResolving;return{hasUnreadNotes:Ae(e),requestingTaskListOptions:r("getOption",["woocommerce_task_list_complete"])||r("getOption",["woocommerce_task_list_hidden"]),setupTaskListComplete:"yes"===n("woocommerce_task_list_complete"),setupTaskListHidden:"yes"===n("woocommerce_task_list_hidden"),trackedCompletedTasks:n("woocommerce_task_list_tracked_completed_tasks")||[]}})),S=x.hasUnreadNotes,k=x.requestingTaskListOptions,P=x.setupTaskListComplete,C=x.setupTaskListHidden,A=x.trackedCompletedTasks,T=Object(O.useDispatch)(J.OPTIONS_STORE_NAME).updateOptions,R=Object(J.useUser)().currentUserCan,N=function(){return"wc-admin"===i.page&&!i.path},L=function(){return i.task&&!i.path&&(!0===k||!1===C&&!1===P)},I=function(){var e={name:"inbox",title:Object(te.__)("Inbox","woocommerce-admin"),icon:Object(b.createElement)(be.a,{icon:xe}),unread:S,visible:(o||!N())&&!L()},t={name:"setup",title:Object(te.__)("Finish setup","woocommerce-admin"),icon:Object(b.createElement)(Ne,null),onClick:function(){return window.location.href!==Object(Z.f)("admin.php?page=wc-admin")&&("no"===C?M():T({woocommerce_task_list_hidden:"no"}).then(M)),null},visible:R("manage_woocommerce")&&!P&&!C&&!L()&&(!N()||o)},n={name:"help",title:Object(te.__)("Help","woocommerce-admin"),icon:Object(b.createElement)(be.a,{icon:Se}),visible:N()&&!o||L()},r={component:Me,visible:!o&&N()&&!L()};return[e,t,{name:"previewSite",title:Object(te.__)("Preview site","woocommerce-admin"),icon:Object(b.createElement)(be.a,{icon:ke.a}),visible:"wc-admin"===i.page&&"appearance"===i.task,onClick:function(){return window.open(window.wcSettings.siteUrl),null}},r,n].filter((function(e){return e.visible}))},M=function(){Object(re.f)(window.location.href)?Object(K.getHistory)().push(Object(K.getNewPath)({},"/",{})):window.location.href=Object(Z.f)("admin.php?page=wc-admin")},U=I(),D=Object(G.uniqueId)("activity-panel-header_"),F=(t=i.task,n=a&&a.task_list_tracked_started_tasks,r=a&&a.help_panel_highlight_shown,!(!(t&&"yes"!==r&&(n||{})[t]>1)||A.includes(t)));return Object(b.createElement)("div",null,Object(b.createElement)(Y.H,{id:D,className:"screen-reader-text"},Object(te.__)("Store Activity","woocommerce-admin")),Object(b.createElement)(Y.Section,{component:"aside",id:"woocommerce-activity-panel",className:"woocommerce-layout__activity-panel","aria-labelledby":D},Object(b.createElement)(Re,{tabs:U,tabOpen:y,selectedTab:s,onTabClick:function(e,t){var n,r,o;e.onClick?e.onClick():(n=t,r=e.name,o=r!==s&&""!==s&&n&&y,d||(l(r),g(n),_(o)))}}),Object(b.createElement)(ze,{currentTab:!0,isPanelOpen:y,isPanelSwitching:E,tab:Object(G.find)(I(),{name:s}),content:function(e){var t=i.task;switch(e){case"inbox":return Object(b.createElement)($e,null);case"help":return Object(b.createElement)(He,{taskName:t});default:return null}}(s),closePanel:function(){return m(!0),void g(!1)},clearPanel:function(){y||(m(!1),_(!1),l(""))}})),F?Object(b.createElement)(Fe,{delay:1e3,useAnchor:!0,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 Object(X.recordEvent)("help_tooltip_click"),void(a&&a.updateUserPreferences&&a.updateUserPreferences({help_panel_highlight_shown:"yes"}))},onShow:function(){return Object(X.recordEvent)("help_tooltip_view")}}):null)};We.defaultProps={getHistory:K.getHistory};var Ge=We,Qe=function(){return/iPhone|iPad|iPod/i.test(window.navigator.userAgent)?"ios":/Android/i.test(window.navigator.userAgent)?"android":"unknown"},Ye=function(){return Object(b.createElement)("svg",{width:"37",height:"37",viewBox:"0 0 92 92",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)("rect",{width:"92",height:"92",rx:"21.3953",fill:"#7F54B3"}),Object(b.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"}))},Ke=(n(427),function(e){var t=e.onInstall,n=e.onDismiss;Object(b.useEffect)((function(){var e=document.getElementsByClassName("woocommerce-layout")[0];return"android"===Qe()&&e&&e.classList.add("woocommerce-layout__show-app-banner"),function(){e&&e.classList.remove("woocommerce-layout__show-app-banner")}}),[]);var r=Object(b.useState)(!1),o=Ee()(r,2),i=o[0],a=o[1];return"android"!==Qe()||i?null:Object(b.createElement)("div",{className:"woocommerce-mobile-app-banner"},Object(b.createElement)(me.Icon,{icon:"no-alt","data-testid":"dismiss-btn",onClick:function(){n(),a(!0),Object(X.recordEvent)("wcadmin_mobile_android_banner_click",{action:"dismiss"})}}),Object(b.createElement)(Ye,null),Object(b.createElement)("div",{className:"woocommerce-mobile-app-banner__description"},Object(b.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(te.__)("Run your store from anywhere","woocommerce-admin")),Object(b.createElement)("p",{className:"woocommerce-mobile-app-banner__description__text"},Object(te.__)("Download the WooCommerce app","woocommerce-admin"))),Object(b.createElement)(me.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")))});function Ze(){var e=Object(b.useState)(!1),t=Ee()(e,2),n=t[0],r=t[1],o=Object(b.useRef)(null);return Object(b.useEffect)((function(){var e=function(){r(window.pageYOffset>20)},t=function(){o.current=window.requestAnimationFrame(e)};return window.addEventListener("scroll",t),function(){window.removeEventListener("scroll",t),window.cancelAnimationFrame(o.current)}}),[]),n}var Je=n(279),Xe=(n(428),n(44)),et=n.n(Xe);n(285),n(429),n(178),n(209),n(142);function tt(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}var nt=function(e){return 0===e.indexOf("http")?e:Object(Z.f)(e)},rt=function(e){var t=e.replace(/[-\/\\^$*+?.()|[\]{}]/gi,"\\$&").split(/\\\?|#/),n=Ee()(t,3),r=n[0],o=n[1],i=n[2],a=i?"(.*#".concat(i,"$)"):"";return"^"+r+(o?o.split("&").reduce((function(e,t){return"".concat(e,"(?=.*[?|&]").concat(t,"(&|$|#))")}),""):"")+a},ot=function(e){var t,n,r;return window.wcNavigation.historyPatched||(t=window.history,n=t.pushState,r=t.replaceState,t.pushState=function(e,r,o){var i=new CustomEvent("pushstate",e);return window.dispatchEvent(i),n.apply(t,[e,r,o])},t.replaceState=function(e,n,o){var i=new CustomEvent("replacestate",e);return window.dispatchEvent(i),r.apply(t,[e,n,o])},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)}},it=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)return 0;var r=nt(t),o=e.href;if(r===o)return Number.MAX_SAFE_INTEGER;var i=rt(r),a=new RegExp(n||i,"i");return(decodeURIComponent(o).match(a)||[]).length}(window.location,e.url,e.matchExpression);r>0&&r>=n&&(n=r,t=e)})),t||null},at=["primary","favorites","plugins","secondary"],ct={woocommerce:{id:"woocommerce",isCategory:!0,menuId:"primary",migrate:!0,order:10,parent:"",title:"WooCommerce"}},ut=function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ct);return{items:function(e){return e.sort((function(e,t){return e.order===t.order?e.title.localeCompare(t.title):e.order-t.order}))}(e).reduce((function(e,r){if(e[r.parent]||(e[r.parent]={},at.forEach((function(t){e[r.parent][t]=[]}))),!e[r.parent][r.menuId])return e;if(t&&r.capability&&!t(r.capability))return e;r.isCategory&&(n[r.id]=r);var o=e[r.parent][r.menuId];return o&&o.push(r),e}),{}),categories:n}},st=Object(b.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(b.createElement)(_e.Path,{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"})),lt=function(){var e=Object(Z.g)("siteTitle",""),t=Object(Z.g)("homeUrl",""),n=Ze(),r=Object(b.useState)(document.body.classList.contains(!1)),o=Ee()(r,2),i=o[0],a=o[1],c="is-wc-nav-folded",u="is-wc-nav-expanded",s=function(){document.body.classList.add(c),document.body.classList.remove(u),a(!0)},l=function(){document.body.classList.remove(c),document.body.classList.add(u),a(!1)},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body.clientWidth;e<=960?s():l()};Object(b.useEffect)((function(){f();for(var e=0,t=[{eventName:"orientationchange",handler:function(e){return f(e.target.screen.availWidth)}},{eventName:"resize",handler:Object(G.debounce)((function(){return f()}),200)}];e<t.length;e++){var n=t[e],r=n.eventName,o=n.handler;window.addEventListener(r,o,!1)}ot((function(){return f()}))}),[]);var p=Object(b.createElement)(be.a,{size:"36px",icon:st}),d=Object(O.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}})),m=d.isRequestingSiteIcon,h=d.siteIconUrl;h?p=Object(b.createElement)("img",{alt:Object(te.__)("Site Icon"),src:h}):m&&(p=null);var v=ve()("woocommerce-navigation-header",{"is-scrolled":n});return Object(b.createElement)("div",{className:v},Object(b.createElement)(me.Button,{onClick:function(){document.body.classList.contains(c)?l():s()},className:"woocommerce-navigation-header__site-icon","aria-label":"Fold navigation",role:"switch","aria-checked":i?"true":"false"},p),Object(b.createElement)(me.Button,{href:t,className:"woocommerce-navigation-header__site-title",as:"span"},Object(ye.decodeEntities)(e)))},ft=(n(430),n(431),function(e){var t=e.id,n=Object(O.useSelect)((function(e){return{favorites:e(J.NAVIGATION_STORE_NAME).getFavorites(),isResolving:e(J.NAVIGATION_STORE_NAME).isResolving("getFavorites")}})),r=n.favorites,o=n.isResolving,i=Object(O.useDispatch)(J.NAVIGATION_STORE_NAME),a=i.addFavorite,c=i.removeFavorite,u=r.includes(t);return o?null:Object(b.createElement)(me.Button,{id:"woocommerce-navigation-favorite-button",className:"woocommerce-navigation-favorite-button",isTertiary:!0,onClick:function(){(u?c:a)(t),Object(X.recordEvent)("navigation_favorite",{id:t,action:u?"unfavorite":"favorite"})},icon:u?"star-filled":"star-empty","aria-label":u?Object(te.__)("Add this item to your favorites.","woocommerce-admin"):Object(te.__)("Remove this item from your favorites.","woocommerce-admin")})}),pt="woocommerce_navigation_favorites_tooltip_hidden",dt=function(){var e=Object(O.useSelect)((function(e){var t=e(J.OPTIONS_STORE_NAME),n=t.getOption,r=t.isResolving;return{isFavoritesResolving:e(J.NAVIGATION_STORE_NAME).isResolving("getFavorites"),isOptionResolving:r("getOption",[pt]),isTooltipHidden:"yes"===n(pt)}})),t=e.isFavoritesResolving,n=e.isOptionResolving,r=e.isTooltipHidden,o=Object(O.useDispatch)(J.OPTIONS_STORE_NAME).updateOptions;return t||r||n||document.body.classList.contains("is-wc-nav-folded")?null:Object(b.createElement)(Fe,{delay:1e3,title:Object(te.__)("Introducing favorites","woocommerce-admin"),content:Object(te.__)("You can now favorite your extensions to pin them in the top level of the navigation.","woocommerce-admin"),closeButtonText:Object(te.__)("Got it","woocommerce-admin"),id:"woocommerce-navigation-favorite-button",onClose:function(){return o(u()({},pt,"yes"))},useAnchor:!0})},mt=function(e){var t=e.category,n=t.id,r=t.menuId,o=t.title,i="woocommerce-navigation-category-title";return["plugins","favorites"].includes(r)?Object(b.createElement)("span",{className:i},Object(b.createElement)("span",{className:"".concat(i,"__text")},o),Object(b.createElement)(ft,{id:n}),Object(b.createElement)(dt,null)):Object(b.createElement)("span",{className:i},o)},ht=function(e){var t=e.item,n=Object(K.useNavSlot)("woocommerce_navigation_"+t.id),r=Boolean(n.fills&&n.fills.length),o=function(e){Object(X.recordEvent)("navigation_click",{menu_item:e})};return r&&!t.isCategory?Object(b.createElement)(ge.c,{key:t.id,item:t.id},Object(b.createElement)("div",{onClick:function(){return o(t.id)}},Object(b.createElement)(K.WooNavigationItem.Slot,{name:t.id}))):Object(b.createElement)(ge.c,{key:t.id,item:t.id,title:t.title,href:t.url,navigateToMenu:!t.url&&t.id,onClick:function(){return o(t.id)},hideIfTargetMenuEmpty:!0})},vt=function(e){var t=e.category,n=e.onBackClick,r=e.pluginItems,o=e.primaryItems;if(!o.length&&!r.length)return null;var i=Object(ee.applyFilters)("woocommerce_navigation_root_back_label",Object(te.__)("WordPress Dashboard","woocommerce-admin")),a=Object(ee.applyFilters)("woocommerce_navigation_root_back_url",window.wcNavigation.rootBackUrl),c="woocommerce"===t.id&&a;return Object(b.createElement)(ge.d,{title:Object(b.createElement)(mt,{category:t}),menu:t.id,parentMenu:t.parent,backButtonLabel:c?i:t.backButtonLabel||null,onBackButtonClick:c?function(){n("woocommerce"),window.location=a}:function(){return n(t.id)}},!!o.length&&Object(b.createElement)(ge.b,null,o.map((function(e){return Object(b.createElement)(ht,{key:e.id,item:e})}))),!!r.length&&Object(b.createElement)(ge.b,{title:"woocommerce"===t.id?Object(te.__)("Extensions","woocommerce-admin"):null},r.map((function(e){return Object(b.createElement)(ht,{key:e.id,item:e})}))))},yt=function(e){var t=e.category,n=e.items,r=e.onBackClick;if(!n.length)return null;var o="woocommerce"===t.id;return Object(b.createElement)(ge.d,{className:"components-navigation__menu-secondary",title:!o&&Object(b.createElement)(mt,{category:t}),menu:t.id,parentMenu:t.parent,backButtonLabel:t.backButtonLabel||null,onBackButtonClick:o?null:function(){return r(t.id)}},Object(b.createElement)(ge.b,{onBackButtonClick:function(){return r(t.id)}},n.map((function(e){return Object(b.createElement)(ht,{key:e.id,item:e})}))))},gt=function(){var e=Object(O.useSelect)((function(e){return{menuItems:e(J.NAVIGATION_STORE_NAME).getMenuItems()}})).menuItems;Object(b.useEffect)((function(){document.documentElement.classList.remove("wp-toolbar"),document.body.classList.add("has-woocommerce-navigation");var e=document.getElementById("adminmenumain");e&&e.classList.add("folded")}),[]);var t=Object(b.useState)("woocommerce-home"),n=Ee()(t,2),r=n[0],o=n[1],i=Object(b.useState)("woocommerce"),a=Ee()(i,2),c=a[0],u=a[1];Object(b.useEffect)((function(){var t=it(e);return t&&r!==t&&(o(t),u(t.parent)),ot((function(){setTimeout((function(){var t=it(e);t&&(o(t),u(t.parent))}),0)}))}),[e]);var s=Object(J.useUser)().currentUserCan,l=Object(b.useMemo)((function(){return ut(e,s)}),[e,s]),f=l.categories,p=l.items,d=Object(b.useRef)(null),m=function(e){Object(X.recordEvent)("navigation_back_click",{category:e})},h="woocommerce"===c,v=ve()("woocommerce-navigation",{"is-root":h});return Object(b.createElement)("div",{className:v},Object(b.createElement)(lt,null),Object(b.createElement)("div",{className:"woocommerce-navigation__wrapper",ref:d},Object(b.createElement)(ge.a,{activeItem:r?r.id:null,activeMenu:c,onActivateMenu:function(){d&&d.current&&(d.current.scrollTop=0),u.apply(void 0,arguments)}},Object.values(f).map((function(e){var t=p[e.id];return!!t&&[Object(b.createElement)(vt,{key:e.id,category:e,onBackClick:m,primaryItems:[].concat(et()(t.primary),et()(t.favorites)),pluginItems:t.plugins}),Object(b.createElement)(yt,{key:"secondary/".concat(e.id),category:e,onBackClick:m,items:t.secondary})]})))))},bt=Object(J.withNavigationHydration)(window.wcNavigation)((function(){return Object(b.createElement)(K.NavSlotFillProvider,null,Object(b.createElement)(gt,null),Object(b.createElement)(Je.PluginArea,null))}));function wt(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 Ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var jt=function(){if(new URL(window.location.href).searchParams.get("task")){var e=Object(te.__)("WooCommerce Home","woocommerce-admin"),t=function(){Object(X.recordEvent)("topbar_back_button",{page_name:Et(window.title)}),Object(K.updateQueryString)({},Object(K.getHistory)().location.pathname,{})};return Object(b.createElement)(me.Tooltip,{text:e},Object(b.createElement)("div",{tabIndex:"0",role:"button","data-testid":"header-back-button",className:"woocommerce-layout__header-back-button",onKeyDown:function(e){var n=e.keyCode;n!==Oe.ENTER&&n!==Oe.SPACE||t()}},Object(b.createElement)(be.a,{icon:we.a,onClick:t})))}return null},Et=function(e){var t=new URL(window.location.href).searchParams.get("task");return{payments:Object(te.__)("Choose payment methods","woocommerce-admin"),tax:Object(te.__)("Add tax rates","woocommerce-admin"),appearance:Object(te.__)("Personalize your store","woocommerce-admin"),products:Object(te.__)("Add products","woocommerce-admin"),shipping:Object(te.__)("Set up shipping costs","woocommerce-admin")}[t]||e},_t=function(e){var t=e.sections,n=e.isEmbedded,r=void 0!==n&&n,o=e.query,i=Object(b.useRef)(null),c=Object(Z.g)("siteTitle",""),u=t.slice(-1)[0],s=Ze(),l=Object(J.useUserPreferences)(),f=l.updateUserPreferences,p=a()(l,["updateUserPreferences"]),d="yes"===p.android_app_banner_dismissed,m=null,h=ve()("woocommerce-layout__header",{"is-scrolled":s});Object(b.useLayoutEffect)((function(){return v(),window.addEventListener("resize",v),function(){window.removeEventListener("resize",v);var e=document.querySelector("#wpbody");e&&(e.style.marginTop=null)}}),[d]);var v=function(){clearTimeout(m),m=setTimeout((function(){var e=document.querySelector("#wpbody");e&&i.current&&(e.style.marginTop="".concat(i.current.offsetHeight,"px"))}),200)};Object(b.useEffect)((function(){if(!r){var e=t.map((function(e){return Array.isArray(e)?e[1]:e})).reverse().join(" ‹ "),n=Object(ye.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 y=function(){f({android_app_banner_dismissed:"yes"})},g=jt()?"with-back-button":"";return Object(b.createElement)("div",{className:h,ref:i},!d&&Object(b.createElement)(Ke,{onDismiss:y,onInstall:y}),Object(b.createElement)("div",{className:"woocommerce-layout__header-wrapper"},window.wcAdminFeatures.navigation&&Object(b.createElement)(bt,null),jt(),Object(b.createElement)(ge.e,{className:"woocommerce-layout__header-heading ".concat(g),as:"h1",variant:"subtitle.small"},Et(Object(ye.decodeEntities)(u))),window.wcAdminFeatures["activity-panels"]&&Object(b.createElement)(Ge,{isEmbedded:r,query:o,userPreferencesData:Ot(Ot({},p),{},{updateUserPreferences:f})})))};function xt(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var o=g()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var St=function(e){m()(n,e);var t=xt(n);function n(){return l()(this,n),t.apply(this,arguments)}return p()(n,[{key:"render",value:function(){return Object(b.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}]),n}(b.Component),kt=n(16),Pt=n.n(kt),Ct=n(134),At=n.n(Ct),Tt=(n(432),n(315)),Rt=n(392);var Nt=function(e){var t=e.notices,n=e.className,r=e.children,i=e.onRemove,a=void 0===i?G.noop:i,c=e.onRemove2,u=void 0===c?G.noop:c,s=Object(w.useReducedMotion)(),l=Object(b.useState)((function(){return new WeakMap})),f=Ee()(l,1)[0],p=Object(Tt.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=At()(Pt.a.mark((function t(n){return Pt.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=At()(Pt.a.mark((function e(t){return Pt.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=ve()("components-snackbar-list",n);var d=function(e){return function(){a(e.id),u(e.id)}};return Object(b.createElement)("div",{className:n},r,p.map((function(e){var t=e.item,n=e.key,r=e.props;return Object(b.createElement)(Tt.animated.div,{key:n,style:r},Object(b.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&f.set(t,e)}},Object(b.createElement)(Rt.a,o()({},Object(G.omit)(t,["content"]),{onRemove:d(t)}),t.content)))})))};n(435);function Lt(e){var t=Object(O.useDispatch)("core/notices").removeNotice,n=Object(O.useDispatch)("core/notices2").removeNotice,r=Object(O.useSelect)((function(e){return{notices:e("core/notices").getNotices(),notices2:e("core/notices2").getNotices()}})),o=e.className,i=ve()("woocommerce-transient-notices","components-notices__snackbar",o),a=function(){var e=r.notices,t=r.notices2,n=void 0===t?[]:t;return e.concat(n)}();return Object(b.createElement)(Nt,{notices:a,className:i,onRemove:t,onRemove2:n})}Lt.propTypes={className:S.a.string,notices:S.a.array};var It=Lt;function Mt(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 Ut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(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 Ft(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 Vt(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var o=g()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}Object(Je.registerPlugin)("wc-admin-navigation",{render:function(){var e=Object(b.useState)(Object(K.getPersistedQuery)()),t=Ee()(e,2),n=t[0],r=t[1],o=function(e){return Object(K.getQueryExcludedScreens)().includes(Object(K.getScreenFromPath)(e))};if(Object(b.useEffect)((function(){return ot((function(){setTimeout((function(){o()||r(Object(K.getPersistedQuery)())}),0)}))}),[]),!Object(re.f)(window.location.href))return null;var i=Object(ne.a)().filter((function(e){return e.navArgs})),a=pe().filter((function(e){return e.navArgs})).map((function(e){return"/analytics/settings"===e.path?Ut(Ut({},e),{},{breadcrumbs:[Object(te.__)("Analytics","woocommerce-admin")]}):e}));return Object(b.createElement)(b.Fragment,null,a.map((function(e){return Object(b.createElement)(K.WooNavigationItem,{item:e.navArgs.id,key:e.navArgs.id},Object(b.createElement)(Y.Link,{className:"components-button",href:Object(K.getNewPath)(o(e.path)?{}:n,e.path,{}),type:"wc-admin"},e.breadcrumbs[e.breadcrumbs.length-1]))})),i.map((function(e){return Object(b.createElement)(K.WooNavigationItem,{item:e.navArgs.id,key:e.navArgs.id},Object(b.createElement)(Y.Link,{className:"components-button",href:Object(K.getNewPath)(o(e.report)?{}:n,"/analytics/".concat(e.report),{}),type:"wc-admin"},e.title))})))}});var Bt=Object(b.lazy)((function(){return Promise.all([n.e(1),n.e(47)]).then(n.bind(null,714))})),qt=Object(b.lazy)((function(){return n.e(51).then(n.bind(null,609))})),zt=function(e){m()(n,e);var t=Vt(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(b.createElement)("div",{className:"woocommerce-layout__primary",id:"woocommerce-layout__primary"},window.wcAdminFeatures["store-alerts"]&&Object(b.createElement)(b.Suspense,{fallback:Object(b.createElement)(Y.Spinner,null)},Object(b.createElement)(Bt,null)),Object(b.createElement)(St,null),e)}}]),n}(b.Component),Ht=function(e){m()(n,e);var t=Vt(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(G.get)(e,"location.pathname"),n=Object(G.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,Ft({is_embedded:!0},i))}else{var c=Object(G.get)(this.props,"location.pathname");if(c){var u=c.substring(1).replace(/\//g,"_");0===u.length&&(u="home_screen"),Object(X.recordPageView)(u,Ft({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(Q.parse)(t)}},{key:"isWCPaySettingsPage",value:function(){var e=Object(K.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(b.createElement)("div",{className:"woocommerce-layout"},Object(b.createElement)(_t,{sections:Object(G.isFunction)(c)?c(this.props):c,isEmbedded:t,query:u}),Object(b.createElement)(It,null),!t&&Object(b.createElement)(zt,null,Object(b.createElement)("div",{className:"woocommerce-layout__main"},Object(b.createElement)(de,o()({},n,{query:u})))),t&&this.isWCPaySettingsPage()&&Object(b.createElement)(b.Suspense,{fallback:null},Object(b.createElement)(qt,null)))}}]),n}(b.Component);Ht.propTypes={isEmbedded:S.a.bool,page:S.a.shape({container:S.a.oneOfType([S.a.func,S.a.object]),path:S.a.string,breadcrumbs:S.a.oneOfType([S.a.func,S.a.arrayOf(S.a.oneOfType([S.a.arrayOf(S.a.string),S.a.string]))]).isRequired,wpOpenMenu:S.a.string}).isRequired};var $t=Object(w.compose)(Object(J.withPluginsHydration)(Ft(Ft({},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()}}})))(Ht),Wt=Object(w.compose)(window.wcSettings.preloadOptions?Object(J.withOptionsHydration)(Ft({},window.wcSettings.preloadOptions)):G.identity)((function(){var e=Object(J.useUser)().currentUserCan;return Object(b.createElement)(M,{history:Object(K.getHistory)()},Object(b.createElement)(W,null,pe().filter((function(t){return!t.capability||e(t.capability)})).map((function(e){return Object(b.createElement)(V,{key:e.path,path:e.path,exact:!0,render:function(t){return Object(b.createElement)($t,o()({page:e},t))}})}))))})),Gt=Object(w.compose)(window.wcSettings.preloadOptions?Object(J.withOptionsHydration)(Ft({},window.wcSettings.preloadOptions)):G.identity)((function(){return Object(b.createElement)($t,{page:{breadcrumbs:Object(Z.g)("embedBreadcrumbs",[])},isEmbedded:!0})}))},function(e,t){e.exports=window.wc.number},,function(e,t,n){var r=n(12),o=n(234);r({target:"Array",stat:!0,forced:!n(165)((function(e){Array.from(e)}))},{from:o})},,function(e,t,n){var r=n(12),o=n(249).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},,function(e,t,n){"use strict";n(151);var r,o=n(12),i=n(13),a=n(254),c=n(3),u=n(104),s=n(27),l=n(136),f=n(11),p=n(221),d=n(234),m=n(125).codeAt,h=n(294),v=n(90),y=n(295),g=n(45),b=c.URL,w=y.URLSearchParams,O=y.getState,j=g.set,E=g.getterFor("URL"),_=Math.floor,x=Math.pow,S=/[A-Za-z]/,k=/[\d+-.A-Za-z]/,P=/\d/,C=/^(0x|0X)/,A=/^[0-7]+$/,T=/^\d+$/,R=/^[\dA-Fa-f]+$/,N=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,L=/[\u0000\t\u000A\u000D #/:?@[\\]]/,I=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,M=/[\t\u000A\u000D]/g,U=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=F(t.slice(1,-1))))return"Invalid host";e.host=n}else if(G(e)){if(t=h(t),N.test(t))return"Invalid host";if(null===(n=D(t)))return"Invalid host";e.host=n}else{if(L.test(t))return"Invalid host";for(n="",r=d(t),o=0;o<r.length;o++)n+=$(r[o],B);e.host=n}},D=function(e){var t,n,r,o,i,a,c,u=e.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=u[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=C.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?T:8==i?A:R).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=x(256,5-t))return null}else if(a>255)return null;for(c=n.pop(),r=0;r<n.length;r++)c+=n[r]*x(256,3-r);return c},F=function(e){var t,n,r,o,i,a,c,u=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,l=++s}for(;p();){if(8==s)return;if(":"!=p()){for(t=n=0;n<4&&R.test(p());)t=16*t+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,s>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;f++}if(!P.test(p()))return;for(;P.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}u[s]=256*u[s]+o,2!=++r&&4!=r||s++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;u[s++]=t}else{if(null!==l)return;f++,l=++s}}if(null!==l)for(a=s-l,s=7;0!=s&&a>0;)c=u[s],u[s--]=u[l+a-1],u[l+--a]=c;else if(8!=s)return;return u},V=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=_(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},B={},q=p({},B,{" ":1,'"':1,"<":1,">":1,"`":1}),z=p({},q,{"#":1,"?":1,"{":1,"}":1}),H=p({},z,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),$=function(e,t){var n=m(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},W={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(e){return f(W,e.scheme)},Q=function(e){return""!=e.username||""!=e.password},Y=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},K=function(e,t){var n;return 2==e.length&&S.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Z=function(e){var t;return e.length>1&&K(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},J=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&K(t[0],!0)||t.pop()},X=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},oe={},ie={},ae={},ce={},ue={},se={},le={},fe={},pe={},de={},me={},he={},ve={},ye={},ge={},be={},we={},Oe=function(e,t,n,o){var i,a,c,u,s,l=n||ee,p=0,m="",h=!1,v=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(I,"")),t=t.replace(M,""),i=d(t);p<=i.length;){switch(a=i[p],l){case ee:if(!a||!S.test(a)){if(n)return"Invalid scheme";l=ne;continue}m+=a.toLowerCase(),l=te;break;case te:if(a&&(k.test(a)||"+"==a||"-"==a||"."==a))m+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";m="",l=ne,p=0;continue}if(n&&(G(e)!=f(W,m)||"file"==m&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=m,n)return void(G(e)&&W[e.scheme]==e.port&&(e.port=null));m="","file"==e.scheme?l=de:G(e)&&o&&o.scheme==e.scheme?l=re:G(e)?l=ce:"/"==i[p+1]?(l=oe,p++):(e.cannotBeABaseURL=!0,e.path.push(""),l=ge)}break;case ne:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,l=we;break}l="file"==o.scheme?de:ie;continue;case re:if("/"!=a||"/"!=i[p+1]){l=ie;continue}l=ue,p++;break;case oe:if("/"==a){l=se;break}l=ye;continue;case ie:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&G(e))l=ae;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",l=be;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),l=ye;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=we}break;case ae:if(!G(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,l=ye;continue}l=se}else l=ue;break;case ce:if(l=ue,"/"!=a||"/"!=m.charAt(p+1))continue;p++;break;case ue:if("/"!=a&&"\\"!=a){l=se;continue}break;case se:if("@"==a){h&&(m="%40"+m),h=!0,c=d(m);for(var g=0;g<c.length;g++){var b=c[g];if(":"!=b||y){var w=$(b,H);y?e.password+=w:e.username+=w}else y=!0}m=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(h&&""==m)return"Invalid authority";p-=d(m).length+1,m="",l=le}else m+=a;break;case le:case fe:if(n&&"file"==e.scheme){l=he;continue}if(":"!=a||v){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(G(e)&&""==m)return"Invalid host";if(n&&""==m&&(Q(e)||null!==e.port))return;if(u=U(e,m))return u;if(m="",l=ve,n)return;continue}"["==a?v=!0:"]"==a&&(v=!1),m+=a}else{if(""==m)return"Invalid host";if(u=U(e,m))return u;if(m="",l=pe,n==fe)return}break;case pe:if(!P.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)||n){if(""!=m){var O=parseInt(m,10);if(O>65535)return"Invalid port";e.port=G(e)&&O===W[e.scheme]?null:O,m=""}if(n)return;l=ve;continue}return"Invalid port"}m+=a;break;case de:if(e.scheme="file","/"==a||"\\"==a)l=me;else{if(!o||"file"!=o.scheme){l=ye;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",l=be;else{if("#"!=a){Z(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),J(e)),l=ye;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=we}}break;case me:if("/"==a||"\\"==a){l=he;break}o&&"file"==o.scheme&&!Z(i.slice(p).join(""))&&(K(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),l=ye;continue;case he:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(m))l=ye;else if(""==m){if(e.host="",n)return;l=ve}else{if(u=U(e,m))return u;if("localhost"==e.host&&(e.host=""),n)return;m="",l=ve}continue}m+=a;break;case ve:if(G(e)){if(l=ye,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=ye,"/"!=a))continue}else e.fragment="",l=we;else e.query="",l=be;break;case ye:if(a==r||"/"==a||"\\"==a&&G(e)||!n&&("?"==a||"#"==a)){if(".."===(s=(s=m).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(J(e),"/"==a||"\\"==a&&G(e)||e.path.push("")):X(m)?"/"==a||"\\"==a&&G(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&K(m)&&(e.host&&(e.host=""),m=m.charAt(0)+":"),e.path.push(m)),m="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=be):"#"==a&&(e.fragment="",l=we)}else m+=$(a,z);break;case ge:"?"==a?(e.query="",l=be):"#"==a?(e.fragment="",l=we):a!=r&&(e.path[0]+=$(a,B));break;case be:n||"#"!=a?a!=r&&("'"==a&&G(e)?e.query+="%27":e.query+="#"==a?"%23":$(a,B)):(e.fragment="",l=we);break;case we:a!=r&&(e.fragment+=$(a,q))}p++}},je=function(e){var t,n,r=l(this,je,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),c=j(r,{type:"URL"});if(void 0!==o)if(o instanceof je)t=E(o);else if(n=Oe(t={},String(o)))throw TypeError(n);if(n=Oe(c,a,null,t))throw TypeError(n);var u=c.searchParams=new w,s=O(u);s.updateSearchParams(c.query),s.updateURL=function(){c.query=String(u)||null},i||(r.href=_e.call(r),r.origin=xe.call(r),r.protocol=Se.call(r),r.username=ke.call(r),r.password=Pe.call(r),r.host=Ce.call(r),r.hostname=Ae.call(r),r.port=Te.call(r),r.pathname=Re.call(r),r.search=Ne.call(r),r.searchParams=Le.call(r),r.hash=Ie.call(r))},Ee=je.prototype,_e=function(){var e=E(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,c=e.query,u=e.fragment,s=t+":";return null!==o?(s+="//",Q(e)&&(s+=n+(r?":"+r:"")+"@"),s+=V(o),null!==i&&(s+=":"+i)):"file"==t&&(s+="//"),s+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==c&&(s+="?"+c),null!==u&&(s+="#"+u),s},xe=function(){var e=E(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&G(e)?t+"://"+V(e.host)+(null!==n?":"+n:""):"null"},Se=function(){return E(this).scheme+":"},ke=function(){return E(this).username},Pe=function(){return E(this).password},Ce=function(){var e=E(this),t=e.host,n=e.port;return null===t?"":null===n?V(t):V(t)+":"+n},Ae=function(){var e=E(this).host;return null===e?"":V(e)},Te=function(){var e=E(this).port;return null===e?"":String(e)},Re=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=E(this).query;return e?"?"+e:""},Le=function(){return E(this).searchParams},Ie=function(){var e=E(this).fragment;return e?"#"+e:""},Me=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&u(Ee,{href:Me(_e,(function(e){var t=E(this),n=String(e),r=Oe(t,n);if(r)throw TypeError(r);O(t.searchParams).updateSearchParams(t.query)})),origin:Me(xe),protocol:Me(Se,(function(e){var t=E(this);Oe(t,String(e)+":",ee)})),username:Me(ke,(function(e){var t=E(this),n=d(String(e));if(!Y(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=$(n[r],H)}})),password:Me(Pe,(function(e){var t=E(this),n=d(String(e));if(!Y(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=$(n[r],H)}})),host:Me(Ce,(function(e){var t=E(this);t.cannotBeABaseURL||Oe(t,String(e),le)})),hostname:Me(Ae,(function(e){var t=E(this);t.cannotBeABaseURL||Oe(t,String(e),fe)})),port:Me(Te,(function(e){var t=E(this);Y(t)||(""==(e=String(e))?t.port=null:Oe(t,e,pe))})),pathname:Me(Re,(function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],Oe(t,e+"",ve))})),search:Me(Ne,(function(e){var t=E(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Oe(t,e,be)),O(t.searchParams).updateSearchParams(t.query)})),searchParams:Me(Le),hash:Me(Ie,(function(e){var t=E(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Oe(t,e,we)):t.fragment=null}))}),s(Ee,"toJSON",(function(){return _e.call(this)}),{enumerable:!0}),s(Ee,"toString",(function(){return _e.call(this)}),{enumerable:!0}),b){var Ue=b.createObjectURL,De=b.revokeObjectURL;Ue&&s(je,"createObjectURL",(function(e){return Ue.apply(b,arguments)})),De&&s(je,"revokeObjectURL",(function(e){return De.apply(b,arguments)}))}v(je,"URL"),o({global:!0,forced:!a,sham:!i},{URL:je})},,,,,,function(e,t){e.exports=window.wp.notices},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,c=String.fromCharCode,u=function(e){return e+22+75*(e<26)},s=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},l=function(e){var t,n,r=[],o=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,l=128,f=0,p=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(c(n));var d=r.length,m=d;for(d&&r.push("-");m<o;){var h=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=l&&n<h&&(h=n);var v=m+1;if(h-l>a((2147483647-f)/v))throw RangeError(i);for(f+=(h-l)*v,l=h,t=0;t<e.length;t++){if((n=e[t])<l&&++f>2147483647)throw RangeError(i);if(n==l){for(var y=f,g=36;;g+=36){var b=g<=p?1:g>=p+26?26:g-p;if(y<b)break;var w=y-b,O=36-b;r.push(c(u(b+w%O))),y=a(w/O)}r.push(c(u(y))),p=s(f,v,m==d),f=0,++m}}++f,++l}return r.join("")};e.exports=function(e){var t,n,i=[],a=e.toLowerCase().replace(o,".").split(".");for(t=0;t<a.length;t++)n=a[t],i.push(r.test(n)?"xn--"+l(n):n);return i.join(".")}},function(e,t,n){"use strict";n(123);var r=n(12),o=n(31),i=n(254),a=n(27),c=n(152),u=n(90),s=n(199),l=n(45),f=n(136),p=n(11),d=n(94),m=n(113),h=n(9),v=n(10),y=n(69),g=n(39),b=n(296),w=n(155),O=n(8),j=o("fetch"),E=o("Headers"),_=O("iterator"),x=l.set,S=l.getterFor("URLSearchParams"),k=l.getterFor("URLSearchParamsIterator"),P=/\+/g,C=Array(4),A=function(e){return C[e-1]||(C[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},T=function(e){try{return decodeURIComponent(e)}catch(t){return e}},R=function(e){var t=e.replace(P," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(A(n--),T);return t}},N=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},I=function(e){return L[e]},M=function(e){return encodeURIComponent(e).replace(N,I)},U=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:R(r.shift()),value:R(r.join("="))}))},D=function(e){this.entries.length=0,U(this.entries,e)},F=function(e,t){if(e<t)throw TypeError("Not enough arguments")},V=s((function(e,t){x(this,{type:"URLSearchParamsIterator",iterator:b(S(e).entries),kind:t})}),"Iterator",(function(){var e=k(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),B=function(){f(this,B,"URLSearchParams");var e,t,n,r,o,i,a,c,u,s=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(x(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:D}),void 0!==s)if(v(s))if("function"==typeof(e=w(s)))for(n=(t=e.call(s)).next;!(r=n.call(t)).done;){if((a=(i=(o=b(h(r.value))).next).call(o)).done||(c=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:c.value+""})}else for(u in s)p(s,u)&&d.push({key:u,value:s[u]+""});else U(d,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},q=B.prototype;c(q,{append:function(e,t){F(arguments.length,2);var n=S(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){F(arguments.length,1);for(var t=S(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){F(arguments.length,1);for(var t=S(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){F(arguments.length,1);for(var t=S(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){F(arguments.length,1);for(var t=S(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){F(arguments.length,1);for(var n,r=S(this),o=r.entries,i=!1,a=e+"",c=t+"",u=0;u<o.length;u++)(n=o[u]).key===a&&(i?o.splice(u--,1):(i=!0,n.value=c));i||o.push({key:a,value:c}),r.updateURL()},sort:function(){var e,t,n,r=S(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=S(this).entries,r=d(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new V(this,"keys")},values:function(){return new V(this,"values")},entries:function(){return new V(this,"entries")}},{enumerable:!0}),a(q,_,q.entries),a(q,"toString",(function(){for(var e,t=S(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(M(e.key)+"="+M(e.value));return n.join("&")}),{enumerable:!0}),u(B,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:B}),i||"function"!=typeof j||"function"!=typeof E||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(v(t=arguments[1])&&(n=t.body,"URLSearchParams"===m(n)&&((r=t.headers?new E(t.headers):new E).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:g(0,String(n)),headers:g(0,r)}))),o.push(t)),j.apply(this,o)}}),e.exports={URLSearchParams:B,getState:S}},function(e,t,n){var r=n(9),o=n(155);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},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}},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,g=r?Symbol.for("react.block"):60121,b=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(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(e)||j(e)===f},t.isConcurrentMode=E,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===b||e.$$typeof===w||e.$$typeof===O||e.$$typeof===g)},t.typeOf=j},,,,,,,,,,,,,,,,,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(80)),i=r(n(233)),a=n(20),c=r(a),u=r(n(434)),s=r(n(18)),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,g=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}(),b=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 g&&e.addChild(s(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof g&&e.removeChild(s(t))}))},t}return u(t,e),t}(g),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 g&&e.addChild(s(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof g&&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 g)&&(t[n]=r instanceof g?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(g);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},x=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function S(e){E=e}var k,P=function(){return Date.now()};function C(e){k=e}var A,T,R=function(e){return e.current};function N(e){A=e}var L=Object.freeze({get applyAnimatedValues(){return v},injectApplyAnimatedValues:O,get colorNames(){return y},injectColorNames:j,get requestFrame(){return _},get cancelFrame(){return x},injectFrame:function(e,t){_=e,x=t},get interpolation(){return E},injectStringInterpolator:S,get now(){return P},injectNow:function(e){P=e},get defaultElement(){return k},injectDefaultElement:C,get animatedApi(){return R},injectAnimatedApi:function(e){R=e},get createAnimatedStyle(){return A},injectCreateAnimatedStyle:N,get manualFrameloop(){return T},injectManualFrameloop:function(e){T=e}}),I=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),M=!1,U=new Set,D=function e(){if(!M)return!1;var t=P(),n=U,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 g,b=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+b/(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,b=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*(b+=1*((-s.tension*(v-h)+-s.friction*b)/s.mass)/1e3)/1e3}var j=!(!s.clamp||0===s.tension)&&(m<h?v>h:v<h),E=Math.abs(b)<=s.precision,x=0===s.tension||Math.abs(h-v)<=s.precision;l=j||E&&x,d.lastVelocity=b,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||(U.delete(a),a.stop(!0))}return U.size?T?T():_(e):M=!1,M};function F(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return F({range:e,output:t,extrapolate:n});if(E&&"string"==typeof e.output[0])return E(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 V=function(e){function t(n,r,o,i){var a;return(a=e.call(this)||this).calc=void 0,a.payload=n instanceof b&&!(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}(b);var B=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 V(this,e,t,n)},t}(g),q=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new B(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 V(this,e,t)},t}(b),z=0,H=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=z++}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,U.has(t)||U.add(t),M||(M=!0,_(T||D));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,U.has(t)&&U.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,g=n.immediate;if(f){var b=[c,i];i=b[0],c=b[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),b=!u&&!h&&!f,O=l.und(i[r])?a:i[r],j=u||h||f?a:1,_=m(s,r);w&&(j=w.animations[r].parent);var x,S=c.parent,k=c.interpolation,C=d(w?j.getPayload():j),A=a;b&&(A=E({range:[0,1],output:[a,a]})(1));var T,R=k&&k.getValue(),N=!l.und(S)&&c.animatedValues.some((function(e){return!e.done})),L=!l.equ(A,R),I=!l.equ(A,c.previous),M=!l.equ(_,c.config);if(v||I&&L||M){var U;if(u||f)S=k=c.parent||new B(O);else if(h)S=k=c.parent||new q(O);else if(b){var D=c.interpolation&&c.interpolation.calc(c.parent.value);D=void 0===D||v?O:D,c.parent?(S=c.parent).setValue(0,!1):S=new B(0);var F={output:[D,a]};c.interpolation?(k=c.interpolation,c.interpolation.updateConfig(F)):k=S.interpolate(F)}return C=d(w?j.getPayload():j),x=d(S.getPayload()),v&&!b&&S.setValue(O,!1),t.hasChanged=!0,x.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=N?e.lastVelocity:void 0,e.lastTime=N?e.lastTime:void 0,e.startTime=P(),e.done=!1,e.animatedStyles.clear()})),m(g,r)&&S.setValue(b?j:a,!1),o({},e,((U={})[r]=o({},c,{name:r,parent:S,interpolation:k,animatedValues:x,toValues:C,previous:A,config:_,fromValues:d(S.getValue()),immediate:m(g,r),initialVelocity:p(_.velocity,0),clamp:p(_.clamp,!1),precision:p(_.precision,.01),tension:p(_.tension,170),friction:p(_.friction,26),mass:p(_.mass,1),duration:_.duration,easing:p(_.easing,(function(e){return e})),decay:_.decay}),U))}return L?e:(b&&(S.setValue(1,!1),k.updateConfig({output:[A,A]})),S.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 H,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,G=function(e,t){return("function"==typeof t?e.map(t):d(t)).map(String)},Q=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:G(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 K=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof g||(t=v.transform(t)),n.payload=t,n}return u(t,e),t}(w),Z={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:Z.hasOwnProperty(t)?Z[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(Z).join("|")+")","g"),ge={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},be=["Webkit","Ms","Moz","O"];function we(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ge.hasOwnProperty(e)&&ge[e]?(""+t).trim():t+"px"}ge=Object.keys(ge).reduce((function(e,t){return be.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ge);var Oe={};N((function(e){return new K(e)})),C("div"),S((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(Z),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,Ee,_e=(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 I(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 R(p,u,r)})),d(t);var m,h=s.current.getValue(),y=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),g=(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:g}))}))},void 0===(Ee=!1)&&(Ee=!0),function(e){return(l.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Ee?t[0].toLowerCase()+t.substring(1):t;return e[n]=je(n),e}),je)}),xe=_e(["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=_e,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=D,t.animated=xe,t.a=xe,t.interpolate=function(e,t,n){return e&&new V(e,t,n)},t.Globals=L,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=Q(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,g=c.ref,b=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=Q(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,g=c.unique,b=c.config,w=c.order,O=void 0===w?["enter","leave","update"]:w,j=Q(r),E=j.keys,_=j.items,x=o({},a.current),S=[].concat(a.deleted),k=Object.keys(x),P=new Set(k),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})),R=s.filter((function(e){return P.has(e)})),N=-y;for(;O.length;){switch(O.shift()){case"enter":A.forEach((function(e,t){g&&S.find((function(t){return t.originalKey===e}))&&(S=S.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=u[r],i=n&&void 0!==l?"initial":"enter";x[e]={slot:i,originalKey:e,key:g?String(e):W++,item:o,trail:N+=y,config:m(b,o,i),from:m(n&&void 0!==l?l||{}:f,o),to:m(p,o)}}));break;case"leave":T.forEach((function(e){var t=E.indexOf(e),n=_[t];S.unshift(o({},x[e],{slot:"leave",destroyed:!0,left:E[Math.max(0,t-1)],right:E[Math.min(E.length,t+1)],trail:N+=y,config:m(b,n,"leave"),to:m(d,n)})),delete x[e]}));break;case"update":R.forEach((function(e){var t=s.indexOf(e),n=u[t];x[e]=o({},x[e],{item:n,slot:"update",trail:N+=y,config:m(b,n,"update"),to:m(h,n)})}))}}var L=s.map((function(e){return x[e]}));return S.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=L.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),L=[].concat(L.slice(0,t),[r],L.slice(t))})),o({},a,{changed:A.length||T.length||R.length,first:n&&0===A.length,transitions:L,current:x,deleted:S,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 H);var l=j.current.instances.get(c),f=o({},b,{to:r,from:n,config:i,ref:g,onRest:function(n){j.current.mounted&&(e.destroyed&&(g||s||Y(j,c),d&&d(u)),!Array.from(j.current.instances).some((function(e){return!e[1].idle}))&&(g||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=$},function(e,t,n){"use strict";(function(e){var r=n(20),o=n.n(r),i=n(128),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(96))},function(e,t,n){var r=n(436);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],g=n[5],b=n[6],w=n[7];c&&(r.push(c),c="");var O=null!=h&&null!=m&&m!==h,j="+"===b||"*"===b,E="?"===b||"*"===b,_=n[2]||l,x=y||g;r.push({name:v||i++,prefix:h||"",delimiter:_,optional:E,repeat:j,partial:O,asterisk:!!w,pattern:x?s(x):w?".*":"[^"+u(_)+"]+?"})}}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)}},,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n(5);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}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(0),o=(n(51),n(5)),i=n(15),a=n.n(i),c=n(393),u=n(2),s=(n(394),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,g=void 0===y?o.noop:y,b=t.icon,w=void 0===b?null:b,O=t.explicitDismiss,j=void 0!==O&&O,E=t.onDismiss,_=void 0===E?null:E;function x(e){e&&e.preventDefault&&e.preventDefault(),_(),g()}_=_||o.noop,function(e,t){var n="string"==typeof e?e:Object(r.renderToString)(e);Object(r.useEffect)((function(){n&&Object(c.speak)(n,t)}),[n,t])}(p,m),Object(r.useEffect)((function(){var e=setTimeout((function(){j||(_(),g())}),1e4);return function(){return clearTimeout(e)}}),[j,_,g]);var S=a()(i,"components-snackbar",{"components-snackbar-explicit-dismiss":!!j});v&&v.length>1&&(void 0!==e&&e.env,v=[v[0]]);var k=a()("components-snackbar__content",{"components-snackbar__content-with-icon":!!w});return Object(r.createElement)("div",{ref:n,className:S,onClick:j?o.noop:x,tabIndex:"0",role:j?"":"button",onKeyPress:j?o.noop:x,"aria-label":j?"":Object(u.__)("Dismiss this notice")},Object(r.createElement)("div",{className:k},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(),g(),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:x,onKeyPress:x},"✕")))}))}).call(this,n(297))},function(e,t){e.exports=window.wp.a11y},function(e,t){e.exports=window.wp.warning},function(e,t){e.exports=window.wc.customerEffortScore},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return z}));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})),n.d(r,"addCesSurveyForCustomerSearch",(function(){return R}));var o={};n.r(o),n.d(o,"getCesSurveyQueue",(function(){return M}));var i={};n.r(i),n.d(i,"getCesSurveyQueue",(function(){return U}));n(37),n(53),n(41),n(60),n(49),n(61);var a=n(44),c=n.n(a),u=n(7),s=n.n(u),l=n(43),f=n.n(l),p=n(0),d=(n(66),n(1)),m=n.n(d),h=n(92),v=n(395),y=n.n(v),g=n(65),b=n(26),w=n(59),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(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){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,g=Object(p.useState)(!1),b=f()(g,2),w=b[0],j=b[1];if(l)return null;if(!u)return null;if(-1!==a.indexOf(t)&&!w)return null;var _=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",E({action:t,score:e,comments:r||"",store_age:d},n)),v("success",i)},label:r,onNoticeShownCallback:function(){Object(h.recordEvent)("ces_snackbar_view",E({action:t,store_age:d},n))},onNoticeDismissedCallback:function(){Object(h.recordEvent)("ces_snackbar_dismiss",E({action:t,store_age:d},n)),_()},onModalShownCallback:function(){j(!0),Object(h.recordEvent)("ces_view",E({action:t,store_age:d},n)),_()},icon:Object(p.createElement)("span",{style:{height:21,width:21},role:"img","aria-label":Object(O.__)("Pencil icon","woocommerce-admin")},"✏️")})}_.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 x=Object(g.compose)(Object(b.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(b.withDispatch)((function(e){return{updateOptions:e(w.OPTIONS_STORE_NAME).updateOptions,createNotice:e("core/notices").createNotice}})))(_),S=(n(51),n(210)),k=n(35),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,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return{type:P.ADD_CES_SURVEY,action:e,label:t,pageNow:n,adminPage:r,onsubmit_label:o,props:i}}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")}function R(){return A("ces_search",Object(O.__)("How easy was it to use search?","woocommerce-admin"),"woocommerce_page_wc-admin","woocommerce_page_wc-admin",void 0,{search_area:"customer"})}var N=n(16),L=n.n(N),I=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(k.apiFetch)({path:"".concat(S.a,"/options?options=").concat(S.b)});case 2:if(!(e=t.sent)){t.next=8;break}return t.next=6,C(e[S.b]||[]);case 6:t.next=9;break;case 8:throw new Error;case 9:case"end":return t.stop()}}),I)}function U(e){return e.queue}function D(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 F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var V={queue:[]},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case P.SET_CES_SURVEY_QUEUE:return F(F({},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,props:t.props};return F(F({},e),{},{queue:[].concat(c()(e.queue),[r])});default:return e}};Object(b.registerStore)(S.c,{actions:r,selectors:i,resolvers:o,controls:k.controls,reducer:B});function q(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)(x,{key:t,action:e.action,label:e.label,onSubmitLabel:e.onsubmit_label,trackProps:e.props||{}})})))}q.propTypes={queue:m.a.arrayOf(m.a.object),resolving:m.a.bool,clearQueue:m.a.func};var z=Object(g.compose)(Object(b.withSelect)((function(e){var t=e(S.c),n=t.getCesSurveyQueue,r=t.isResolving;return{queue:n(),resolving:r("getOption",[S.b])}})),Object(b.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}})}}})))(q)},,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(0),r=(n(293),n(59)),o=(n(420),n(280)),i=n(403);n.p=e.wcAdminAssets.path;var a,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))}window.wcAdminFeatures&&!0===window.wcAdminFeatures["customer-effort-score-tracks"]&&(a=c||u,Object(t.render)(Object(t.createElement)(i.a,null),a.insertBefore(document.createElement("div"),null)))}.call(this,n(96))},,function(e,t,n){},function(e,t){e.exports=window.wc.notices},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(224),o=n(225),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))}},function(e,t,n){},function(e,t,n){},function(e,t,n){n(12)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r,o=n(3),i=n(152),a=n(205),c=n(229),u=n(433),s=n(10),l=n(45).enforce,f=n(106),p=!o.ActiveXObject&&"ActiveXObject"in o,d=Object.isExtensible,m=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},h=e.exports=c("WeakMap",m,u);if(f&&p){r=u.getConstructor(m,"WeakMap",!0),a.REQUIRED=!0;var v=h.prototype,y=v.delete,g=v.has,b=v.get,w=v.set;i(v,{delete:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.delete(e)}return y.call(this,e)},has:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen.has(e)}return g.call(this,e)},get:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),g.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(s(e)&&!d(e)){var n=l(this);n.frozen||(n.frozen=new r),g.call(this,e)?w.call(this,e,t):n.frozen.set(e,t)}else w.call(this,e,t);return this}})}},function(e,t,n){"use strict";var r=n(152),o=n(205).getWeakData,i=n(9),a=n(10),c=n(136),u=n(154),s=n(75),l=n(11),f=n(45),p=f.set,d=f.getterFor,m=s.find,h=s.findIndex,v=0,y=function(e){return e.frozen||(e.frozen=new g)},g=function(){this.entries=[]},b=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=h(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,s){var f=e((function(e,r){c(e,f,t),p(e,{type:t,id:v++,frozen:void 0}),null!=r&&u(r,e[s],{that:e,AS_ENTRIES:n})})),m=d(t),h=function(e,t,n){var r=m(e),a=o(i(t),!0);return!0===a?y(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=m(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=m(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).has(e):n&&l(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=m(this);if(a(e)){var n=o(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return h(this,e,t)}}:{add:function(e){return h(this,e,!0)}}),f}}},function(e,t,n){var r=n(204);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}},function(e,t,n){},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.wc.csvExport},,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{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},function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=i}]);
|
dist/chunks/0.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[0],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
@@ -31,7 +31,7 @@ var CurrencyContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cr
|
|
31 |
|
32 |
/***/ }),
|
33 |
|
34 |
-
/***/
|
35 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
36 |
|
37 |
"use strict";
|
@@ -151,7 +151,7 @@ ReportError.defaultProps = {
|
|
151 |
|
152 |
/***/ }),
|
153 |
|
154 |
-
/***/
|
155 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
156 |
|
157 |
"use strict";
|
@@ -185,7 +185,7 @@ ReportError.defaultProps = {
|
|
185 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_13__);
|
186 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(107);
|
187 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_14__);
|
188 |
-
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
189 |
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_15__);
|
190 |
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(203);
|
191 |
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_16__);
|
@@ -208,7 +208,7 @@ ReportError.defaultProps = {
|
|
208 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_25__);
|
209 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(92);
|
210 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_26__);
|
211 |
-
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
|
212 |
/* harmony import */ var _customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(210);
|
213 |
|
214 |
|
@@ -456,13 +456,13 @@ ReportFilters.propTypes = {
|
|
456 |
|
457 |
/***/ }),
|
458 |
|
459 |
-
/***/
|
460 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
461 |
|
462 |
"use strict";
|
463 |
|
464 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
465 |
-
var es_object_keys = __webpack_require__(
|
466 |
|
467 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
468 |
var es_symbol = __webpack_require__(53);
|
@@ -503,7 +503,7 @@ var external_wp_element_ = __webpack_require__(0);
|
|
503 |
var es_array_find = __webpack_require__(192);
|
504 |
|
505 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
506 |
-
var es_array_map = __webpack_require__(
|
507 |
|
508 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
509 |
var es_array_includes = __webpack_require__(107);
|
@@ -524,7 +524,7 @@ var es_regexp_exec = __webpack_require__(88);
|
|
524 |
var es_array_join = __webpack_require__(139);
|
525 |
|
526 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
527 |
-
var es_string_replace = __webpack_require__(
|
528 |
|
529 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
530 |
var es_array_concat = __webpack_require__(66);
|
@@ -567,7 +567,7 @@ var external_wc_components_ = __webpack_require__(145);
|
|
567 |
var external_wc_navigation_ = __webpack_require__(50);
|
568 |
|
569 |
// EXTERNAL MODULE: external ["wc","csvExport"]
|
570 |
-
var external_wc_csvExport_ = __webpack_require__(
|
571 |
|
572 |
// EXTERNAL MODULE: external ["wc","data"]
|
573 |
var external_wc_data_ = __webpack_require__(59);
|
@@ -592,7 +592,7 @@ var external_wc_tracks_ = __webpack_require__(92);
|
|
592 |
}));
|
593 |
});
|
594 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
595 |
-
var report_error = __webpack_require__(
|
596 |
|
597 |
// CONCATENATED MODULE: ./client/analytics/components/report-table/utils.js
|
598 |
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[0],{
|
2 |
|
3 |
+
/***/ 598:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
31 |
|
32 |
/***/ }),
|
33 |
|
34 |
+
/***/ 599:
|
35 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
36 |
|
37 |
"use strict";
|
151 |
|
152 |
/***/ }),
|
153 |
|
154 |
+
/***/ 605:
|
155 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
156 |
|
157 |
"use strict";
|
185 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_13__);
|
186 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(107);
|
187 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_14__);
|
188 |
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(37);
|
189 |
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_15__);
|
190 |
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(203);
|
191 |
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_16__);
|
208 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_25__);
|
209 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(92);
|
210 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_26__);
|
211 |
+
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(598);
|
212 |
/* harmony import */ var _customer_effort_score_tracks_data_constants__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(210);
|
213 |
|
214 |
|
456 |
|
457 |
/***/ }),
|
458 |
|
459 |
+
/***/ 606:
|
460 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
461 |
|
462 |
"use strict";
|
463 |
|
464 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
465 |
+
var es_object_keys = __webpack_require__(37);
|
466 |
|
467 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
468 |
var es_symbol = __webpack_require__(53);
|
503 |
var es_array_find = __webpack_require__(192);
|
504 |
|
505 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
506 |
+
var es_array_map = __webpack_require__(51);
|
507 |
|
508 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
509 |
var es_array_includes = __webpack_require__(107);
|
524 |
var es_array_join = __webpack_require__(139);
|
525 |
|
526 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
527 |
+
var es_string_replace = __webpack_require__(135);
|
528 |
|
529 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
530 |
var es_array_concat = __webpack_require__(66);
|
567 |
var external_wc_navigation_ = __webpack_require__(50);
|
568 |
|
569 |
// EXTERNAL MODULE: external ["wc","csvExport"]
|
570 |
+
var external_wc_csvExport_ = __webpack_require__(579);
|
571 |
|
572 |
// EXTERNAL MODULE: external ["wc","data"]
|
573 |
var external_wc_data_ = __webpack_require__(59);
|
592 |
}));
|
593 |
});
|
594 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
595 |
+
var report_error = __webpack_require__(599);
|
596 |
|
597 |
// CONCATENATED MODULE: ./client/analytics/components/report-table/utils.js
|
598 |
|
dist/chunks/0.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[0],{597:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return u}));var a=r(0),n=r(141),o=r(247),c=r.n(o),i=r(85),s=c()(i.b),l=function(e){var t=s.getCurrencyConfig(),r=Object(n.applyFilters)("woocommerce_admin_report_currency",t,e);return c()(r)},u=Object(a.createContext)(s)},598:function(e,t,r){"use strict";r(64);var a=r(22),n=r.n(a),o=r(23),c=r.n(o),i=r(24),s=r.n(i),l=r(25),u=r.n(l),d=r(14),p=r.n(d),m=r(0),b=r(2),f=r(1),y=r.n(f),g=r(145),O=r(85);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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(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 u()(this,r)}}var v=function(e){s()(r,e);var t=h(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e,t,r,a,n=this.props,o=n.className,c=n.isError,i=n.isEmpty;return c?(e=Object(b.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),t=Object(b.__)("Reload","woocommerce-admin"),a=function(){window.location.reload()}):i&&(e=Object(b.__)("No results could be found for this date range.","woocommerce-admin"),t=Object(b.__)("View Orders","woocommerce-admin"),r=Object(O.f)("edit.php?post_type=shop_order")),Object(m.createElement)(g.EmptyContent,{className:o,title:e,actionLabel:t,actionURL:r,actionCallback:a})}}]),r}(m.Component);v.propTypes={className:y.a.string,isError:y.a.bool,isEmpty:y.a.bool},v.defaultProps={className:""},t.a=v},604:function(e,t,r){"use strict";r(64),r(53),r(60),r(49),r(61);var a=r(7),n=r.n(a),o=r(22),c=r.n(o),i=r(23),s=r.n(i),l=r(18),u=r.n(l),d=r(24),p=r.n(d),m=r(25),b=r.n(m),f=r(14),y=r.n(f),g=r(0),O=(r(41),r(107),r(38),r(203),r(88),r(65)),h=r(1),v=r.n(h),j=r(5),_=r(26),w=r(145),S=r(85),C=r(59),E=r(101),D=r(92),R=r(597),P=r(210);function F(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 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){n()(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 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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=y()(e);if(t){var n=y()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return b()(this,r)}}var x=function(e){p()(r,e);var t=q(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,a=t.addCesSurveyForAnalytics,n=e.filter||e["filter-variations"];["single_product","single_category","single_coupon","single_variation"].includes(n)&&a(),Object(D.recordEvent)("analytics_filter",{report:r,filter:e.filter||"all"})}},{key:"onAdvancedFilterAction",value:function(e,t){var r=this.props,a=r.report,n=r.addCesSurveyForAnalytics;switch(e){case"add":Object(D.recordEvent)("analytics_filters_add",{report:a,filter:t.key});break;case"remove":Object(D.recordEvent)("analytics_filters_remove",{report:a,filter:t.key});break;case"filter":var o=Object.keys(t).reduce((function(e,r){return e[Object(j.snakeCase)(r)]=t[r],e}),{});n(),Object(D.recordEvent)("analytics_filters_filter",k({report:a},o));break;case"clear_all":Object(D.recordEvent)("analytics_filters_clear_all",{report:a});break;case"match":Object(D.recordEvent)("analytics_filters_all_any",{report:a,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.path,n=e.query,o=e.showDatePicker,c=e.defaultDateRange,i=Object(E.getDateParamsFromQuery)(n,c),s=i.period,l=i.compare,u=i.before,d=i.after,p=Object(E.getCurrentDates)(n,c),m={period:s,compare:l,before:u,after:d,primaryDate:p.primary,secondaryDate:p.secondary},b=this.context;return Object(g.createElement)(w.ReportFilters,{query:n,siteLocale:S.c.siteLocale,currency:b.getCurrencyConfig(),path:a,filters:r,advancedFilters:t,showDatePicker:o,onDateSelect:this.onDateSelect,onFilterSelect:this.onFilterSelect,onAdvancedFilterAction:this.onAdvancedFilterAction,dateQuery:m,isoDateFormat:E.isoDateFormat})}}]),r}(g.Component);x.contextType=R.a,t.a=Object(O.compose)(Object(_.withSelect)((function(e){return{defaultDateRange:e(C.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}})),Object(_.withDispatch)((function(e){return{addCesSurveyForAnalytics:e(P.c).addCesSurveyForAnalytics}})))(x),x.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}},605:function(e,t,r){"use strict";r(38),r(53),r(60),r(49),r(61);var a=r(80),n=r.n(a),o=r(44),c=r.n(o),i=r(7),s=r.n(i),l=r(43),u=r.n(l),d=r(116),p=r.n(d),m=r(0),b=(r(192),r(52),r(107),r(140),r(250),r(170),r(88),r(139),r(127),r(66),r(187),r(41),r(4)),f=r(141),y=r(65),g=r(262),O=r(26),h=r(5),v=r(2),j=r(1),_=r.n(j),w=r(145),S=r(50),C=r(578),E=r(59),D=r(92),R=function(){return Object(m.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(m.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(598);function F(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 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}var q=r(210);r(676);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function A(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 T=function(e){var t=e.getHeadersContent,r=e.getRowsContent,a=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=p()(e,["getHeadersContent","getRowsContent","getSummary","isRequesting","primaryData","tableData","endpoint","itemIdField","tableQuery","compareBy","compareParam","searchBy","labels"]),q=e.query,x=e.columnPrefsKey,T=l.items,N=l.query,B=q[O]?Object(S.getIdsFromQuery)(q[y]):[],Q=Object(m.useState)(B),I=u()(Q,2),L=I[0],M=I[1],U=Object(m.useRef)(null),V=Object(E.useUserPreferences)(),z=V.updateUserPreferences,H=p()(V,["updateUserPreferences"]);if(l.isError||i.isError)return Object(m.createElement)(P.a,{isError:!0});var G=[];x&&(G=H&&H[x]?H[x]:G);var J,K,Y,W,X=function(e,n,o){var c=a?a(n,o):null;return Object(f.applyFilters)("woocommerce_admin_report_table",{endpoint:d,headers:t(),rows:r(e),totals:n,summary:c,items:T})},Z=function(t){var r=e.ids;M(t?r:[])},$=function(t,r){var a=e.ids;if(r)M(Object(h.uniq)([a[t]].concat(c()(L))));else{var n=L.indexOf(a[t]);M([].concat(c()(L.slice(0,n)),c()(L.slice(n+1))))}},ee=function(t){var r=e.ids,a=void 0===r?[]:r,n=-1!==L.indexOf(a[t]);return{display:Object(m.createElement)(b.CheckboxControl,{onChange:Object(h.partial)($,t),checked:n}),value:!1}},te=o||l.isRequesting||i.isRequesting,re=Object(h.get)(i,["data","totals"],{}),ae=T.totalResults||0,ne=ae>0,oe=Object(S.getSearchWords)(q).map((function(e){return{key:e,label:e}})),ce=T.data,ie=X(ce,re,ae),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,Y=K.length>0,W=Y&&K.length===L.length,{cellClassName:"is-checkbox-column",key:"compare",label:Object(m.createElement)(b.CheckboxControl,{onChange:Z,"aria-label":Object(v.__)("Select All"),checked:W,disabled:!Y}),required:!0})].concat(c()(se)));var de=function(e,t){return t?e.map((function(e){return A(A({},e),{},{visible:e.required||!t.includes(e.key)})})):e.map((function(e){return A(A({},e),{},{visible:e.required||!e.hiddenByDefault})}))}(se,G);return Object(m.createElement)(m.Fragment,null,Object(m.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:U,"aria-hidden":!0}),Object(m.createElement)(w.TableCard,n()({className:"woocommerce-report-table",hasSearch:!!j,actions:[y&&Object(m.createElement)(w.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:L.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,L.join(","))},disabled:!ne},F.compareButton||Object(v.__)("Compare","woocommerce-admin")),j&&Object(m.createElement)(w.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:function(t){var r,a=e.baseSearchQuery,n=e.addCesSurveyForCustomerSearch,o=t.map((function(e){return e.label.replace(",","%2C")}));o.length?(Object(S.updateQueryString)(A(A((r={filter:void 0},s()(r,O,void 0),s()(r,j,void 0),r),a),{},{search:Object(h.uniq)(o).join(",")})),n()):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:!ne}),ne&&Object(m.createElement)(b.Button,{key:"download",className:"woocommerce-table__download-button",disabled:te,onClick:function(){var t=e.createNotice,r=e.startExport,a=e.title,n=Object.assign({},q),o=T.data,c=T.totalResults,i="browser";if(delete n.extended_info,n.search&&delete n[j],o&&o.length===c){var s=X(o,c),l=s.headers,u=s.rows;Object(C.downloadCSVFile)(Object(C.generateCSVFileName)(a,n),Object(C.generateCSVDataFromTable)(l,u))}else i="email",r(d,N).then((function(){return t("success",Object(v.sprintf)(Object(v.__)("Your %s Report will be emailed to you.","woocommerce-admin"),a))})).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"),a))}));Object(D.recordEvent)("analytics_table_download",{report:d,rows:c,downloadType:i})}},Object(m.createElement)(R,null),Object(m.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(x){var a=s()({},x,r);z(a)}if(t){var n={report:d,column:t,status:e.includes(t)?"on":"off"};Object(D.recordEvent)("analytics_table_header_toggle",n)}},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){U.current.scrollIntoView();var r=U.current.nextSibling.querySelector(".woocommerce-table__table"),a=g.focus.focusable.find(r);a.length&&a[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(N.per_page,10)||E.QUERY_DEFAULTS.pageSize,summary:ue,totalRows:ae},k)))};T.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},T.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:h.noop,baseSearchQuery:{}};var N=[],B={};t.a=Object(y.compose)(Object(O.withSelect)((function(e,t){var r=t.endpoint,a=t.getSummary,n=t.isRequesting,o=t.itemIdField,c=t.query,i=t.tableData,s=t.tableQuery,l=t.filters,u=t.advancedFilters,d=t.summaryFields;if(n||c.search&&(!c[r]||!c[r].length))return B;var p=e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,m="categories"===r?"products":r,b=a?Object(E.getReportChartData)({endpoint:m,dataType:"primary",query:c,select:e,filters:l,advancedFilters:u,defaultDateRange:p,fields:d}):B,f=function(e,t,r){var a=t.extendItemsMethodNames,n=t.extendedItemsStoreName,o=t.itemIdField,c=r.items.data;if(!(Array.isArray(c)&&c.length&&a&&o))return r;var i=e(n),s=i[a.getError],l=i[a.isRequesting],u=i[a.load],d={include:c.map((function(e){return e[o]})).join(","),per_page:c.length},p=u(d),m=!!l&&l(d),b=!!s&&s(d),f=c.map((function(e){var t=Object(h.first)(p.filter((function(t){return e.id===t.id})));return k(k({},e),t)})),y=r.isRequesting||m,g=r.isError||b;return k(k({},r),{},{isRequesting:y,isError:g,items:k(k({},r.items),{},{data:f})})}(e,t,i||Object(E.getReportTableData)({endpoint:r,query:c,select:e,tableQuery:s,filters:l,advancedFilters:u,defaultDateRange:p}));return{primaryData:b,ids:o&&f.items.data?f.items.data.map((function(e){return e[o]})):N,tableData:f,query:c}})),Object(O.withDispatch)((function(e){var t=e(E.EXPORT_STORE_NAME).startExport;return{createNotice:e("core/notices").createNotice,startExport:t,addCesSurveyForCustomerSearch:e(q.c).addCesSurveyForCustomerSearch}})))(T)},676:function(e,t,r){}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[0],{598:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return u}));var a=r(0),n=r(141),o=r(247),c=r.n(o),i=r(85),s=c()(i.b),l=function(e){var t=s.getCurrencyConfig(),r=Object(n.applyFilters)("woocommerce_admin_report_currency",t,e);return c()(r)},u=Object(a.createContext)(s)},599:function(e,t,r){"use strict";r(64);var a=r(22),n=r.n(a),o=r(23),c=r.n(o),i=r(24),s=r.n(i),l=r(25),u=r.n(l),d=r(14),p=r.n(d),m=r(0),b=r(2),f=r(1),y=r.n(f),g=r(145),O=r(85);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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(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 u()(this,r)}}var v=function(e){s()(r,e);var t=h(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e,t,r,a,n=this.props,o=n.className,c=n.isError,i=n.isEmpty;return c?(e=Object(b.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),t=Object(b.__)("Reload","woocommerce-admin"),a=function(){window.location.reload()}):i&&(e=Object(b.__)("No results could be found for this date range.","woocommerce-admin"),t=Object(b.__)("View Orders","woocommerce-admin"),r=Object(O.f)("edit.php?post_type=shop_order")),Object(m.createElement)(g.EmptyContent,{className:o,title:e,actionLabel:t,actionURL:r,actionCallback:a})}}]),r}(m.Component);v.propTypes={className:y.a.string,isError:y.a.bool,isEmpty:y.a.bool},v.defaultProps={className:""},t.a=v},605:function(e,t,r){"use strict";r(64),r(53),r(60),r(49),r(61);var a=r(7),n=r.n(a),o=r(22),c=r.n(o),i=r(23),s=r.n(i),l=r(18),u=r.n(l),d=r(24),p=r.n(d),m=r(25),b=r.n(m),f=r(14),y=r.n(f),g=r(0),O=(r(41),r(107),r(37),r(203),r(88),r(65)),h=r(1),v=r.n(h),j=r(5),_=r(26),w=r(145),S=r(85),C=r(59),E=r(101),D=r(92),R=r(598),P=r(210);function F(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 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){n()(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 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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=y()(e);if(t){var n=y()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return b()(this,r)}}var x=function(e){p()(r,e);var t=q(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,a=t.addCesSurveyForAnalytics,n=e.filter||e["filter-variations"];["single_product","single_category","single_coupon","single_variation"].includes(n)&&a(),Object(D.recordEvent)("analytics_filter",{report:r,filter:e.filter||"all"})}},{key:"onAdvancedFilterAction",value:function(e,t){var r=this.props,a=r.report,n=r.addCesSurveyForAnalytics;switch(e){case"add":Object(D.recordEvent)("analytics_filters_add",{report:a,filter:t.key});break;case"remove":Object(D.recordEvent)("analytics_filters_remove",{report:a,filter:t.key});break;case"filter":var o=Object.keys(t).reduce((function(e,r){return e[Object(j.snakeCase)(r)]=t[r],e}),{});n(),Object(D.recordEvent)("analytics_filters_filter",k({report:a},o));break;case"clear_all":Object(D.recordEvent)("analytics_filters_clear_all",{report:a});break;case"match":Object(D.recordEvent)("analytics_filters_all_any",{report:a,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.path,n=e.query,o=e.showDatePicker,c=e.defaultDateRange,i=Object(E.getDateParamsFromQuery)(n,c),s=i.period,l=i.compare,u=i.before,d=i.after,p=Object(E.getCurrentDates)(n,c),m={period:s,compare:l,before:u,after:d,primaryDate:p.primary,secondaryDate:p.secondary},b=this.context;return Object(g.createElement)(w.ReportFilters,{query:n,siteLocale:S.c.siteLocale,currency:b.getCurrencyConfig(),path:a,filters:r,advancedFilters:t,showDatePicker:o,onDateSelect:this.onDateSelect,onFilterSelect:this.onFilterSelect,onAdvancedFilterAction:this.onAdvancedFilterAction,dateQuery:m,isoDateFormat:E.isoDateFormat})}}]),r}(g.Component);x.contextType=R.a,t.a=Object(O.compose)(Object(_.withSelect)((function(e){return{defaultDateRange:e(C.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}})),Object(_.withDispatch)((function(e){return{addCesSurveyForAnalytics:e(P.c).addCesSurveyForAnalytics}})))(x),x.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}},606:function(e,t,r){"use strict";r(37),r(53),r(60),r(49),r(61);var a=r(80),n=r.n(a),o=r(44),c=r.n(o),i=r(7),s=r.n(i),l=r(43),u=r.n(l),d=r(116),p=r.n(d),m=r(0),b=(r(192),r(51),r(107),r(140),r(250),r(170),r(88),r(139),r(135),r(66),r(187),r(41),r(4)),f=r(141),y=r(65),g=r(262),O=r(26),h=r(5),v=r(2),j=r(1),_=r.n(j),w=r(145),S=r(50),C=r(579),E=r(59),D=r(92),R=function(){return Object(m.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(m.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(599);function F(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 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}var q=r(210);r(676);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function A(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 T=function(e){var t=e.getHeadersContent,r=e.getRowsContent,a=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=p()(e,["getHeadersContent","getRowsContent","getSummary","isRequesting","primaryData","tableData","endpoint","itemIdField","tableQuery","compareBy","compareParam","searchBy","labels"]),q=e.query,x=e.columnPrefsKey,T=l.items,N=l.query,B=q[O]?Object(S.getIdsFromQuery)(q[y]):[],Q=Object(m.useState)(B),I=u()(Q,2),L=I[0],M=I[1],U=Object(m.useRef)(null),V=Object(E.useUserPreferences)(),z=V.updateUserPreferences,H=p()(V,["updateUserPreferences"]);if(l.isError||i.isError)return Object(m.createElement)(P.a,{isError:!0});var G=[];x&&(G=H&&H[x]?H[x]:G);var J,K,Y,W,X=function(e,n,o){var c=a?a(n,o):null;return Object(f.applyFilters)("woocommerce_admin_report_table",{endpoint:d,headers:t(),rows:r(e),totals:n,summary:c,items:T})},Z=function(t){var r=e.ids;M(t?r:[])},$=function(t,r){var a=e.ids;if(r)M(Object(h.uniq)([a[t]].concat(c()(L))));else{var n=L.indexOf(a[t]);M([].concat(c()(L.slice(0,n)),c()(L.slice(n+1))))}},ee=function(t){var r=e.ids,a=void 0===r?[]:r,n=-1!==L.indexOf(a[t]);return{display:Object(m.createElement)(b.CheckboxControl,{onChange:Object(h.partial)($,t),checked:n}),value:!1}},te=o||l.isRequesting||i.isRequesting,re=Object(h.get)(i,["data","totals"],{}),ae=T.totalResults||0,ne=ae>0,oe=Object(S.getSearchWords)(q).map((function(e){return{key:e,label:e}})),ce=T.data,ie=X(ce,re,ae),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,Y=K.length>0,W=Y&&K.length===L.length,{cellClassName:"is-checkbox-column",key:"compare",label:Object(m.createElement)(b.CheckboxControl,{onChange:Z,"aria-label":Object(v.__)("Select All"),checked:W,disabled:!Y}),required:!0})].concat(c()(se)));var de=function(e,t){return t?e.map((function(e){return A(A({},e),{},{visible:e.required||!t.includes(e.key)})})):e.map((function(e){return A(A({},e),{},{visible:e.required||!e.hiddenByDefault})}))}(se,G);return Object(m.createElement)(m.Fragment,null,Object(m.createElement)("div",{className:"woocommerce-report-table__scroll-point",ref:U,"aria-hidden":!0}),Object(m.createElement)(w.TableCard,n()({className:"woocommerce-report-table",hasSearch:!!j,actions:[y&&Object(m.createElement)(w.CompareButton,{key:"compare",className:"woocommerce-table__compare",count:L.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,L.join(","))},disabled:!ne},F.compareButton||Object(v.__)("Compare","woocommerce-admin")),j&&Object(m.createElement)(w.Search,{allowFreeTextSearch:!0,inlineTags:!0,key:"search",onChange:function(t){var r,a=e.baseSearchQuery,n=e.addCesSurveyForCustomerSearch,o=t.map((function(e){return e.label.replace(",","%2C")}));o.length?(Object(S.updateQueryString)(A(A((r={filter:void 0},s()(r,O,void 0),s()(r,j,void 0),r),a),{},{search:Object(h.uniq)(o).join(",")})),n()):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:!ne}),ne&&Object(m.createElement)(b.Button,{key:"download",className:"woocommerce-table__download-button",disabled:te,onClick:function(){var t=e.createNotice,r=e.startExport,a=e.title,n=Object.assign({},q),o=T.data,c=T.totalResults,i="browser";if(delete n.extended_info,n.search&&delete n[j],o&&o.length===c){var s=X(o,c),l=s.headers,u=s.rows;Object(C.downloadCSVFile)(Object(C.generateCSVFileName)(a,n),Object(C.generateCSVDataFromTable)(l,u))}else i="email",r(d,N).then((function(){return t("success",Object(v.sprintf)(Object(v.__)("Your %s Report will be emailed to you.","woocommerce-admin"),a))})).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"),a))}));Object(D.recordEvent)("analytics_table_download",{report:d,rows:c,downloadType:i})}},Object(m.createElement)(R,null),Object(m.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(x){var a=s()({},x,r);z(a)}if(t){var n={report:d,column:t,status:e.includes(t)?"on":"off"};Object(D.recordEvent)("analytics_table_header_toggle",n)}},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){U.current.scrollIntoView();var r=U.current.nextSibling.querySelector(".woocommerce-table__table"),a=g.focus.focusable.find(r);a.length&&a[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(N.per_page,10)||E.QUERY_DEFAULTS.pageSize,summary:ue,totalRows:ae},k)))};T.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},T.defaultProps={primaryData:{},tableData:{items:{data:[],totalResults:0},query:{}},tableQuery:{},compareParam:"filter",downloadable:!1,onSearch:h.noop,baseSearchQuery:{}};var N=[],B={};t.a=Object(y.compose)(Object(O.withSelect)((function(e,t){var r=t.endpoint,a=t.getSummary,n=t.isRequesting,o=t.itemIdField,c=t.query,i=t.tableData,s=t.tableQuery,l=t.filters,u=t.advancedFilters,d=t.summaryFields;if(n||c.search&&(!c[r]||!c[r].length))return B;var p=e(E.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,m="categories"===r?"products":r,b=a?Object(E.getReportChartData)({endpoint:m,dataType:"primary",query:c,select:e,filters:l,advancedFilters:u,defaultDateRange:p,fields:d}):B,f=function(e,t,r){var a=t.extendItemsMethodNames,n=t.extendedItemsStoreName,o=t.itemIdField,c=r.items.data;if(!(Array.isArray(c)&&c.length&&a&&o))return r;var i=e(n),s=i[a.getError],l=i[a.isRequesting],u=i[a.load],d={include:c.map((function(e){return e[o]})).join(","),per_page:c.length},p=u(d),m=!!l&&l(d),b=!!s&&s(d),f=c.map((function(e){var t=Object(h.first)(p.filter((function(t){return e.id===t.id})));return k(k({},e),t)})),y=r.isRequesting||m,g=r.isError||b;return k(k({},r),{},{isRequesting:y,isError:g,items:k(k({},r.items),{},{data:f})})}(e,t,i||Object(E.getReportTableData)({endpoint:r,query:c,select:e,tableQuery:s,filters:l,advancedFilters:u,defaultDateRange:p}));return{primaryData:b,ids:o&&f.items.data?f.items.data.map((function(e){return e[o]})):N,tableData:f,query:c}})),Object(O.withDispatch)((function(e){var t=e(E.EXPORT_STORE_NAME).startExport;return{createNotice:e("core/notices").createNotice,startExport:t,addCesSurveyForCustomerSearch:e(q.c).addCesSurveyForCustomerSearch}})))(T)},676: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 |
+
/***/ 321:
|
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],{615: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],{321: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
@@ -7,7 +7,7 @@
|
|
7 |
|
8 |
var $ = __webpack_require__(12);
|
9 |
var $trim = __webpack_require__(188).trim;
|
10 |
-
var forcedStringTrimMethod = __webpack_require__(
|
11 |
|
12 |
// `String.prototype.trim` method
|
13 |
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
@@ -20,7 +20,7 @@ $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
20 |
|
21 |
/***/ }),
|
22 |
|
23 |
-
/***/
|
24 |
/***/ (function(module, exports, __webpack_require__) {
|
25 |
|
26 |
var fails = __webpack_require__(6);
|
@@ -39,7 +39,7 @@ module.exports = function (METHOD_NAME) {
|
|
39 |
|
40 |
/***/ }),
|
41 |
|
42 |
-
/***/
|
43 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
44 |
|
45 |
"use strict";
|
@@ -52,15 +52,15 @@ module.exports = function (METHOD_NAME) {
|
|
52 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getTaxRateLabels; });
|
53 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getVariationName; });
|
54 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getVariationLabels; });
|
55 |
-
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
56 |
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
|
57 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(100);
|
58 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);
|
59 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(139);
|
60 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2__);
|
61 |
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
62 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__);
|
63 |
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
64 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__);
|
65 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(78);
|
66 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_5__);
|
@@ -73,7 +73,7 @@ module.exports = function (METHOD_NAME) {
|
|
73 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(59);
|
74 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_9__);
|
75 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(85);
|
76 |
-
/* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
77 |
|
78 |
|
79 |
|
@@ -205,7 +205,7 @@ var getVariationLabels = getRequestByIdString(function (_ref3) {
|
|
205 |
|
206 |
/***/ }),
|
207 |
|
208 |
-
/***/
|
209 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
210 |
|
211 |
"use strict";
|
@@ -214,9 +214,9 @@ var getVariationLabels = getRequestByIdString(function (_ref3) {
|
|
214 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_0__);
|
215 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41);
|
216 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__);
|
217 |
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
218 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2__);
|
219 |
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
220 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__);
|
221 |
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(319);
|
222 |
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__);
|
@@ -246,7 +246,7 @@ function getTaxCode(tax) {
|
|
246 |
|
247 |
/***/ }),
|
248 |
|
249 |
-
/***/
|
250 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
251 |
|
252 |
"use strict";
|
@@ -257,7 +257,7 @@ function getTaxCode(tax) {
|
|
257 |
var es_reflect_construct = __webpack_require__(64);
|
258 |
|
259 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
260 |
-
var es_object_keys = __webpack_require__(
|
261 |
|
262 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
263 |
var es_symbol = __webpack_require__(53);
|
@@ -299,7 +299,7 @@ var getPrototypeOf_default = /*#__PURE__*/__webpack_require__.n(getPrototypeOf);
|
|
299 |
var external_wp_element_ = __webpack_require__(0);
|
300 |
|
301 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
302 |
-
var es_array_map = __webpack_require__(
|
303 |
|
304 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
305 |
var web_dom_collections_for_each = __webpack_require__(49);
|
@@ -342,10 +342,10 @@ var external_wc_data_ = __webpack_require__(59);
|
|
342 |
var external_wc_date_ = __webpack_require__(101);
|
343 |
|
344 |
// EXTERNAL MODULE: ./client/lib/currency-context.js
|
345 |
-
var currency_context = __webpack_require__(
|
346 |
|
347 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
348 |
-
var report_error = __webpack_require__(
|
349 |
|
350 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js
|
351 |
var es_array_slice = __webpack_require__(187);
|
@@ -816,7 +816,7 @@ report_chart_ReportChart.defaultProps = {
|
|
816 |
|
817 |
/***/ }),
|
818 |
|
819 |
-
/***/
|
820 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
821 |
|
822 |
"use strict";
|
@@ -851,7 +851,7 @@ function getSelectedChart(chartName) {
|
|
851 |
|
852 |
/***/ }),
|
853 |
|
854 |
-
/***/
|
855 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
856 |
|
857 |
"use strict";
|
@@ -870,7 +870,7 @@ function getSelectedChart(chartName) {
|
|
870 |
/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__);
|
871 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(0);
|
872 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
|
873 |
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
874 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_7__);
|
875 |
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(170);
|
876 |
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_8__);
|
@@ -896,8 +896,8 @@ function getSelectedChart(chartName) {
|
|
896 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_18__);
|
897 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(92);
|
898 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_19__);
|
899 |
-
/* harmony import */ var _report_error__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
900 |
-
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
|
901 |
|
902 |
|
903 |
|
@@ -1180,7 +1180,7 @@ ReportSummary.contextType = _lib_currency_context__WEBPACK_IMPORTED_MODULE_21__[
|
|
1180 |
|
1181 |
/***/ }),
|
1182 |
|
1183 |
-
/***/
|
1184 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1185 |
|
1186 |
"use strict";
|
7 |
|
8 |
var $ = __webpack_require__(12);
|
9 |
var $trim = __webpack_require__(188).trim;
|
10 |
+
var forcedStringTrimMethod = __webpack_require__(404);
|
11 |
|
12 |
// `String.prototype.trim` method
|
13 |
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
20 |
|
21 |
/***/ }),
|
22 |
|
23 |
+
/***/ 404:
|
24 |
/***/ (function(module, exports, __webpack_require__) {
|
25 |
|
26 |
var fails = __webpack_require__(6);
|
39 |
|
40 |
/***/ }),
|
41 |
|
42 |
+
/***/ 600:
|
43 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
44 |
|
45 |
"use strict";
|
52 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getTaxRateLabels; });
|
53 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getVariationName; });
|
54 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getVariationLabels; });
|
55 |
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(164);
|
56 |
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
|
57 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(100);
|
58 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);
|
59 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(139);
|
60 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2__);
|
61 |
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(51);
|
62 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__);
|
63 |
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(129);
|
64 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__);
|
65 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(78);
|
66 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_5__);
|
73 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(59);
|
74 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_9__);
|
75 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(85);
|
76 |
+
/* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(601);
|
77 |
|
78 |
|
79 |
|
205 |
|
206 |
/***/ }),
|
207 |
|
208 |
+
/***/ 601:
|
209 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
210 |
|
211 |
"use strict";
|
214 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_0__);
|
215 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41);
|
216 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__);
|
217 |
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51);
|
218 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2__);
|
219 |
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(129);
|
220 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__);
|
221 |
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(319);
|
222 |
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__);
|
246 |
|
247 |
/***/ }),
|
248 |
|
249 |
+
/***/ 602:
|
250 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
251 |
|
252 |
"use strict";
|
257 |
var es_reflect_construct = __webpack_require__(64);
|
258 |
|
259 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
260 |
+
var es_object_keys = __webpack_require__(37);
|
261 |
|
262 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
263 |
var es_symbol = __webpack_require__(53);
|
299 |
var external_wp_element_ = __webpack_require__(0);
|
300 |
|
301 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
302 |
+
var es_array_map = __webpack_require__(51);
|
303 |
|
304 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
305 |
var web_dom_collections_for_each = __webpack_require__(49);
|
342 |
var external_wc_date_ = __webpack_require__(101);
|
343 |
|
344 |
// EXTERNAL MODULE: ./client/lib/currency-context.js
|
345 |
+
var currency_context = __webpack_require__(598);
|
346 |
|
347 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
348 |
+
var report_error = __webpack_require__(599);
|
349 |
|
350 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js
|
351 |
var es_array_slice = __webpack_require__(187);
|
816 |
|
817 |
/***/ }),
|
818 |
|
819 |
+
/***/ 603:
|
820 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
821 |
|
822 |
"use strict";
|
851 |
|
852 |
/***/ }),
|
853 |
|
854 |
+
/***/ 604:
|
855 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
856 |
|
857 |
"use strict";
|
870 |
/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__);
|
871 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(0);
|
872 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
|
873 |
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(51);
|
874 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_7__);
|
875 |
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(170);
|
876 |
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_8__);
|
896 |
/* harmony import */ var _woocommerce_date__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_date__WEBPACK_IMPORTED_MODULE_18__);
|
897 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(92);
|
898 |
/* harmony import */ var _woocommerce_tracks__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_tracks__WEBPACK_IMPORTED_MODULE_19__);
|
899 |
+
/* harmony import */ var _report_error__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(599);
|
900 |
+
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(598);
|
901 |
|
902 |
|
903 |
|
1180 |
|
1181 |
/***/ }),
|
1182 |
|
1183 |
+
/***/ 614:
|
1184 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1185 |
|
1186 |
"use strict";
|
dist/chunks/2.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[2],{319:function(e,t,r){"use strict";var a=r(12),n=r(188).trim;a({target:"String",proto:!0,forced:r(403)("trim")},{trim:function(){return n(this)}})},403:function(e,t,r){var a=r(6),n=r(189);e.exports=function(e){return a((function(){return!!n[e]()||"
"!="
"[e]()||n[e].name!==e}))}},599:function(e,t,r){"use strict";r.d(t,"e",(function(){return d})),r.d(t,"a",(function(){return m})),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 g})),r.d(t,"h",(function(){return b})),r.d(t,"g",(function(){return v}));r(165),r(100),r(139),r(52),r(130);var a=r(78),n=r(95),i=r.n(n),o=r(5),s=r(50),u=r(59),c=r(85),l=r(600);function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,o="function"==typeof e?e(n):e,u=Object(s.getIdsFromQuery)(r);if(u.length<1)return Promise.resolve([]);var c={include:u.join(","),per_page:u.length};return i()({path:Object(a.addQueryArgs)(o,c)}).then((function(e){return e.map(t)}))}}d(u.NAMESPACE+"/products/attributes",(function(e){return{key:e.id,label:e.name}}));var m=d(u.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),f=d(u.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=d(u.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),y=d(u.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),g=d(u.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(l.a)(e)}}));function b(e){var t=e.attributes,r=e.name,a=Object(c.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=d((function(e){var t=e.products;return t?u.NAMESPACE+"/products/".concat(t,"/variations"):u.NAMESPACE+"/variations"}),(function(e){return{key:e.id,label:b(e)}}))},600:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r(139),r(41),r(52),r(130),r(319),r(100),r(142);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("-")}},601:function(e,t,r){"use strict";r(64),r(38),r(53),r(41),r(60),r(61);var a=r(7),n=r.n(a),i=r(22),o=r.n(i),s=r(23),u=r.n(s),c=r(24),l=r.n(c),d=r(25),m=r.n(d),f=r(14),p=r.n(f),y=r(0),g=(r(52),r(49),r(66),r(170),r(88),r(2)),b=r(65),v=r(211),h=r(26),O=r(5),j=r(1),R=r.n(j),D=r(145),q=r(59),C=r(101),E=r(597),_=r(598),k=(r(187),r(107),r(140),r(50));function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(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 m()(this,r)}}var T=function(e){l()(r,e);var t=w(r);function r(){return o()(this,r),t.apply(this,arguments)}return u()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(O.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),S({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,i=e.defaultDateRange,o=Object(C.getIntervalForQuery)(t),s=Object(C.getCurrentDates)(t,i),u=s.primary,c=s.secondary;return r.data.intervals.map((function(e,r){var i=Object(C.getPreviousDate)(e.date_start,u.after,c.after,t.compare,o),s=a.data.intervals[r];return{date:Object(v.format)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(c.label," (").concat(c.range,")"),labelDate:i.format("YYYY-MM-DD HH:mm:ss"),value:s&&s.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,i=n.emptySearchResults,o=n.filterParam,s=n.interactiveLegend,u=n.itemsLabel,c=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,f=n.showHeaderControls,p=n.primaryData,b=Object(C.getIntervalForQuery)(d),v=Object(C.getAllowedIntervalsForQuery)(d),h=Object(C.getDateFormatsForInterval)(b,p.data.intervals.length),O=i?Object(g.__)("No data for the current search","woocommerce-admin"):Object(g.__)("No data for the selected date range","woocommerce-admin"),j=this.context,R=j.formatAmount,E=j.getCurrencyConfig;return Object(y.createElement)(D.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:O,filterParam:o,interactiveLegend:s,interval:b,isRequesting:t,itemsLabel:u,legendPosition:c,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:h.screenReaderFormat,showHeaderControls:f,title:m.label,tooltipLabelFormat:h.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(q.getTooltipValueFormat)(m.type,R),chartType:Object(C.getChartTypeForQuery)(d),valueType:m.type,xFormat:h.xFormat,x2Format:h.x2Format,currency:E()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(_.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)(_.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,i=this.getTimeChartData(),o=this.getTimeChartTotals();return this.renderChart("time-comparison",n,i,o)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);T.contextType=E.a,T.propTypes={filters:R.a.array,isRequesting:R.a.bool,itemsLabel:R.a.string,limitProperties:R.a.array,mode:R.a.string,path:R.a.string.isRequired,primaryData:R.a.object,query:R.a.object.isRequired,secondaryData:R.a.object,selectedChart:R.a.shape({key:R.a.string.isRequired,label:R.a.string.isRequired,order:R.a.oneOf(["asc","desc"]),orderby:R.a.string,type:R.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(b.compose)(Object(h.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,i=t.isRequesting,o=t.limitProperties,s=t.query,u=t.advancedFilters,c=o||[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),i=n.pop();if(i.showFilters(r,a)){var o=Object(k.flattenFilters)(i.filters),s=r[i.param]||i.defaultValue||"all";return Object(O.find)(o,{value:s})}return e(n,r,a)}(n,s),d=Object(O.get)(l,["settings","param"]),m=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,s)||"time-comparison",f=e(q.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,p={mode:m,filterParam:d,defaultDateRange:f};if(i)return p;var y=c.some((function(e){return s[e]&&s[e].length}));if(s.search&&!y)return S(S({},p),{},{emptySearchResults:!0});var g=r&&r.map((function(e){return e.key})),b=Object(q.getReportChartData)({endpoint:a,dataType:"primary",query:s,select:e,limitBy:c,filters:n,advancedFilters:u,defaultDateRange:f,fields:g});if("item-comparison"===m)return S(S({},p),{},{primaryData:b});var v=Object(q.getReportChartData)({endpoint:a,dataType:"secondary",query:s,select:e,limitBy:c,filters:n,advancedFilters:u,defaultDateRange:f,fields:g});return S(S({},p),{},{primaryData:b,secondaryData:v})})))(T)},602:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(5);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]}},603:function(e,t,r){"use strict";r(64);var a=r(22),n=r.n(a),i=r(23),o=r.n(i),s=r(24),u=r.n(s),c=r(25),l=r.n(c),d=r(14),m=r.n(d),f=r(0),p=(r(52),r(170),r(88),r(2)),y=r(65),g=r(26),b=r(1),v=r.n(b),h=r(50),O=r(145),j=r(281),R=r(59),D=r(101),q=r(92),C=r(598),E=r(597);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var k=function(e){u()(r,e);var t=_(r);function r(){return n()(this,r),t.apply(this,arguments)}return o()(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,i=n.primary?n.primary[e]:0,o=n.secondary?n.secondary[e]:0,s=a?0:i,u=a?0:o;return{delta:Object(j.calculateDelta)(s,u),prevValue:this.formatVal(u,t),value:this.formatVal(s,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,n=t.selectedChart,i=t.summaryData,o=t.endpoint,s=t.report,u=t.defaultDateRange,c=i.isError,l=i.isRequesting;if(c)return Object(f.createElement)(C.a,{isError:!0});if(l)return Object(f.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(D.getDateParamsFromQuery)(a,u).compare;return Object(f.createElement)(O.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,i=t.order,u=t.orderby,c=t.label,l=t.type,m={chart:r};u&&(m.orderby=u),i&&(m.order=i);var y=Object(h.getNewPath)(m),g=n.key===r,b=e.getValues(r,l),v=b.delta,j=b.prevValue,R=b.value;return Object(f.createElement)(O.SummaryNumber,{key:r,delta:v,href:y,label:c,prevLabel:"previous_period"===d?Object(p.__)("Previous Period:","woocommerce-admin"):Object(p.__)("Previous Year:","woocommerce-admin"),prevValue:j,selected:g,value:R,onLinkClickCallback:function(){a&&a(),Object(q.recordEvent)("analytics_chart_tab_click",{report:s||o,key:r})}})}))}))}}]),r}(f.Component);k.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},k.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},k.contextType=E.a,t.a=Object(y.compose)(Object(g.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.limitProperties,i=t.query,o=t.filters,s=t.advancedFilters,u=n||[a],c=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!c)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),d=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(R.getSummaryNumbers)({endpoint:a,query:i,select:e,limitBy:u,filters:o,advancedFilters:s,defaultDateRange:d,fields:l}),defaultDateRange:d}})))(k)},613:function(e,t,r){"use strict";function a(e,t,r){return!!t&&(e&&t<=r==="instock")}r.d(t,"a",(function(){return a}))}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[2],{319:function(e,t,r){"use strict";var a=r(12),n=r(188).trim;a({target:"String",proto:!0,forced:r(404)("trim")},{trim:function(){return n(this)}})},404:function(e,t,r){var a=r(6),n=r(189);e.exports=function(e){return a((function(){return!!n[e]()||"
"!="
"[e]()||n[e].name!==e}))}},600:function(e,t,r){"use strict";r.d(t,"e",(function(){return d})),r.d(t,"a",(function(){return m})),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 g})),r.d(t,"h",(function(){return b})),r.d(t,"g",(function(){return v}));r(164),r(100),r(139),r(51),r(129);var a=r(78),n=r(95),i=r.n(n),o=r(5),s=r(50),u=r(59),c=r(85),l=r(601);function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,o="function"==typeof e?e(n):e,u=Object(s.getIdsFromQuery)(r);if(u.length<1)return Promise.resolve([]);var c={include:u.join(","),per_page:u.length};return i()({path:Object(a.addQueryArgs)(o,c)}).then((function(e){return e.map(t)}))}}d(u.NAMESPACE+"/products/attributes",(function(e){return{key:e.id,label:e.name}}));var m=d(u.NAMESPACE+"/products/categories",(function(e){return{key:e.id,label:e.name}})),f=d(u.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=d(u.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),y=d(u.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),g=d(u.NAMESPACE+"/taxes",(function(e){return{key:e.id,label:Object(l.a)(e)}}));function b(e){var t=e.attributes,r=e.name,a=Object(c.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=d((function(e){var t=e.products;return t?u.NAMESPACE+"/products/".concat(t,"/variations"):u.NAMESPACE+"/variations"}),(function(e){return{key:e.id,label:b(e)}}))},601:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r(139),r(41),r(51),r(129),r(319),r(100),r(142);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("-")}},602:function(e,t,r){"use strict";r(64),r(37),r(53),r(41),r(60),r(61);var a=r(7),n=r.n(a),i=r(22),o=r.n(i),s=r(23),u=r.n(s),c=r(24),l=r.n(c),d=r(25),m=r.n(d),f=r(14),p=r.n(f),y=r(0),g=(r(51),r(49),r(66),r(170),r(88),r(2)),b=r(65),v=r(211),h=r(26),O=r(5),j=r(1),R=r.n(j),D=r(145),q=r(59),C=r(101),E=r(598),_=r(599),k=(r(187),r(107),r(140),r(50));function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(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 m()(this,r)}}var T=function(e){l()(r,e);var t=w(r);function r(){return o()(this,r),t.apply(this,arguments)}return u()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(O.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),S({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,i=e.defaultDateRange,o=Object(C.getIntervalForQuery)(t),s=Object(C.getCurrentDates)(t,i),u=s.primary,c=s.secondary;return r.data.intervals.map((function(e,r){var i=Object(C.getPreviousDate)(e.date_start,u.after,c.after,t.compare,o),s=a.data.intervals[r];return{date:Object(v.format)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(c.label," (").concat(c.range,")"),labelDate:i.format("YYYY-MM-DD HH:mm:ss"),value:s&&s.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,i=n.emptySearchResults,o=n.filterParam,s=n.interactiveLegend,u=n.itemsLabel,c=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,f=n.showHeaderControls,p=n.primaryData,b=Object(C.getIntervalForQuery)(d),v=Object(C.getAllowedIntervalsForQuery)(d),h=Object(C.getDateFormatsForInterval)(b,p.data.intervals.length),O=i?Object(g.__)("No data for the current search","woocommerce-admin"):Object(g.__)("No data for the selected date range","woocommerce-admin"),j=this.context,R=j.formatAmount,E=j.getCurrencyConfig;return Object(y.createElement)(D.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:O,filterParam:o,interactiveLegend:s,interval:b,isRequesting:t,itemsLabel:u,legendPosition:c,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:h.screenReaderFormat,showHeaderControls:f,title:m.label,tooltipLabelFormat:h.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(q.getTooltipValueFormat)(m.type,R),chartType:Object(C.getChartTypeForQuery)(d),valueType:m.type,xFormat:h.xFormat,x2Format:h.x2Format,currency:E()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(_.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)(_.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,i=this.getTimeChartData(),o=this.getTimeChartTotals();return this.renderChart("time-comparison",n,i,o)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);T.contextType=E.a,T.propTypes={filters:R.a.array,isRequesting:R.a.bool,itemsLabel:R.a.string,limitProperties:R.a.array,mode:R.a.string,path:R.a.string.isRequired,primaryData:R.a.object,query:R.a.object.isRequired,secondaryData:R.a.object,selectedChart:R.a.shape({key:R.a.string.isRequired,label:R.a.string.isRequired,order:R.a.oneOf(["asc","desc"]),orderby:R.a.string,type:R.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(b.compose)(Object(h.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,i=t.isRequesting,o=t.limitProperties,s=t.query,u=t.advancedFilters,c=o||[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),i=n.pop();if(i.showFilters(r,a)){var o=Object(k.flattenFilters)(i.filters),s=r[i.param]||i.defaultValue||"all";return Object(O.find)(o,{value:s})}return e(n,r,a)}(n,s),d=Object(O.get)(l,["settings","param"]),m=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,s)||"time-comparison",f=e(q.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,p={mode:m,filterParam:d,defaultDateRange:f};if(i)return p;var y=c.some((function(e){return s[e]&&s[e].length}));if(s.search&&!y)return S(S({},p),{},{emptySearchResults:!0});var g=r&&r.map((function(e){return e.key})),b=Object(q.getReportChartData)({endpoint:a,dataType:"primary",query:s,select:e,limitBy:c,filters:n,advancedFilters:u,defaultDateRange:f,fields:g});if("item-comparison"===m)return S(S({},p),{},{primaryData:b});var v=Object(q.getReportChartData)({endpoint:a,dataType:"secondary",query:s,select:e,limitBy:c,filters:n,advancedFilters:u,defaultDateRange:f,fields:g});return S(S({},p),{},{primaryData:b,secondaryData:v})})))(T)},603:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(5);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]}},604:function(e,t,r){"use strict";r(64);var a=r(22),n=r.n(a),i=r(23),o=r.n(i),s=r(24),u=r.n(s),c=r(25),l=r.n(c),d=r(14),m=r.n(d),f=r(0),p=(r(51),r(170),r(88),r(2)),y=r(65),g=r(26),b=r(1),v=r.n(b),h=r(50),O=r(145),j=r(281),R=r(59),D=r(101),q=r(92),C=r(599),E=r(598);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var k=function(e){u()(r,e);var t=_(r);function r(){return n()(this,r),t.apply(this,arguments)}return o()(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,i=n.primary?n.primary[e]:0,o=n.secondary?n.secondary[e]:0,s=a?0:i,u=a?0:o;return{delta:Object(j.calculateDelta)(s,u),prevValue:this.formatVal(u,t),value:this.formatVal(s,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.query,n=t.selectedChart,i=t.summaryData,o=t.endpoint,s=t.report,u=t.defaultDateRange,c=i.isError,l=i.isRequesting;if(c)return Object(f.createElement)(C.a,{isError:!0});if(l)return Object(f.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(D.getDateParamsFromQuery)(a,u).compare;return Object(f.createElement)(O.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,i=t.order,u=t.orderby,c=t.label,l=t.type,m={chart:r};u&&(m.orderby=u),i&&(m.order=i);var y=Object(h.getNewPath)(m),g=n.key===r,b=e.getValues(r,l),v=b.delta,j=b.prevValue,R=b.value;return Object(f.createElement)(O.SummaryNumber,{key:r,delta:v,href:y,label:c,prevLabel:"previous_period"===d?Object(p.__)("Previous Period:","woocommerce-admin"):Object(p.__)("Previous Year:","woocommerce-admin"),prevValue:j,selected:g,value:R,onLinkClickCallback:function(){a&&a(),Object(q.recordEvent)("analytics_chart_tab_click",{report:s||o,key:r})}})}))}))}}]),r}(f.Component);k.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},k.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1}},k.contextType=E.a,t.a=Object(y.compose)(Object(g.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,n=t.limitProperties,i=t.query,o=t.filters,s=t.advancedFilters,u=n||[a],c=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!c)return{emptySearchResults:!0};var l=r&&r.map((function(e){return e.key})),d=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(R.getSummaryNumbers)({endpoint:a,query:i,select:e,limitBy:u,filters:o,advancedFilters:s,defaultDateRange:d,fields:l}),defaultDateRange:d}})))(k)},614:function(e,t,r){"use strict";function a(e,t,r){return!!t&&(e&&t<=r==="instock")}r.d(t,"a",(function(){return a}))}}]);
|
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";
|
@@ -11,7 +11,7 @@
|
|
11 |
|
12 |
/***/ }),
|
13 |
|
14 |
-
/***/
|
15 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16 |
|
17 |
"use strict";
|
@@ -20,10 +20,10 @@
|
|
20 |
var esm_extends = __webpack_require__(117);
|
21 |
|
22 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
23 |
-
var objectWithoutPropertiesLoose = __webpack_require__(
|
24 |
|
25 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
|
26 |
-
var inheritsLoose = __webpack_require__(
|
27 |
|
28 |
// EXTERNAL MODULE: ./node_modules/prop-types/index.js
|
29 |
var prop_types = __webpack_require__(1);
|
@@ -58,7 +58,7 @@ var external_React_ = __webpack_require__(20);
|
|
58 |
var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
|
59 |
|
60 |
// EXTERNAL MODULE: external "ReactDOM"
|
61 |
-
var external_ReactDOM_ = __webpack_require__(
|
62 |
var external_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_ReactDOM_);
|
63 |
|
64 |
// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/config.js
|
@@ -66,7 +66,7 @@ var external_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_Reac
|
|
66 |
disabled: false
|
67 |
});
|
68 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
|
69 |
-
var TransitionGroupContext = __webpack_require__(
|
70 |
|
71 |
// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/Transition.js
|
72 |
|
@@ -786,13 +786,13 @@ CSSTransition_CSSTransition.propTypes = false ? undefined : {};
|
|
786 |
|
787 |
/***/ }),
|
788 |
|
789 |
-
/***/
|
790 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
791 |
|
792 |
"use strict";
|
793 |
|
794 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
795 |
-
var objectWithoutPropertiesLoose = __webpack_require__(
|
796 |
|
797 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
798 |
var esm_extends = __webpack_require__(117);
|
@@ -806,7 +806,7 @@ function _assertThisInitialized(self) {
|
|
806 |
return self;
|
807 |
}
|
808 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
|
809 |
-
var inheritsLoose = __webpack_require__(
|
810 |
|
811 |
// EXTERNAL MODULE: ./node_modules/prop-types/index.js
|
812 |
var prop_types = __webpack_require__(1);
|
@@ -816,7 +816,7 @@ var external_React_ = __webpack_require__(20);
|
|
816 |
var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
|
817 |
|
818 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
|
819 |
-
var TransitionGroupContext = __webpack_require__(
|
820 |
|
821 |
// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/utils/ChildMapping.js
|
822 |
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[3],{
|
2 |
|
3 |
+
/***/ 186:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
11 |
|
12 |
/***/ }),
|
13 |
|
14 |
+
/***/ 416:
|
15 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16 |
|
17 |
"use strict";
|
20 |
var esm_extends = __webpack_require__(117);
|
21 |
|
22 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
23 |
+
var objectWithoutPropertiesLoose = __webpack_require__(133);
|
24 |
|
25 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
|
26 |
+
var inheritsLoose = __webpack_require__(128);
|
27 |
|
28 |
// EXTERNAL MODULE: ./node_modules/prop-types/index.js
|
29 |
var prop_types = __webpack_require__(1);
|
58 |
var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
|
59 |
|
60 |
// EXTERNAL MODULE: external "ReactDOM"
|
61 |
+
var external_ReactDOM_ = __webpack_require__(163);
|
62 |
var external_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_ReactDOM_);
|
63 |
|
64 |
// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/config.js
|
66 |
disabled: false
|
67 |
});
|
68 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
|
69 |
+
var TransitionGroupContext = __webpack_require__(186);
|
70 |
|
71 |
// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/Transition.js
|
72 |
|
786 |
|
787 |
/***/ }),
|
788 |
|
789 |
+
/***/ 417:
|
790 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
791 |
|
792 |
"use strict";
|
793 |
|
794 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
795 |
+
var objectWithoutPropertiesLoose = __webpack_require__(133);
|
796 |
|
797 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
798 |
var esm_extends = __webpack_require__(117);
|
806 |
return self;
|
807 |
}
|
808 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
|
809 |
+
var inheritsLoose = __webpack_require__(128);
|
810 |
|
811 |
// EXTERNAL MODULE: ./node_modules/prop-types/index.js
|
812 |
var prop_types = __webpack_require__(1);
|
816 |
var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
|
817 |
|
818 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
|
819 |
+
var TransitionGroupContext = __webpack_require__(186);
|
820 |
|
821 |
// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/utils/ChildMapping.js
|
822 |
|
dist/chunks/3.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[3],{
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[3],{186:function(e,t,n){"use strict";var i=n(20),s=n.n(i);t.a=s.a.createContext(null)},416:function(e,t,n){"use strict";var i=n(117),s=n(133),r=n(128);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(20),l=n.n(o),c=n(163),u=n.n(c),p=!1,d=n(186),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},417:function(e,t,n){"use strict";var i=n(133),s=n(117);var r=n(128),a=(n(1),n(20)),o=n.n(a),l=n(186);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}}]);
|
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";
|
@@ -61,14 +61,14 @@ var getPrototypeOf_default = /*#__PURE__*/__webpack_require__.n(getPrototypeOf);
|
|
61 |
var external_wp_element_ = __webpack_require__(0);
|
62 |
|
63 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
64 |
-
var es_array_map = __webpack_require__(
|
65 |
|
66 |
// EXTERNAL MODULE: ./node_modules/classnames/index.js
|
67 |
var classnames = __webpack_require__(15);
|
68 |
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
69 |
|
70 |
// EXTERNAL MODULE: ./node_modules/gridicons/dist/notice-outline.js
|
71 |
-
var notice_outline = __webpack_require__(
|
72 |
var notice_outline_default = /*#__PURE__*/__webpack_require__.n(notice_outline);
|
73 |
|
74 |
// EXTERNAL MODULE: external "moment"
|
@@ -350,10 +350,10 @@ var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectW
|
|
350 |
var external_wp_element_ = __webpack_require__(0);
|
351 |
|
352 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
353 |
-
var es_array_map = __webpack_require__(
|
354 |
|
355 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
356 |
-
var es_object_keys = __webpack_require__(
|
357 |
|
358 |
// EXTERNAL MODULE: external ["wp","i18n"]
|
359 |
var external_wp_i18n_ = __webpack_require__(2);
|
@@ -371,13 +371,13 @@ var external_wc_data_ = __webpack_require__(59);
|
|
371 |
var external_wp_data_ = __webpack_require__(26);
|
372 |
|
373 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroup.js + 2 modules
|
374 |
-
var TransitionGroup = __webpack_require__(
|
375 |
|
376 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js + 5 modules
|
377 |
-
var CSSTransition = __webpack_require__(
|
378 |
|
379 |
// EXTERNAL MODULE: ./client/header/activity-panel/activity-card/index.js + 1 modules
|
380 |
-
var activity_card = __webpack_require__(
|
381 |
|
382 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
383 |
var es_reflect_construct = __webpack_require__(64);
|
@@ -489,7 +489,7 @@ var defineProperty = __webpack_require__(7);
|
|
489 |
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
|
490 |
|
491 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
492 |
-
var es_function_name = __webpack_require__(
|
493 |
|
494 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
495 |
var es_array_includes = __webpack_require__(107);
|
@@ -693,25 +693,25 @@ action_InboxNoteAction.propTypes = {
|
|
693 |
};
|
694 |
}))(action_InboxNoteAction));
|
695 |
// EXTERNAL MODULE: ./client/lib/sanitize-html/index.js
|
696 |
-
var sanitize_html = __webpack_require__(
|
697 |
|
698 |
// EXTERNAL MODULE: ./client/inbox-panel/style.scss
|
699 |
var style = __webpack_require__(646);
|
700 |
|
701 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
702 |
-
var es_string_split = __webpack_require__(
|
703 |
|
704 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
705 |
var es_regexp_exec = __webpack_require__(88);
|
706 |
|
707 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
708 |
-
var es_number_constructor = __webpack_require__(
|
709 |
|
710 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
|
711 |
var es_string_search = __webpack_require__(170);
|
712 |
|
713 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
714 |
-
var es_string_replace = __webpack_require__(
|
715 |
|
716 |
// CONCATENATED MODULE: ./client/utils/index.js
|
717 |
|
@@ -1132,7 +1132,7 @@ card_InboxNoteCard.propTypes = {
|
|
1132 |
};
|
1133 |
/* harmony default export */ var card = (card_InboxNoteCard);
|
1134 |
// EXTERNAL MODULE: ./client/inbox-panel/utils.js
|
1135 |
-
var utils = __webpack_require__(
|
1136 |
|
1137 |
// CONCATENATED MODULE: ./client/inbox-panel/index.js
|
1138 |
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[4],{
|
2 |
|
3 |
+
/***/ 608:
|
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__(321);
|
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 |
+
/***/ 611:
|
29 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
30 |
|
31 |
"use strict";
|
61 |
var external_wp_element_ = __webpack_require__(0);
|
62 |
|
63 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
64 |
+
var es_array_map = __webpack_require__(51);
|
65 |
|
66 |
// EXTERNAL MODULE: ./node_modules/classnames/index.js
|
67 |
var classnames = __webpack_require__(15);
|
68 |
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
69 |
|
70 |
// EXTERNAL MODULE: ./node_modules/gridicons/dist/notice-outline.js
|
71 |
+
var notice_outline = __webpack_require__(325);
|
72 |
var notice_outline_default = /*#__PURE__*/__webpack_require__.n(notice_outline);
|
73 |
|
74 |
// EXTERNAL MODULE: external "moment"
|
350 |
var external_wp_element_ = __webpack_require__(0);
|
351 |
|
352 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
353 |
+
var es_array_map = __webpack_require__(51);
|
354 |
|
355 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
356 |
+
var es_object_keys = __webpack_require__(37);
|
357 |
|
358 |
// EXTERNAL MODULE: external ["wp","i18n"]
|
359 |
var external_wp_i18n_ = __webpack_require__(2);
|
371 |
var external_wp_data_ = __webpack_require__(26);
|
372 |
|
373 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroup.js + 2 modules
|
374 |
+
var TransitionGroup = __webpack_require__(417);
|
375 |
|
376 |
// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js + 5 modules
|
377 |
+
var CSSTransition = __webpack_require__(416);
|
378 |
|
379 |
// EXTERNAL MODULE: ./client/header/activity-panel/activity-card/index.js + 1 modules
|
380 |
+
var activity_card = __webpack_require__(611);
|
381 |
|
382 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
383 |
var es_reflect_construct = __webpack_require__(64);
|
489 |
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
|
490 |
|
491 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
492 |
+
var es_function_name = __webpack_require__(129);
|
493 |
|
494 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
495 |
var es_array_includes = __webpack_require__(107);
|
693 |
};
|
694 |
}))(action_InboxNoteAction));
|
695 |
// EXTERNAL MODULE: ./client/lib/sanitize-html/index.js
|
696 |
+
var sanitize_html = __webpack_require__(608);
|
697 |
|
698 |
// EXTERNAL MODULE: ./client/inbox-panel/style.scss
|
699 |
var style = __webpack_require__(646);
|
700 |
|
701 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
702 |
+
var es_string_split = __webpack_require__(177);
|
703 |
|
704 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
705 |
var es_regexp_exec = __webpack_require__(88);
|
706 |
|
707 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
708 |
+
var es_number_constructor = __webpack_require__(178);
|
709 |
|
710 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
|
711 |
var es_string_search = __webpack_require__(170);
|
712 |
|
713 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
714 |
+
var es_string_replace = __webpack_require__(135);
|
715 |
|
716 |
// CONCATENATED MODULE: ./client/utils/index.js
|
717 |
|
1132 |
};
|
1133 |
/* harmony default export */ var card = (card_InboxNoteCard);
|
1134 |
// EXTERNAL MODULE: ./client/inbox-panel/utils.js
|
1135 |
+
var utils = __webpack_require__(332);
|
1136 |
|
1137 |
// CONCATENATED MODULE: ./client/inbox-panel/index.js
|
1138 |
|
dist/chunks/4.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[4],{607:function(e,t,n){"use strict";var c=n(615),o=["a","b","em","i","strong","p","br"],a=["target","href","rel","name","download"];t.a=function(e){return{__html:Object(c.sanitize)(e,{ALLOWED_TAGS:o,ALLOWED_ATTR:a})}}},610:function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return R}));n(64);var c=n(22),o=n.n(c),a=n(23),i=n.n(a),r=n(24),s=n.n(r),l=n(25),m=n.n(l),u=n(14),d=n.n(u),f=n(0),b=(n(52),n(15)),p=n.n(b),_=n(324),v=n.n(_),h=n(29),O=n.n(h),y=n(1),g=n.n(y),j=n(145),N=n(4),E=(n(642),n(5));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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var o=d()(this).constructor;n=Reflect.construct(c,arguments,o)}else n=c.apply(this,arguments);return m()(this,n)}}var k=function(e){s()(n,e);var t=w(n);function n(){return o()(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,o=e.hasSubtitle,a=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"}),o&&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)(a).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 C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var o=d()(this).constructor;n=Reflect.construct(c,arguments,o)}else n=c.apply(this,arguments);return m()(this,n)}}var x=function(e){s()(n,e);var t=C(n);function n(){return o()(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,o=e.date,a=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(o)?O.a.utc(o).fromNow():o;return Object(f.createElement)("section",{className:l},s&&Object(f.createElement)("span",{className:"woocommerce-activity-card__unread"}),a&&Object(f.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},a),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);x.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},x.defaultProps={icon:Object(f.createElement)(v.a,{size:48}),unread:!1}},642:function(e,t,n){},646:function(e,t,n){},689:function(e,t,n){"use strict";n.r(t);var c=n(43),o=n.n(c),a=n(116),i=n.n(a),r=n(0),s=(n(52),n(38),n(2)),l=n(65),m=n(145),u=n(59),d=n(26),f=n(416),b=n(415),p=n(610),_=(n(64),n(22)),v=n.n(_),h=n(23),O=n.n(h),y=n(24),g=n.n(y),j=n(25),N=n.n(j),E=n(14),w=n.n(E),k=n(1),R=n.n(k);function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=w()(e);if(t){var o=w()(this).constructor;n=Reflect.construct(c,arguments,o)}else n=c.apply(this,arguments);return N()(this,n)}}var x=function(e){g()(n,e);var t=C(n);function n(){return v()(this,n),t.apply(this,arguments)}return O()(n,[{key:"render",value:function(){var e=this.props.className;return Object(r.createElement)("div",{className:"woocommerce-inbox-message is-placeholder ".concat(e),"aria-hidden":!0},Object(r.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(r.createElement)("div",{className:"woocommerce-inbox-message__content"},Object(r.createElement)("div",{className:"woocommerce-inbox-message__date"},Object(r.createElement)("div",{className:"sixth-line"})),Object(r.createElement)("div",{className:"woocommerce-inbox-message__title"},Object(r.createElement)("div",{className:"line"}),Object(r.createElement)("div",{className:"line"})),Object(r.createElement)("div",{className:"woocommerce-inbox-message__text"},Object(r.createElement)("div",{className:"line"}),Object(r.createElement)("div",{className:"third-line"}))),Object(r.createElement)("div",{className:"woocommerce-inbox-message__actions"},Object(r.createElement)("div",{className:"fifth-line"}),Object(r.createElement)("div",{className:"fifth-line"}))))}}]),n}(r.Component);x.propTypes={className:R.a.string};var A=x,D=n(18),B=n.n(D),T=n(7),S=n.n(T),M=(n(130),n(107),n(140),n(4)),U=n(631),P=n.n(U),L=n(29),q=n.n(L),I=n(15),F=n.n(I),Y=n(92),V=(n(632),n(85));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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=w()(e);if(t){var o=w()(this).constructor;n=Reflect.construct(c,arguments,o)}else n=c.apply(this,arguments);return N()(this,n)}}var z=function(e){g()(n,e);var t=W(n);function n(e){var c;return v()(this,n),(c=t.call(this,e)).state={inAction:!1},c.handleActionClick=c.handleActionClick.bind(B()(c)),c}return O()(n,[{key:"handleActionClick",value:function(e){var t=this.props,n=t.action,c=t.actionCallback,o=t.batchUpdateNotes,a=t.createNotice,i=t.noteId,r=t.triggerNoteAction,l=t.removeAllNotes,m=t.removeNote,u=t.onClick,d=t.updateNote,f=e.target.href||"",b=!0;f.length&&!f.startsWith(V.a)&&(e.preventDefault(),b=!1,window.open(f,"_blank")),n?this.setState({inAction:b},(function(){r(i,n.id),u&&u()})):(i?m(i).then((function(){a("success",Object(s.__)("Message dismissed","woocommerce-admin"),{actions:[{label:Object(s.__)("Undo","woocommerce-admin"),onClick:function(){d(i,{is_deleted:0})}}]})})).catch((function(){a("error",Object(s.__)("Message could not be dismissed","woocommerce-admin"))})):l().then((function(e){a("success",Object(s.__)("All messages dismissed","woocommerce-admin"),{actions:[{label:Object(s.__)("Undo","woocommerce-admin"),onClick:function(){o(e.map((function(e){return e.id})),{is_deleted:0})}}]})})).catch((function(){a("error",Object(s.__)("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(r.createElement)(M.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}(r.Component);z.propTypes={noteId:R.a.number,label:R.a.string,dismiss:R.a.bool,actionCallback:R.a.func,action:R.a.shape({id:R.a.number.isRequired,url:R.a.string,label:R.a.string.isRequired,primary:R.a.bool.isRequired}),onClick:R.a.func};var H=Object(l.compose)(Object(d.withDispatch)((function(e){var t=e("core/notices").createNotice,n=e(u.NOTES_STORE_NAME),c=n.batchUpdateNotes,o=n.removeAllNotes,a=n.removeNote,i=n.updateNote;return{batchUpdateNotes:c,createNotice:t,removeAllNotes:o,removeNote:a,triggerNoteAction:n.triggerNoteAction,updateNote:i}})))(z),J=n(607);n(646),n(186),n(88),n(177),n(170),n(127);function Q(){var e,t="",n=(e=window.location.search)?e.substr(1).split("&").reduce((function(e,t){var n=t.split("="),c=n[0],o=decodeURIComponent(n[1]);return o=isNaN(Number(o))?o:Number(o),e[c]=o,e}),{}):{},c=n.page,o=n.path,a=n.post_type;if(c){var i="wc-admin"===c?"home_screen":c;t=o?o.replace(/\//g,"_").substring(1):i}else a&&(t=a);return t}function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=w()(e);if(t){var o=w()(this).constructor;n=Reflect.construct(c,arguments,o)}else n=c.apply(this,arguments);return N()(this,n)}}var Z=function(e){g()(n,e);var t=G(n);function n(e){var c;return v()(this,n),c=t.call(this,e),S()(B()(c),"onActionClicked",(function(e){e.actioned_text&&c.setState({clickedActionText:e.actioned_text})})),c.onVisible=c.onVisible.bind(B()(c)),c.hasBeenSeen=!1,c.state={isDismissModalOpen:!1,dismissType:null,clickedActionText:null},c.openDismissModal=c.openDismissModal.bind(B()(c)),c.closeDismissModal=c.closeDismissModal.bind(B()(c)),c.bodyNotificationRef=Object(r.createRef)(),c.toggleButtonRef=Object(r.createRef)(),c.screen=Q(),c}return O()(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(Y.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(Y.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(Y.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;if(e.relatedTarget)n=e.relatedTarget;else if(this.toggleButtonRef.current){var c=this.toggleButtonRef.current.ownerDocument;n=c?c.activeElement:null}!!n&&["woocommerce-admin-dismiss-notification","components-popover__content"].some((function(e){return n.className.includes(e)}))?e.preventDefault():t()}},{key:"renderDismissButton",value:function(){var e=this;return this.state.clickedActionText?null:Object(r.createElement)(M.Dropdown,{contentClassName:"woocommerce-admin-dismiss-dropdown",position:"bottom right",renderToggle:function(t){var n=t.onClose,c=t.onToggle;return Object(r.createElement)(M.Button,{isTertiary:!0,onClick:c,ref:e.toggleButtonRef,onBlur:function(t){return e.handleBlur(t,n)}},Object(s.__)("Dismiss","woocommerce-admin"))},focusOnMount:!1,popoverProps:{noArrow:!0},renderContent:function(t){var n=t.onToggle;return Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(r.createElement)(M.Button,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("this",n)}},Object(s.__)("Dismiss this message","woocommerce-admin"))),Object(r.createElement)("li",null,Object(r.createElement)(M.Button,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("all",n)}},Object(s.__)("Dismiss all messages","woocommerce-admin"))))}})}},{key:"getDismissConfirmationButton",value:function(){var e=this.props.note,t=this.state.dismissType;return Object(r.createElement)(H,{key:e.id,noteId:"all"===t?null:e.id,label:Object(s.__)("Yes, I'm sure","woocommerce-admin"),actionCallback:this.closeDismissModal,dismiss:!0,screen:this.screen})}},{key:"renderDismissConfirmationModal",value:function(){var e=this;return Object(r.createElement)(M.Modal,{title:Object(r.createElement)(r.Fragment,null,Object(s.__)("Are you sure?","woocommerce-admin")),onRequestClose:function(){return e.closeDismissModal()},className:"woocommerce-inbox-dismiss-confirmation_modal"},Object(r.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_wrapper"},Object(r.createElement)("p",null,Object(s.__)("Dismissed messages cannot be viewed again","woocommerce-admin")),Object(r.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_buttons"},Object(r.createElement)(M.Button,{isSecondary:!0,onClick:function(){return e.closeDismissModal()}},Object(s.__)("Cancel","woocommerce-admin")),this.getDismissConfirmationButton())))}},{key:"renderActions",value:function(e){var t=this,n=e.actions,c=e.id,o=this.state.clickedActionText;return o||(n?Object(r.createElement)(r.Fragment,null,n.map((function(e,n){return Object(r.createElement)(H,{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,o=n.content,a=n.date_created,i=n.date_created_gmt,s=n.image,l=n.is_deleted,u=n.layout,d=n.status,f=n.title;if(l)return null;var b=!t||!i||new Date(i+"Z").getTime()>t,p=a,_="plain"!==u&&""!==u,v=F()("woocommerce-inbox-message",u,{"message-is-unread":b&&"unactioned"===d});return Object(r.createElement)(P.a,{onChange:this.onVisible},Object(r.createElement)("section",{className:v},_&&Object(r.createElement)("div",{className:"woocommerce-inbox-message__image"},Object(r.createElement)("img",{src:s,alt:""})),Object(r.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(r.createElement)("div",{className:"woocommerce-inbox-message__content"},b&&Object(r.createElement)("div",{className:"woocommerce-inbox-message__unread-indicator"}),p&&Object(r.createElement)("span",{className:"woocommerce-inbox-message__date"},q.a.utc(p).fromNow()),Object(r.createElement)(m.H,{className:"woocommerce-inbox-message__title"},f),Object(r.createElement)(m.Section,{className:"woocommerce-inbox-message__text"},Object(r.createElement)("span",{dangerouslySetInnerHTML:Object(J.a)(o),ref:this.bodyNotificationRef}))),Object(r.createElement)("div",{className:"woocommerce-inbox-message__actions"},this.renderActions(n),this.renderDismissButton())),c&&this.renderDismissConfirmationModal()))}}]),n}(r.Component);Z.propTypes={note:R.a.shape({id:R.a.number,status:R.a.string,title:R.a.string,content:R.a.string,date_created:R.a.string,date_created_gmt:R.a.string,actions:R.a.arrayOf(R.a.shape({id:R.a.number.isRequired,url:R.a.string,label:R.a.string.isRequired,primary:R.a.bool.isRequired})),layout:R.a.string,image:R.a.string,is_deleted:R.a.bool}),lastRead:R.a.number};var K=Z,X=n(331),$=function(e){var t=e.hasNotes,n=e.isBatchUpdating,c=e.lastRead,o=e.notes;if(!n){if(!t)return Object(r.createElement)(p.a,{className:"woocommerce-empty-activity-card",title:Object(s.__)("Your inbox is empty","woocommerce-admin"),icon:!1},Object(s.__)("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 a=Object.keys(o).map((function(e){return o[e]}));return Object(r.createElement)(f.a,{role:"menu"},a.map((function(e){var t=e.id;return e.is_deleted?null:Object(r.createElement)(b.a,{key:t,timeout:500,classNames:"woocommerce-inbox-message"},Object(r.createElement)(K,{key:t,note:e,lastRead:c}))})))}},ee={page:1,per_page:u.QUERY_DEFAULTS.pageSize,status:"unactioned",type:u.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc",_fields:["id","name","title","content","type","status","actions","date_created","date_created_gmt","layout","image","is_deleted"]};t.default=Object(l.compose)(Object(d.withSelect)((function(e){var t=e(u.NOTES_STORE_NAME),n=t.getNotes,c=t.getNotesError,o=t.isResolving,a=t.isNotesRequesting;return{notes:n(ee),isError:Boolean(c("getNotes",[ee])),isResolving:o("getNotes",[ee]),isBatchUpdating:a("batchUpdateNotes")}})))((function(e){var t=e.isError,n=e.isResolving,c=e.isBatchUpdating,a=e.notes,l=Object(u.useUserPreferences)(),d=l.updateUserPreferences,f=i()(l,["updateUserPreferences"]),b=Object(r.useState)(f.activity_panel_inbox_last_read),p=o()(b,1)[0];if(Object(r.useEffect)((function(){var e=Date.now();d({activity_panel_inbox_last_read:e})}),[]),t){var _=Object(s.__)("There was an error getting your inbox. Please try again.","woocommerce-admin"),v=Object(s.__)("Reload","woocommerce-admin");return Object(r.createElement)(m.EmptyContent,{title:_,actionLabel:v,actionURL:null,actionCallback:function(){window.location.reload()}})}var h=Object(X.b)(a);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"woocommerce-homepage-notes-wrapper"},(n||c)&&Object(r.createElement)(m.Section,null,Object(r.createElement)(A,{className:"banner message-is-unread"})),Object(r.createElement)(m.Section,null,!n&&!c&&$({hasNotes:h,isBatchUpdating:c,lastRead:p,notes:a}))))}))}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[4],{608:function(e,t,n){"use strict";var c=n(321),o=["a","b","em","i","strong","p","br"],a=["target","href","rel","name","download"];t.a=function(e){return{__html:Object(c.sanitize)(e,{ALLOWED_TAGS:o,ALLOWED_ATTR:a})}}},611:function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return R}));n(64);var c=n(22),o=n.n(c),a=n(23),i=n.n(a),r=n(24),s=n.n(r),l=n(25),m=n.n(l),u=n(14),d=n.n(u),f=n(0),b=(n(51),n(15)),p=n.n(b),_=n(325),v=n.n(_),h=n(29),O=n.n(h),y=n(1),g=n.n(y),j=n(145),N=n(4),E=(n(642),n(5));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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var o=d()(this).constructor;n=Reflect.construct(c,arguments,o)}else n=c.apply(this,arguments);return m()(this,n)}}var k=function(e){s()(n,e);var t=w(n);function n(){return o()(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,o=e.hasSubtitle,a=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"}),o&&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)(a).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 C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var o=d()(this).constructor;n=Reflect.construct(c,arguments,o)}else n=c.apply(this,arguments);return m()(this,n)}}var x=function(e){s()(n,e);var t=C(n);function n(){return o()(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,o=e.date,a=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(o)?O.a.utc(o).fromNow():o;return Object(f.createElement)("section",{className:l},s&&Object(f.createElement)("span",{className:"woocommerce-activity-card__unread"}),a&&Object(f.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},a),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);x.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},x.defaultProps={icon:Object(f.createElement)(v.a,{size:48}),unread:!1}},642:function(e,t,n){},646:function(e,t,n){},689:function(e,t,n){"use strict";n.r(t);var c=n(43),o=n.n(c),a=n(116),i=n.n(a),r=n(0),s=(n(51),n(37),n(2)),l=n(65),m=n(145),u=n(59),d=n(26),f=n(417),b=n(416),p=n(611),_=(n(64),n(22)),v=n.n(_),h=n(23),O=n.n(h),y=n(24),g=n.n(y),j=n(25),N=n.n(j),E=n(14),w=n.n(E),k=n(1),R=n.n(k);function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=w()(e);if(t){var o=w()(this).constructor;n=Reflect.construct(c,arguments,o)}else n=c.apply(this,arguments);return N()(this,n)}}var x=function(e){g()(n,e);var t=C(n);function n(){return v()(this,n),t.apply(this,arguments)}return O()(n,[{key:"render",value:function(){var e=this.props.className;return Object(r.createElement)("div",{className:"woocommerce-inbox-message is-placeholder ".concat(e),"aria-hidden":!0},Object(r.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(r.createElement)("div",{className:"woocommerce-inbox-message__content"},Object(r.createElement)("div",{className:"woocommerce-inbox-message__date"},Object(r.createElement)("div",{className:"sixth-line"})),Object(r.createElement)("div",{className:"woocommerce-inbox-message__title"},Object(r.createElement)("div",{className:"line"}),Object(r.createElement)("div",{className:"line"})),Object(r.createElement)("div",{className:"woocommerce-inbox-message__text"},Object(r.createElement)("div",{className:"line"}),Object(r.createElement)("div",{className:"third-line"}))),Object(r.createElement)("div",{className:"woocommerce-inbox-message__actions"},Object(r.createElement)("div",{className:"fifth-line"}),Object(r.createElement)("div",{className:"fifth-line"}))))}}]),n}(r.Component);x.propTypes={className:R.a.string};var A=x,D=n(18),B=n.n(D),T=n(7),S=n.n(T),M=(n(129),n(107),n(140),n(4)),U=n(631),P=n.n(U),L=n(29),q=n.n(L),I=n(15),F=n.n(I),Y=n(92),V=(n(632),n(85));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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=w()(e);if(t){var o=w()(this).constructor;n=Reflect.construct(c,arguments,o)}else n=c.apply(this,arguments);return N()(this,n)}}var z=function(e){g()(n,e);var t=W(n);function n(e){var c;return v()(this,n),(c=t.call(this,e)).state={inAction:!1},c.handleActionClick=c.handleActionClick.bind(B()(c)),c}return O()(n,[{key:"handleActionClick",value:function(e){var t=this.props,n=t.action,c=t.actionCallback,o=t.batchUpdateNotes,a=t.createNotice,i=t.noteId,r=t.triggerNoteAction,l=t.removeAllNotes,m=t.removeNote,u=t.onClick,d=t.updateNote,f=e.target.href||"",b=!0;f.length&&!f.startsWith(V.a)&&(e.preventDefault(),b=!1,window.open(f,"_blank")),n?this.setState({inAction:b},(function(){r(i,n.id),u&&u()})):(i?m(i).then((function(){a("success",Object(s.__)("Message dismissed","woocommerce-admin"),{actions:[{label:Object(s.__)("Undo","woocommerce-admin"),onClick:function(){d(i,{is_deleted:0})}}]})})).catch((function(){a("error",Object(s.__)("Message could not be dismissed","woocommerce-admin"))})):l().then((function(e){a("success",Object(s.__)("All messages dismissed","woocommerce-admin"),{actions:[{label:Object(s.__)("Undo","woocommerce-admin"),onClick:function(){o(e.map((function(e){return e.id})),{is_deleted:0})}}]})})).catch((function(){a("error",Object(s.__)("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(r.createElement)(M.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}(r.Component);z.propTypes={noteId:R.a.number,label:R.a.string,dismiss:R.a.bool,actionCallback:R.a.func,action:R.a.shape({id:R.a.number.isRequired,url:R.a.string,label:R.a.string.isRequired,primary:R.a.bool.isRequired}),onClick:R.a.func};var H=Object(l.compose)(Object(d.withDispatch)((function(e){var t=e("core/notices").createNotice,n=e(u.NOTES_STORE_NAME),c=n.batchUpdateNotes,o=n.removeAllNotes,a=n.removeNote,i=n.updateNote;return{batchUpdateNotes:c,createNotice:t,removeAllNotes:o,removeNote:a,triggerNoteAction:n.triggerNoteAction,updateNote:i}})))(z),J=n(608);n(646),n(177),n(88),n(178),n(170),n(135);function Q(){var e,t="",n=(e=window.location.search)?e.substr(1).split("&").reduce((function(e,t){var n=t.split("="),c=n[0],o=decodeURIComponent(n[1]);return o=isNaN(Number(o))?o:Number(o),e[c]=o,e}),{}):{},c=n.page,o=n.path,a=n.post_type;if(c){var i="wc-admin"===c?"home_screen":c;t=o?o.replace(/\//g,"_").substring(1):i}else a&&(t=a);return t}function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=w()(e);if(t){var o=w()(this).constructor;n=Reflect.construct(c,arguments,o)}else n=c.apply(this,arguments);return N()(this,n)}}var Z=function(e){g()(n,e);var t=G(n);function n(e){var c;return v()(this,n),c=t.call(this,e),S()(B()(c),"onActionClicked",(function(e){e.actioned_text&&c.setState({clickedActionText:e.actioned_text})})),c.onVisible=c.onVisible.bind(B()(c)),c.hasBeenSeen=!1,c.state={isDismissModalOpen:!1,dismissType:null,clickedActionText:null},c.openDismissModal=c.openDismissModal.bind(B()(c)),c.closeDismissModal=c.closeDismissModal.bind(B()(c)),c.bodyNotificationRef=Object(r.createRef)(),c.toggleButtonRef=Object(r.createRef)(),c.screen=Q(),c}return O()(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(Y.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(Y.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(Y.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;if(e.relatedTarget)n=e.relatedTarget;else if(this.toggleButtonRef.current){var c=this.toggleButtonRef.current.ownerDocument;n=c?c.activeElement:null}!!n&&["woocommerce-admin-dismiss-notification","components-popover__content"].some((function(e){return n.className.includes(e)}))?e.preventDefault():t()}},{key:"renderDismissButton",value:function(){var e=this;return this.state.clickedActionText?null:Object(r.createElement)(M.Dropdown,{contentClassName:"woocommerce-admin-dismiss-dropdown",position:"bottom right",renderToggle:function(t){var n=t.onClose,c=t.onToggle;return Object(r.createElement)(M.Button,{isTertiary:!0,onClick:c,ref:e.toggleButtonRef,onBlur:function(t){return e.handleBlur(t,n)}},Object(s.__)("Dismiss","woocommerce-admin"))},focusOnMount:!1,popoverProps:{noArrow:!0},renderContent:function(t){var n=t.onToggle;return Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(r.createElement)(M.Button,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("this",n)}},Object(s.__)("Dismiss this message","woocommerce-admin"))),Object(r.createElement)("li",null,Object(r.createElement)(M.Button,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("all",n)}},Object(s.__)("Dismiss all messages","woocommerce-admin"))))}})}},{key:"getDismissConfirmationButton",value:function(){var e=this.props.note,t=this.state.dismissType;return Object(r.createElement)(H,{key:e.id,noteId:"all"===t?null:e.id,label:Object(s.__)("Yes, I'm sure","woocommerce-admin"),actionCallback:this.closeDismissModal,dismiss:!0,screen:this.screen})}},{key:"renderDismissConfirmationModal",value:function(){var e=this;return Object(r.createElement)(M.Modal,{title:Object(r.createElement)(r.Fragment,null,Object(s.__)("Are you sure?","woocommerce-admin")),onRequestClose:function(){return e.closeDismissModal()},className:"woocommerce-inbox-dismiss-confirmation_modal"},Object(r.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_wrapper"},Object(r.createElement)("p",null,Object(s.__)("Dismissed messages cannot be viewed again","woocommerce-admin")),Object(r.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_buttons"},Object(r.createElement)(M.Button,{isSecondary:!0,onClick:function(){return e.closeDismissModal()}},Object(s.__)("Cancel","woocommerce-admin")),this.getDismissConfirmationButton())))}},{key:"renderActions",value:function(e){var t=this,n=e.actions,c=e.id,o=this.state.clickedActionText;return o||(n?Object(r.createElement)(r.Fragment,null,n.map((function(e,n){return Object(r.createElement)(H,{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,o=n.content,a=n.date_created,i=n.date_created_gmt,s=n.image,l=n.is_deleted,u=n.layout,d=n.status,f=n.title;if(l)return null;var b=!t||!i||new Date(i+"Z").getTime()>t,p=a,_="plain"!==u&&""!==u,v=F()("woocommerce-inbox-message",u,{"message-is-unread":b&&"unactioned"===d});return Object(r.createElement)(P.a,{onChange:this.onVisible},Object(r.createElement)("section",{className:v},_&&Object(r.createElement)("div",{className:"woocommerce-inbox-message__image"},Object(r.createElement)("img",{src:s,alt:""})),Object(r.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(r.createElement)("div",{className:"woocommerce-inbox-message__content"},b&&Object(r.createElement)("div",{className:"woocommerce-inbox-message__unread-indicator"}),p&&Object(r.createElement)("span",{className:"woocommerce-inbox-message__date"},q.a.utc(p).fromNow()),Object(r.createElement)(m.H,{className:"woocommerce-inbox-message__title"},f),Object(r.createElement)(m.Section,{className:"woocommerce-inbox-message__text"},Object(r.createElement)("span",{dangerouslySetInnerHTML:Object(J.a)(o),ref:this.bodyNotificationRef}))),Object(r.createElement)("div",{className:"woocommerce-inbox-message__actions"},this.renderActions(n),this.renderDismissButton())),c&&this.renderDismissConfirmationModal()))}}]),n}(r.Component);Z.propTypes={note:R.a.shape({id:R.a.number,status:R.a.string,title:R.a.string,content:R.a.string,date_created:R.a.string,date_created_gmt:R.a.string,actions:R.a.arrayOf(R.a.shape({id:R.a.number.isRequired,url:R.a.string,label:R.a.string.isRequired,primary:R.a.bool.isRequired})),layout:R.a.string,image:R.a.string,is_deleted:R.a.bool}),lastRead:R.a.number};var K=Z,X=n(332),$=function(e){var t=e.hasNotes,n=e.isBatchUpdating,c=e.lastRead,o=e.notes;if(!n){if(!t)return Object(r.createElement)(p.a,{className:"woocommerce-empty-activity-card",title:Object(s.__)("Your inbox is empty","woocommerce-admin"),icon:!1},Object(s.__)("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 a=Object.keys(o).map((function(e){return o[e]}));return Object(r.createElement)(f.a,{role:"menu"},a.map((function(e){var t=e.id;return e.is_deleted?null:Object(r.createElement)(b.a,{key:t,timeout:500,classNames:"woocommerce-inbox-message"},Object(r.createElement)(K,{key:t,note:e,lastRead:c}))})))}},ee={page:1,per_page:u.QUERY_DEFAULTS.pageSize,status:"unactioned",type:u.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc",_fields:["id","name","title","content","type","status","actions","date_created","date_created_gmt","layout","image","is_deleted"]};t.default=Object(l.compose)(Object(d.withSelect)((function(e){var t=e(u.NOTES_STORE_NAME),n=t.getNotes,c=t.getNotesError,o=t.isResolving,a=t.isNotesRequesting;return{notes:n(ee),isError:Boolean(c("getNotes",[ee])),isResolving:o("getNotes",[ee]),isBatchUpdating:a("batchUpdateNotes")}})))((function(e){var t=e.isError,n=e.isResolving,c=e.isBatchUpdating,a=e.notes,l=Object(u.useUserPreferences)(),d=l.updateUserPreferences,f=i()(l,["updateUserPreferences"]),b=Object(r.useState)(f.activity_panel_inbox_last_read),p=o()(b,1)[0];if(Object(r.useEffect)((function(){var e=Date.now();d({activity_panel_inbox_last_read:e})}),[]),t){var _=Object(s.__)("There was an error getting your inbox. Please try again.","woocommerce-admin"),v=Object(s.__)("Reload","woocommerce-admin");return Object(r.createElement)(m.EmptyContent,{title:_,actionLabel:v,actionURL:null,actionCallback:function(){window.location.reload()}})}var h=Object(X.b)(a);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"woocommerce-homepage-notes-wrapper"},(n||c)&&Object(r.createElement)(m.Section,null,Object(r.createElement)(A,{className:"banner message-is-unread"})),Object(r.createElement)(m.Section,null,!n&&!c&&$({hasNotes:h,isBatchUpdating:c,lastRead:p,notes:a}))))}))}}]);
|
dist/chunks/5.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
|
8 |
var $ = __webpack_require__(12);
|
9 |
var $trim = __webpack_require__(188).trim;
|
10 |
-
var forcedStringTrimMethod = __webpack_require__(
|
11 |
|
12 |
// `String.prototype.trim` method
|
13 |
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
@@ -20,7 +20,7 @@ $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
20 |
|
21 |
/***/ }),
|
22 |
|
23 |
-
/***/
|
24 |
/***/ (function(module, exports, __webpack_require__) {
|
25 |
|
26 |
var fails = __webpack_require__(6);
|
@@ -39,7 +39,7 @@ module.exports = function (METHOD_NAME) {
|
|
39 |
|
40 |
/***/ }),
|
41 |
|
42 |
-
/***/
|
43 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
44 |
|
45 |
"use strict";
|
@@ -52,15 +52,15 @@ module.exports = function (METHOD_NAME) {
|
|
52 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getTaxRateLabels; });
|
53 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getVariationName; });
|
54 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getVariationLabels; });
|
55 |
-
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
56 |
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
|
57 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(100);
|
58 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);
|
59 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(139);
|
60 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2__);
|
61 |
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
62 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__);
|
63 |
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
64 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__);
|
65 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(78);
|
66 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_5__);
|
@@ -73,7 +73,7 @@ module.exports = function (METHOD_NAME) {
|
|
73 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(59);
|
74 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_9__);
|
75 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(85);
|
76 |
-
/* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
77 |
|
78 |
|
79 |
|
@@ -205,7 +205,7 @@ var getVariationLabels = getRequestByIdString(function (_ref3) {
|
|
205 |
|
206 |
/***/ }),
|
207 |
|
208 |
-
/***/
|
209 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
210 |
|
211 |
"use strict";
|
@@ -214,9 +214,9 @@ var getVariationLabels = getRequestByIdString(function (_ref3) {
|
|
214 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_0__);
|
215 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41);
|
216 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__);
|
217 |
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
218 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2__);
|
219 |
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
220 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__);
|
221 |
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(319);
|
222 |
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__);
|
@@ -246,7 +246,7 @@ function getTaxCode(tax) {
|
|
246 |
|
247 |
/***/ }),
|
248 |
|
249 |
-
/***/
|
250 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
251 |
|
252 |
"use strict";
|
@@ -257,7 +257,7 @@ function getTaxCode(tax) {
|
|
257 |
var es_reflect_construct = __webpack_require__(64);
|
258 |
|
259 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
260 |
-
var es_object_keys = __webpack_require__(
|
261 |
|
262 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
263 |
var es_symbol = __webpack_require__(53);
|
@@ -299,7 +299,7 @@ var getPrototypeOf_default = /*#__PURE__*/__webpack_require__.n(getPrototypeOf);
|
|
299 |
var external_wp_element_ = __webpack_require__(0);
|
300 |
|
301 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
302 |
-
var es_array_map = __webpack_require__(
|
303 |
|
304 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
305 |
var web_dom_collections_for_each = __webpack_require__(49);
|
@@ -342,10 +342,10 @@ var external_wc_data_ = __webpack_require__(59);
|
|
342 |
var external_wc_date_ = __webpack_require__(101);
|
343 |
|
344 |
// EXTERNAL MODULE: ./client/lib/currency-context.js
|
345 |
-
var currency_context = __webpack_require__(
|
346 |
|
347 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
348 |
-
var report_error = __webpack_require__(
|
349 |
|
350 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js
|
351 |
var es_array_slice = __webpack_require__(187);
|
@@ -823,16 +823,16 @@ report_chart_ReportChart.defaultProps = {
|
|
823 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return charts; });
|
824 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return filters; });
|
825 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return advancedFilters; });
|
826 |
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
827 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_0__);
|
828 |
-
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
829 |
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1__);
|
830 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2);
|
831 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
|
832 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(141);
|
833 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_3__);
|
834 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(85);
|
835 |
-
/* harmony import */ var _lib_async_requests__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
836 |
|
837 |
|
838 |
|
7 |
|
8 |
var $ = __webpack_require__(12);
|
9 |
var $trim = __webpack_require__(188).trim;
|
10 |
+
var forcedStringTrimMethod = __webpack_require__(404);
|
11 |
|
12 |
// `String.prototype.trim` method
|
13 |
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
20 |
|
21 |
/***/ }),
|
22 |
|
23 |
+
/***/ 404:
|
24 |
/***/ (function(module, exports, __webpack_require__) {
|
25 |
|
26 |
var fails = __webpack_require__(6);
|
39 |
|
40 |
/***/ }),
|
41 |
|
42 |
+
/***/ 600:
|
43 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
44 |
|
45 |
"use strict";
|
52 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getTaxRateLabels; });
|
53 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getVariationName; });
|
54 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getVariationLabels; });
|
55 |
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(164);
|
56 |
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
|
57 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(100);
|
58 |
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);
|
59 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(139);
|
60 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_2__);
|
61 |
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(51);
|
62 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__);
|
63 |
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(129);
|
64 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__);
|
65 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(78);
|
66 |
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_5__);
|
73 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(59);
|
74 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_9__);
|
75 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(85);
|
76 |
+
/* harmony import */ var _analytics_report_taxes_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(601);
|
77 |
|
78 |
|
79 |
|
205 |
|
206 |
/***/ }),
|
207 |
|
208 |
+
/***/ 601:
|
209 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
210 |
|
211 |
"use strict";
|
214 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_0__);
|
215 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41);
|
216 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__);
|
217 |
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51);
|
218 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_2__);
|
219 |
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(129);
|
220 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__);
|
221 |
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(319);
|
222 |
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__);
|
246 |
|
247 |
/***/ }),
|
248 |
|
249 |
+
/***/ 602:
|
250 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
251 |
|
252 |
"use strict";
|
257 |
var es_reflect_construct = __webpack_require__(64);
|
258 |
|
259 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
260 |
+
var es_object_keys = __webpack_require__(37);
|
261 |
|
262 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
263 |
var es_symbol = __webpack_require__(53);
|
299 |
var external_wp_element_ = __webpack_require__(0);
|
300 |
|
301 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
302 |
+
var es_array_map = __webpack_require__(51);
|
303 |
|
304 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
305 |
var web_dom_collections_for_each = __webpack_require__(49);
|
342 |
var external_wc_date_ = __webpack_require__(101);
|
343 |
|
344 |
// EXTERNAL MODULE: ./client/lib/currency-context.js
|
345 |
+
var currency_context = __webpack_require__(598);
|
346 |
|
347 |
// EXTERNAL MODULE: ./client/analytics/components/report-error/index.js
|
348 |
+
var report_error = __webpack_require__(599);
|
349 |
|
350 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js
|
351 |
var es_array_slice = __webpack_require__(187);
|
823 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return charts; });
|
824 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return filters; });
|
825 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return advancedFilters; });
|
826 |
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51);
|
827 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_0__);
|
828 |
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(37);
|
829 |
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1__);
|
830 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2);
|
831 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
|
832 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(141);
|
833 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_3__);
|
834 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(85);
|
835 |
+
/* harmony import */ var _lib_async_requests__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(600);
|
836 |
|
837 |
|
838 |
|
dist/chunks/5.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[5],{319:function(e,t,r){"use strict";var a=r(12),o=r(188).trim;a({target:"String",proto:!0,forced:r(403)("trim")},{trim:function(){return o(this)}})},403:function(e,t,r){var a=r(6),o=r(189);e.exports=function(e){return a((function(){return!!o[e]()||"
"!="
"[e]()||o[e].name!==e}))}},599: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 p})),r.d(t,"c",(function(){return b})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return _})),r.d(t,"h",(function(){return O})),r.d(t,"g",(function(){return v}));r(165),r(100),r(139),r(52),r(130);var a=r(78),o=r(95),n=r.n(o),c=r(5),i=r(50),l=r(59),m=r(85),s=r(600);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1?arguments[1]:void 0,c="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 n()({path:Object(a.addQueryArgs)(c,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}})),p=u(l.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),b=u(l.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),f=u(l.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),_=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 v=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)}}))},600:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r(139),r(41),r(52),r(130),r(319),r(100),r(142);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("-")}},601:function(e,t,r){"use strict";r(64),r(38),r(53),r(41),r(60),r(61);var a=r(7),o=r.n(a),n=r(22),c=r.n(n),i=r(23),l=r.n(i),m=r(24),s=r.n(m),u=r(25),d=r.n(u),p=r(14),b=r.n(p),f=r(0),_=(r(52),r(49),r(66),r(170),r(88),r(2)),O=r(65),v=r(211),y=r(26),j=r(5),g=r(1),h=r.n(g),w=r(145),S=r(59),R=r(101),C=r(597),x=r(598),D=(r(187),r(107),r(140),r(50));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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=b()(e);if(t){var o=b()(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 c()(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(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,o=e.selectedChart,n=e.defaultDateRange,c=Object(R.getIntervalForQuery)(t),i=Object(R.getCurrentDates)(t,n),l=i.primary,m=i.secondary;return r.data.intervals.map((function(e,r){var n=Object(R.getPreviousDate)(e.date_start,l.after,m.after,t.compare,c),i=a.data.intervals[r];return{date:Object(v.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:n.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,n=o.emptySearchResults,c=o.filterParam,i=o.interactiveLegend,l=o.itemsLabel,m=o.legendPosition,s=o.path,u=o.query,d=o.selectedChart,p=o.showHeaderControls,b=o.primaryData,O=Object(R.getIntervalForQuery)(u),v=Object(R.getAllowedIntervalsForQuery)(u),y=Object(R.getDateFormatsForInterval)(O,b.data.intervals.length),j=n?Object(_.__)("No data for the current search","woocommerce-admin"):Object(_.__)("No data for the selected date range","woocommerce-admin"),g=this.context,h=g.formatAmount,C=g.getCurrencyConfig;return Object(f.createElement)(w.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:j,filterParam:c,interactiveLegend:i,interval:O,isRequesting:t,itemsLabel:l,legendPosition:m,legendTotals:a,mode:e,path:s,query:u,screenReaderFormat:y.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:y.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(S.getTooltipValueFormat)(d.type,h),chartType:Object(R.getChartTypeForQuery)(u),valueType:d.type,xFormat:y.xFormat,x2Format:y.x2Format,currency:C()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(x.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(f.createElement)(x.a,{isError:!0});var o=t||r.isRequesting||a.isRequesting,n=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",o,n,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.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(y.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,o=t.filters,n=t.isRequesting,c=t.limitProperties,i=t.query,l=t.advancedFilters,m=c||[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),n=o.pop();if(n.showFilters(r,a)){var c=Object(D.flattenFilters)(n.filters),i=r[n.param]||n.defaultValue||"all";return Object(j.find)(c,{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",p=e(S.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,b={mode:d,filterParam:u,defaultDateRange:p};if(n)return b;var f=m.some((function(e){return i[e]&&i[e].length}));if(i.search&&!f)return A(A({},b),{},{emptySearchResults:!0});var _=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:p,fields:_});if("item-comparison"===d)return A(A({},b),{},{primaryData:O});var v=Object(S.getReportChartData)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:m,filters:o,advancedFilters:l,defaultDateRange:p,fields:_});return A(A({},b),{},{primaryData:O,secondaryData:v})})))(q)},634: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}));r(52),r(38);var a=r(2),o=r(141),n=r(85),c=r(599),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(n.d).map((function(e){return{value:e,label:n.d[e]}}))}},product:{labels:{add:Object(a.__)("Products","woocommerce-admin"),placeholder:Object(a.__)("Search products","woocommerce-admin"),remove:Object(a.__)("Remove products filter","woocommerce-admin"),rule:Object(a.__)("Select a product filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select products","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:c.d}},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:c.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:c.b}},customer_type:{labels:{add:Object(a.__)("Customer Type","woocommerce-admin"),remove:Object(a.__)("Remove customer filter","woocommerce-admin"),rule:Object(a.__)("Select a customer filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Customer is{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a customer type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"new",label:Object(a.__)("New","woocommerce-admin")},{value:"returning",label:Object(a.__)("Returning","woocommerce-admin")}],defaultOption:"new"}},refunds:{labels:{add:Object(a.__)("Refunds","woocommerce-admin"),remove:Object(a.__)("Remove refunds filter","woocommerce-admin"),rule:Object(a.__)("Select a refund filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Refunds{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a refund type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"all",label:Object(a.__)("All","woocommerce-admin")},{value:"partial",label:Object(a.__)("Partially refunded","woocommerce-admin")},{value:"full",label:Object(a.__)("Fully refunded","woocommerce-admin")},{value:"none",label:Object(a.__)("None","woocommerce-admin")}],defaultOption:"all"}},tax_rate:{labels:{add:Object(a.__)("Tax Rates","woocommerce-admin"),placeholder:Object(a.__)("Search tax rates","woocommerce-admin"),remove:Object(a.__)("Remove tax rate filter","woocommerce-admin"),rule:Object(a.__)("Select a tax rate filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select tax rates","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","tax rate","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","tax rate","woocommerce-admin")}],input:{component:"Search",type:"taxes",getLabels:c.f}},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],{319:function(e,t,r){"use strict";var a=r(12),o=r(188).trim;a({target:"String",proto:!0,forced:r(404)("trim")},{trim:function(){return o(this)}})},404:function(e,t,r){var a=r(6),o=r(189);e.exports=function(e){return a((function(){return!!o[e]()||"
"!="
"[e]()||o[e].name!==e}))}},600: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 p})),r.d(t,"c",(function(){return b})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return _})),r.d(t,"h",(function(){return O})),r.d(t,"g",(function(){return v}));r(164),r(100),r(139),r(51),r(129);var a=r(78),o=r(95),n=r.n(o),c=r(5),i=r(50),l=r(59),m=r(85),s=r(601);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1?arguments[1]:void 0,c="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 n()({path:Object(a.addQueryArgs)(c,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}})),p=u(l.NAMESPACE+"/coupons",(function(e){return{key:e.id,label:e.code}})),b=u(l.NAMESPACE+"/customers",(function(e){return{key:e.id,label:e.name}})),f=u(l.NAMESPACE+"/products",(function(e){return{key:e.id,label:e.name}})),_=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 v=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)}}))},601:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r(139),r(41),r(51),r(129),r(319),r(100),r(142);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("-")}},602:function(e,t,r){"use strict";r(64),r(37),r(53),r(41),r(60),r(61);var a=r(7),o=r.n(a),n=r(22),c=r.n(n),i=r(23),l=r.n(i),m=r(24),s=r.n(m),u=r(25),d=r.n(u),p=r(14),b=r.n(p),f=r(0),_=(r(51),r(49),r(66),r(170),r(88),r(2)),O=r(65),v=r(211),y=r(26),j=r(5),g=r(1),h=r.n(g),w=r(145),S=r(59),R=r(101),C=r(598),x=r(599),D=(r(187),r(107),r(140),r(50));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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=b()(e);if(t){var o=b()(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 c()(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(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,o=e.selectedChart,n=e.defaultDateRange,c=Object(R.getIntervalForQuery)(t),i=Object(R.getCurrentDates)(t,n),l=i.primary,m=i.secondary;return r.data.intervals.map((function(e,r){var n=Object(R.getPreviousDate)(e.date_start,l.after,m.after,t.compare,c),i=a.data.intervals[r];return{date:Object(v.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:n.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,n=o.emptySearchResults,c=o.filterParam,i=o.interactiveLegend,l=o.itemsLabel,m=o.legendPosition,s=o.path,u=o.query,d=o.selectedChart,p=o.showHeaderControls,b=o.primaryData,O=Object(R.getIntervalForQuery)(u),v=Object(R.getAllowedIntervalsForQuery)(u),y=Object(R.getDateFormatsForInterval)(O,b.data.intervals.length),j=n?Object(_.__)("No data for the current search","woocommerce-admin"):Object(_.__)("No data for the selected date range","woocommerce-admin"),g=this.context,h=g.formatAmount,C=g.getCurrencyConfig;return Object(f.createElement)(w.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:j,filterParam:c,interactiveLegend:i,interval:O,isRequesting:t,itemsLabel:l,legendPosition:m,legendTotals:a,mode:e,path:s,query:u,screenReaderFormat:y.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:y.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(S.getTooltipValueFormat)(d.type,h),chartType:Object(R.getChartTypeForQuery)(u),valueType:d.type,xFormat:y.xFormat,x2Format:y.x2Format,currency:C()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(x.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(f.createElement)(x.a,{isError:!0});var o=t||r.isRequesting||a.isRequesting,n=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",o,n,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.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(y.withSelect)((function(e,t){var r=t.charts,a=t.endpoint,o=t.filters,n=t.isRequesting,c=t.limitProperties,i=t.query,l=t.advancedFilters,m=c||[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),n=o.pop();if(n.showFilters(r,a)){var c=Object(D.flattenFilters)(n.filters),i=r[n.param]||n.defaultValue||"all";return Object(j.find)(c,{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",p=e(S.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,b={mode:d,filterParam:u,defaultDateRange:p};if(n)return b;var f=m.some((function(e){return i[e]&&i[e].length}));if(i.search&&!f)return A(A({},b),{},{emptySearchResults:!0});var _=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:p,fields:_});if("item-comparison"===d)return A(A({},b),{},{primaryData:O});var v=Object(S.getReportChartData)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:m,filters:o,advancedFilters:l,defaultDateRange:p,fields:_});return A(A({},b),{},{primaryData:O,secondaryData:v})})))(q)},634: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}));r(51),r(37);var a=r(2),o=r(141),n=r(85),c=r(600),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(n.d).map((function(e){return{value:e,label:n.d[e]}}))}},product:{labels:{add:Object(a.__)("Products","woocommerce-admin"),placeholder:Object(a.__)("Search products","woocommerce-admin"),remove:Object(a.__)("Remove products filter","woocommerce-admin"),rule:Object(a.__)("Select a product filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select products","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:c.d}},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:c.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:c.b}},customer_type:{labels:{add:Object(a.__)("Customer Type","woocommerce-admin"),remove:Object(a.__)("Remove customer filter","woocommerce-admin"),rule:Object(a.__)("Select a customer filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Customer is{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a customer type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"new",label:Object(a.__)("New","woocommerce-admin")},{value:"returning",label:Object(a.__)("Returning","woocommerce-admin")}],defaultOption:"new"}},refunds:{labels:{add:Object(a.__)("Refunds","woocommerce-admin"),remove:Object(a.__)("Remove refunds filter","woocommerce-admin"),rule:Object(a.__)("Select a refund filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Refunds{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a refund type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"all",label:Object(a.__)("All","woocommerce-admin")},{value:"partial",label:Object(a.__)("Partially refunded","woocommerce-admin")},{value:"full",label:Object(a.__)("Fully refunded","woocommerce-admin")},{value:"none",label:Object(a.__)("None","woocommerce-admin")}],defaultOption:"all"}},tax_rate:{labels:{add:Object(a.__)("Tax Rates","woocommerce-admin"),placeholder:Object(a.__)("Search tax rates","woocommerce-admin"),remove:Object(a.__)("Remove tax rate filter","woocommerce-admin"),rule:Object(a.__)("Select a tax rate filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select tax rates","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","tax rate","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","tax rate","woocommerce-admin")}],input:{component:"Search",type:"taxes",getLabels:c.f}},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
@@ -528,7 +528,7 @@ module.exports = Number.isFinite || function isFinite(it) {
|
|
528 |
|
529 |
/***/ }),
|
530 |
|
531 |
-
/***/
|
532 |
/***/ (function(module, exports, __webpack_require__) {
|
533 |
|
534 |
"use strict";
|
@@ -537,7 +537,7 @@ var _extends=Object.assign||function(a){for(var c,b=1;b<arguments.length;b++)for
|
|
537 |
|
538 |
/***/ }),
|
539 |
|
540 |
-
/***/
|
541 |
/***/ (function(module, exports, __webpack_require__) {
|
542 |
|
543 |
"use strict";
|
@@ -546,14 +546,14 @@ var _extends=Object.assign||function(a){for(var c,b=1;b<arguments.length;b++)for
|
|
546 |
|
547 |
/***/ }),
|
548 |
|
549 |
-
/***/
|
550 |
/***/ (function(module, exports, __webpack_require__) {
|
551 |
|
552 |
"use strict";
|
553 |
|
554 |
var $ = __webpack_require__(12);
|
555 |
-
var createHTML = __webpack_require__(
|
556 |
-
var forcedStringHTMLMethod = __webpack_require__(
|
557 |
|
558 |
// `String.prototype.link` method
|
559 |
// https://tc39.es/ecma262/#sec-string.prototype.link
|
@@ -566,7 +566,7 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {
|
|
566 |
|
567 |
/***/ }),
|
568 |
|
569 |
-
/***/
|
570 |
/***/ (function(module, exports, __webpack_require__) {
|
571 |
|
572 |
var requireObjectCoercible = __webpack_require__(32);
|
@@ -585,7 +585,7 @@ module.exports = function (string, tag, attribute, value) {
|
|
585 |
|
586 |
/***/ }),
|
587 |
|
588 |
-
/***/
|
589 |
/***/ (function(module, exports, __webpack_require__) {
|
590 |
|
591 |
var fails = __webpack_require__(6);
|
@@ -607,7 +607,7 @@ module.exports = function (METHOD_NAME) {
|
|
607 |
|
608 |
(function webpackUniversalModuleDefinition(root, factory) {
|
609 |
if(true)
|
610 |
-
module.exports = factory(__webpack_require__(20), __webpack_require__(
|
611 |
else {}
|
612 |
})(this, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
|
613 |
return /******/ (function(modules) { // webpackBootstrap
|
528 |
|
529 |
/***/ }),
|
530 |
|
531 |
+
/***/ 325:
|
532 |
/***/ (function(module, exports, __webpack_require__) {
|
533 |
|
534 |
"use strict";
|
537 |
|
538 |
/***/ }),
|
539 |
|
540 |
+
/***/ 328:
|
541 |
/***/ (function(module, exports, __webpack_require__) {
|
542 |
|
543 |
"use strict";
|
546 |
|
547 |
/***/ }),
|
548 |
|
549 |
+
/***/ 405:
|
550 |
/***/ (function(module, exports, __webpack_require__) {
|
551 |
|
552 |
"use strict";
|
553 |
|
554 |
var $ = __webpack_require__(12);
|
555 |
+
var createHTML = __webpack_require__(406);
|
556 |
+
var forcedStringHTMLMethod = __webpack_require__(407);
|
557 |
|
558 |
// `String.prototype.link` method
|
559 |
// https://tc39.es/ecma262/#sec-string.prototype.link
|
566 |
|
567 |
/***/ }),
|
568 |
|
569 |
+
/***/ 406:
|
570 |
/***/ (function(module, exports, __webpack_require__) {
|
571 |
|
572 |
var requireObjectCoercible = __webpack_require__(32);
|
585 |
|
586 |
/***/ }),
|
587 |
|
588 |
+
/***/ 407:
|
589 |
/***/ (function(module, exports, __webpack_require__) {
|
590 |
|
591 |
var fails = __webpack_require__(6);
|
607 |
|
608 |
(function webpackUniversalModuleDefinition(root, factory) {
|
609 |
if(true)
|
610 |
+
module.exports = factory(__webpack_require__(20), __webpack_require__(163));
|
611 |
else {}
|
612 |
})(this, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
|
613 |
return /******/ (function(modules) { // webpackBootstrap
|
dist/chunks/52.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[52,8],{219: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},243:function(e,t,n){"use strict";var o=n(20),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(219),a=n(244),l=n(245),c="function"==typeof Symbol&&Symbol.iterator;function s(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 u(e,t,n,o){var i,l=typeof e;if("undefined"!==l&&"boolean"!==l||(e=null),null===e||"string"===l||"number"===l||"object"===l&&e.$$typeof===r)return n(o,e,""===t?"."+s(e,0):t),1;var f=0,p=""===t?".":t+":";if(Array.isArray(e))for(var h=0;h<e.length;h++)f+=u(i=e[h],p+s(i,h),n,o);else{var d=function(e){var t=e&&(c&&e[c]||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+=u(i=v.value,p+s(i,b++),n,o)}else if("object"===l){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,l=e.result,c=e.keyPrefix,s=e.func,u=e.context,f=s.call(u,t,e.count++);Array.isArray(f)?w(f,l,n,i.thatReturnsArgument):null!=f&&(o.isValidElement(f)&&(r=f,a=c+(!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)),l.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||u(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 l(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(o.isValidElement(e))return l(!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}},244:function(e,t,n){"use strict";e.exports=function(e,t,n,o,r,i,a,l){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 s=[n,o,r,i,a,l],u=0;(c=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},245:function(e,t,n){"use strict";var o=n(219);e.exports=o},246: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)}},266:function(e,t,n){n(12)({target:"Number",stat:!0},{isFinite:n(288)})},288:function(e,t,n){var o=n(3).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&o(e)}},324: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,l=(e.icon,e.className),c=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"]),s=["gridicon","gridicons-notice-outline",l,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:s,height:r,width:r,onClick:i},c,{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(20),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},327: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,l=(e.icon,e.className),c=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"]),s=["gridicon","gridicons-star",l,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:s,height:r,width:r,onClick:i},c,{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(20),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},404:function(e,t,n){"use strict";var o=n(12),r=n(405);o({target:"String",proto:!0,forced:n(406)("link")},{link:function(e){return r(this,"a","href",e)}})},405:function(e,t,n){var o=n(32),r=/"/g;e.exports=function(e,t,n,i){var a=String(o(e)),l="<"+t;return""!==n&&(l+=" "+n+'="'+String(i).replace(r,""")+'"'),l+">"+a+"</"+t+">"}},406:function(e,t,n){var o=n(6);e.exports=function(e){return o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},631: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),l=n(0),c=n.n(l),s=n(3),u=n.n(s);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()},l={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,l.fn),n.debounceCheck[t]=l})),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},l=e.height>0&&e.width>0,c=l&&a.top&&a.left&&a.bottom&&a.right;if(l&&n.props.partialVisibility){var s=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof n.props.partialVisibility&&(s=a[n.props.partialVisibility]),c=n.props.minTopValue?s&&e.top<=t.bottom-n.props.minTopValue:s}"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),c=u()(i,e,t));var p=n.state;return n.state.isVisible!==c&&(p={isVisible:c,visibilityRect:a},n.setState(p),n.props.onChange&&n.props.onChange(c)),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:c.a.func,active:c.a.bool,partialVisibility:c.a.oneOfType([c.a.bool,c.a.oneOf(["top","right","bottom","left"])]),delayedCall:c.a.bool,offset:c.a.oneOfType([c.a.shape({top:c.a.number,left:c.a.number,bottom:c.a.number,right:c.a.number}),c.a.shape({direction:c.a.oneOf(["top","right","bottom","left"]),value:c.a.number})]),scrollCheck:c.a.bool,scrollDelay:c.a.number,scrollThrottle:c.a.number,resizeCheck:c.a.bool,resizeDelay:c.a.number,resizeThrottle:c.a.number,intervalCheck:c.a.bool,intervalDelay:c.a.number,containment:"undefined"!=typeof window?c.a.instanceOf(window.Element):c.a.any,children:c.a.oneOfType([c.a.element,c.a.func]),minTopValue:c.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 l=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 l.name="Invariant Violation",l}}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(20),n(164))},632:function(e,t,n){"use strict";var o,r=n(12),i=n(33).f,a=n(34),l=n(207),c=n(32),s=n(208),u=n(57),f="".startsWith,p=Math.min,h=s("startsWith");r({target:"String",proto:!0,forced:!!(u||h||(o=i(String.prototype,"startsWith"),!o||o.writable))&&!h},{startsWith:function(e){var t=String(c(this));l(e);var n=a(p(arguments.length>1?arguments[1]:void 0,t.length)),o=String(e);return f?f.call(t,o,n):t.slice(n,n+o.length)===o}})},644: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,l=(e.icon,e.className),c=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"]),s=["gridicon","gridicons-star-outline",l,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:s,height:r,width:r,onClick:i},c,{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(20),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},693:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},694:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},695:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(o.createElement)(r.Path,{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},696:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"}));t.a=i},697:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},698:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},699:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},700:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},99: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=l(n(20)),i=l(n(243)),a=l(n(246));function l(e){return e&&e.__esModule?e:{default:e}}var c=void 0;function s(e,t){var n,a,l,u,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> "+c);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],l=p;break}v.push(t[f.value])}else v.push(f.value);return n&&(u=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+"`")}(l,e),h=s(e.slice(l+1,u),t),a=r.default.cloneElement(n,{},h),v.push(a),u<e.length-1&&(d=s(e.slice(u+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(c=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 s(i,n)}catch(e){if(r)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[52,8],{219: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},243:function(e,t,n){"use strict";var o=n(20),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(219),a=n(244),l=n(245),c="function"==typeof Symbol&&Symbol.iterator;function s(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 u(e,t,n,o){var i,l=typeof e;if("undefined"!==l&&"boolean"!==l||(e=null),null===e||"string"===l||"number"===l||"object"===l&&e.$$typeof===r)return n(o,e,""===t?"."+s(e,0):t),1;var f=0,p=""===t?".":t+":";if(Array.isArray(e))for(var h=0;h<e.length;h++)f+=u(i=e[h],p+s(i,h),n,o);else{var d=function(e){var t=e&&(c&&e[c]||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+=u(i=v.value,p+s(i,b++),n,o)}else if("object"===l){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,l=e.result,c=e.keyPrefix,s=e.func,u=e.context,f=s.call(u,t,e.count++);Array.isArray(f)?w(f,l,n,i.thatReturnsArgument):null!=f&&(o.isValidElement(f)&&(r=f,a=c+(!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)),l.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||u(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 l(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(o.isValidElement(e))return l(!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}},244:function(e,t,n){"use strict";e.exports=function(e,t,n,o,r,i,a,l){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 s=[n,o,r,i,a,l],u=0;(c=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},245:function(e,t,n){"use strict";var o=n(219);e.exports=o},246: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)}},266:function(e,t,n){n(12)({target:"Number",stat:!0},{isFinite:n(288)})},288:function(e,t,n){var o=n(3).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&o(e)}},325: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,l=(e.icon,e.className),c=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"]),s=["gridicon","gridicons-notice-outline",l,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:s,height:r,width:r,onClick:i},c,{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(20),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},328: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,l=(e.icon,e.className),c=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"]),s=["gridicon","gridicons-star",l,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:s,height:r,width:r,onClick:i},c,{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(20),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},405:function(e,t,n){"use strict";var o=n(12),r=n(406);o({target:"String",proto:!0,forced:n(407)("link")},{link:function(e){return r(this,"a","href",e)}})},406:function(e,t,n){var o=n(32),r=/"/g;e.exports=function(e,t,n,i){var a=String(o(e)),l="<"+t;return""!==n&&(l+=" "+n+'="'+String(i).replace(r,""")+'"'),l+">"+a+"</"+t+">"}},407:function(e,t,n){var o=n(6);e.exports=function(e){return o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},631: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),l=n(0),c=n.n(l),s=n(3),u=n.n(s);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()},l={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,l.fn),n.debounceCheck[t]=l})),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},l=e.height>0&&e.width>0,c=l&&a.top&&a.left&&a.bottom&&a.right;if(l&&n.props.partialVisibility){var s=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof n.props.partialVisibility&&(s=a[n.props.partialVisibility]),c=n.props.minTopValue?s&&e.top<=t.bottom-n.props.minTopValue:s}"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),c=u()(i,e,t));var p=n.state;return n.state.isVisible!==c&&(p={isVisible:c,visibilityRect:a},n.setState(p),n.props.onChange&&n.props.onChange(c)),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:c.a.func,active:c.a.bool,partialVisibility:c.a.oneOfType([c.a.bool,c.a.oneOf(["top","right","bottom","left"])]),delayedCall:c.a.bool,offset:c.a.oneOfType([c.a.shape({top:c.a.number,left:c.a.number,bottom:c.a.number,right:c.a.number}),c.a.shape({direction:c.a.oneOf(["top","right","bottom","left"]),value:c.a.number})]),scrollCheck:c.a.bool,scrollDelay:c.a.number,scrollThrottle:c.a.number,resizeCheck:c.a.bool,resizeDelay:c.a.number,resizeThrottle:c.a.number,intervalCheck:c.a.bool,intervalDelay:c.a.number,containment:"undefined"!=typeof window?c.a.instanceOf(window.Element):c.a.any,children:c.a.oneOfType([c.a.element,c.a.func]),minTopValue:c.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 l=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 l.name="Invariant Violation",l}}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(20),n(163))},632:function(e,t,n){"use strict";var o,r=n(12),i=n(33).f,a=n(34),l=n(207),c=n(32),s=n(208),u=n(57),f="".startsWith,p=Math.min,h=s("startsWith");r({target:"String",proto:!0,forced:!!(u||h||(o=i(String.prototype,"startsWith"),!o||o.writable))&&!h},{startsWith:function(e){var t=String(c(this));l(e);var n=a(p(arguments.length>1?arguments[1]:void 0,t.length)),o=String(e);return f?f.call(t,o,n):t.slice(n,n+o.length)===o}})},644: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,l=(e.icon,e.className),c=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"]),s=["gridicon","gridicons-star-outline",l,(t=r,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",o({className:s,height:r,width:r,onClick:i},c,{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(20),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},693:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},694:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},695:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(o.createElement)(r.Path,{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},696:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"}));t.a=i},697:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},698:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},699:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},700:function(e,t,n){"use strict";var o=n(0),r=n(28),i=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{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},99: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=l(n(20)),i=l(n(243)),a=l(n(246));function l(e){return e&&e.__esModule?e:{default:e}}var c=void 0;function s(e,t){var n,a,l,u,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> "+c);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],l=p;break}v.push(t[f.value])}else v.push(f.value);return n&&(u=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+"`")}(l,e),h=s(e.slice(l+1,u),t),a=r.default.cloneElement(n,{},h),v.push(a),u<e.length-1&&(d=s(e.slice(u+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(c=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 s(i,n)}catch(e){if(r)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}}}]);
|
dist/chunks/53.js
CHANGED
@@ -581,7 +581,7 @@ $({ target: 'Object', stat: true }, {
|
|
581 |
|
582 |
var $ = __webpack_require__(12);
|
583 |
var $trim = __webpack_require__(188).trim;
|
584 |
-
var forcedStringTrimMethod = __webpack_require__(
|
585 |
|
586 |
// `String.prototype.trim` method
|
587 |
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
@@ -623,7 +623,7 @@ addToUnscopables(FIND_INDEX);
|
|
623 |
|
624 |
/***/ }),
|
625 |
|
626 |
-
/***/
|
627 |
/***/ (function(module, exports, __webpack_require__) {
|
628 |
|
629 |
var fails = __webpack_require__(6);
|
@@ -642,15 +642,15 @@ module.exports = function (METHOD_NAME) {
|
|
642 |
|
643 |
/***/ }),
|
644 |
|
645 |
-
/***/
|
646 |
/***/ (function(module, exports, __webpack_require__) {
|
647 |
|
648 |
"use strict";
|
649 |
|
650 |
var $ = __webpack_require__(12);
|
651 |
var toInteger = __webpack_require__(42);
|
652 |
-
var thisNumberValue = __webpack_require__(
|
653 |
-
var repeat = __webpack_require__(
|
654 |
var fails = __webpack_require__(6);
|
655 |
|
656 |
var nativeToFixed = 1.0.toFixed;
|
@@ -775,7 +775,7 @@ $({ target: 'Number', proto: true, forced: FORCED }, {
|
|
775 |
|
776 |
/***/ }),
|
777 |
|
778 |
-
/***/
|
779 |
/***/ (function(module, exports, __webpack_require__) {
|
780 |
|
781 |
var classof = __webpack_require__(30);
|
@@ -792,7 +792,7 @@ module.exports = function (value) {
|
|
792 |
|
793 |
/***/ }),
|
794 |
|
795 |
-
/***/
|
796 |
/***/ (function(module, exports, __webpack_require__) {
|
797 |
|
798 |
"use strict";
|
581 |
|
582 |
var $ = __webpack_require__(12);
|
583 |
var $trim = __webpack_require__(188).trim;
|
584 |
+
var forcedStringTrimMethod = __webpack_require__(404);
|
585 |
|
586 |
// `String.prototype.trim` method
|
587 |
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
623 |
|
624 |
/***/ }),
|
625 |
|
626 |
+
/***/ 404:
|
627 |
/***/ (function(module, exports, __webpack_require__) {
|
628 |
|
629 |
var fails = __webpack_require__(6);
|
642 |
|
643 |
/***/ }),
|
644 |
|
645 |
+
/***/ 408:
|
646 |
/***/ (function(module, exports, __webpack_require__) {
|
647 |
|
648 |
"use strict";
|
649 |
|
650 |
var $ = __webpack_require__(12);
|
651 |
var toInteger = __webpack_require__(42);
|
652 |
+
var thisNumberValue = __webpack_require__(409);
|
653 |
+
var repeat = __webpack_require__(410);
|
654 |
var fails = __webpack_require__(6);
|
655 |
|
656 |
var nativeToFixed = 1.0.toFixed;
|
775 |
|
776 |
/***/ }),
|
777 |
|
778 |
+
/***/ 409:
|
779 |
/***/ (function(module, exports, __webpack_require__) {
|
780 |
|
781 |
var classof = __webpack_require__(30);
|
792 |
|
793 |
/***/ }),
|
794 |
|
795 |
+
/***/ 410:
|
796 |
/***/ (function(module, exports, __webpack_require__) {
|
797 |
|
798 |
"use strict";
|
dist/chunks/53.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[53],{219: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},220:function(e,t,n){"use strict";var r=n(12),o=n(13),i=n(3),a=n(11),c=n(10),l=n(17).f,u=n(103),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var f={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof v?new s(e):void 0===e?s():s(e);return""===e&&(f[t]=!0),t};u(v,s);var d=v.prototype=s.prototype;d.constructor=v;var p=d.toString,h="Symbol(test)"==String(s("test")),m=/^Symbol\((.*)\)[^)]+$/;l(d,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=p.call(e);if(a(f,e))return"";var n=h?t.slice(7,-1):t.replace(m,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:v})}},243:function(e,t,n){"use strict";var r=n(20),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(219),a=n(244),c=n(245),l="function"==typeof Symbol&&Symbol.iterator;function u(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,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===o)return n(r,e,""===t?"."+u(e,0):t),1;var f=0,v=""===t?".":t+":";if(Array.isArray(e))for(var d=0;d<e.length;d++)f+=s(i=e[d],v+u(i,d),n,r);else{var p=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(p){0;for(var h,m=p.call(e),g=0;!(h=m.next()).done;)f+=s(i=h.value,v+u(i,g++),n,r)}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 v(e){return(""+e).replace(f,"$&/")}var d,p,h=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=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,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function w(e,t,n){var o,a,c=e.result,l=e.keyPrefix,u=e.func,s=e.context,f=u.call(s,t,e.count++);Array.isArray(f)?b(f,c,n,i.thatReturnsArgument):null!=f&&(r.isValidElement(f)&&(o=f,a=l+(!f.key||t&&t.key===f.key?"":v(f.key)+"/")+n,f=r.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),c.push(f))}function b(e,t,n,r,o){var i="";null!=n&&(i=v(n)+"/");var a=y.getPooled(t,i,r,o);!function(e,t,n){null==e||s(e,"",t,n)}(e,w,a),y.release(a)}y.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=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)},(p=y).instancePool=[],p.getPooled=d||h,p.poolSize||(p.poolSize=10),p.release=g;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(r.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)b(e[n],t,n,i.thatReturnsArgument);return t}},244:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,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,r,o,i,a,c],s=0;(l=new Error(t.replace(/%s/g,(function(){return u[s++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},245:function(e,t,n){"use strict";var r=n(219);e.exports=r},246: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)}},282:function(e,t,n){var r=n(12),o=n(249).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},319:function(e,t,n){"use strict";var r=n(12),o=n(188).trim;r({target:"String",proto:!0,forced:n(403)("trim")},{trim:function(){return o(this)}})},320:function(e,t,n){"use strict";var r=n(12),o=n(75).findIndex,i=n(118),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},403:function(e,t,n){var r=n(6),o=n(189);e.exports=function(e){return r((function(){return!!o[e]()||"
"!="
"[e]()||o[e].name!==e}))}},407:function(e,t,n){"use strict";var r=n(12),o=n(42),i=n(408),a=n(409),c=n(6),l=1..toFixed,u=Math.floor,s=function(e,t,n){return 0===t?n:t%2==1?s(e,t-1,n*e):s(e*e,t/2,n)},f=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=u(o/1e7)},v=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=u(r/t),r=r%t*1e7},d=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=String(e[t]);n=""===n?r:n+a.call("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){l.call({})}))},{toFixed:function(e){var t,n,r,c,l=i(this),u=o(e),p=[0,0,0,0,0,0],h="",m="0";if(u<0||u>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*s(2,69,1))-69)<0?l*s(2,-t,1):l/s(2,t,1),n*=4503599627370496,(t=52-t)>0){for(f(p,0,n),r=u;r>=7;)f(p,1e7,0),r-=7;for(f(p,s(10,r,1),0),r=t-1;r>=23;)v(p,1<<23),r-=23;v(p,1<<r),f(p,1,1),v(p,2),m=d(p)}else f(p,0,n),f(p,1<<-t,0),m=d(p)+a.call("0",u);return m=u>0?h+((c=m.length)<=u?"0."+a.call("0",u-c)+m:m.slice(0,c-u)+"."+m.slice(c-u)):h+m}})},408:function(e,t,n){var r=n(30);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},409:function(e,t,n){"use strict";var r=n(42),o=n(32);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},668: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,n=e.size,o=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),l=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-info",c,(t=o,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:u,height:o,width:o,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 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})))};var o,i=n(20),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},670: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"]),l=["gridicon","gridicons-cloud-upload",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,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:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-5 4v3h-2v-3H8l4-5 4 5h-3z"})))};var o,i=n(20),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},671: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"]),l=["gridicon","gridicons-phone",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,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:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"})))};var o,i=n(20),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},672: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"]),l=["gridicon","gridicons-tablet",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,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:"M18 2H6c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h12c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-5 19h-2v-1h2v1zm5-2H6V5h12v14z"})))};var o,i=n(20),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},673: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"]),l=["gridicon","gridicons-computer",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,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:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"})))};var o,i=n(20),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},675:function(e,t){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}},701:function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}));t.a=i},702:function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=i},703:function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}));t.a=i},99: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=c(n(20)),i=c(n(243)),a=c(n(246));function c(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function u(e,t){var n,a,c,s,f,v,d,p,h=[],m={};for(v=0;v<e.length;v++)if("string"!==(f=e[v]).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> "+l);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],c=v;break}h.push(t[f.value])}else h.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+"`")}(c,e),d=u(e.slice(c+1,s),t),a=o.default.cloneElement(n,{},d),h.push(a),s<e.length-1&&(p=u(e.slice(s+1),t),h=h.concat(p))),1===h.length?h[0]:(h.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,o=e.throwErrors;if(l=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 u(i,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[53],{219: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},220:function(e,t,n){"use strict";var r=n(12),o=n(13),i=n(3),a=n(11),c=n(10),l=n(17).f,u=n(103),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var f={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof v?new s(e):void 0===e?s():s(e);return""===e&&(f[t]=!0),t};u(v,s);var d=v.prototype=s.prototype;d.constructor=v;var p=d.toString,h="Symbol(test)"==String(s("test")),m=/^Symbol\((.*)\)[^)]+$/;l(d,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=p.call(e);if(a(f,e))return"";var n=h?t.slice(7,-1):t.replace(m,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:v})}},243:function(e,t,n){"use strict";var r=n(20),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(219),a=n(244),c=n(245),l="function"==typeof Symbol&&Symbol.iterator;function u(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,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===o)return n(r,e,""===t?"."+u(e,0):t),1;var f=0,v=""===t?".":t+":";if(Array.isArray(e))for(var d=0;d<e.length;d++)f+=s(i=e[d],v+u(i,d),n,r);else{var p=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(p){0;for(var h,m=p.call(e),g=0;!(h=m.next()).done;)f+=s(i=h.value,v+u(i,g++),n,r)}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 v(e){return(""+e).replace(f,"$&/")}var d,p,h=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=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,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function w(e,t,n){var o,a,c=e.result,l=e.keyPrefix,u=e.func,s=e.context,f=u.call(s,t,e.count++);Array.isArray(f)?b(f,c,n,i.thatReturnsArgument):null!=f&&(r.isValidElement(f)&&(o=f,a=l+(!f.key||t&&t.key===f.key?"":v(f.key)+"/")+n,f=r.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),c.push(f))}function b(e,t,n,r,o){var i="";null!=n&&(i=v(n)+"/");var a=y.getPooled(t,i,r,o);!function(e,t,n){null==e||s(e,"",t,n)}(e,w,a),y.release(a)}y.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=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)},(p=y).instancePool=[],p.getPooled=d||h,p.poolSize||(p.poolSize=10),p.release=g;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(r.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)b(e[n],t,n,i.thatReturnsArgument);return t}},244:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,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,r,o,i,a,c],s=0;(l=new Error(t.replace(/%s/g,(function(){return u[s++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},245:function(e,t,n){"use strict";var r=n(219);e.exports=r},246: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)}},282:function(e,t,n){var r=n(12),o=n(249).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},319:function(e,t,n){"use strict";var r=n(12),o=n(188).trim;r({target:"String",proto:!0,forced:n(404)("trim")},{trim:function(){return o(this)}})},320:function(e,t,n){"use strict";var r=n(12),o=n(75).findIndex,i=n(118),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},404:function(e,t,n){var r=n(6),o=n(189);e.exports=function(e){return r((function(){return!!o[e]()||"
"!="
"[e]()||o[e].name!==e}))}},408:function(e,t,n){"use strict";var r=n(12),o=n(42),i=n(409),a=n(410),c=n(6),l=1..toFixed,u=Math.floor,s=function(e,t,n){return 0===t?n:t%2==1?s(e,t-1,n*e):s(e*e,t/2,n)},f=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=u(o/1e7)},v=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=u(r/t),r=r%t*1e7},d=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=String(e[t]);n=""===n?r:n+a.call("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){l.call({})}))},{toFixed:function(e){var t,n,r,c,l=i(this),u=o(e),p=[0,0,0,0,0,0],h="",m="0";if(u<0||u>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*s(2,69,1))-69)<0?l*s(2,-t,1):l/s(2,t,1),n*=4503599627370496,(t=52-t)>0){for(f(p,0,n),r=u;r>=7;)f(p,1e7,0),r-=7;for(f(p,s(10,r,1),0),r=t-1;r>=23;)v(p,1<<23),r-=23;v(p,1<<r),f(p,1,1),v(p,2),m=d(p)}else f(p,0,n),f(p,1<<-t,0),m=d(p)+a.call("0",u);return m=u>0?h+((c=m.length)<=u?"0."+a.call("0",u-c)+m:m.slice(0,c-u)+"."+m.slice(c-u)):h+m}})},409:function(e,t,n){var r=n(30);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},410:function(e,t,n){"use strict";var r=n(42),o=n(32);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},668: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,n=e.size,o=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),l=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-info",c,(t=o,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:u,height:o,width:o,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 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})))};var o,i=n(20),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},670: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"]),l=["gridicon","gridicons-cloud-upload",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,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:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-5 4v3h-2v-3H8l4-5 4 5h-3z"})))};var o,i=n(20),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},671: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"]),l=["gridicon","gridicons-phone",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,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:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"})))};var o,i=n(20),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},672: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"]),l=["gridicon","gridicons-tablet",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,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:"M18 2H6c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h12c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-5 19h-2v-1h2v1zm5-2H6V5h12v14z"})))};var o,i=n(20),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},673: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"]),l=["gridicon","gridicons-computer",i,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,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:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"})))};var o,i=n(20),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},675:function(e,t){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}},701:function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}));t.a=i},702:function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=i},703:function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}));t.a=i},99: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=c(n(20)),i=c(n(243)),a=c(n(246));function c(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function u(e,t){var n,a,c,s,f,v,d,p,h=[],m={};for(v=0;v<e.length;v++)if("string"!==(f=e[v]).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> "+l);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],c=v;break}h.push(t[f.value])}else h.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+"`")}(c,e),d=u(e.slice(c+1,s),t),a=o.default.cloneElement(n,{},d),h.push(a),s<e.length-1&&(p=u(e.slice(s+1),t),h=h.concat(p))),1===h.length?h[0]:(h.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,o=e.throwErrors;if(l=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 u(i,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}}}]);
|
dist/chunks/54.js
CHANGED
@@ -499,14 +499,14 @@ module.exports = function (mixedString) {
|
|
499 |
|
500 |
/***/ }),
|
501 |
|
502 |
-
/***/
|
503 |
/***/ (function(module, exports, __webpack_require__) {
|
504 |
|
505 |
"use strict";
|
506 |
|
507 |
var $ = __webpack_require__(12);
|
508 |
-
var createHTML = __webpack_require__(
|
509 |
-
var forcedStringHTMLMethod = __webpack_require__(
|
510 |
|
511 |
// `String.prototype.link` method
|
512 |
// https://tc39.es/ecma262/#sec-string.prototype.link
|
@@ -519,7 +519,7 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {
|
|
519 |
|
520 |
/***/ }),
|
521 |
|
522 |
-
/***/
|
523 |
/***/ (function(module, exports, __webpack_require__) {
|
524 |
|
525 |
var requireObjectCoercible = __webpack_require__(32);
|
@@ -538,7 +538,7 @@ module.exports = function (string, tag, attribute, value) {
|
|
538 |
|
539 |
/***/ }),
|
540 |
|
541 |
-
/***/
|
542 |
/***/ (function(module, exports, __webpack_require__) {
|
543 |
|
544 |
var fails = __webpack_require__(6);
|
499 |
|
500 |
/***/ }),
|
501 |
|
502 |
+
/***/ 405:
|
503 |
/***/ (function(module, exports, __webpack_require__) {
|
504 |
|
505 |
"use strict";
|
506 |
|
507 |
var $ = __webpack_require__(12);
|
508 |
+
var createHTML = __webpack_require__(406);
|
509 |
+
var forcedStringHTMLMethod = __webpack_require__(407);
|
510 |
|
511 |
// `String.prototype.link` method
|
512 |
// https://tc39.es/ecma262/#sec-string.prototype.link
|
519 |
|
520 |
/***/ }),
|
521 |
|
522 |
+
/***/ 406:
|
523 |
/***/ (function(module, exports, __webpack_require__) {
|
524 |
|
525 |
var requireObjectCoercible = __webpack_require__(32);
|
538 |
|
539 |
/***/ }),
|
540 |
|
541 |
+
/***/ 407:
|
542 |
/***/ (function(module, exports, __webpack_require__) {
|
543 |
|
544 |
var fails = __webpack_require__(6);
|
dist/chunks/54.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[54],{219: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},243:function(e,t,n){"use strict";var r=n(20),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(219),a=n(244),u=n(245),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}},244: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}}},245:function(e,t,n){"use strict";var r=n(219);e.exports=r},246: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)}},
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[54],{219: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},243:function(e,t,n){"use strict";var r=n(20),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(219),a=n(244),u=n(245),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}},244: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}}},245:function(e,t,n){"use strict";var r=n(219);e.exports=r},246: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)}},405:function(e,t,n){"use strict";var r=n(12),o=n(406);r({target:"String",proto:!0,forced:n(407)("link")},{link:function(e){return o(this,"a","href",e)}})},406:function(e,t,n){var r=n(32),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+String(i).replace(o,""")+'"'),u+">"+a+"</"+t+">"}},407:function(e,t,n){var r=n(6);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},630:function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=i},678:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n(679);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))}}))}},679:function(e,t,n){"use strict";(function(e,r){var o,i=n(681);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(96),n(680)(e))},680: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}},681: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}))},706:function(e,t,n){"use strict";var r=n(0),o=n(28),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{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},99: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(20)),i=u(n(243)),a=u(n(246));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}}}}]);
|
dist/chunks/6.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[6],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
7 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createNoticesFromResponse; });
|
8 |
-
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
9 |
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__);
|
10 |
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49);
|
11 |
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
|
@@ -38,7 +38,7 @@ function createNoticesFromResponse(response) {
|
|
38 |
|
39 |
/***/ }),
|
40 |
|
41 |
-
/***/
|
42 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
43 |
|
44 |
"use strict";
|
@@ -55,7 +55,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
55 |
/* harmony import */ var interpolate_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(interpolate_components__WEBPACK_IMPORTED_MODULE_4__);
|
56 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(145);
|
57 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_5__);
|
58 |
-
/* harmony import */ var _profile_wizard_steps_usage_modal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
59 |
|
60 |
|
61 |
|
@@ -120,7 +120,7 @@ var WCPayUsageModal = function WCPayUsageModal() {
|
|
120 |
|
121 |
/***/ }),
|
122 |
|
123 |
-
/***/
|
124 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
125 |
|
126 |
"use strict";
|
@@ -128,7 +128,7 @@ var WCPayUsageModal = function WCPayUsageModal() {
|
|
128 |
/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_0__);
|
129 |
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16);
|
130 |
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);
|
131 |
-
/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
132 |
/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__);
|
133 |
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22);
|
134 |
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3__);
|
@@ -393,7 +393,7 @@ var UsageModal = /*#__PURE__*/function (_Component) {
|
|
393 |
|
394 |
/***/ }),
|
395 |
|
396 |
-
/***/
|
397 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
398 |
|
399 |
"use strict";
|
@@ -405,7 +405,7 @@ __webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport
|
|
405 |
__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ wcpay_usage_modal["default"]; });
|
406 |
|
407 |
// EXTERNAL MODULE: ./client/task-list/tasks/payments/wcpay/wcpay-usage-modal.js
|
408 |
-
var wcpay_usage_modal = __webpack_require__(
|
409 |
|
410 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
411 |
var es_reflect_construct = __webpack_require__(64);
|
@@ -531,7 +531,7 @@ var external_wc_data_ = __webpack_require__(59);
|
|
531 |
var external_wc_tracks_ = __webpack_require__(92);
|
532 |
|
533 |
// EXTERNAL MODULE: ./client/lib/notices/index.js
|
534 |
-
var notices = __webpack_require__(
|
535 |
|
536 |
// CONCATENATED MODULE: ./client/task-list/tasks/payments/wcpay/install-activate-and-connect.js
|
537 |
/**
|
@@ -592,7 +592,7 @@ function installActivateAndConnectWcpay(reject, createNotice, installAndActivate
|
|
592 |
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ getPaymentMethods; });
|
593 |
|
594 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
595 |
-
var es_object_keys = __webpack_require__(
|
596 |
|
597 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
598 |
var es_symbol = __webpack_require__(53);
|
@@ -647,7 +647,7 @@ var external_regeneratorRuntime_ = __webpack_require__(16);
|
|
647 |
var external_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_regeneratorRuntime_);
|
648 |
|
649 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
|
650 |
-
var asyncToGenerator = __webpack_require__(
|
651 |
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
652 |
|
653 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/classCallCheck.js
|
@@ -1802,7 +1802,7 @@ var square_Square = /*#__PURE__*/function (_Component) {
|
|
1802 |
};
|
1803 |
}))(square_Square));
|
1804 |
// EXTERNAL MODULE: ./client/task-list/tasks/payments/wcpay/index.js + 3 modules
|
1805 |
-
var payments_wcpay = __webpack_require__(
|
1806 |
|
1807 |
// EXTERNAL MODULE: external ["wp","url"]
|
1808 |
var external_wp_url_ = __webpack_require__(78);
|
@@ -3037,13 +3037,13 @@ var payu_india_PayUCredentialsStep = function PayUCredentialsStep(_ref2) {
|
|
3037 |
}, Object(external_wp_i18n_["__"])('Continue', 'woocommerce-admin')));
|
3038 |
};
|
3039 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
3040 |
-
var es_function_name = __webpack_require__(
|
3041 |
|
3042 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
3043 |
-
var es_string_replace = __webpack_require__(
|
3044 |
|
3045 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
3046 |
-
var es_array_map = __webpack_require__(
|
3047 |
|
3048 |
// CONCATENATED MODULE: ./client/task-list/tasks/payments/generic-payment-step.js
|
3049 |
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[6],{
|
2 |
|
3 |
+
/***/ 607:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
7 |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createNoticesFromResponse; });
|
8 |
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(37);
|
9 |
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__);
|
10 |
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49);
|
11 |
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
|
38 |
|
39 |
/***/ }),
|
40 |
|
41 |
+
/***/ 609:
|
42 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
43 |
|
44 |
"use strict";
|
55 |
/* harmony import */ var interpolate_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(interpolate_components__WEBPACK_IMPORTED_MODULE_4__);
|
56 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(145);
|
57 |
/* harmony import */ var _woocommerce_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_components__WEBPACK_IMPORTED_MODULE_5__);
|
58 |
+
/* harmony import */ var _profile_wizard_steps_usage_modal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(610);
|
59 |
|
60 |
|
61 |
|
120 |
|
121 |
/***/ }),
|
122 |
|
123 |
+
/***/ 610:
|
124 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
125 |
|
126 |
"use strict";
|
128 |
/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_0__);
|
129 |
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16);
|
130 |
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);
|
131 |
+
/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(134);
|
132 |
/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__);
|
133 |
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22);
|
134 |
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3__);
|
393 |
|
394 |
/***/ }),
|
395 |
|
396 |
+
/***/ 615:
|
397 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
398 |
|
399 |
"use strict";
|
405 |
__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ wcpay_usage_modal["default"]; });
|
406 |
|
407 |
// EXTERNAL MODULE: ./client/task-list/tasks/payments/wcpay/wcpay-usage-modal.js
|
408 |
+
var wcpay_usage_modal = __webpack_require__(609);
|
409 |
|
410 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
411 |
var es_reflect_construct = __webpack_require__(64);
|
531 |
var external_wc_tracks_ = __webpack_require__(92);
|
532 |
|
533 |
// EXTERNAL MODULE: ./client/lib/notices/index.js
|
534 |
+
var notices = __webpack_require__(607);
|
535 |
|
536 |
// CONCATENATED MODULE: ./client/task-list/tasks/payments/wcpay/install-activate-and-connect.js
|
537 |
/**
|
592 |
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ getPaymentMethods; });
|
593 |
|
594 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
595 |
+
var es_object_keys = __webpack_require__(37);
|
596 |
|
597 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
598 |
var es_symbol = __webpack_require__(53);
|
647 |
var external_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_regeneratorRuntime_);
|
648 |
|
649 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js
|
650 |
+
var asyncToGenerator = __webpack_require__(134);
|
651 |
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
652 |
|
653 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/classCallCheck.js
|
1802 |
};
|
1803 |
}))(square_Square));
|
1804 |
// EXTERNAL MODULE: ./client/task-list/tasks/payments/wcpay/index.js + 3 modules
|
1805 |
+
var payments_wcpay = __webpack_require__(615);
|
1806 |
|
1807 |
// EXTERNAL MODULE: external ["wp","url"]
|
1808 |
var external_wp_url_ = __webpack_require__(78);
|
3037 |
}, Object(external_wp_i18n_["__"])('Continue', 'woocommerce-admin')));
|
3038 |
};
|
3039 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
3040 |
+
var es_function_name = __webpack_require__(129);
|
3041 |
|
3042 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
3043 |
+
var es_string_replace = __webpack_require__(135);
|
3044 |
|
3045 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
3046 |
+
var es_array_map = __webpack_require__(51);
|
3047 |
|
3048 |
// CONCATENATED MODULE: ./client/task-list/tasks/payments/generic-payment-step.js
|
3049 |
|
dist/chunks/6.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[6],{606:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(38),n(49),n(139);var c=n(26);function r(e){var t=Object(c.dispatch)("core/notices").createNotice;e.error_data&&e.errors&&Object.keys(e.errors).length?Object.keys(e.errors).forEach((function(n){t("error",e.errors[n].join(" "))})):e.message&&t(e.code?"error":"success",e.message)}},608:function(e,t,n){"use strict";n.r(t);var c=n(43),r=n.n(c),o=n(0),a=n(2),i=n(50),s=n(99),l=n.n(s),m=n(145),u=n(609);t.default=function(){var e="1"===Object(i.getQuery)()["wcpay-connection-success"],t=Object(o.useState)(e),n=r()(t,2),c=n[0],s=n[1];if(!c)return null;var p=function(){s(!1),Object(i.updateQueryString)({"wcpay-connection-success":void 0})},d=Object(a.__)("Help us build a better WooCommerce Payments experience","woocommerce-admin"),b=l()({mixedString:Object(a.__)("By agreeing to share non-sensitive {{link}}usage data{{/link}}, you’ll help us improve features and optimize the WooCommerce Payments experience. You can opt out at any time.","woocommerce-admin"),components:{link:Object(o.createElement)(m.Link,{href:"https://woocommerce.com/usage-tracking",target:"_blank",type:"external"})}});return Object(o.createElement)(u.a,{isDismissible:!1,title:d,message:b,acceptActionText:Object(a.__)("I agree","woocommerce-admin"),dismissActionText:Object(a.__)("No thanks","woocommerce-admin"),onContinue:p,onClose:p})}},609:function(e,t,n){"use strict";n(64);var c=n(16),r=n.n(c),o=n(135),a=n.n(o),i=n(22),s=n.n(i),l=n(23),m=n.n(l),u=n(24),p=n.n(u),d=n(25),b=n.n(d),f=n(14),_=n.n(f),h=n(0),y=n(2),g=n(65),O=n(26),w=n(99),j=n.n(w),k=n(4),v=n(145),C=n(59);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=_()(e);if(t){var r=_()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return b()(this,n)}}var P=function(e){p()(c,e);var t,n=E(c);function c(e){var t;return s()(this,c),(t=n.call(this,e)).state={isLoadingScripts:!1,isRequestStarted:!1},t}return m()(c,[{key:"componentDidUpdate",value:(t=a()(r.a.mark((function e(t,n){var c,o,a,i,s,l,m,u,p,d;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=this.props,o=c.hasErrors,a=c.isRequesting,i=c.onClose,s=c.onContinue,l=c.createNotice,m=this.state,u=m.isLoadingScripts,m.isRequestStarted){e.next=4;break}return e.abrupt("return");case 4:p=!a&&!u&&(t.isRequesting||n.isLoadingScripts)&&!o,d=!a&&t.isRequesting&&o,p&&(i(),s()),d&&(l("error",Object(y.__)("There was a problem updating your preferences","woocommerce-admin")),i());case 8:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)})},{key:"updateTracking",value:function(e){var t=this,n=e.allowTracking,c=this.props.updateOptions;n&&"function"==typeof window.wcTracks.enable?(this.setState({isLoadingScripts:!0}),window.wcTracks.enable((function(){t._isMounted&&t.setState({isLoadingScripts:!1})}))):n||(window.wcTracks.isEnabled=!1);var r=n?"yes":"no";this.setState({isRequestStarted:!0}),c({woocommerce_allow_tracking:r})}},{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1}},{key:"render",value:function(){var e=this;if(this.props.allowTracking){var t=this.props,n=t.onClose,c=t.onContinue;return n(),c(),null}var r=this.props,o=r.isRequesting,a=r.title,i=void 0===a?Object(y.__)("Build a better WooCommerce","woocommerce-admin"):a,s=r.message,l=void 0===s?j()({mixedString:Object(y.__)("Get improved features and faster fixes by sharing non-sensitive data via {{link}}usage tracking{{/link}} that shows us how WooCommerce is used. No personal data is tracked or stored.","woocommerce-admin"),components:{link:Object(h.createElement)(v.Link,{href:"https://woocommerce.com/usage-tracking",target:"_blank",type:"external"})}}):s,m=r.dismissActionText,u=void 0===m?Object(y.__)("No thanks","woocommerce-admin"):m,p=r.acceptActionText,d=void 0===p?Object(y.__)("Yes, count me in!","woocommerce-admin"):p,b=this.state.isRequestStarted&&o;return Object(h.createElement)(k.Modal,{title:i,isDismissible:this.props.isDismissible,onRequestClose:function(){return e.props.onClose()},className:"woocommerce-usage-modal"},Object(h.createElement)("div",{className:"woocommerce-usage-modal__wrapper"},Object(h.createElement)("div",{className:"woocommerce-usage-modal__message"},l),Object(h.createElement)("div",{className:"woocommerce-usage-modal__actions"},Object(h.createElement)(k.Button,{isSecondary:!0,isBusy:b,onClick:function(){return e.updateTracking({allowTracking:!1})}},u),Object(h.createElement)(k.Button,{isPrimary:!0,isBusy:b,onClick:function(){return e.updateTracking({allowTracking:!0})}},d))))}}]),c}(h.Component);t.a=Object(g.compose)(Object(O.withSelect)((function(e){var t=e(C.OPTIONS_STORE_NAME),n=t.getOption,c=t.getOptionsUpdatingError,r=t.isOptionsUpdating;return{allowTracking:"yes"===n("woocommerce_allow_tracking"),isRequesting:Boolean(r()),hasErrors:Boolean(c())}})),Object(O.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(C.OPTIONS_STORE_NAME).updateOptions}})))(P)},614:function(e,t,n){"use strict";n.d(t,"d",(function(){return w})),n.d(t,"c",(function(){return P})),n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return c.default}));var c=n(608),r=(n(64),n(22)),o=n.n(r),a=n(23),i=n.n(a),s=n(24),l=n.n(s),m=n(25),u=n.n(m),p=n(14),d=n.n(p),b=n(2),f=n(0),_=n(26),h=n(50);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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return u()(this,n)}}var g=function(e){l()(n,e);var t=y(n);function n(){return o()(this,n),t.apply(this,arguments)}return i()(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.createNotice,n=e.markConfigured;Object(h.getQuery)()["wcpay-connection-success"]&&(t("success",Object(b.__)("WooCommerce Payments connected successfully.","woocommerce-admin")),n("wcpay",{"wcpay-connection-success":"1"}))}},{key:"render",value:function(){return null}}]),n}(f.Component),O=Object(_.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}}))(g);n(107);function w(e){var t=["US","PR"];return window.wcAdminFeatures&&window.wcAdminFeatures["wcpay/support-international-countries"]&&t.push("AU","CA","GB","IE","NZ"),t.includes(e)}var j=n(95),k=n.n(j),v=n(59),C=n(92),E=n(606);function P(e,t,n){var c=Object(b.__)("There was an error connecting to WooCommerce Payments. Please try again or connect later in store settings.","woocommerce-admin");n(["woocommerce-payments"]).then((function(){Object(C.recordEvent)("woocommerce_payments_install",{context:"tasklist"}),k()({path:v.WC_ADMIN_NAMESPACE+"/plugins/connect-wcpay",method:"POST"}).then((function(e){window.location=e.connectUrl})).catch((function(){t("error",c),e()}))})).catch((function(t){Object(E.a)(t),e()}))}},635:function(e,t,n){"use strict";n.d(t,"a",(function(){return Me}));n(38),n(53),n(60),n(49),n(61);var c=n(7),r=n.n(c),o=n(0),a=(n(107),n(140),n(41),n(2)),i=n(99),s=n.n(i),l=n(85),m=n(145),u=(n(64),n(80)),p=n.n(u),d=n(16),b=n.n(d),f=n(135),_=n.n(f),h=n(22),y=n.n(h),g=n(23),O=n.n(g),w=n(18),j=n.n(w),k=n(24),v=n.n(k),C=n(25),E=n.n(C),P=n(14),S=n.n(P),x=(n(66),n(4)),L=n(65),R=n(26),N=n(59);function A(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var T=function(e){v()(n,e);var t=A(n);function n(){var e;y()(this,n);for(var c=arguments.length,o=new Array(c),i=0;i<c;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),r()(j()(e),"getInitialConfigValues",(function(){return{account_name:"",account_number:"",bank_name:"",sort_code:"",iban:"",bic:""}})),r()(j()(e),"validate",(function(e){var t={};return e.account_number||e.iban||(t.account_number=t.iban=Object(a.__)("Please enter an account number or IBAN","woocommerce-admin")),t})),r()(j()(e),"updateSettings",function(){var t=_()(b.a.mark((function t(n){var c,r,o,i;return b.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=e.props,r=c.updateOptions,o=c.createNotice,i=c.markConfigured,t.next=3,r({woocommerce_bacs_settings:{enabled:"yes"},woocommerce_bacs_accounts:[n]});case 3:t.sent.success?(i("bacs"),o("success",Object(a.__)("Direct bank transfer details added successfully","woocommerce-admin"))):o("error",Object(a.__)("There was a problem saving your payment settings","woocommerce-admin"));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e}return O()(n,[{key:"render",value:function(){var e=this.props.isOptionsRequesting;return Object(o.createElement)(m.Form,{initialValues:this.getInitialConfigValues(),onSubmitCallback:this.updateSettings,validate:this.validate},(function(t){var n=t.getInputProps,c=t.handleSubmit;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.H,null,Object(a.__)("Add your bank details","woocommerce-admin")),Object(o.createElement)("p",null,Object(a.__)("These details are required to receive payments via bank transfer","woocommerce-admin")),Object(o.createElement)("div",{className:"woocommerce-task-payment-method__fields"},Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Account name","woocommerce-admin"),required:!0},n("account_name"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Account number","woocommerce-admin"),required:!0},n("account_number"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Bank name","woocommerce-admin"),required:!0},n("bank_name"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Sort code","woocommerce-admin"),required:!0},n("sort_code"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("IBAN","woocommerce-admin"),required:!0},n("iban"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("BIC / Swift","woocommerce-admin"),required:!0},n("bic")))),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:e,onClick:c},Object(a.__)("Save","woocommerce-admin")))}))}}]),n}(o.Component),M=Object(L.compose)(Object(R.withSelect)((function(e){return{isOptionsRequesting:(0,e(N.OPTIONS_STORE_NAME).isOptionsUpdating)()}})),Object(R.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(N.OPTIONS_STORE_NAME).updateOptions}})))(T),U=function(){return Object(o.createElement)("svg",{width:"96",height:"32",viewBox:"0 0 96 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("rect",{width:"32",height:"32",rx:"16",fill:"#8E9196"}),Object(o.createElement)("mask",{id:"bacs0","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"8",y:"8",width:"16",height:"16"},Object(o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.875 12.25L16 8.5L23.125 12.25V13.75H8.875V12.25ZM16 10.195L19.9075 12.25H12.0925L16 10.195ZM10.75 15.25H12.25V20.5H10.75V15.25ZM15.25 20.5V15.25H16.75V20.5H15.25ZM23.125 23.5V22H8.875V23.5H23.125ZM19.75 15.25H21.25V20.5H19.75V15.25Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#bacs0)"},Object(o.createElement)("rect",{x:"7",y:"7",width:"18",height:"18",fill:"white"})),Object(o.createElement)("mask",{id:"bacs1","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"39",y:"10",width:"18",height:"12"},Object(o.createElement)("path",{d:"M39 17L53.17 17L49.59 20.59L51 22L57 16L51 10L49.59 11.41L53.17 15L39 15L39 17Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#bacs1)"},Object(o.createElement)("rect",{x:"60",y:"28",width:"24",height:"24",transform:"rotate(-180 60 28)",fill:"#8E9196"})),Object(o.createElement)("rect",{x:"64",width:"32",height:"32",rx:"16",fill:"#8E9196"}),Object(o.createElement)("mask",{id:"bacs2","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"72",y:"8",width:"16",height:"16"},Object(o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.875 12.25L80 8.5L87.125 12.25V13.75H72.875V12.25ZM80 10.195L83.9075 12.25H76.0925L80 10.195ZM74.75 15.25H76.25V20.5H74.75V15.25ZM79.25 20.5V15.25H80.75V20.5H79.25ZM87.125 23.5V22H72.875V23.5H87.125ZM83.75 15.25H85.25V20.5H83.75V15.25Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#bacs2)"},Object(o.createElement)("rect",{x:"71",y:"7",width:"18",height:"18",fill:"white"})))},B=function(){return Object(o.createElement)("svg",{width:"96",height:"32",viewBox:"0 0 96 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("rect",{width:"32",height:"32",rx:"16",fill:"#8E9196"}),Object(o.createElement)("mask",{id:"cod-mask-0","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"7",y:"10",width:"18",height:"12"},Object(o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 13H19.75V10H9.25C8.425 10 7.75 10.675 7.75 11.5V19.75H9.25C9.25 20.995 10.255 22 11.5 22C12.745 22 13.75 20.995 13.75 19.75H18.25C18.25 20.995 19.255 22 20.5 22C21.745 22 22.75 20.995 22.75 19.75H24.25V16L22 13ZM21.625 14.125L23.095 16H19.75V14.125H21.625ZM10.75 19.75C10.75 20.1625 11.0875 20.5 11.5 20.5C11.9125 20.5 12.25 20.1625 12.25 19.75C12.25 19.3375 11.9125 19 11.5 19C11.0875 19 10.75 19.3375 10.75 19.75ZM13.165 18.25C12.7525 17.7925 12.1675 17.5 11.5 17.5C10.8325 17.5 10.2475 17.7925 9.835 18.25H9.25V11.5H18.25V18.25H13.165ZM19.75 19.75C19.75 20.1625 20.0875 20.5 20.5 20.5C20.9125 20.5 21.25 20.1625 21.25 19.75C21.25 19.3375 20.9125 19 20.5 19C20.0875 19 19.75 19.3375 19.75 19.75Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#cod-mask-0)"},Object(o.createElement)("rect",{x:"7",y:"7",width:"18",height:"18",fill:"white"})),Object(o.createElement)("mask",{id:"cod-mask-1","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"39",y:"10",width:"18",height:"12"},Object(o.createElement)("path",{d:"M39 17L53.17 17L49.59 20.59L51 22L57 16L51 10L49.59 11.41L53.17 15L39 15L39 17Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#cod-mask-1)"},Object(o.createElement)("rect",{x:"60",y:"28",width:"24",height:"24",transform:"rotate(-180 60 28)",fill:"#8E9196"})),Object(o.createElement)("rect",{x:"64",width:"32",height:"32",rx:"16",fill:"#8E9196"}),Object(o.createElement)("mask",{id:"cod-mask-2","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"76",y:"9",width:"8",height:"14"},Object(o.createElement)("path",{d:"M80.2926 15.175C78.5901 14.7325 78.0426 14.275 78.0426 13.5625C78.0426 12.745 78.8001 12.175 80.0676 12.175C81.4026 12.175 81.8976 12.8125 81.9426 13.75H83.6001C83.5476 12.46 82.7601 11.275 81.1926 10.8925V9.25H78.9426V10.87C77.4876 11.185 76.3176 12.13 76.3176 13.5775C76.3176 15.31 77.7501 16.1725 79.8426 16.675C81.7176 17.125 82.0926 17.785 82.0926 18.4825C82.0926 19 81.7251 19.825 80.0676 19.825C78.5226 19.825 77.9151 19.135 77.8326 18.25H76.1826C76.2726 19.8925 77.5026 20.815 78.9426 21.1225V22.75H81.1926V21.1375C82.6551 20.86 83.8176 20.0125 83.8176 18.475C83.8176 16.345 81.9951 15.6175 80.2926 15.175Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#cod-mask-2)"},Object(o.createElement)("rect",{x:"71",y:"7",width:"18",height:"18",fill:"white"})))},I=function(){return Object(o.createElement)("svg",{width:"100",height:"64",viewBox:"-10 0 120 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",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",fill:"#7F54B3"}),Object(o.createElement)("path",{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",fill:"white"}),Object(o.createElement)("path",{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",fill:"white"}),Object(o.createElement)("path",{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",fill:"white"}))},q=function(){return Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"24",fill:"#072654",viewBox:"0 0 1896 401"},Object(o.createElement)("path",{fill:"#3395FF",d:"M122.63 105.7l-15.75 57.97 90.15-58.3-58.96 219.98 59.88.05L285.05.48"}),Object(o.createElement)("path",{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"}))},F=function(){return Object(o.createElement)("svg",{fill:"none",viewBox:"0 0 677 200",width:"100",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("g",{fill:"#000"},Object(o.createElement)("path",{clipRule:"evenodd",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",fillRule:"evenodd"}),Object(o.createElement)("path",{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"}),Object(o.createElement)("path",{clipRule:"evenodd",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",fillRule:"evenodd"}),Object(o.createElement)("path",{d:"m403.26 3.15015h-32.205v194.25985h32.205z"}),Object(o.createElement)("path",{d:"m464.869 3.15015h-32.205v194.25985h32.205z"}),Object(o.createElement)("path",{d:"m526.478 68.5334h-32.205v128.8066h32.205z"}),Object(o.createElement)("path",{clipRule:"evenodd",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",fillRule:"evenodd"})))},V=function(){return Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 385.61334 192.41333",width:"100"},Object(o.createElement)("g",{transform:"matrix(1.3333333,0,0,-1.3333333,0,192.41333)"},Object(o.createElement)("g",{transform:"scale(0.1)",id:"g12"},Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 2507.22,898.414 c -18.79,0 -34.01,15.234 -34,34.024 l 0.05,150.352 h -12.54 c -77.78,0 -106.71,-12.83 -106.71,-83.685 V 833.316 c -0.01,-0.351 -0.05,-0.703 -0.05,-1.054 v -36.34 c -0.02,-1.258 -0.1,-2.43 -0.1,-3.731 V 560.543 c 0,-28.293 -5.45,-50.82 -16.7,-68.32 -21.21,-32.676 -63.2,-47.532 -130.38,-47.618 -67.15,0.086 -109.13,14.93 -130.34,47.579 -11.28,17.507 -16.74,40.046 -16.74,68.359 v 231.648 c 0,1.301 -0.07,2.473 -0.09,3.731 v 36.34 c 0,0.351 -0.04,0.703 -0.05,1.054 v 165.789 c 0,70.855 -28.93,83.685 -106.71,83.685 h -24.49 c -77.79,0 -106.71,-12.83 -106.71,-83.685 V 832.262 656.723 560.543 c 0,-70.547 15.91,-130.281 46.65,-178.434 59.37,-93.3 174.38,-142.988 337.88,-142.988 0.2,0 0.4,0.008 0.6,0.008 0.21,0 0.4,-0.008 0.61,-0.008 163.5,0 278.51,49.688 337.88,142.988 30.74,48.153 46.65,107.887 46.65,178.434 v 96.18 175.539 66.121 l -84.71,0.031"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 2866.82,1140.67 -127.94,0.05 c -13.95,0 -25.26,11.32 -25.25,25.27 l 0.04,129.52 c 0.01,13.96 11.33,25.27 25.28,25.27 l 127.93,-0.05 c 13.96,0 25.27,-11.32 25.27,-25.28 l -0.05,-129.52 c 0,-13.95 -11.32,-25.26 -25.28,-25.26"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 2696.34,1320.76 -86.89,0.03 c -9.48,0.01 -17.16,7.69 -17.16,17.16 l 0.03,87.97 c 0.01,9.49 7.7,17.16 17.17,17.16 l 86.89,-0.03 c 9.48,0 17.16,-7.69 17.16,-17.17 l -0.03,-87.97 c -0.01,-9.48 -7.69,-17.15 -17.17,-17.15"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 496.59,815.961 c 0,-104.07 -26.574,-160.469 -166.75,-160.469 H 114.059 v 268.586 c 0,37.246 13.847,51.094 51.089,51.094 H 329.84 c 105.605,0 166.75,-26.055 166.75,-159.211 z M 329.84,1082.95 H 143.77 C 44.3438,1082.95 0.00390625,1038.6 0.00390625,939.164 V 300.512 C 0.00390625,262.102 12.332,249.77 50.7422,249.77 h 12.5742 c 38.4136,0 50.7426,12.332 50.7426,50.742 V 548.98 H 329.84 c 191.582,0 280.812,84.844 280.812,266.981 0,182.148 -89.23,266.989 -280.812,266.989"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 1012.01,536.82 v -87.547 c 0,-71.375 -26.455,-112.695 -161.721,-112.695 -89.359,0 -132.801,32.344 -132.801,98.863 0,72.954 43.578,101.379 155.434,101.379 z M 850.289,899.801 c -73.738,0 -119.949,-9.25 -137.476,-12.754 -31.036,-6.75 -44.012,-15.266 -44.012,-50.559 V 826.43 c 0,-13.828 2.047,-23.407 6.441,-30.145 5.113,-7.851 13.348,-11.836 24.488,-11.836 5.434,0 11.727,0.918 19.243,2.793 17.722,4.434 74.379,13.594 136.347,13.594 111.297,0 156.69,-30.832 156.69,-106.406 V 626.988 H 871.66 c -180.422,0 -264.461,-60.859 -264.461,-191.547 0,-126.761 86.778,-196.57 244.352,-196.57 187.249,0 270.749,63.719 270.749,206.633 V 694.43 c 0,138.191 -88.97,205.371 -272.011,205.371"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 1739.43,870.035 c -7.95,9.981 -22.98,11.356 -38.05,11.356 h -11.3 c -37.55,0 -52.28,-11.582 -60.59,-47.606 L 1525.15,400.078 c -13.02,-53.297 -31.32,-63.039 -62.63,-63.039 -38.34,0 -53.69,9.152 -68.97,63.25 l -118.18,433.699 c -9.78,36.328 -24.21,47.403 -61.77,47.403 h -10.06 c -15.16,0 -30.26,-1.395 -38.01,-11.504 -7.76,-10.125 -5.14,-25.235 -1.14,-40.086 L 1283.82,392.34 c 22.4,-83.719 49.03,-153.02 148.53,-153.02 18.57,0 35.75,2.578 50.04,7.399 -30.18,-94.91 -60.88,-136.77 -151.41,-146.071 -18.37,-1.5269 -30.31,-4.1597 -36.96,-13.0777 -6.91,-9.25 -5.34,-22.5 -2.87,-34.332 l 2.49,-11.2188 C 1299.04,16.0781 1308.25,0 1337.37,0 c 3.06,0 6.35,0.160156 9.88,0.460938 C 1482.43,9.30859 1554.86,82.0898 1597.24,251.66 l 144.62,578.453 c 3.43,14.844 5.5,29.95 -2.43,39.922"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 2679.57,1140.78 -172.26,0.06 c -18.79,0 -34.02,-15.23 -34.03,-34.02 l -0.01,-24.03 h 11.95 c 77.78,0 106.71,-12.83 106.71,-83.685 V 898.383 l 87.55,-0.028 c 18.79,-0.011 34.02,15.215 34.03,34.004 l 0.06,174.381 c 0,18.79 -15.22,34.03 -34,34.04"}))))},D=(n(203),n(88),n(187),n(95)),z=n.n(D),H=n(50);function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var K=function(e){v()(i,e);var t,n,c=Y(i);function i(e){var t;return y()(this,i),(t=c.call(this,e)).state={oAuthConnectFailed:!1,connectURL:null,isPending:!1},t.updateSettings=t.updateSettings.bind(j()(t)),t}return O()(i,[{key:"componentDidMount",value:function(){var e=this.state.oAuthConnectFailed,t=this.props.stripeSettings,n=Object(H.getQuery)();if(n["stripe-connect"]&&"1"===n["stripe-connect"]&&(t.publishable_key&&t.secret_key))return void this.completeMethod();e||this.fetchOAuthConnectURL()}},{key:"componentDidUpdate",value:function(e){var t=this.props.activePlugins;!e.activePlugins.includes("woocommerce-gateway-stripe")&&t.includes("woocommerce-gateway-stripe")&&this.fetchOAuthConnectURL()}},{key:"completeMethod",value:function(){var e=this.props,t=e.createNotice,n=e.markConfigured;this.setState({isPending:!1}),t("success",Object(a.__)("Stripe connected successfully.","woocommerce-admin")),n("stripe")}},{key:"fetchOAuthConnectURL",value:(n=_()(b.a.mark((function e(){var t;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.props.activePlugins.includes("woocommerce-gateway-stripe")){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,this.setState({isPending:!0}),e.next=7,z()({path:N.WCS_NAMESPACE+"/connect/stripe/oauth/init",method:"POST",data:{returnUrl:Object(l.f)("admin.php?page=wc-admin&task=payments&method=stripe&stripe-connect=1")}});case 7:if((t=e.sent)&&t.oauthUrl){e.next=11;break}return this.setState({oAuthConnectFailed:!0,isPending:!1}),e.abrupt("return");case 11:this.setState({connectURL:t.oauthUrl,isPending:!1}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(3),this.setState({oAuthConnectFailed:!0,isPending:!1});case 17:case"end":return e.stop()}}),e,this,[[3,14]])}))),function(){return n.apply(this,arguments)})},{key:"renderConnectButton",value:function(){var e=this.state.connectURL;return Object(o.createElement)(x.Button,{isPrimary:!0,href:e},Object(a.__)("Connect","woocommerce-admin"))}},{key:"updateSettings",value:(t=_()(b.a.mark((function e(t){var n,c,o,i,s,l;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=this.props,o=c.updateOptions,i=c.stripeSettings,s=c.createNotice,l=t.publishable_key.match(/^pk_live_/)?"":"test_",e.next=4,o({woocommerce_stripe_settings:W(W({},i),{},(n={},r()(n,l+"publishable_key",t.publishable_key),r()(n,l+"secret_key",t.secret_key),r()(n,"testmode","test_"===l?"yes":"no"),r()(n,"enabled","yes"),n))});case 4:e.sent.success?this.completeMethod():s("error",Object(a.__)("There was a problem saving your payment settings","woocommerce-admin"));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getInitialConfigValues",value:function(){return{publishable_key:"",secret_key:""}}},{key:"validateManualConfig",value:function(e){var t={};return null===e.publishable_key.match(/^pk_(live|test)_[a-zA-Z0-9_]+/)&&(t.publishable_key=Object(a.__)('Please enter a valid publishable key (starting with "pk_").',"woocommerce-admin")),null===e.secret_key.match(/^[rs]k_(live|test)_[a-zA-Z0-9_]+/)?t.secret_key=Object(a.__)('Please enter a valid secret key (starting with "sk_" or "rk_").',"woocommerce-admin"):e.secret_key.slice(3,7)!==e.publishable_key.slice(3,7)&&(t.secret_key=Object(a.__)("Please enter a secret key in the same mode as the publishable key.","woocommerce-admin")),t}},{key:"renderManualConfig",value:function(){var e=this.props.isOptionsUpdating,t=s()({mixedString:Object(a.__)("Your API details can be obtained from your {{docsLink}}Stripe account{{/docsLink}}. Don’t have a Stripe account? {{registerLink}}Create one.{{/registerLink}}","woocommerce-admin"),components:{docsLink:Object(o.createElement)(m.Link,{href:"https://stripe.com/docs/keys",target:"_blank",type:"external"}),registerLink:Object(o.createElement)(m.Link,{href:"https://dashboard.stripe.com/register",target:"_blank",type:"external"})}});return Object(o.createElement)(m.Form,{initialValues:this.getInitialConfigValues(),onSubmitCallback:this.updateSettings,validate:this.validateManualConfig},(function(n){var c=n.getInputProps,r=n.handleSubmit;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Publishable Key","woocommerce-admin"),required:!0},c("publishable_key"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Secret Key","woocommerce-admin"),required:!0},c("secret_key"))),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:e,onClick:r},Object(a.__)("Proceed","woocommerce-admin")),Object(o.createElement)("p",null,t))}))}},{key:"renderOauthConfig",value:function(){var e=this,t=s()({mixedString:Object(a.__)('By clicking "Connect," you agree to the {{tosLink}}Terms of Service{{/tosLink}}. Or {{manualConfigLink}}manually enter your Stripe API details{{/manualConfigLink}} instead.',"woocommerce-admin"),components:{tosLink:Object(o.createElement)(m.Link,{href:"https://wordpress.com/tos",target:"_blank",type:"external"}),manualConfigLink:Object(o.createElement)(x.Button,{isLink:!0,onClick:function(){e.setState({connectURL:null})}})}});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,this.renderConnectButton()),t)}},{key:"getConnectStep",value:function(){var e=this.state,t=e.connectURL,n=e.isPending,c=e.oAuthConnectFailed,r={key:"connect",label:Object(a.__)("Connect your Stripe account","woocommerce-admin")};return n?r:W(W({},r),{},!c&&t?{description:Object(a.__)("A Stripe account is required to process payments.","woocommerce-admin"),content:this.renderOauthConfig()}:{content:this.renderManualConfig()})}},{key:"render",value:function(){var e=this.props,t=e.installStep,n=e.isOptionsUpdating,c=this.state.isPending;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete||n||c,currentStep:t.isComplete?"connect":"install",steps:[t,this.getConnectStep()]})}}]),i}(o.Component),G=Object(L.compose)(Object(R.withSelect)((function(e){var t=e(N.OPTIONS_STORE_NAME),n=t.getOption,c=t.isOptionsUpdating;return{activePlugins:(0,e(N.PLUGINS_STORE_NAME).getActivePlugins)(),isOptionsUpdating:c(),stripeSettings:n("woocommerce_stripe_settings")||[]}})),Object(R.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(N.OPTIONS_STORE_NAME).updateOptions}})))(K);function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var $=function(e){v()(c,e);var t,n=X(c);function c(e){var t;return y()(this,c),(t=n.call(this,e)).state={isPending:!1},t.connect=t.connect.bind(j()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){var e=this.props,t=e.createNotice,n=e.markConfigured,c=Object(H.getQuery)();c["square-connect"]&&"1"===c["square-connect"]&&(t("success",Object(a.__)("Square connected successfully.","woocommerce-admin")),n("square"))}},{key:"connect",value:(t=_()(b.a.mark((function e(){var t,n,c,r,o,i,s,l;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.createNotice,c=t.hasCbdIndustry,r=t.options,o=t.updateOptions,this.setState({isPending:!0}),o({woocommerce_square_credit_card_settings:J(J({},r.woocommerce_square_credit_card_settings),{},{enabled:"yes"})}),i=Object(a.__)("There was an error connecting to Square. Please try again or skip to connect later in store settings.","woocommerce-admin"),e.prev=4,s=null,c&&(s=window.open("/","_blank")),e.next=9,z()({path:N.WC_ADMIN_NAMESPACE+"/plugins/connect-square",method:"POST"});case 9:if((l=e.sent)&&l.connectUrl){e.next=15;break}return this.setState({isPending:!1}),n("error",i),c&&s.close(),e.abrupt("return");case 15:this.setState({isPending:!0}),this.redirect(l.connectUrl,s),e.next=23;break;case 19:e.prev=19,e.t0=e.catch(4),this.setState({isPending:!1}),n("error",i);case 23:case"end":return e.stop()}}),e,this,[[4,19]])}))),function(){return t.apply(this,arguments)})},{key:"redirect",value:function(e,t){t?(t.location.href=e,window.location=Object(l.f)("admin.php?page=wc-admin")):window.location=e}},{key:"render",value:function(){var e=this.props.installStep,t=this.state.isPending;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!e.isComplete||t,currentStep:e.isComplete?"connect":"install",steps:[e,{key:"connect",label:Object(a.__)("Connect your Square account","woocommerce-admin"),description:Object(a.__)("A Square account is required to process payments. You will be redirected to the Square website to create the connection.","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:t,onClick:this.connect},Object(a.__)("Connect","woocommerce-admin")))}]})}}]),c}(o.Component),ee=Object(L.compose)(Object(R.withSelect)((function(e){var t=e(N.OPTIONS_STORE_NAME),n=t.getOption,c=t.isResolving;return{options:n("woocommerce_square_credit_card_settings"),optionsIsRequesting:c("getOption",["woocommerce_square_credit_card_settings"])}})),Object(R.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(N.OPTIONS_STORE_NAME).updateOptions}})))($),te=n(614),ne=n(78);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var ae="woocommerce-paypal-payments";function ie(e,t,n){try{ppcp_onboarding&&n()}catch(r){var c=document.createElement("script");c.src=e,document.body.append(c),c.onload=function(){n()},window.PayPalCommerceGatewayOnboarding=t}}function se(e){var t=e.connectUrl;return Object(o.useEffect)((function(){ppcp_onboarding&&ppcp_onboarding.reload()}),[]),Object(o.createElement)("a",{className:"button-primary",target:"_blank",rel:"noreferrer",href:t,"data-paypal-onboard-button":"true","data-paypal-button":"true","data-paypal-onboard-complete":"ppcp_onboarding_productionCallback"},Object(a.__)("Connect","woocommerce-admin"))}var le=function(e){v()(u,e);var t,n,c,i,l=oe(u);function u(e){var t;return y()(this,u),(t=l.call(this,e)).state={autoConnectFailed:!1,connectURL:""},t.enablePaypalPlugin=t.enablePaypalPlugin.bind(j()(t)),t.setCredentials=t.setCredentials.bind(j()(t)),t.validate=t.validate.bind(j()(t)),t}return O()(u,[{key:"componentDidMount",value:function(){var e=this.props.createNotice,t=Object(H.getQuery)();if(t.onboarding)return"complete"!==t.onboarding||t["ppcp-onboarding-error"]?void(t["ppcp-onboarding-error"]&&(this.setState({autoConnectFailed:!0}),e("error",Object(a.__)("There was a problem saving your payment settings through the onboarding, please fill the fields in manually.","woocommerce-admin")))):void this.enablePaypalPlugin();this.fetchOAuthConnectURLAndOnboardingSetup()}},{key:"componentDidUpdate",value:function(e){var t=this.props.activePlugins;!e.activePlugins.includes(ae)&&t.includes(ae)&&this.fetchOAuthConnectURLAndOnboardingSetup()}},{key:"fetchOAuthConnectURLAndOnboardingSetup",value:(i=_()(b.a.mark((function e(){var t,n,c,r,o=this;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props,n=t.activePlugins,c=t.createNotice,n.includes(ae)){e.next=3;break}return e.abrupt("return");case 3:return this.setState({isPending:!0}),e.prev=4,e.next=7,z()({path:"/wc-paypal/v1/onboarding/get-params",method:"POST",data:{environment:"production",returnUrlArgs:{ppcpobw:"1"}}});case 7:if((r=e.sent)&&r.signupLink){e.next=11;break}return this.setState({autoConnectFailed:!0,isPending:!1}),e.abrupt("return");case 11:ie(r.scriptURL,r.scriptData,(function(){o.setState({connectURL:r.signupLink,isPending:!1})})),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(4),e.t0&&e.t0.data&&500===e.t0.data.status&&c("error",Object(a.__)("There was a problem with the Paypal onboarding setup, please fill the fields in manually.","woocommerce-admin")),this.setState({autoConnectFailed:!0,isPending:!1});case 18:case"end":return e.stop()}}),e,this,[[4,14]])}))),function(){return i.apply(this,arguments)})},{key:"enablePaypalPlugin",value:(c=_()(b.a.mark((function e(t){var n,c,r,o,i,s;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props,c=n.createNotice,r=n.updateOptions,o=n.markConfigured,i=n.options,s={"woocommerce_ppcp-gateway_settings":{enabled:"yes"}},t||(s["woocommerce-ppcp-settings"]=re(re({},i),{},{enabled:!0})),e.next=5,r(s);case 5:e.sent.success?(c("success",Object(a.__)("PayPal connected successfully.","woocommerce-admin")),o("paypal")):c("error",Object(a.__)("There was a problem saving your payment settings.","woocommerce-admin"));case 7:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"setCredentials",value:(n=_()(b.a.mark((function e(t){var n,c;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props.createNotice,e.prev=1,e.next=4,z()({path:"/wc-paypal/v1/onboarding/set-credentials",method:"POST",data:re({environment:"production"},t)});case 4:if(!(c=e.sent)||!c.data){e.next=9;break}n("error",Object(a.__)("There was a problem updating the credentials.","woocommerce-admin")),e.next=11;break;case 9:return e.next=11,this.enablePaypalPlugin(!0);case 11:e.next=18;break;case 13:if(e.prev=13,e.t0=e.catch(1),!e.t0||!e.t0.data||404!==e.t0.data.status){e.next=18;break}return e.next=18,this.updateManualSettings(t);case 18:case"end":return e.stop()}}),e,this,[[1,13]])}))),function(e){return n.apply(this,arguments)})},{key:"updateManualSettings",value:(t=_()(b.a.mark((function e(t){var n,c,o,i,s,l,m;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props,c=n.createNotice,o=n.options,i=n.updateOptions,s=n.markConfigured,l=Object.keys(t).reduce((function(e,n){var c=n+"_production";return re(re({},e),{},r()({},c,t[n]))}),{}),m=re(re({},o),{},{enabled:!0,sandbox_on:!1,merchant_email:t.merchant_email,merchant_id:t.merchant_id},l),e.next=5,i({"woocommerce-ppcp-settings":m,"woocommerce_ppcp-gateway_settings":{enabled:"yes"}});case 5:e.sent.success?(c("success",Object(a.__)("PayPal connected successfully.","woocommerce-admin")),s("paypal")):c("error",Object(a.__)("There was a problem saving your payment settings.","woocommerce-admin"));case 7:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getInitialConfigValues",value:function(){var e=this.props.options;return["merchant_email","merchant_id","client_id","client_secret"].reduce((function(t,n){return re(re({},t),{},r()({},n,e&&e[n+"_production"]?e[n+"_production"]:""))}),{})}},{key:"validate",value:function(e){var t={};return e.merchant_email||(t.merchant_email=Object(a.__)("Please enter your Merchant email","woocommerce-admin")),Object(ne.isEmail)(e.merchant_email)||(t.merchant_email=Object(a.__)("Please enter a valid email address","woocommerce-admin")),e.merchant_id||(t.merchant_id=Object(a.__)("Please enter your Merchant Id","woocommerce-admin")),e.client_id||(t.client_id=Object(a.__)("Please enter your Client Id","woocommerce-admin")),e.client_secret||(t.client_secret=Object(a.__)("Please enter your Client Secret","woocommerce-admin")),t}},{key:"renderManualConfig",value:function(){var e=this.props.isOptionsUpdating,t=s()({mixedString:Object(a.__)("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"),components:{docsLink:Object(o.createElement)(m.Link,{href:"https://developer.paypal.com/docs/api-basics/manage-apps/#create-or-edit-sandbox-and-live-apps",target:"_blank",type:"external"}),merchantLink:Object(o.createElement)(m.Link,{href:"https://www.paypal.com/ca/smarthelp/article/FAQ3850",target:"_blank",type:"external"}),registerLink:Object(o.createElement)(m.Link,{href:"https://www.paypal.com/us/business",target:"_blank",type:"external"})}});return Object(o.createElement)(m.Form,{initialValues:this.getInitialConfigValues(),onSubmitCallback:this.setCredentials,validate:this.validate},(function(n){var c=n.getInputProps,r=n.handleSubmit;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Email address","woocommerce-admin"),required:!0},c("merchant_email"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Merchant Id","woocommerce-admin"),required:!0},c("merchant_id"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Client Id","woocommerce-admin"),required:!0},c("client_id"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Secret Key","woocommerce-admin"),required:!0},c("client_secret"))),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:e,onClick:r},Object(a.__)("Proceed","woocommerce-admin")),Object(o.createElement)("p",null,t))}))}},{key:"renderConnectFields",value:function(){var e=this.state,t=e.autoConnectFailed,n=e.connectURL;return!t&&n?Object(o.createElement)(o.Fragment,null,Object(o.createElement)(se,{connectUrl:n}),Object(o.createElement)("p",null,Object(a.__)("You will be redirected to the PayPal website to create the connection.","woocommerce-admin"))):t?this.renderManualConfig():void 0}},{key:"getConnectStep",value:function(){var e=this.props.isRequestingOptions;return{key:"connect",label:Object(a.__)("Connect your PayPal account","woocommerce-admin"),description:Object(a.__)("A PayPal account is required to process payments. Connect your store to your PayPal account.","woocommerce-admin"),content:e?null:this.renderConnectFields()}}},{key:"render",value:function(){var e=this.props,t=e.installStep,n=e.isRequestingOptions,c=e.isOptionsUpdating,r=this.state.isPending;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete||r||n||c,currentStep:t.isComplete?"connect":"install",steps:[t,this.getConnectStep()]})}}]),u}(o.Component);le.defaultProps={manualConfig:!1};var me=Object(L.compose)(Object(R.withSelect)((function(e){var t=e(N.OPTIONS_STORE_NAME),n=t.getOption,c=t.isOptionsUpdating,r=t.hasFinishedResolution,o=e(N.PLUGINS_STORE_NAME).getActivePlugins,a=n("woocommerce-ppcp-settings"),i=!r("getOption",["woocommerce-ppcp-settings"]);return{activePlugins:o(),isOptionsUpdating:c(),options:a,isRequestingOptions:i}})),Object(R.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(N.OPTIONS_STORE_NAME).updateOptions}})))(le),ue=n(231),pe=function(e){var t=e.installStep,n=e.markConfigured,c=Object(R.useSelect)((function(e){var t=(0,e(N.SETTINGS_STORE_NAME).getSettings)("general").general,n=void 0===t?{}:t;return{countryCode:Object(ue.b)(n.woocommerce_default_country)}})).countryCode;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete,currentStep:t.isComplete?"connect":"install",steps:[t,{key:"connect",label:Object(a.__)("Connect to your Mercado Pago account","woocommerce-admin"),content:Object(o.createElement)(de,{countryCode:c,onFinish:function(){return n("mercadopago")}})}]})},de=function(e){var t=e.countryCode,n=e.onFinish,c=Object(o.createElement)(m.Link,{href:"".concat(l.a,"admin.php?page=wc-settings&tab=checkout"),target:"_blank",type:"external"}),r=Object(o.createElement)(m.Link,{href:["AR","BR","CL","CO","MX","PE","UY"].includes(t)?"".concat("https://www.mercadopago.com",".").concat(t.toLowerCase(),"/registration-company?confirmation_url=").concat("https://www.mercadopago.com",".").concat(t.toLowerCase(),"%2Fcomo-cobrar"):"https://www.mercadopago.com",target:"_blank",type:"external"}),i=s()({mixedString:Object(a.__)("Mercado Pago can be configured under your {{settingsLink}}store settings.{{/settingsLink}} Create your Mercado Pago account {{accountLink}}here.{{/accountLink}}","woocommerce-admin"),components:{accountLink:r,settingsLink:c}});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,i),Object(o.createElement)(x.Button,{isPrimary:!0,onClick:n},Object(a.__)("Continue","woocommerce-admin")))};function be(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var fe=function(e){v()(n,e);var t=be(n);function n(e){var c;return y()(this,n),(c=t.call(this,e)).continue=c.continue.bind(j()(c)),c}return O()(n,[{key:"continue",value:function(){var e=this.props;(0,e.markConfigured)("checkout"===e.plugin?"klarna_checkout":"klarna_payments")}},{key:"renderConnectStep",value:function(){var e=this.props.plugin,t="checkout"===e?"klarna-checkout":"klarna-payments",n="checkout"===e?"kco":"klarna_payments",c=Object(o.createElement)(m.Link,{href:l.a+"admin.php?page=wc-settings&tab=checkout§ion="+n,target:"_blank",type:"external"}),r=Object(o.createElement)(m.Link,{href:"https://docs.woocommerce.com/document/"+t+"/#section-3",target:"_blank",type:"external"}),i=s()({mixedString:Object(a.__)("Klarna can be configured under your {{link}}store settings{{/link}}. Figure out {{helpLink}}what you need{{/helpLink}}.","woocommerce-admin"),components:{link:c,helpLink:r}});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,i),Object(o.createElement)(x.Button,{isPrimary:!0,onClick:this.continue},Object(a.__)("Continue","woocommerce-admin")))}},{key:"render",value:function(){var e=this.props.installStep;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!e.isComplete,currentStep:e.isComplete?"connect":"install",steps:[e,{key:"connect",label:Object(a.__)("Connect your Klarna account","woocommerce-admin"),content:this.renderConnectStep()}]})}}]),n}(o.Component);function _e(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var he=function(e){v()(n,e);var t=_e(n);function n(){var e;y()(this,n);for(var c=arguments.length,o=new Array(c),i=0;i<c;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),r()(j()(e),"getInitialConfigValues",(function(){return{customer_api:"",customer_password:""}})),r()(j()(e),"validate",(function(e){var t={};return e.customer_api||(t.customer_api=Object(a.__)("Please enter your customer API key ","woocommerce-admin")),e.customer_password||(t.customer_password=Object(a.__)("Please enter your customer password","woocommerce-admin")),t})),r()(j()(e),"updateSettings",function(){var t=_()(b.a.mark((function t(n){var c,r,o,i;return b.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=e.props,r=c.updateOptions,o=c.createNotice,i=c.markConfigured,t.next=3,r({woocommerce_eway_settings:{customer_api:n.customer_api,customer_password:n.customer_password,enabled:"yes"}});case 3:t.sent.success?(i("eway"),o("success",Object(a.__)("eWAY connected successfully","woocommerce-admin"))):o("error",Object(a.__)("There was a problem saving your payment settings","woocommerce-admin"));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e}return O()(n,[{key:"renderConnectStep",value:function(){var e=this.props.isOptionsRequesting,t=s()({mixedString:Object(a.__)("Your API details can be obtained from your {{link}}eWAY account{{/link}}","woocommerce-admin"),components:{link:Object(o.createElement)(m.Link,{href:"https://www.eway.com.au/",target:"_blank",type:"external"})}});return Object(o.createElement)(m.Form,{initialValues:this.getInitialConfigValues(),onSubmitCallback:this.updateSettings,validate:this.validate},(function(n){var c=n.getInputProps,r=n.handleSubmit;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Customer API Key","woocommerce-admin"),required:!0},c("customer_api"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Customer Password","woocommerce-admin"),required:!0},c("customer_password"))),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:e,onClick:r},Object(a.__)("Proceed","woocommerce-admin")),Object(o.createElement)("p",null,t))}))}},{key:"render",value:function(){var e=this.props,t=e.installStep,n=e.isOptionsRequesting;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete||n,currentStep:t.isComplete?"connect":"install",steps:[t,{key:"connect",label:Object(a.__)("Connect your eWAY account","woocommerce-admin"),content:this.renderConnectStep()}]})}}]),n}(o.Component),ye=Object(L.compose)(Object(R.withSelect)((function(e){return{isOptionsRequesting:(0,e(N.OPTIONS_STORE_NAME).isOptionsUpdating)()}})),Object(R.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(N.OPTIONS_STORE_NAME).updateOptions}})))(he),ge={key_id:"",key_secret:""},Oe=function(e){var t={};return e.key_id||(t.key_id=Object(a.__)("Please enter your Key ID","woocommerce-admin")),e.key_secret||(t.key_secret=Object(a.__)("Please enter your Key Secret","woocommerce-admin")),t},we=function(){var e=_()(b.a.mark((function e(t,n,c,r){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r({woocommerce_razorpay_settings:{key_id:t.key_id,key_secret:t.key_secret,enabled:"yes"}});case 2:e.sent.success?(c("razorpay"),n("success",Object(a.__)("Razorpay connected successfully","woocommerce-admin"))):n("error",Object(a.__)("There was a problem saving your payment settings","woocommerce-admin"));case 4:case"end":return e.stop()}}),e)})));return function(t,n,c,r){return e.apply(this,arguments)}}(),je=function(e){var t=e.createNotice,n=e.isOptionsRequesting,c=e.markConfigured,r=e.updateOptions,i=s()({mixedString:Object(a.__)("Your key details can be obtained from your {{link}}Razorpay account{{/link}}","woocommerce-admin"),components:{link:Object(o.createElement)(m.Link,{href:"https://dashboard.razorpay.com/#/access/signin",target:"_blank",type:"external"})}});return Object(o.createElement)(m.Form,{initialValues:ge,onSubmitCallback:function(e){return we(e,t,c,r)},validate:Oe},(function(e){var t=e.getInputProps,c=e.handleSubmit;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Key ID","woocommerce-admin"),required:!0},t("key_id"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Key Secret","woocommerce-admin"),required:!0},t("key_secret"))),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:n,onClick:c},Object(a.__)("Proceed","woocommerce-admin")),Object(o.createElement)("p",null,i))}))},ke=function(e){var t=e.createNotice,n=e.installStep,c=e.isOptionsRequesting,r=e.markConfigured,i=e.updateOptions;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!n.isComplete||c,currentStep:n.isComplete?"connect":"install",steps:[n,{key:"connect",label:Object(a.__)("Connect your Razorpay account","woocommerce-admin"),content:je({createNotice:t,isOptionsRequesting:c,markConfigured:r,updateOptions:i})}]})},ve=function(e){var t=e.installStep,n=e.markConfigured,c=Object(R.useSelect)((function(e){return e(N.OPTIONS_STORE_NAME).isOptionsUpdating}))(),r=Object(R.useDispatch)("core/notices").createNotice,a=Object(R.useDispatch)(N.OPTIONS_STORE_NAME).updateOptions;return Object(o.createElement)(ke,{createNotice:r,installStep:t,isOptionsRequesting:c,markConfigured:n,updateOptions:a})},Ce=function(e){var t=e.installStep,n=e.markConfigured;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete,currentStep:t.isComplete?"connect":"install",steps:[t,{key:"connect",label:Object(a.__)("Connect your Mollie account","woocommerce-admin"),content:Object(o.createElement)(Ee,{onFinish:function(){n("mollie")}})}]})},Ee=function(e){var t=e.onFinish,n=Object(o.createElement)(m.Link,{href:"".concat(l.a,"admin.php?page=wc-settings&tab=mollie_settings#mollie-payments-for-woocommerce"),target:"_blank",type:"external"}),c=Object(o.createElement)(m.Link,{href:"https://www.mollie.com/dashboard/signup",target:"_blank",type:"external"}),r=s()({mixedString:Object(a.__)("Create a {{accountLink}}Mollie account{{/accountLink}} and finish the configuration in the {{settingsLink}}Mollie settings.{{/settingsLink}}","woocommerce-admin"),components:{accountLink:c,settingsLink:n}});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,r),Object(o.createElement)(x.Button,{isPrimary:!0,onClick:t},Object(a.__)("Continue","woocommerce-admin")))},Pe=function(e){var t=e.installStep,n=e.markConfigured;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete,currentStep:t.isComplete?"connect":"install",steps:[t,{key:"connect",label:Object(a.__)("Connect to your PayU account","woocommerce-admin"),content:Object(o.createElement)(Se,{onFinish:function(){n("payubiz")}})}]})},Se=function(e){var t=e.onFinish,n=Object(o.createElement)(m.Link,{href:"".concat(l.a,"admin.php?page=wc-settings&tab=checkout§ion=payubiz"),target:"_blank",type:"external"}),c=Object(o.createElement)(m.Link,{href:"https://onboarding.payu.in/app/account",target:"_blank",type:"external"}),r=s()({mixedString:Object(a.__)("PayU can be configured under your {{settingsLink}}store settings.{{/settingsLink}} Create your PayU account {{accountLink}}here.{{/accountLink}}","woocommerce-admin"),components:{accountLink:c,settingsLink:n}});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,r),Object(o.createElement)(x.Button,{isPrimary:!0,onClick:t},Object(a.__)("Continue","woocommerce-admin")))};n(130),n(127),n(52);function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Re(e){var t,n=e.installStep,c=e.markConfigured,i=e.methodConfig,l=Object(R.useDispatch)(N.OPTIONS_STORE_NAME).updateOptions,u=Object(R.useDispatch)("core/notices").createNotice,d=Object(R.useSelect)((function(e){return(0,e(N.OPTIONS_STORE_NAME).isOptionsUpdating)()})),f=function(){if(i&&i.fields)return i.fields.reduce((function(e,t){return Le(Le({},e),{},r()({},t.name,""))}),{})},h=function(e){return i&&i.fields?i.fields.reduce((function(t,n){if(!e[n.name]){var c=n.title.replace(/([A-Z][a-z]+)/,(function(e){return e.toLowerCase()}));return Le(Le({},t),{},r()({},n.name,Object(a.__)("Please enter your ")+c))}return t}),{}):{}},y=function(){var e=_()(b.a.mark((function e(t){var n;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=i.getOptions?i.getOptions(t):null){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,l(Le({},n));case 5:e.sent.success?(c(i.key),u("success",i.title+Object(a.__)(" connected successfully","woocommerce-admin"))):u("error",Object(a.__)("There was a problem saving your payment settings","woocommerce-admin"));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!n.isComplete||d,currentStep:n.isComplete?"connect":"install",steps:[n,{key:"connect",label:Object(a.sprintf)(Object(a.__)("Connect your %(title)s account","woocommerce-admin"),{title:i.title}),content:(t=s()({mixedString:Object(a.__)("Your API details can be obtained from your {{link/}}","woocommerce-admin"),components:{link:Object(o.createElement)(m.Link,{href:i.apiDetailsLink,target:"_blank",type:"external"},Object(a.sprintf)(Object(a.__)("%(title)s account","woocommerce-admin"),{title:i.title}))}}),Object(o.createElement)(m.Form,{initialValues:f(),onSubmitCallback:y,validate:h},(function(e){var n=e.getInputProps,c=e.handleSubmit;return Object(o.createElement)(o.Fragment,null,(i.fields||[]).map((function(e){return Object(o.createElement)(m.TextControl,p()({key:e.name,label:e.title,required:!0},n(e.name)))})),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:d,onClick:c},Object(a.__)("Proceed","woocommerce-admin")),Object(o.createElement)("p",null,t))})))}]})}function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Te=Object(l.g)("wcAdminAssetUrl","");function Me(e){var t=e.activePlugins,n=e.countryCode,c=e.createNotice,r=e.installAndActivatePlugins,i=e.onboardingStatus,u=e.options,p=e.profileItems,d=e.paypalOnboardingStatus,b=e.loadingPaypalStatus,f=i.stripeSupportedCountries,_=void 0===f?[]:f,h=i.wcPayIsConnected,y=void 0!==h&&h,g=i.enabledPaymentGateways,O=void 0===g?[]:g,w=(p.industry||[]).some((function(e){return"cbd-other-hemp-derived-products"===e.slug})),j=u.woocommerce_stripe_settings&&("no"===u.woocommerce_stripe_settings.testmode?u.woocommerce_stripe_settings.publishable_key&&u.woocommerce_stripe_settings.secret_key:u.woocommerce_stripe_settings.test_publishable_key&&u.woocommerce_stripe_settings.test_secret_key),k=[{key:"stripe",title:Object(a.__)("Credit cards - powered by Stripe","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Accept debit and credit cards in 135+ currencies, methods such as Alipay, and one-touch checkout with Apple Pay.","woocommerce-admin")),before:Object(o.createElement)("img",{src:l.e+"images/stripe.png",alt:""}),visible:_.includes(n)&&!w,plugins:["woocommerce-gateway-stripe"],container:Object(o.createElement)(G,null),isConfigured:j,isEnabled:u.woocommerce_stripe_settings&&"yes"===u.woocommerce_stripe_settings.enabled,optionName:"woocommerce_stripe_settings"},{key:"paystack",title:Object(a.__)("Paystack","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Paystack helps African merchants accept one-time and recurring payments online with a modern, safe, and secure payment gateway.","woocommerce-admin")),before:Object(o.createElement)("img",{src:Te+"onboarding/paystack.png",alt:"Paystack logo"}),visible:["ZA","GH","NG"].includes(n)&&!w,plugins:["woo-paystack"],container:Object(o.createElement)(Re,null),isConfigured:u.woocommerce_paystack_settings&&u.woocommerce_paystack_settings.live_public_key&&u.woocommerce_paystack_settings.live_secret_key,isEnabled:O.includes("paystack"),optionName:"woocommerce_paystack_settings",apiDetailsLink:"https://dashboard.paystack.com/#/settings/developer",fields:[{name:"live_public_key",title:Object(a.__)("Live Public Key","woocommerce-admin")},{name:"live_secret_key",title:Object(a.__)("Live Secret Key","woocommerce-admin")}],getOptions:function(e){return{woocommerce_currency:"ZAR",woocommerce_paystack_settings:Ae(Ae({},e),{},{testmode:"no"})}}},{key:"payfast",title:Object(a.__)("PayFast","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("The PayFast extension for WooCommerce enables you to accept payments by Credit Card and EFT via one of South Africa’s most popular payment gateways. No setup fees or monthly subscription costs.","woocommerce-admin"),Object(o.createElement)("p",null,Object(a.__)("Selecting this extension will configure your store to use South African rands as the selected currency.","woocommerce-admin"))),before:Object(o.createElement)("img",{src:l.e+"images/payfast.png",alt:"PayFast logo"}),visible:["ZA"].includes(n)&&!w,plugins:["woocommerce-payfast-gateway"],container:Object(o.createElement)(Re,null),isConfigured:u.woocommerce_payfast_settings&&u.woocommerce_payfast_settings.merchant_id&&u.woocommerce_payfast_settings.merchant_key&&u.woocommerce_payfast_settings.pass_phrase,isEnabled:u.woocommerce_payfast_settings&&"yes"===u.woocommerce_payfast_settings.enabled,optionName:"woocommerce_payfast_settings",apiDetailsLink:"https://www.payfast.co.za/",fields:[{name:"merchant_id",title:Object(a.__)("Merchant ID","woocommerce-admin")},{name:"merchant_key",title:Object(a.__)("Merchant Key","woocommerce-admin")},{name:"pass_phrase",title:Object(a.__)("Passphrase","woocommerce-admin")}],getOptions:function(e){return{woocommerce_currency:"ZAR",woocommerce_payfast_settings:Ae(Ae({},e),{},{testmode:"no"})}}},{key:"mercadopago",title:Object(a.__)("Mercado Pago Checkout Pro & Custom","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Accept credit and debit cards, offline (cash or bank transfer) and logged-in payments with money in Mercado Pago. Safe and secure payments with the leading payment processor in LATAM.","woocommerce-admin")),before:Object(o.createElement)("img",{src:Te+"onboarding/mercadopago.png",alt:""}),visible:["AR","BR","CL","CO","MX","PE","UY"].includes(n),plugins:["woocommerce-mercadopago"],container:Object(o.createElement)(pe,null),isConfigured:t.includes("woocommerce-mercadopago"),isEnabled:u["woocommerce_woo-mercado-pago-basic_settings"]&&"yes"===u["woocommerce_woo-mercado-pago-basic_settings"].enabled,optionName:"woocommerce_woo-mercado-pago-basic_settings"},{key:"paypal",title:Object(a.__)("PayPal Payments","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Safe and secure payments using credit cards or your customer's PayPal account.","woocommerce-admin")),before:Object(o.createElement)("img",{src:l.e+"images/paypal.png",alt:""}),visible:!w,plugins:[ae],container:Object(o.createElement)(me,null),isConfigured:d&&d.production&&d.production.onboarded,isEnabled:O.includes("ppcp-gateway"),optionName:"woocommerce_ppcp-gateway_settings",loading:!!t.includes(ae)&&b},{key:"klarna_checkout",title:Object(a.__)("Klarna Checkout","woocommerce-admin"),content:Object(a.__)("Choose the payment that you want, pay now, pay later or slice it. No credit card numbers, no passwords, no worries.","woocommerce-admin"),before:Object(o.createElement)("img",{src:l.e+"images/klarna-black.png",alt:""}),visible:["SE","FI","NO"].includes(n)&&!w,plugins:["klarna-checkout-for-woocommerce"],container:Object(o.createElement)(fe,{plugin:"checkout"}),isConfigured:t.includes("klarna-checkout-for-woocommerce"),isEnabled:u.woocommerce_kco_settings&&"yes"===u.woocommerce_kco_settings.enabled,optionName:"woocommerce_kco_settings"},{key:"klarna_payments",title:Object(a.__)("Klarna Payments","woocommerce-admin"),content:Object(a.__)("Choose the payment that you want, pay now, pay later or slice it. No credit card numbers, no passwords, no worries.","woocommerce-admin"),before:Object(o.createElement)("img",{src:l.e+"images/klarna-black.png",alt:""}),visible:["DK","DE","AT","NL","CH","BE","SP","PL","FR","IT","GB"].includes(n)&&!w,plugins:["klarna-payments-for-woocommerce"],container:Object(o.createElement)(fe,{plugin:"payments"}),isConfigured:t.includes("klarna-payments-for-woocommerce"),isEnabled:u.woocommerce_klarna_payments_settings&&"yes"===u.woocommerce_klarna_payments_settings.enabled,optionName:"woocommerce_klarna_payments_settings"},{key:"mollie",title:Object(a.__)("Mollie Payments for WooCommerce","woocommerce-admin"),before:Object(o.createElement)(F,null),plugins:["mollie-payments-for-woocommerce"],isConfigured:t.includes("mollie-payments-for-woocommerce"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Effortless payments by Mollie: Offer global and local payment methods, get onboarded in minutes, and supported in your language.","woocommerce-admin")),visible:["FR","DE","GB","AT","CH","ES","IT","PL","FI","NL","BE"].includes(n),container:Object(o.createElement)(Ce,null),isEnabled:u.woocommerce_mollie_payments_settings&&"yes"===u.woocommerce_mollie_payments_settings.enabled,optionName:"woocommerce_mollie_payments_settings"},{key:"square",title:Object(a.__)("Square","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Securely accept credit and debit cards with one low rate, no surprise fees (custom rates available). Sell online and in store and track sales and inventory in one place.","woocommerce-admin"),w&&Object(o.createElement)("span",{className:"text-style-strong"},Object(a.__)(" Selling CBD products is only supported by Square.","woocommerce-admin"))),before:Object(o.createElement)("img",{src:"".concat(l.e,"images/square-black.png"),alt:""}),visible:w&&["US"].includes(n)||["brick-mortar","brick-mortar-other"].includes(p.selling_venues)&&["US","CA","JP","GB","AU"].includes(n),plugins:["woocommerce-square"],container:Object(o.createElement)(ee,null),isConfigured:u.wc_square_refresh_tokens&&u.wc_square_refresh_tokens.length,isEnabled:u.woocommerce_square_credit_card_settings&&"yes"===u.woocommerce_square_credit_card_settings.enabled,optionName:"woocommerce_square_credit_card_settings",hasCbdIndustry:w},{key:"eway",title:Object(a.__)("eWAY","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("The eWAY extension for WooCommerce allows you to take credit card payments directly on your store without redirecting your customers to a third party site to make payment.","woocommerce-admin")),before:Object(o.createElement)("img",{src:l.e+"images/eway-logo.jpg",alt:"eWAY logo"}),visible:["AU","NZ"].includes(n)&&!w,plugins:["woocommerce-gateway-eway"],container:Object(o.createElement)(ye,null),isConfigured:u.woocommerce_eway_settings&&u.woocommerce_eway_settings.customer_api&&u.woocommerce_eway_settings.customer_password,isEnabled:u.woocommerce_eway_settings&&"yes"===u.woocommerce_eway_settings.enabled,optionName:"woocommerce_eway_settings"},{key:"razorpay",title:Object(a.__)("Razorpay","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("The official Razorpay extension for WooCommerce allows you to accept credit cards, debit cards, netbanking, wallet, and UPI payments.","woocommerce-admin")),before:Object(o.createElement)(q,null),visible:"IN"===n&&!w,plugins:["woo-razorpay"],container:Object(o.createElement)(ve,null),isConfigured:u.woocommerce_razorpay_settings&&u.woocommerce_razorpay_settings.key_id&&u.woocommerce_razorpay_settings.key_secret,isEnabled:u.woocommerce_razorpay_settings&&"yes"===u.woocommerce_razorpay_settings.enabled,optionName:"woocommerce_razorpay_settings"},{key:"payubiz",title:Object(a.__)("PayU for WooCommerce","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Enable PayU’s exclusive plugin for WooCommerce to start accepting payments in 100+ payment methods available in India including credit cards, debit cards, UPI, & more!","woocommerce-admin")),before:Object(o.createElement)(V,null),visible:"IN"===n&&!w,plugins:["payu-india"],container:Object(o.createElement)(Pe,null),isConfigured:t.includes("payu-india"),isEnabled:O.includes("payubiz"),optionName:"woocommerce_payubiz_settings"},{key:"cod",title:Object(a.__)("Cash on delivery","woocommerce-admin"),content:Object(a.__)("Take payments in cash upon delivery.","woocommerce-admin"),before:Object(o.createElement)(B,null),visible:!w,isEnabled:u.woocommerce_cod_settings&&"yes"===u.woocommerce_cod_settings.enabled,optionName:"woocommerce_cod_settings"},{key:"bacs",title:Object(a.__)("Direct bank transfer","woocommerce-admin"),content:Object(a.__)("Take payments via bank transfer.","woocommerce-admin"),before:Object(o.createElement)(U,null),visible:!w,container:Object(o.createElement)(M,null),isConfigured:u.woocommerce_bacs_accounts&&u.woocommerce_bacs_accounts.length,isEnabled:u.woocommerce_bacs_settings&&"yes"===u.woocommerce_bacs_settings.enabled,optionName:"woocommerce_bacs_settings"}];if(window.wcAdminFeatures.wcpay){var v=Object(o.createElement)(m.Link,{href:"https://wordpress.com/tos/",target:"_blank",type:"external"}),C=s()({mixedString:Object(a.__)('By clicking "Set up," you agree to the {{link}}Terms of Service{{/link}}',"woocommerce-admin"),components:{link:v}}),E=Object(o.createElement)(m.Link,{href:"https://docs.woocommerce.com/document/payments/testing/dev-mode/",target:"_blank",type:"external"}),P=s()({mixedString:Object(a.__)("Setting up a store for a client? {{link}}Start here{{/link}}","woocommerce-admin"),components:{link:E}}),S=Object(o.createElement)(m.Link,{href:Object(l.f)("admin.php?page=wc-settings&tab=checkout§ion=woocommerce_payments"),type:"wp-admin"},Object(a.__)("Settings","woocommerce-admin")),x=Object(o.createElement)(m.Link,{href:"https://docs.woocommerce.com/document/payments/faq/fees/",target:"_blank",type:"external"}),L=s()({mixedString:Object(a.__)("Accept credit card payments the easy way! {{feesLink}}No setup fees. No monthly fees.{{/feesLink}}","woocommerce-admin"),components:{feesLink:x}});k.unshift({key:"wcpay",title:Object(a.__)("WooCommerce Payments","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,L,y&&S,!y&&Object(o.createElement)("p",null,C),p.setup_client&&Object(o.createElement)("p",null,P),Object(o.createElement)(te.b,null)),before:Object(o.createElement)(I,null),onClick:function(e,t){return Object(te.c)(t,c,r)},visible:Object(te.d)(n)&&!w,plugins:["woocommerce-payments"],container:Object(o.createElement)(te.a,null),isConfigured:y,isEnabled:u.woocommerce_woocommerce_payments_settings&&"yes"===u.woocommerce_woocommerce_payments_settings.enabled,optionName:"woocommerce_woocommerce_payments_settings"})}return k.filter((function(e){return e.visible}))}}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[6],{607:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(37),n(49),n(139);var c=n(26);function r(e){var t=Object(c.dispatch)("core/notices").createNotice;e.error_data&&e.errors&&Object.keys(e.errors).length?Object.keys(e.errors).forEach((function(n){t("error",e.errors[n].join(" "))})):e.message&&t(e.code?"error":"success",e.message)}},609:function(e,t,n){"use strict";n.r(t);var c=n(43),r=n.n(c),o=n(0),a=n(2),i=n(50),s=n(99),l=n.n(s),m=n(145),u=n(610);t.default=function(){var e="1"===Object(i.getQuery)()["wcpay-connection-success"],t=Object(o.useState)(e),n=r()(t,2),c=n[0],s=n[1];if(!c)return null;var p=function(){s(!1),Object(i.updateQueryString)({"wcpay-connection-success":void 0})},d=Object(a.__)("Help us build a better WooCommerce Payments experience","woocommerce-admin"),b=l()({mixedString:Object(a.__)("By agreeing to share non-sensitive {{link}}usage data{{/link}}, you’ll help us improve features and optimize the WooCommerce Payments experience. You can opt out at any time.","woocommerce-admin"),components:{link:Object(o.createElement)(m.Link,{href:"https://woocommerce.com/usage-tracking",target:"_blank",type:"external"})}});return Object(o.createElement)(u.a,{isDismissible:!1,title:d,message:b,acceptActionText:Object(a.__)("I agree","woocommerce-admin"),dismissActionText:Object(a.__)("No thanks","woocommerce-admin"),onContinue:p,onClose:p})}},610:function(e,t,n){"use strict";n(64);var c=n(16),r=n.n(c),o=n(134),a=n.n(o),i=n(22),s=n.n(i),l=n(23),m=n.n(l),u=n(24),p=n.n(u),d=n(25),b=n.n(d),f=n(14),_=n.n(f),h=n(0),y=n(2),g=n(65),O=n(26),w=n(99),j=n.n(w),k=n(4),v=n(145),C=n(59);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=_()(e);if(t){var r=_()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return b()(this,n)}}var P=function(e){p()(c,e);var t,n=E(c);function c(e){var t;return s()(this,c),(t=n.call(this,e)).state={isLoadingScripts:!1,isRequestStarted:!1},t}return m()(c,[{key:"componentDidUpdate",value:(t=a()(r.a.mark((function e(t,n){var c,o,a,i,s,l,m,u,p,d;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=this.props,o=c.hasErrors,a=c.isRequesting,i=c.onClose,s=c.onContinue,l=c.createNotice,m=this.state,u=m.isLoadingScripts,m.isRequestStarted){e.next=4;break}return e.abrupt("return");case 4:p=!a&&!u&&(t.isRequesting||n.isLoadingScripts)&&!o,d=!a&&t.isRequesting&&o,p&&(i(),s()),d&&(l("error",Object(y.__)("There was a problem updating your preferences","woocommerce-admin")),i());case 8:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)})},{key:"updateTracking",value:function(e){var t=this,n=e.allowTracking,c=this.props.updateOptions;n&&"function"==typeof window.wcTracks.enable?(this.setState({isLoadingScripts:!0}),window.wcTracks.enable((function(){t._isMounted&&t.setState({isLoadingScripts:!1})}))):n||(window.wcTracks.isEnabled=!1);var r=n?"yes":"no";this.setState({isRequestStarted:!0}),c({woocommerce_allow_tracking:r})}},{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1}},{key:"render",value:function(){var e=this;if(this.props.allowTracking){var t=this.props,n=t.onClose,c=t.onContinue;return n(),c(),null}var r=this.props,o=r.isRequesting,a=r.title,i=void 0===a?Object(y.__)("Build a better WooCommerce","woocommerce-admin"):a,s=r.message,l=void 0===s?j()({mixedString:Object(y.__)("Get improved features and faster fixes by sharing non-sensitive data via {{link}}usage tracking{{/link}} that shows us how WooCommerce is used. No personal data is tracked or stored.","woocommerce-admin"),components:{link:Object(h.createElement)(v.Link,{href:"https://woocommerce.com/usage-tracking",target:"_blank",type:"external"})}}):s,m=r.dismissActionText,u=void 0===m?Object(y.__)("No thanks","woocommerce-admin"):m,p=r.acceptActionText,d=void 0===p?Object(y.__)("Yes, count me in!","woocommerce-admin"):p,b=this.state.isRequestStarted&&o;return Object(h.createElement)(k.Modal,{title:i,isDismissible:this.props.isDismissible,onRequestClose:function(){return e.props.onClose()},className:"woocommerce-usage-modal"},Object(h.createElement)("div",{className:"woocommerce-usage-modal__wrapper"},Object(h.createElement)("div",{className:"woocommerce-usage-modal__message"},l),Object(h.createElement)("div",{className:"woocommerce-usage-modal__actions"},Object(h.createElement)(k.Button,{isSecondary:!0,isBusy:b,onClick:function(){return e.updateTracking({allowTracking:!1})}},u),Object(h.createElement)(k.Button,{isPrimary:!0,isBusy:b,onClick:function(){return e.updateTracking({allowTracking:!0})}},d))))}}]),c}(h.Component);t.a=Object(g.compose)(Object(O.withSelect)((function(e){var t=e(C.OPTIONS_STORE_NAME),n=t.getOption,c=t.getOptionsUpdatingError,r=t.isOptionsUpdating;return{allowTracking:"yes"===n("woocommerce_allow_tracking"),isRequesting:Boolean(r()),hasErrors:Boolean(c())}})),Object(O.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(C.OPTIONS_STORE_NAME).updateOptions}})))(P)},615:function(e,t,n){"use strict";n.d(t,"d",(function(){return w})),n.d(t,"c",(function(){return P})),n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return c.default}));var c=n(609),r=(n(64),n(22)),o=n.n(r),a=n(23),i=n.n(a),s=n(24),l=n.n(s),m=n(25),u=n.n(m),p=n(14),d=n.n(p),b=n(2),f=n(0),_=n(26),h=n(50);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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=d()(e);if(t){var r=d()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return u()(this,n)}}var g=function(e){l()(n,e);var t=y(n);function n(){return o()(this,n),t.apply(this,arguments)}return i()(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.createNotice,n=e.markConfigured;Object(h.getQuery)()["wcpay-connection-success"]&&(t("success",Object(b.__)("WooCommerce Payments connected successfully.","woocommerce-admin")),n("wcpay",{"wcpay-connection-success":"1"}))}},{key:"render",value:function(){return null}}]),n}(f.Component),O=Object(_.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}}))(g);n(107);function w(e){var t=["US","PR"];return window.wcAdminFeatures&&window.wcAdminFeatures["wcpay/support-international-countries"]&&t.push("AU","CA","GB","IE","NZ"),t.includes(e)}var j=n(95),k=n.n(j),v=n(59),C=n(92),E=n(607);function P(e,t,n){var c=Object(b.__)("There was an error connecting to WooCommerce Payments. Please try again or connect later in store settings.","woocommerce-admin");n(["woocommerce-payments"]).then((function(){Object(C.recordEvent)("woocommerce_payments_install",{context:"tasklist"}),k()({path:v.WC_ADMIN_NAMESPACE+"/plugins/connect-wcpay",method:"POST"}).then((function(e){window.location=e.connectUrl})).catch((function(){t("error",c),e()}))})).catch((function(t){Object(E.a)(t),e()}))}},635:function(e,t,n){"use strict";n.d(t,"a",(function(){return Me}));n(37),n(53),n(60),n(49),n(61);var c=n(7),r=n.n(c),o=n(0),a=(n(107),n(140),n(41),n(2)),i=n(99),s=n.n(i),l=n(85),m=n(145),u=(n(64),n(80)),p=n.n(u),d=n(16),b=n.n(d),f=n(134),_=n.n(f),h=n(22),y=n.n(h),g=n(23),O=n.n(g),w=n(18),j=n.n(w),k=n(24),v=n.n(k),C=n(25),E=n.n(C),P=n(14),S=n.n(P),x=(n(66),n(4)),L=n(65),R=n(26),N=n(59);function A(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var T=function(e){v()(n,e);var t=A(n);function n(){var e;y()(this,n);for(var c=arguments.length,o=new Array(c),i=0;i<c;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),r()(j()(e),"getInitialConfigValues",(function(){return{account_name:"",account_number:"",bank_name:"",sort_code:"",iban:"",bic:""}})),r()(j()(e),"validate",(function(e){var t={};return e.account_number||e.iban||(t.account_number=t.iban=Object(a.__)("Please enter an account number or IBAN","woocommerce-admin")),t})),r()(j()(e),"updateSettings",function(){var t=_()(b.a.mark((function t(n){var c,r,o,i;return b.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=e.props,r=c.updateOptions,o=c.createNotice,i=c.markConfigured,t.next=3,r({woocommerce_bacs_settings:{enabled:"yes"},woocommerce_bacs_accounts:[n]});case 3:t.sent.success?(i("bacs"),o("success",Object(a.__)("Direct bank transfer details added successfully","woocommerce-admin"))):o("error",Object(a.__)("There was a problem saving your payment settings","woocommerce-admin"));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e}return O()(n,[{key:"render",value:function(){var e=this.props.isOptionsRequesting;return Object(o.createElement)(m.Form,{initialValues:this.getInitialConfigValues(),onSubmitCallback:this.updateSettings,validate:this.validate},(function(t){var n=t.getInputProps,c=t.handleSubmit;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.H,null,Object(a.__)("Add your bank details","woocommerce-admin")),Object(o.createElement)("p",null,Object(a.__)("These details are required to receive payments via bank transfer","woocommerce-admin")),Object(o.createElement)("div",{className:"woocommerce-task-payment-method__fields"},Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Account name","woocommerce-admin"),required:!0},n("account_name"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Account number","woocommerce-admin"),required:!0},n("account_number"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Bank name","woocommerce-admin"),required:!0},n("bank_name"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Sort code","woocommerce-admin"),required:!0},n("sort_code"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("IBAN","woocommerce-admin"),required:!0},n("iban"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("BIC / Swift","woocommerce-admin"),required:!0},n("bic")))),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:e,onClick:c},Object(a.__)("Save","woocommerce-admin")))}))}}]),n}(o.Component),M=Object(L.compose)(Object(R.withSelect)((function(e){return{isOptionsRequesting:(0,e(N.OPTIONS_STORE_NAME).isOptionsUpdating)()}})),Object(R.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(N.OPTIONS_STORE_NAME).updateOptions}})))(T),U=function(){return Object(o.createElement)("svg",{width:"96",height:"32",viewBox:"0 0 96 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("rect",{width:"32",height:"32",rx:"16",fill:"#8E9196"}),Object(o.createElement)("mask",{id:"bacs0","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"8",y:"8",width:"16",height:"16"},Object(o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.875 12.25L16 8.5L23.125 12.25V13.75H8.875V12.25ZM16 10.195L19.9075 12.25H12.0925L16 10.195ZM10.75 15.25H12.25V20.5H10.75V15.25ZM15.25 20.5V15.25H16.75V20.5H15.25ZM23.125 23.5V22H8.875V23.5H23.125ZM19.75 15.25H21.25V20.5H19.75V15.25Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#bacs0)"},Object(o.createElement)("rect",{x:"7",y:"7",width:"18",height:"18",fill:"white"})),Object(o.createElement)("mask",{id:"bacs1","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"39",y:"10",width:"18",height:"12"},Object(o.createElement)("path",{d:"M39 17L53.17 17L49.59 20.59L51 22L57 16L51 10L49.59 11.41L53.17 15L39 15L39 17Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#bacs1)"},Object(o.createElement)("rect",{x:"60",y:"28",width:"24",height:"24",transform:"rotate(-180 60 28)",fill:"#8E9196"})),Object(o.createElement)("rect",{x:"64",width:"32",height:"32",rx:"16",fill:"#8E9196"}),Object(o.createElement)("mask",{id:"bacs2","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"72",y:"8",width:"16",height:"16"},Object(o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.875 12.25L80 8.5L87.125 12.25V13.75H72.875V12.25ZM80 10.195L83.9075 12.25H76.0925L80 10.195ZM74.75 15.25H76.25V20.5H74.75V15.25ZM79.25 20.5V15.25H80.75V20.5H79.25ZM87.125 23.5V22H72.875V23.5H87.125ZM83.75 15.25H85.25V20.5H83.75V15.25Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#bacs2)"},Object(o.createElement)("rect",{x:"71",y:"7",width:"18",height:"18",fill:"white"})))},B=function(){return Object(o.createElement)("svg",{width:"96",height:"32",viewBox:"0 0 96 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("rect",{width:"32",height:"32",rx:"16",fill:"#8E9196"}),Object(o.createElement)("mask",{id:"cod-mask-0","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"7",y:"10",width:"18",height:"12"},Object(o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 13H19.75V10H9.25C8.425 10 7.75 10.675 7.75 11.5V19.75H9.25C9.25 20.995 10.255 22 11.5 22C12.745 22 13.75 20.995 13.75 19.75H18.25C18.25 20.995 19.255 22 20.5 22C21.745 22 22.75 20.995 22.75 19.75H24.25V16L22 13ZM21.625 14.125L23.095 16H19.75V14.125H21.625ZM10.75 19.75C10.75 20.1625 11.0875 20.5 11.5 20.5C11.9125 20.5 12.25 20.1625 12.25 19.75C12.25 19.3375 11.9125 19 11.5 19C11.0875 19 10.75 19.3375 10.75 19.75ZM13.165 18.25C12.7525 17.7925 12.1675 17.5 11.5 17.5C10.8325 17.5 10.2475 17.7925 9.835 18.25H9.25V11.5H18.25V18.25H13.165ZM19.75 19.75C19.75 20.1625 20.0875 20.5 20.5 20.5C20.9125 20.5 21.25 20.1625 21.25 19.75C21.25 19.3375 20.9125 19 20.5 19C20.0875 19 19.75 19.3375 19.75 19.75Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#cod-mask-0)"},Object(o.createElement)("rect",{x:"7",y:"7",width:"18",height:"18",fill:"white"})),Object(o.createElement)("mask",{id:"cod-mask-1","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"39",y:"10",width:"18",height:"12"},Object(o.createElement)("path",{d:"M39 17L53.17 17L49.59 20.59L51 22L57 16L51 10L49.59 11.41L53.17 15L39 15L39 17Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#cod-mask-1)"},Object(o.createElement)("rect",{x:"60",y:"28",width:"24",height:"24",transform:"rotate(-180 60 28)",fill:"#8E9196"})),Object(o.createElement)("rect",{x:"64",width:"32",height:"32",rx:"16",fill:"#8E9196"}),Object(o.createElement)("mask",{id:"cod-mask-2","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"76",y:"9",width:"8",height:"14"},Object(o.createElement)("path",{d:"M80.2926 15.175C78.5901 14.7325 78.0426 14.275 78.0426 13.5625C78.0426 12.745 78.8001 12.175 80.0676 12.175C81.4026 12.175 81.8976 12.8125 81.9426 13.75H83.6001C83.5476 12.46 82.7601 11.275 81.1926 10.8925V9.25H78.9426V10.87C77.4876 11.185 76.3176 12.13 76.3176 13.5775C76.3176 15.31 77.7501 16.1725 79.8426 16.675C81.7176 17.125 82.0926 17.785 82.0926 18.4825C82.0926 19 81.7251 19.825 80.0676 19.825C78.5226 19.825 77.9151 19.135 77.8326 18.25H76.1826C76.2726 19.8925 77.5026 20.815 78.9426 21.1225V22.75H81.1926V21.1375C82.6551 20.86 83.8176 20.0125 83.8176 18.475C83.8176 16.345 81.9951 15.6175 80.2926 15.175Z",fill:"white"})),Object(o.createElement)("g",{mask:"url(#cod-mask-2)"},Object(o.createElement)("rect",{x:"71",y:"7",width:"18",height:"18",fill:"white"})))},I=function(){return Object(o.createElement)("svg",{width:"100",height:"64",viewBox:"-10 0 120 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",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",fill:"#7F54B3"}),Object(o.createElement)("path",{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",fill:"white"}),Object(o.createElement)("path",{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",fill:"white"}),Object(o.createElement)("path",{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",fill:"white"}))},q=function(){return Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"24",fill:"#072654",viewBox:"0 0 1896 401"},Object(o.createElement)("path",{fill:"#3395FF",d:"M122.63 105.7l-15.75 57.97 90.15-58.3-58.96 219.98 59.88.05L285.05.48"}),Object(o.createElement)("path",{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"}))},F=function(){return Object(o.createElement)("svg",{fill:"none",viewBox:"0 0 677 200",width:"100",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("g",{fill:"#000"},Object(o.createElement)("path",{clipRule:"evenodd",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",fillRule:"evenodd"}),Object(o.createElement)("path",{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"}),Object(o.createElement)("path",{clipRule:"evenodd",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",fillRule:"evenodd"}),Object(o.createElement)("path",{d:"m403.26 3.15015h-32.205v194.25985h32.205z"}),Object(o.createElement)("path",{d:"m464.869 3.15015h-32.205v194.25985h32.205z"}),Object(o.createElement)("path",{d:"m526.478 68.5334h-32.205v128.8066h32.205z"}),Object(o.createElement)("path",{clipRule:"evenodd",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",fillRule:"evenodd"})))},V=function(){return Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 385.61334 192.41333",width:"100"},Object(o.createElement)("g",{transform:"matrix(1.3333333,0,0,-1.3333333,0,192.41333)"},Object(o.createElement)("g",{transform:"scale(0.1)",id:"g12"},Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 2507.22,898.414 c -18.79,0 -34.01,15.234 -34,34.024 l 0.05,150.352 h -12.54 c -77.78,0 -106.71,-12.83 -106.71,-83.685 V 833.316 c -0.01,-0.351 -0.05,-0.703 -0.05,-1.054 v -36.34 c -0.02,-1.258 -0.1,-2.43 -0.1,-3.731 V 560.543 c 0,-28.293 -5.45,-50.82 -16.7,-68.32 -21.21,-32.676 -63.2,-47.532 -130.38,-47.618 -67.15,0.086 -109.13,14.93 -130.34,47.579 -11.28,17.507 -16.74,40.046 -16.74,68.359 v 231.648 c 0,1.301 -0.07,2.473 -0.09,3.731 v 36.34 c 0,0.351 -0.04,0.703 -0.05,1.054 v 165.789 c 0,70.855 -28.93,83.685 -106.71,83.685 h -24.49 c -77.79,0 -106.71,-12.83 -106.71,-83.685 V 832.262 656.723 560.543 c 0,-70.547 15.91,-130.281 46.65,-178.434 59.37,-93.3 174.38,-142.988 337.88,-142.988 0.2,0 0.4,0.008 0.6,0.008 0.21,0 0.4,-0.008 0.61,-0.008 163.5,0 278.51,49.688 337.88,142.988 30.74,48.153 46.65,107.887 46.65,178.434 v 96.18 175.539 66.121 l -84.71,0.031"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 2866.82,1140.67 -127.94,0.05 c -13.95,0 -25.26,11.32 -25.25,25.27 l 0.04,129.52 c 0.01,13.96 11.33,25.27 25.28,25.27 l 127.93,-0.05 c 13.96,0 25.27,-11.32 25.27,-25.28 l -0.05,-129.52 c 0,-13.95 -11.32,-25.26 -25.28,-25.26"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 2696.34,1320.76 -86.89,0.03 c -9.48,0.01 -17.16,7.69 -17.16,17.16 l 0.03,87.97 c 0.01,9.49 7.7,17.16 17.17,17.16 l 86.89,-0.03 c 9.48,0 17.16,-7.69 17.16,-17.17 l -0.03,-87.97 c -0.01,-9.48 -7.69,-17.15 -17.17,-17.15"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 496.59,815.961 c 0,-104.07 -26.574,-160.469 -166.75,-160.469 H 114.059 v 268.586 c 0,37.246 13.847,51.094 51.089,51.094 H 329.84 c 105.605,0 166.75,-26.055 166.75,-159.211 z M 329.84,1082.95 H 143.77 C 44.3438,1082.95 0.00390625,1038.6 0.00390625,939.164 V 300.512 C 0.00390625,262.102 12.332,249.77 50.7422,249.77 h 12.5742 c 38.4136,0 50.7426,12.332 50.7426,50.742 V 548.98 H 329.84 c 191.582,0 280.812,84.844 280.812,266.981 0,182.148 -89.23,266.989 -280.812,266.989"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 1012.01,536.82 v -87.547 c 0,-71.375 -26.455,-112.695 -161.721,-112.695 -89.359,0 -132.801,32.344 -132.801,98.863 0,72.954 43.578,101.379 155.434,101.379 z M 850.289,899.801 c -73.738,0 -119.949,-9.25 -137.476,-12.754 -31.036,-6.75 -44.012,-15.266 -44.012,-50.559 V 826.43 c 0,-13.828 2.047,-23.407 6.441,-30.145 5.113,-7.851 13.348,-11.836 24.488,-11.836 5.434,0 11.727,0.918 19.243,2.793 17.722,4.434 74.379,13.594 136.347,13.594 111.297,0 156.69,-30.832 156.69,-106.406 V 626.988 H 871.66 c -180.422,0 -264.461,-60.859 -264.461,-191.547 0,-126.761 86.778,-196.57 244.352,-196.57 187.249,0 270.749,63.719 270.749,206.633 V 694.43 c 0,138.191 -88.97,205.371 -272.011,205.371"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 1739.43,870.035 c -7.95,9.981 -22.98,11.356 -38.05,11.356 h -11.3 c -37.55,0 -52.28,-11.582 -60.59,-47.606 L 1525.15,400.078 c -13.02,-53.297 -31.32,-63.039 -62.63,-63.039 -38.34,0 -53.69,9.152 -68.97,63.25 l -118.18,433.699 c -9.78,36.328 -24.21,47.403 -61.77,47.403 h -10.06 c -15.16,0 -30.26,-1.395 -38.01,-11.504 -7.76,-10.125 -5.14,-25.235 -1.14,-40.086 L 1283.82,392.34 c 22.4,-83.719 49.03,-153.02 148.53,-153.02 18.57,0 35.75,2.578 50.04,7.399 -30.18,-94.91 -60.88,-136.77 -151.41,-146.071 -18.37,-1.5269 -30.31,-4.1597 -36.96,-13.0777 -6.91,-9.25 -5.34,-22.5 -2.87,-34.332 l 2.49,-11.2188 C 1299.04,16.0781 1308.25,0 1337.37,0 c 3.06,0 6.35,0.160156 9.88,0.460938 C 1482.43,9.30859 1554.86,82.0898 1597.24,251.66 l 144.62,578.453 c 3.43,14.844 5.5,29.95 -2.43,39.922"}),Object(o.createElement)("path",{style:{fill:"#90cc23",fillOpacity:1,fillRule:"nonzero",stroke:"none"},d:"m 2679.57,1140.78 -172.26,0.06 c -18.79,0 -34.02,-15.23 -34.03,-34.02 l -0.01,-24.03 h 11.95 c 77.78,0 106.71,-12.83 106.71,-83.685 V 898.383 l 87.55,-0.028 c 18.79,-0.011 34.02,15.215 34.03,34.004 l 0.06,174.381 c 0,18.79 -15.22,34.03 -34,34.04"}))))},D=(n(203),n(88),n(187),n(95)),z=n.n(D),H=n(50);function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var K=function(e){v()(i,e);var t,n,c=Y(i);function i(e){var t;return y()(this,i),(t=c.call(this,e)).state={oAuthConnectFailed:!1,connectURL:null,isPending:!1},t.updateSettings=t.updateSettings.bind(j()(t)),t}return O()(i,[{key:"componentDidMount",value:function(){var e=this.state.oAuthConnectFailed,t=this.props.stripeSettings,n=Object(H.getQuery)();if(n["stripe-connect"]&&"1"===n["stripe-connect"]&&(t.publishable_key&&t.secret_key))return void this.completeMethod();e||this.fetchOAuthConnectURL()}},{key:"componentDidUpdate",value:function(e){var t=this.props.activePlugins;!e.activePlugins.includes("woocommerce-gateway-stripe")&&t.includes("woocommerce-gateway-stripe")&&this.fetchOAuthConnectURL()}},{key:"completeMethod",value:function(){var e=this.props,t=e.createNotice,n=e.markConfigured;this.setState({isPending:!1}),t("success",Object(a.__)("Stripe connected successfully.","woocommerce-admin")),n("stripe")}},{key:"fetchOAuthConnectURL",value:(n=_()(b.a.mark((function e(){var t;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.props.activePlugins.includes("woocommerce-gateway-stripe")){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,this.setState({isPending:!0}),e.next=7,z()({path:N.WCS_NAMESPACE+"/connect/stripe/oauth/init",method:"POST",data:{returnUrl:Object(l.f)("admin.php?page=wc-admin&task=payments&method=stripe&stripe-connect=1")}});case 7:if((t=e.sent)&&t.oauthUrl){e.next=11;break}return this.setState({oAuthConnectFailed:!0,isPending:!1}),e.abrupt("return");case 11:this.setState({connectURL:t.oauthUrl,isPending:!1}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(3),this.setState({oAuthConnectFailed:!0,isPending:!1});case 17:case"end":return e.stop()}}),e,this,[[3,14]])}))),function(){return n.apply(this,arguments)})},{key:"renderConnectButton",value:function(){var e=this.state.connectURL;return Object(o.createElement)(x.Button,{isPrimary:!0,href:e},Object(a.__)("Connect","woocommerce-admin"))}},{key:"updateSettings",value:(t=_()(b.a.mark((function e(t){var n,c,o,i,s,l;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=this.props,o=c.updateOptions,i=c.stripeSettings,s=c.createNotice,l=t.publishable_key.match(/^pk_live_/)?"":"test_",e.next=4,o({woocommerce_stripe_settings:W(W({},i),{},(n={},r()(n,l+"publishable_key",t.publishable_key),r()(n,l+"secret_key",t.secret_key),r()(n,"testmode","test_"===l?"yes":"no"),r()(n,"enabled","yes"),n))});case 4:e.sent.success?this.completeMethod():s("error",Object(a.__)("There was a problem saving your payment settings","woocommerce-admin"));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getInitialConfigValues",value:function(){return{publishable_key:"",secret_key:""}}},{key:"validateManualConfig",value:function(e){var t={};return null===e.publishable_key.match(/^pk_(live|test)_[a-zA-Z0-9_]+/)&&(t.publishable_key=Object(a.__)('Please enter a valid publishable key (starting with "pk_").',"woocommerce-admin")),null===e.secret_key.match(/^[rs]k_(live|test)_[a-zA-Z0-9_]+/)?t.secret_key=Object(a.__)('Please enter a valid secret key (starting with "sk_" or "rk_").',"woocommerce-admin"):e.secret_key.slice(3,7)!==e.publishable_key.slice(3,7)&&(t.secret_key=Object(a.__)("Please enter a secret key in the same mode as the publishable key.","woocommerce-admin")),t}},{key:"renderManualConfig",value:function(){var e=this.props.isOptionsUpdating,t=s()({mixedString:Object(a.__)("Your API details can be obtained from your {{docsLink}}Stripe account{{/docsLink}}. Don’t have a Stripe account? {{registerLink}}Create one.{{/registerLink}}","woocommerce-admin"),components:{docsLink:Object(o.createElement)(m.Link,{href:"https://stripe.com/docs/keys",target:"_blank",type:"external"}),registerLink:Object(o.createElement)(m.Link,{href:"https://dashboard.stripe.com/register",target:"_blank",type:"external"})}});return Object(o.createElement)(m.Form,{initialValues:this.getInitialConfigValues(),onSubmitCallback:this.updateSettings,validate:this.validateManualConfig},(function(n){var c=n.getInputProps,r=n.handleSubmit;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Publishable Key","woocommerce-admin"),required:!0},c("publishable_key"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Secret Key","woocommerce-admin"),required:!0},c("secret_key"))),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:e,onClick:r},Object(a.__)("Proceed","woocommerce-admin")),Object(o.createElement)("p",null,t))}))}},{key:"renderOauthConfig",value:function(){var e=this,t=s()({mixedString:Object(a.__)('By clicking "Connect," you agree to the {{tosLink}}Terms of Service{{/tosLink}}. Or {{manualConfigLink}}manually enter your Stripe API details{{/manualConfigLink}} instead.',"woocommerce-admin"),components:{tosLink:Object(o.createElement)(m.Link,{href:"https://wordpress.com/tos",target:"_blank",type:"external"}),manualConfigLink:Object(o.createElement)(x.Button,{isLink:!0,onClick:function(){e.setState({connectURL:null})}})}});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,this.renderConnectButton()),t)}},{key:"getConnectStep",value:function(){var e=this.state,t=e.connectURL,n=e.isPending,c=e.oAuthConnectFailed,r={key:"connect",label:Object(a.__)("Connect your Stripe account","woocommerce-admin")};return n?r:W(W({},r),{},!c&&t?{description:Object(a.__)("A Stripe account is required to process payments.","woocommerce-admin"),content:this.renderOauthConfig()}:{content:this.renderManualConfig()})}},{key:"render",value:function(){var e=this.props,t=e.installStep,n=e.isOptionsUpdating,c=this.state.isPending;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete||n||c,currentStep:t.isComplete?"connect":"install",steps:[t,this.getConnectStep()]})}}]),i}(o.Component),G=Object(L.compose)(Object(R.withSelect)((function(e){var t=e(N.OPTIONS_STORE_NAME),n=t.getOption,c=t.isOptionsUpdating;return{activePlugins:(0,e(N.PLUGINS_STORE_NAME).getActivePlugins)(),isOptionsUpdating:c(),stripeSettings:n("woocommerce_stripe_settings")||[]}})),Object(R.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(N.OPTIONS_STORE_NAME).updateOptions}})))(K);function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var $=function(e){v()(c,e);var t,n=X(c);function c(e){var t;return y()(this,c),(t=n.call(this,e)).state={isPending:!1},t.connect=t.connect.bind(j()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){var e=this.props,t=e.createNotice,n=e.markConfigured,c=Object(H.getQuery)();c["square-connect"]&&"1"===c["square-connect"]&&(t("success",Object(a.__)("Square connected successfully.","woocommerce-admin")),n("square"))}},{key:"connect",value:(t=_()(b.a.mark((function e(){var t,n,c,r,o,i,s,l;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.createNotice,c=t.hasCbdIndustry,r=t.options,o=t.updateOptions,this.setState({isPending:!0}),o({woocommerce_square_credit_card_settings:J(J({},r.woocommerce_square_credit_card_settings),{},{enabled:"yes"})}),i=Object(a.__)("There was an error connecting to Square. Please try again or skip to connect later in store settings.","woocommerce-admin"),e.prev=4,s=null,c&&(s=window.open("/","_blank")),e.next=9,z()({path:N.WC_ADMIN_NAMESPACE+"/plugins/connect-square",method:"POST"});case 9:if((l=e.sent)&&l.connectUrl){e.next=15;break}return this.setState({isPending:!1}),n("error",i),c&&s.close(),e.abrupt("return");case 15:this.setState({isPending:!0}),this.redirect(l.connectUrl,s),e.next=23;break;case 19:e.prev=19,e.t0=e.catch(4),this.setState({isPending:!1}),n("error",i);case 23:case"end":return e.stop()}}),e,this,[[4,19]])}))),function(){return t.apply(this,arguments)})},{key:"redirect",value:function(e,t){t?(t.location.href=e,window.location=Object(l.f)("admin.php?page=wc-admin")):window.location=e}},{key:"render",value:function(){var e=this.props.installStep,t=this.state.isPending;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!e.isComplete||t,currentStep:e.isComplete?"connect":"install",steps:[e,{key:"connect",label:Object(a.__)("Connect your Square account","woocommerce-admin"),description:Object(a.__)("A Square account is required to process payments. You will be redirected to the Square website to create the connection.","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:t,onClick:this.connect},Object(a.__)("Connect","woocommerce-admin")))}]})}}]),c}(o.Component),ee=Object(L.compose)(Object(R.withSelect)((function(e){var t=e(N.OPTIONS_STORE_NAME),n=t.getOption,c=t.isResolving;return{options:n("woocommerce_square_credit_card_settings"),optionsIsRequesting:c("getOption",["woocommerce_square_credit_card_settings"])}})),Object(R.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(N.OPTIONS_STORE_NAME).updateOptions}})))($),te=n(615),ne=n(78);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var ae="woocommerce-paypal-payments";function ie(e,t,n){try{ppcp_onboarding&&n()}catch(r){var c=document.createElement("script");c.src=e,document.body.append(c),c.onload=function(){n()},window.PayPalCommerceGatewayOnboarding=t}}function se(e){var t=e.connectUrl;return Object(o.useEffect)((function(){ppcp_onboarding&&ppcp_onboarding.reload()}),[]),Object(o.createElement)("a",{className:"button-primary",target:"_blank",rel:"noreferrer",href:t,"data-paypal-onboard-button":"true","data-paypal-button":"true","data-paypal-onboard-complete":"ppcp_onboarding_productionCallback"},Object(a.__)("Connect","woocommerce-admin"))}var le=function(e){v()(u,e);var t,n,c,i,l=oe(u);function u(e){var t;return y()(this,u),(t=l.call(this,e)).state={autoConnectFailed:!1,connectURL:""},t.enablePaypalPlugin=t.enablePaypalPlugin.bind(j()(t)),t.setCredentials=t.setCredentials.bind(j()(t)),t.validate=t.validate.bind(j()(t)),t}return O()(u,[{key:"componentDidMount",value:function(){var e=this.props.createNotice,t=Object(H.getQuery)();if(t.onboarding)return"complete"!==t.onboarding||t["ppcp-onboarding-error"]?void(t["ppcp-onboarding-error"]&&(this.setState({autoConnectFailed:!0}),e("error",Object(a.__)("There was a problem saving your payment settings through the onboarding, please fill the fields in manually.","woocommerce-admin")))):void this.enablePaypalPlugin();this.fetchOAuthConnectURLAndOnboardingSetup()}},{key:"componentDidUpdate",value:function(e){var t=this.props.activePlugins;!e.activePlugins.includes(ae)&&t.includes(ae)&&this.fetchOAuthConnectURLAndOnboardingSetup()}},{key:"fetchOAuthConnectURLAndOnboardingSetup",value:(i=_()(b.a.mark((function e(){var t,n,c,r,o=this;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props,n=t.activePlugins,c=t.createNotice,n.includes(ae)){e.next=3;break}return e.abrupt("return");case 3:return this.setState({isPending:!0}),e.prev=4,e.next=7,z()({path:"/wc-paypal/v1/onboarding/get-params",method:"POST",data:{environment:"production",returnUrlArgs:{ppcpobw:"1"}}});case 7:if((r=e.sent)&&r.signupLink){e.next=11;break}return this.setState({autoConnectFailed:!0,isPending:!1}),e.abrupt("return");case 11:ie(r.scriptURL,r.scriptData,(function(){o.setState({connectURL:r.signupLink,isPending:!1})})),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(4),e.t0&&e.t0.data&&500===e.t0.data.status&&c("error",Object(a.__)("There was a problem with the Paypal onboarding setup, please fill the fields in manually.","woocommerce-admin")),this.setState({autoConnectFailed:!0,isPending:!1});case 18:case"end":return e.stop()}}),e,this,[[4,14]])}))),function(){return i.apply(this,arguments)})},{key:"enablePaypalPlugin",value:(c=_()(b.a.mark((function e(t){var n,c,r,o,i,s;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props,c=n.createNotice,r=n.updateOptions,o=n.markConfigured,i=n.options,s={"woocommerce_ppcp-gateway_settings":{enabled:"yes"}},t||(s["woocommerce-ppcp-settings"]=re(re({},i),{},{enabled:!0})),e.next=5,r(s);case 5:e.sent.success?(c("success",Object(a.__)("PayPal connected successfully.","woocommerce-admin")),o("paypal")):c("error",Object(a.__)("There was a problem saving your payment settings.","woocommerce-admin"));case 7:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"setCredentials",value:(n=_()(b.a.mark((function e(t){var n,c;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props.createNotice,e.prev=1,e.next=4,z()({path:"/wc-paypal/v1/onboarding/set-credentials",method:"POST",data:re({environment:"production"},t)});case 4:if(!(c=e.sent)||!c.data){e.next=9;break}n("error",Object(a.__)("There was a problem updating the credentials.","woocommerce-admin")),e.next=11;break;case 9:return e.next=11,this.enablePaypalPlugin(!0);case 11:e.next=18;break;case 13:if(e.prev=13,e.t0=e.catch(1),!e.t0||!e.t0.data||404!==e.t0.data.status){e.next=18;break}return e.next=18,this.updateManualSettings(t);case 18:case"end":return e.stop()}}),e,this,[[1,13]])}))),function(e){return n.apply(this,arguments)})},{key:"updateManualSettings",value:(t=_()(b.a.mark((function e(t){var n,c,o,i,s,l,m;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props,c=n.createNotice,o=n.options,i=n.updateOptions,s=n.markConfigured,l=Object.keys(t).reduce((function(e,n){var c=n+"_production";return re(re({},e),{},r()({},c,t[n]))}),{}),m=re(re({},o),{},{enabled:!0,sandbox_on:!1,merchant_email:t.merchant_email,merchant_id:t.merchant_id},l),e.next=5,i({"woocommerce-ppcp-settings":m,"woocommerce_ppcp-gateway_settings":{enabled:"yes"}});case 5:e.sent.success?(c("success",Object(a.__)("PayPal connected successfully.","woocommerce-admin")),s("paypal")):c("error",Object(a.__)("There was a problem saving your payment settings.","woocommerce-admin"));case 7:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getInitialConfigValues",value:function(){var e=this.props.options;return["merchant_email","merchant_id","client_id","client_secret"].reduce((function(t,n){return re(re({},t),{},r()({},n,e&&e[n+"_production"]?e[n+"_production"]:""))}),{})}},{key:"validate",value:function(e){var t={};return e.merchant_email||(t.merchant_email=Object(a.__)("Please enter your Merchant email","woocommerce-admin")),Object(ne.isEmail)(e.merchant_email)||(t.merchant_email=Object(a.__)("Please enter a valid email address","woocommerce-admin")),e.merchant_id||(t.merchant_id=Object(a.__)("Please enter your Merchant Id","woocommerce-admin")),e.client_id||(t.client_id=Object(a.__)("Please enter your Client Id","woocommerce-admin")),e.client_secret||(t.client_secret=Object(a.__)("Please enter your Client Secret","woocommerce-admin")),t}},{key:"renderManualConfig",value:function(){var e=this.props.isOptionsUpdating,t=s()({mixedString:Object(a.__)("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"),components:{docsLink:Object(o.createElement)(m.Link,{href:"https://developer.paypal.com/docs/api-basics/manage-apps/#create-or-edit-sandbox-and-live-apps",target:"_blank",type:"external"}),merchantLink:Object(o.createElement)(m.Link,{href:"https://www.paypal.com/ca/smarthelp/article/FAQ3850",target:"_blank",type:"external"}),registerLink:Object(o.createElement)(m.Link,{href:"https://www.paypal.com/us/business",target:"_blank",type:"external"})}});return Object(o.createElement)(m.Form,{initialValues:this.getInitialConfigValues(),onSubmitCallback:this.setCredentials,validate:this.validate},(function(n){var c=n.getInputProps,r=n.handleSubmit;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Email address","woocommerce-admin"),required:!0},c("merchant_email"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Merchant Id","woocommerce-admin"),required:!0},c("merchant_id"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Client Id","woocommerce-admin"),required:!0},c("client_id"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Secret Key","woocommerce-admin"),required:!0},c("client_secret"))),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:e,onClick:r},Object(a.__)("Proceed","woocommerce-admin")),Object(o.createElement)("p",null,t))}))}},{key:"renderConnectFields",value:function(){var e=this.state,t=e.autoConnectFailed,n=e.connectURL;return!t&&n?Object(o.createElement)(o.Fragment,null,Object(o.createElement)(se,{connectUrl:n}),Object(o.createElement)("p",null,Object(a.__)("You will be redirected to the PayPal website to create the connection.","woocommerce-admin"))):t?this.renderManualConfig():void 0}},{key:"getConnectStep",value:function(){var e=this.props.isRequestingOptions;return{key:"connect",label:Object(a.__)("Connect your PayPal account","woocommerce-admin"),description:Object(a.__)("A PayPal account is required to process payments. Connect your store to your PayPal account.","woocommerce-admin"),content:e?null:this.renderConnectFields()}}},{key:"render",value:function(){var e=this.props,t=e.installStep,n=e.isRequestingOptions,c=e.isOptionsUpdating,r=this.state.isPending;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete||r||n||c,currentStep:t.isComplete?"connect":"install",steps:[t,this.getConnectStep()]})}}]),u}(o.Component);le.defaultProps={manualConfig:!1};var me=Object(L.compose)(Object(R.withSelect)((function(e){var t=e(N.OPTIONS_STORE_NAME),n=t.getOption,c=t.isOptionsUpdating,r=t.hasFinishedResolution,o=e(N.PLUGINS_STORE_NAME).getActivePlugins,a=n("woocommerce-ppcp-settings"),i=!r("getOption",["woocommerce-ppcp-settings"]);return{activePlugins:o(),isOptionsUpdating:c(),options:a,isRequestingOptions:i}})),Object(R.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(N.OPTIONS_STORE_NAME).updateOptions}})))(le),ue=n(231),pe=function(e){var t=e.installStep,n=e.markConfigured,c=Object(R.useSelect)((function(e){var t=(0,e(N.SETTINGS_STORE_NAME).getSettings)("general").general,n=void 0===t?{}:t;return{countryCode:Object(ue.b)(n.woocommerce_default_country)}})).countryCode;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete,currentStep:t.isComplete?"connect":"install",steps:[t,{key:"connect",label:Object(a.__)("Connect to your Mercado Pago account","woocommerce-admin"),content:Object(o.createElement)(de,{countryCode:c,onFinish:function(){return n("mercadopago")}})}]})},de=function(e){var t=e.countryCode,n=e.onFinish,c=Object(o.createElement)(m.Link,{href:"".concat(l.a,"admin.php?page=wc-settings&tab=checkout"),target:"_blank",type:"external"}),r=Object(o.createElement)(m.Link,{href:["AR","BR","CL","CO","MX","PE","UY"].includes(t)?"".concat("https://www.mercadopago.com",".").concat(t.toLowerCase(),"/registration-company?confirmation_url=").concat("https://www.mercadopago.com",".").concat(t.toLowerCase(),"%2Fcomo-cobrar"):"https://www.mercadopago.com",target:"_blank",type:"external"}),i=s()({mixedString:Object(a.__)("Mercado Pago can be configured under your {{settingsLink}}store settings.{{/settingsLink}} Create your Mercado Pago account {{accountLink}}here.{{/accountLink}}","woocommerce-admin"),components:{accountLink:r,settingsLink:c}});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,i),Object(o.createElement)(x.Button,{isPrimary:!0,onClick:n},Object(a.__)("Continue","woocommerce-admin")))};function be(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var fe=function(e){v()(n,e);var t=be(n);function n(e){var c;return y()(this,n),(c=t.call(this,e)).continue=c.continue.bind(j()(c)),c}return O()(n,[{key:"continue",value:function(){var e=this.props;(0,e.markConfigured)("checkout"===e.plugin?"klarna_checkout":"klarna_payments")}},{key:"renderConnectStep",value:function(){var e=this.props.plugin,t="checkout"===e?"klarna-checkout":"klarna-payments",n="checkout"===e?"kco":"klarna_payments",c=Object(o.createElement)(m.Link,{href:l.a+"admin.php?page=wc-settings&tab=checkout§ion="+n,target:"_blank",type:"external"}),r=Object(o.createElement)(m.Link,{href:"https://docs.woocommerce.com/document/"+t+"/#section-3",target:"_blank",type:"external"}),i=s()({mixedString:Object(a.__)("Klarna can be configured under your {{link}}store settings{{/link}}. Figure out {{helpLink}}what you need{{/helpLink}}.","woocommerce-admin"),components:{link:c,helpLink:r}});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,i),Object(o.createElement)(x.Button,{isPrimary:!0,onClick:this.continue},Object(a.__)("Continue","woocommerce-admin")))}},{key:"render",value:function(){var e=this.props.installStep;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!e.isComplete,currentStep:e.isComplete?"connect":"install",steps:[e,{key:"connect",label:Object(a.__)("Connect your Klarna account","woocommerce-admin"),content:this.renderConnectStep()}]})}}]),n}(o.Component);function _e(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,c=S()(e);if(t){var r=S()(this).constructor;n=Reflect.construct(c,arguments,r)}else n=c.apply(this,arguments);return E()(this,n)}}var he=function(e){v()(n,e);var t=_e(n);function n(){var e;y()(this,n);for(var c=arguments.length,o=new Array(c),i=0;i<c;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),r()(j()(e),"getInitialConfigValues",(function(){return{customer_api:"",customer_password:""}})),r()(j()(e),"validate",(function(e){var t={};return e.customer_api||(t.customer_api=Object(a.__)("Please enter your customer API key ","woocommerce-admin")),e.customer_password||(t.customer_password=Object(a.__)("Please enter your customer password","woocommerce-admin")),t})),r()(j()(e),"updateSettings",function(){var t=_()(b.a.mark((function t(n){var c,r,o,i;return b.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=e.props,r=c.updateOptions,o=c.createNotice,i=c.markConfigured,t.next=3,r({woocommerce_eway_settings:{customer_api:n.customer_api,customer_password:n.customer_password,enabled:"yes"}});case 3:t.sent.success?(i("eway"),o("success",Object(a.__)("eWAY connected successfully","woocommerce-admin"))):o("error",Object(a.__)("There was a problem saving your payment settings","woocommerce-admin"));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e}return O()(n,[{key:"renderConnectStep",value:function(){var e=this.props.isOptionsRequesting,t=s()({mixedString:Object(a.__)("Your API details can be obtained from your {{link}}eWAY account{{/link}}","woocommerce-admin"),components:{link:Object(o.createElement)(m.Link,{href:"https://www.eway.com.au/",target:"_blank",type:"external"})}});return Object(o.createElement)(m.Form,{initialValues:this.getInitialConfigValues(),onSubmitCallback:this.updateSettings,validate:this.validate},(function(n){var c=n.getInputProps,r=n.handleSubmit;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Customer API Key","woocommerce-admin"),required:!0},c("customer_api"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Customer Password","woocommerce-admin"),required:!0},c("customer_password"))),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:e,onClick:r},Object(a.__)("Proceed","woocommerce-admin")),Object(o.createElement)("p",null,t))}))}},{key:"render",value:function(){var e=this.props,t=e.installStep,n=e.isOptionsRequesting;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete||n,currentStep:t.isComplete?"connect":"install",steps:[t,{key:"connect",label:Object(a.__)("Connect your eWAY account","woocommerce-admin"),content:this.renderConnectStep()}]})}}]),n}(o.Component),ye=Object(L.compose)(Object(R.withSelect)((function(e){return{isOptionsRequesting:(0,e(N.OPTIONS_STORE_NAME).isOptionsUpdating)()}})),Object(R.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice,updateOptions:e(N.OPTIONS_STORE_NAME).updateOptions}})))(he),ge={key_id:"",key_secret:""},Oe=function(e){var t={};return e.key_id||(t.key_id=Object(a.__)("Please enter your Key ID","woocommerce-admin")),e.key_secret||(t.key_secret=Object(a.__)("Please enter your Key Secret","woocommerce-admin")),t},we=function(){var e=_()(b.a.mark((function e(t,n,c,r){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r({woocommerce_razorpay_settings:{key_id:t.key_id,key_secret:t.key_secret,enabled:"yes"}});case 2:e.sent.success?(c("razorpay"),n("success",Object(a.__)("Razorpay connected successfully","woocommerce-admin"))):n("error",Object(a.__)("There was a problem saving your payment settings","woocommerce-admin"));case 4:case"end":return e.stop()}}),e)})));return function(t,n,c,r){return e.apply(this,arguments)}}(),je=function(e){var t=e.createNotice,n=e.isOptionsRequesting,c=e.markConfigured,r=e.updateOptions,i=s()({mixedString:Object(a.__)("Your key details can be obtained from your {{link}}Razorpay account{{/link}}","woocommerce-admin"),components:{link:Object(o.createElement)(m.Link,{href:"https://dashboard.razorpay.com/#/access/signin",target:"_blank",type:"external"})}});return Object(o.createElement)(m.Form,{initialValues:ge,onSubmitCallback:function(e){return we(e,t,c,r)},validate:Oe},(function(e){var t=e.getInputProps,c=e.handleSubmit;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Key ID","woocommerce-admin"),required:!0},t("key_id"))),Object(o.createElement)(m.TextControl,p()({label:Object(a.__)("Key Secret","woocommerce-admin"),required:!0},t("key_secret"))),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:n,onClick:c},Object(a.__)("Proceed","woocommerce-admin")),Object(o.createElement)("p",null,i))}))},ke=function(e){var t=e.createNotice,n=e.installStep,c=e.isOptionsRequesting,r=e.markConfigured,i=e.updateOptions;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!n.isComplete||c,currentStep:n.isComplete?"connect":"install",steps:[n,{key:"connect",label:Object(a.__)("Connect your Razorpay account","woocommerce-admin"),content:je({createNotice:t,isOptionsRequesting:c,markConfigured:r,updateOptions:i})}]})},ve=function(e){var t=e.installStep,n=e.markConfigured,c=Object(R.useSelect)((function(e){return e(N.OPTIONS_STORE_NAME).isOptionsUpdating}))(),r=Object(R.useDispatch)("core/notices").createNotice,a=Object(R.useDispatch)(N.OPTIONS_STORE_NAME).updateOptions;return Object(o.createElement)(ke,{createNotice:r,installStep:t,isOptionsRequesting:c,markConfigured:n,updateOptions:a})},Ce=function(e){var t=e.installStep,n=e.markConfigured;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete,currentStep:t.isComplete?"connect":"install",steps:[t,{key:"connect",label:Object(a.__)("Connect your Mollie account","woocommerce-admin"),content:Object(o.createElement)(Ee,{onFinish:function(){n("mollie")}})}]})},Ee=function(e){var t=e.onFinish,n=Object(o.createElement)(m.Link,{href:"".concat(l.a,"admin.php?page=wc-settings&tab=mollie_settings#mollie-payments-for-woocommerce"),target:"_blank",type:"external"}),c=Object(o.createElement)(m.Link,{href:"https://www.mollie.com/dashboard/signup",target:"_blank",type:"external"}),r=s()({mixedString:Object(a.__)("Create a {{accountLink}}Mollie account{{/accountLink}} and finish the configuration in the {{settingsLink}}Mollie settings.{{/settingsLink}}","woocommerce-admin"),components:{accountLink:c,settingsLink:n}});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,r),Object(o.createElement)(x.Button,{isPrimary:!0,onClick:t},Object(a.__)("Continue","woocommerce-admin")))},Pe=function(e){var t=e.installStep,n=e.markConfigured;return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!t.isComplete,currentStep:t.isComplete?"connect":"install",steps:[t,{key:"connect",label:Object(a.__)("Connect to your PayU account","woocommerce-admin"),content:Object(o.createElement)(Se,{onFinish:function(){n("payubiz")}})}]})},Se=function(e){var t=e.onFinish,n=Object(o.createElement)(m.Link,{href:"".concat(l.a,"admin.php?page=wc-settings&tab=checkout§ion=payubiz"),target:"_blank",type:"external"}),c=Object(o.createElement)(m.Link,{href:"https://onboarding.payu.in/app/account",target:"_blank",type:"external"}),r=s()({mixedString:Object(a.__)("PayU can be configured under your {{settingsLink}}store settings.{{/settingsLink}} Create your PayU account {{accountLink}}here.{{/accountLink}}","woocommerce-admin"),components:{accountLink:c,settingsLink:n}});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,r),Object(o.createElement)(x.Button,{isPrimary:!0,onClick:t},Object(a.__)("Continue","woocommerce-admin")))};n(129),n(135),n(51);function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Re(e){var t,n=e.installStep,c=e.markConfigured,i=e.methodConfig,l=Object(R.useDispatch)(N.OPTIONS_STORE_NAME).updateOptions,u=Object(R.useDispatch)("core/notices").createNotice,d=Object(R.useSelect)((function(e){return(0,e(N.OPTIONS_STORE_NAME).isOptionsUpdating)()})),f=function(){if(i&&i.fields)return i.fields.reduce((function(e,t){return Le(Le({},e),{},r()({},t.name,""))}),{})},h=function(e){return i&&i.fields?i.fields.reduce((function(t,n){if(!e[n.name]){var c=n.title.replace(/([A-Z][a-z]+)/,(function(e){return e.toLowerCase()}));return Le(Le({},t),{},r()({},n.name,Object(a.__)("Please enter your ")+c))}return t}),{}):{}},y=function(){var e=_()(b.a.mark((function e(t){var n;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=i.getOptions?i.getOptions(t):null){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,l(Le({},n));case 5:e.sent.success?(c(i.key),u("success",i.title+Object(a.__)(" connected successfully","woocommerce-admin"))):u("error",Object(a.__)("There was a problem saving your payment settings","woocommerce-admin"));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(o.createElement)(m.Stepper,{isVertical:!0,isPending:!n.isComplete||d,currentStep:n.isComplete?"connect":"install",steps:[n,{key:"connect",label:Object(a.sprintf)(Object(a.__)("Connect your %(title)s account","woocommerce-admin"),{title:i.title}),content:(t=s()({mixedString:Object(a.__)("Your API details can be obtained from your {{link/}}","woocommerce-admin"),components:{link:Object(o.createElement)(m.Link,{href:i.apiDetailsLink,target:"_blank",type:"external"},Object(a.sprintf)(Object(a.__)("%(title)s account","woocommerce-admin"),{title:i.title}))}}),Object(o.createElement)(m.Form,{initialValues:f(),onSubmitCallback:y,validate:h},(function(e){var n=e.getInputProps,c=e.handleSubmit;return Object(o.createElement)(o.Fragment,null,(i.fields||[]).map((function(e){return Object(o.createElement)(m.TextControl,p()({key:e.name,label:e.title,required:!0},n(e.name)))})),Object(o.createElement)(x.Button,{isPrimary:!0,isBusy:d,onClick:c},Object(a.__)("Proceed","woocommerce-admin")),Object(o.createElement)("p",null,t))})))}]})}function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Te=Object(l.g)("wcAdminAssetUrl","");function Me(e){var t=e.activePlugins,n=e.countryCode,c=e.createNotice,r=e.installAndActivatePlugins,i=e.onboardingStatus,u=e.options,p=e.profileItems,d=e.paypalOnboardingStatus,b=e.loadingPaypalStatus,f=i.stripeSupportedCountries,_=void 0===f?[]:f,h=i.wcPayIsConnected,y=void 0!==h&&h,g=i.enabledPaymentGateways,O=void 0===g?[]:g,w=(p.industry||[]).some((function(e){return"cbd-other-hemp-derived-products"===e.slug})),j=u.woocommerce_stripe_settings&&("no"===u.woocommerce_stripe_settings.testmode?u.woocommerce_stripe_settings.publishable_key&&u.woocommerce_stripe_settings.secret_key:u.woocommerce_stripe_settings.test_publishable_key&&u.woocommerce_stripe_settings.test_secret_key),k=[{key:"stripe",title:Object(a.__)("Credit cards - powered by Stripe","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Accept debit and credit cards in 135+ currencies, methods such as Alipay, and one-touch checkout with Apple Pay.","woocommerce-admin")),before:Object(o.createElement)("img",{src:l.e+"images/stripe.png",alt:""}),visible:_.includes(n)&&!w,plugins:["woocommerce-gateway-stripe"],container:Object(o.createElement)(G,null),isConfigured:j,isEnabled:u.woocommerce_stripe_settings&&"yes"===u.woocommerce_stripe_settings.enabled,optionName:"woocommerce_stripe_settings"},{key:"paystack",title:Object(a.__)("Paystack","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Paystack helps African merchants accept one-time and recurring payments online with a modern, safe, and secure payment gateway.","woocommerce-admin")),before:Object(o.createElement)("img",{src:Te+"onboarding/paystack.png",alt:"Paystack logo"}),visible:["ZA","GH","NG"].includes(n)&&!w,plugins:["woo-paystack"],container:Object(o.createElement)(Re,null),isConfigured:u.woocommerce_paystack_settings&&u.woocommerce_paystack_settings.live_public_key&&u.woocommerce_paystack_settings.live_secret_key,isEnabled:O.includes("paystack"),optionName:"woocommerce_paystack_settings",apiDetailsLink:"https://dashboard.paystack.com/#/settings/developer",fields:[{name:"live_public_key",title:Object(a.__)("Live Public Key","woocommerce-admin")},{name:"live_secret_key",title:Object(a.__)("Live Secret Key","woocommerce-admin")}],getOptions:function(e){return{woocommerce_currency:"ZAR",woocommerce_paystack_settings:Ae(Ae({},e),{},{testmode:"no"})}}},{key:"payfast",title:Object(a.__)("PayFast","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("The PayFast extension for WooCommerce enables you to accept payments by Credit Card and EFT via one of South Africa’s most popular payment gateways. No setup fees or monthly subscription costs.","woocommerce-admin"),Object(o.createElement)("p",null,Object(a.__)("Selecting this extension will configure your store to use South African rands as the selected currency.","woocommerce-admin"))),before:Object(o.createElement)("img",{src:l.e+"images/payfast.png",alt:"PayFast logo"}),visible:["ZA"].includes(n)&&!w,plugins:["woocommerce-payfast-gateway"],container:Object(o.createElement)(Re,null),isConfigured:u.woocommerce_payfast_settings&&u.woocommerce_payfast_settings.merchant_id&&u.woocommerce_payfast_settings.merchant_key&&u.woocommerce_payfast_settings.pass_phrase,isEnabled:u.woocommerce_payfast_settings&&"yes"===u.woocommerce_payfast_settings.enabled,optionName:"woocommerce_payfast_settings",apiDetailsLink:"https://www.payfast.co.za/",fields:[{name:"merchant_id",title:Object(a.__)("Merchant ID","woocommerce-admin")},{name:"merchant_key",title:Object(a.__)("Merchant Key","woocommerce-admin")},{name:"pass_phrase",title:Object(a.__)("Passphrase","woocommerce-admin")}],getOptions:function(e){return{woocommerce_currency:"ZAR",woocommerce_payfast_settings:Ae(Ae({},e),{},{testmode:"no"})}}},{key:"mercadopago",title:Object(a.__)("Mercado Pago Checkout Pro & Custom","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Accept credit and debit cards, offline (cash or bank transfer) and logged-in payments with money in Mercado Pago. Safe and secure payments with the leading payment processor in LATAM.","woocommerce-admin")),before:Object(o.createElement)("img",{src:Te+"onboarding/mercadopago.png",alt:""}),visible:["AR","BR","CL","CO","MX","PE","UY"].includes(n),plugins:["woocommerce-mercadopago"],container:Object(o.createElement)(pe,null),isConfigured:t.includes("woocommerce-mercadopago"),isEnabled:u["woocommerce_woo-mercado-pago-basic_settings"]&&"yes"===u["woocommerce_woo-mercado-pago-basic_settings"].enabled,optionName:"woocommerce_woo-mercado-pago-basic_settings"},{key:"paypal",title:Object(a.__)("PayPal Payments","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Safe and secure payments using credit cards or your customer's PayPal account.","woocommerce-admin")),before:Object(o.createElement)("img",{src:l.e+"images/paypal.png",alt:""}),visible:!w,plugins:[ae],container:Object(o.createElement)(me,null),isConfigured:d&&d.production&&d.production.onboarded,isEnabled:O.includes("ppcp-gateway"),optionName:"woocommerce_ppcp-gateway_settings",loading:!!t.includes(ae)&&b},{key:"klarna_checkout",title:Object(a.__)("Klarna Checkout","woocommerce-admin"),content:Object(a.__)("Choose the payment that you want, pay now, pay later or slice it. No credit card numbers, no passwords, no worries.","woocommerce-admin"),before:Object(o.createElement)("img",{src:l.e+"images/klarna-black.png",alt:""}),visible:["SE","FI","NO"].includes(n)&&!w,plugins:["klarna-checkout-for-woocommerce"],container:Object(o.createElement)(fe,{plugin:"checkout"}),isConfigured:t.includes("klarna-checkout-for-woocommerce"),isEnabled:u.woocommerce_kco_settings&&"yes"===u.woocommerce_kco_settings.enabled,optionName:"woocommerce_kco_settings"},{key:"klarna_payments",title:Object(a.__)("Klarna Payments","woocommerce-admin"),content:Object(a.__)("Choose the payment that you want, pay now, pay later or slice it. No credit card numbers, no passwords, no worries.","woocommerce-admin"),before:Object(o.createElement)("img",{src:l.e+"images/klarna-black.png",alt:""}),visible:["DK","DE","AT","NL","CH","BE","SP","PL","FR","IT","GB"].includes(n)&&!w,plugins:["klarna-payments-for-woocommerce"],container:Object(o.createElement)(fe,{plugin:"payments"}),isConfigured:t.includes("klarna-payments-for-woocommerce"),isEnabled:u.woocommerce_klarna_payments_settings&&"yes"===u.woocommerce_klarna_payments_settings.enabled,optionName:"woocommerce_klarna_payments_settings"},{key:"mollie",title:Object(a.__)("Mollie Payments for WooCommerce","woocommerce-admin"),before:Object(o.createElement)(F,null),plugins:["mollie-payments-for-woocommerce"],isConfigured:t.includes("mollie-payments-for-woocommerce"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Effortless payments by Mollie: Offer global and local payment methods, get onboarded in minutes, and supported in your language.","woocommerce-admin")),visible:["FR","DE","GB","AT","CH","ES","IT","PL","FI","NL","BE"].includes(n),container:Object(o.createElement)(Ce,null),isEnabled:u.woocommerce_mollie_payments_settings&&"yes"===u.woocommerce_mollie_payments_settings.enabled,optionName:"woocommerce_mollie_payments_settings"},{key:"square",title:Object(a.__)("Square","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Securely accept credit and debit cards with one low rate, no surprise fees (custom rates available). Sell online and in store and track sales and inventory in one place.","woocommerce-admin"),w&&Object(o.createElement)("span",{className:"text-style-strong"},Object(a.__)(" Selling CBD products is only supported by Square.","woocommerce-admin"))),before:Object(o.createElement)("img",{src:"".concat(l.e,"images/square-black.png"),alt:""}),visible:w&&["US"].includes(n)||["brick-mortar","brick-mortar-other"].includes(p.selling_venues)&&["US","CA","JP","GB","AU"].includes(n),plugins:["woocommerce-square"],container:Object(o.createElement)(ee,null),isConfigured:u.wc_square_refresh_tokens&&u.wc_square_refresh_tokens.length,isEnabled:u.woocommerce_square_credit_card_settings&&"yes"===u.woocommerce_square_credit_card_settings.enabled,optionName:"woocommerce_square_credit_card_settings",hasCbdIndustry:w},{key:"eway",title:Object(a.__)("eWAY","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("The eWAY extension for WooCommerce allows you to take credit card payments directly on your store without redirecting your customers to a third party site to make payment.","woocommerce-admin")),before:Object(o.createElement)("img",{src:l.e+"images/eway-logo.jpg",alt:"eWAY logo"}),visible:["AU","NZ"].includes(n)&&!w,plugins:["woocommerce-gateway-eway"],container:Object(o.createElement)(ye,null),isConfigured:u.woocommerce_eway_settings&&u.woocommerce_eway_settings.customer_api&&u.woocommerce_eway_settings.customer_password,isEnabled:u.woocommerce_eway_settings&&"yes"===u.woocommerce_eway_settings.enabled,optionName:"woocommerce_eway_settings"},{key:"razorpay",title:Object(a.__)("Razorpay","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("The official Razorpay extension for WooCommerce allows you to accept credit cards, debit cards, netbanking, wallet, and UPI payments.","woocommerce-admin")),before:Object(o.createElement)(q,null),visible:"IN"===n&&!w,plugins:["woo-razorpay"],container:Object(o.createElement)(ve,null),isConfigured:u.woocommerce_razorpay_settings&&u.woocommerce_razorpay_settings.key_id&&u.woocommerce_razorpay_settings.key_secret,isEnabled:u.woocommerce_razorpay_settings&&"yes"===u.woocommerce_razorpay_settings.enabled,optionName:"woocommerce_razorpay_settings"},{key:"payubiz",title:Object(a.__)("PayU for WooCommerce","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,Object(a.__)("Enable PayU’s exclusive plugin for WooCommerce to start accepting payments in 100+ payment methods available in India including credit cards, debit cards, UPI, & more!","woocommerce-admin")),before:Object(o.createElement)(V,null),visible:"IN"===n&&!w,plugins:["payu-india"],container:Object(o.createElement)(Pe,null),isConfigured:t.includes("payu-india"),isEnabled:O.includes("payubiz"),optionName:"woocommerce_payubiz_settings"},{key:"cod",title:Object(a.__)("Cash on delivery","woocommerce-admin"),content:Object(a.__)("Take payments in cash upon delivery.","woocommerce-admin"),before:Object(o.createElement)(B,null),visible:!w,isEnabled:u.woocommerce_cod_settings&&"yes"===u.woocommerce_cod_settings.enabled,optionName:"woocommerce_cod_settings"},{key:"bacs",title:Object(a.__)("Direct bank transfer","woocommerce-admin"),content:Object(a.__)("Take payments via bank transfer.","woocommerce-admin"),before:Object(o.createElement)(U,null),visible:!w,container:Object(o.createElement)(M,null),isConfigured:u.woocommerce_bacs_accounts&&u.woocommerce_bacs_accounts.length,isEnabled:u.woocommerce_bacs_settings&&"yes"===u.woocommerce_bacs_settings.enabled,optionName:"woocommerce_bacs_settings"}];if(window.wcAdminFeatures.wcpay){var v=Object(o.createElement)(m.Link,{href:"https://wordpress.com/tos/",target:"_blank",type:"external"}),C=s()({mixedString:Object(a.__)('By clicking "Set up," you agree to the {{link}}Terms of Service{{/link}}',"woocommerce-admin"),components:{link:v}}),E=Object(o.createElement)(m.Link,{href:"https://docs.woocommerce.com/document/payments/testing/dev-mode/",target:"_blank",type:"external"}),P=s()({mixedString:Object(a.__)("Setting up a store for a client? {{link}}Start here{{/link}}","woocommerce-admin"),components:{link:E}}),S=Object(o.createElement)(m.Link,{href:Object(l.f)("admin.php?page=wc-settings&tab=checkout§ion=woocommerce_payments"),type:"wp-admin"},Object(a.__)("Settings","woocommerce-admin")),x=Object(o.createElement)(m.Link,{href:"https://docs.woocommerce.com/document/payments/faq/fees/",target:"_blank",type:"external"}),L=s()({mixedString:Object(a.__)("Accept credit card payments the easy way! {{feesLink}}No setup fees. No monthly fees.{{/feesLink}}","woocommerce-admin"),components:{feesLink:x}});k.unshift({key:"wcpay",title:Object(a.__)("WooCommerce Payments","woocommerce-admin"),content:Object(o.createElement)(o.Fragment,null,L,y&&S,!y&&Object(o.createElement)("p",null,C),p.setup_client&&Object(o.createElement)("p",null,P),Object(o.createElement)(te.b,null)),before:Object(o.createElement)(I,null),onClick:function(e,t){return Object(te.c)(t,c,r)},visible:Object(te.d)(n)&&!w,plugins:["woocommerce-payments"],container:Object(o.createElement)(te.a,null),isConfigured:y,isEnabled:u.woocommerce_woocommerce_payments_settings&&"yes"===u.woocommerce_woocommerce_payments_settings.enabled,optionName:"woocommerce_woocommerce_payments_settings"})}return k.filter((function(e){return e.visible}))}}}]);
|
dist/chunks/activity-panels-help.js
CHANGED
@@ -138,9 +138,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
138 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3__);
|
139 |
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(140);
|
140 |
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);
|
141 |
-
/* harmony import */ var core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
142 |
/* harmony import */ var core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_5__);
|
143 |
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
144 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_6__);
|
145 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2);
|
146 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__);
|
@@ -149,7 +149,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
149 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_9__);
|
150 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(141);
|
151 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_10__);
|
152 |
-
/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
153 |
/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(706);
|
154 |
/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(630);
|
155 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(5);
|
138 |
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3__);
|
139 |
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(140);
|
140 |
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);
|
141 |
+
/* harmony import */ var core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(405);
|
142 |
/* harmony import */ var core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_5__);
|
143 |
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(51);
|
144 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_6__);
|
145 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2);
|
146 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_7__);
|
149 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_9__);
|
150 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(141);
|
151 |
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_10__);
|
152 |
+
/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(426);
|
153 |
/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(706);
|
154 |
/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(630);
|
155 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(5);
|
dist/chunks/activity-panels-help.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[7],{616:function(e,t,o){"use strict";o(64);var c=o(22),n=o.n(c),m=o(23),r=o.n(m),a=o(24),i=o.n(a),s=o(25),l=o.n(s),u=o(14),p=o.n(u),d=o(0),_=o(15),h=o.n(_),w=o(1),g=o.n(w),b=o(105),f=o(145);o(617);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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,c=p()(e);if(t){var n=p()(this).constructor;o=Reflect.construct(c,arguments,n)}else o=c.apply(this,arguments);return l()(this,o)}}var O=function(e){i()(o,e);var t=k(o);function o(){return n()(this,o),t.apply(this,arguments)}return r()(o,[{key:"render",value:function(){var e=this.props,t=e.className,o=e.menu,c=e.subtitle,n=e.title,m=e.unreadMessages,r=h()({"woocommerce-layout__inbox-panel-header":c,"woocommerce-layout__activity-panel-header":!c},t),a=m||0;return Object(d.createElement)("div",{className:r},Object(d.createElement)("div",{className:"woocommerce-layout__inbox-title"},Object(d.createElement)(b.e,{variant:"title.small"},n),Object(d.createElement)(b.e,{variant:"button"},a>0&&Object(d.createElement)("span",{className:"woocommerce-layout__inbox-badge"},m))),Object(d.createElement)("div",{className:"woocommerce-layout__inbox-subtitle"},c&&Object(d.createElement)(b.e,{variant:"body.small"},c)),o&&Object(d.createElement)("div",{className:"woocommerce-layout__activity-panel-header-menu"},o))}}]),o}(d.Component);O.propTypes={className:g.a.string,unreadMessages:g.a.number,title:g.a.string.isRequired,subtitle:g.a.string,menu:g.a.shape({type:g.a.oneOf([f.EllipsisMenu])})},t.a=O},617:function(e,t,o){},705:function(e,t,o){"use strict";o.r(t),o.d(t,"SETUP_TASK_HELP_ITEMS_FILTER",(function(){return k})),o.d(t,"HelpPanel",(function(){return j}));var c=o(0),n=(o(192),o(41),o(107),o(140),o(
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[7],{616:function(e,t,o){"use strict";o(64);var c=o(22),n=o.n(c),m=o(23),r=o.n(m),a=o(24),i=o.n(a),s=o(25),l=o.n(s),u=o(14),p=o.n(u),d=o(0),_=o(15),h=o.n(_),w=o(1),g=o.n(w),b=o(105),f=o(145);o(617);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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,c=p()(e);if(t){var n=p()(this).constructor;o=Reflect.construct(c,arguments,n)}else o=c.apply(this,arguments);return l()(this,o)}}var O=function(e){i()(o,e);var t=k(o);function o(){return n()(this,o),t.apply(this,arguments)}return r()(o,[{key:"render",value:function(){var e=this.props,t=e.className,o=e.menu,c=e.subtitle,n=e.title,m=e.unreadMessages,r=h()({"woocommerce-layout__inbox-panel-header":c,"woocommerce-layout__activity-panel-header":!c},t),a=m||0;return Object(d.createElement)("div",{className:r},Object(d.createElement)("div",{className:"woocommerce-layout__inbox-title"},Object(d.createElement)(b.e,{variant:"title.small"},n),Object(d.createElement)(b.e,{variant:"button"},a>0&&Object(d.createElement)("span",{className:"woocommerce-layout__inbox-badge"},m))),Object(d.createElement)("div",{className:"woocommerce-layout__inbox-subtitle"},c&&Object(d.createElement)(b.e,{variant:"body.small"},c)),o&&Object(d.createElement)("div",{className:"woocommerce-layout__activity-panel-header-menu"},o))}}]),o}(d.Component);O.propTypes={className:g.a.string,unreadMessages:g.a.number,title:g.a.string.isRequired,subtitle:g.a.string,menu:g.a.shape({type:g.a.oneOf([f.EllipsisMenu])})},t.a=O},617:function(e,t,o){},705:function(e,t,o){"use strict";o.r(t),o.d(t,"SETUP_TASK_HELP_ITEMS_FILTER",(function(){return k})),o.d(t,"HelpPanel",(function(){return j}));var c=o(0),n=(o(192),o(41),o(107),o(140),o(405),o(51),o(2)),m=o(105),r=o(26),a=o(141),i=o(426),s=o(706),l=o(630),u=o(5),p=o(85),d=o(145),_=o(59),h=o(678),w=o(92),g=o(616),b=o(231),f=o(635),k="woocommerce_admin_setup_task_help_items";function O(e){var t,o,c;switch(e.taskName){case"products":return[{title:Object(n.__)("Adding and Managing Products","woocommerce-admin"),link:"https://docs.woocommerce.com/document/managing-products/?utm_source=help_panel"},{title:Object(n.__)("Import products using the CSV Importer and Exporter","woocommerce-admin"),link:"https://docs.woocommerce.com/document/product-csv-importer-exporter/?utm_source=help_panel"},{title:Object(n.__)("Migrate products using Cart2Cart","woocommerce-admin"),link:"https://woocommerce.com/products/cart2cart/?utm_source=help_panel"},{title:Object(n.__)("Learn more about setting up products","woocommerce-admin"),link:"https://docs.woocommerce.com/documentation/plugins/woocommerce/getting-started/setup-products/?utm_source=help_panel"}];case"appearance":return[{title:Object(n.__)("Showcase your products and tailor your shopping experience using Blocks","woocommerce-admin"),link:"https://docs.woocommerce.com/document/woocommerce-blocks/?utm_source=help_panel"},{title:Object(n.__)("Manage Store Notice, Catalog View and Product Images","woocommerce-admin"),link:"https://docs.woocommerce.com/document/woocommerce-customizer/?utm_source=help_panel"},{title:Object(n.__)("How to choose and change a theme","woocommerce-admin"),link:"https://docs.woocommerce.com/document/choose-change-theme/?utm_source=help_panel"}];case"shipping":return o=(t=e).activePlugins,c="US"===t.countryCode&&!o.includes("woocommerce-services"),[{title:Object(n.__)("Setting up Shipping Zones","woocommerce-admin"),link:"https://docs.woocommerce.com/document/setting-up-shipping-zones/?utm_source=help_panel"},{title:Object(n.__)("Core Shipping Options","woocommerce-admin"),link:"https://docs.woocommerce.com/documentation/plugins/woocommerce/getting-started/shipping/core-shipping-options/?utm_source=help_panel"},{title:Object(n.__)("Product Shipping Classes","woocommerce-admin"),link:"https://docs.woocommerce.com/document/product-shipping-classes/?utm_source=help_panel"},c&&{title:Object(n.__)("WooCommerce Shipping setup and configuration","woocommerce-admin"),link:"https://docs.woocommerce.com/document/woocommerce-services/#section-3/?utm_source=help_panel"},{title:Object(n.__)("Learn more about configuring your shipping settings","woocommerce-admin"),link:"https://docs.woocommerce.com/documentation/plugins/woocommerce/getting-started/shipping/?utm_source=help_panel"}].filter(Boolean);case"tax":return function(e){var t=e.countryCode,o=e.getSetting("onboarding",{}),c=o.automatedTaxSupportedCountries,m=void 0===c?[]:c,r=!o.taxJarActivated&&m.includes(t);return[{title:Object(n.__)("Setting up Taxes in WooCommerce","woocommerce-admin"),link:"https://docs.woocommerce.com/document/setting-up-taxes-in-woocommerce/?utm_source=help_panel"},r&&{title:Object(n.__)("Automated Tax calculation using WooCommerce Tax","woocommerce-admin"),link:"https://docs.woocommerce.com/document/woocommerce-services/?utm_source=help_panel#section-10"}].filter(Boolean)}(e);case"payments":return function(e){var t=e.countryCode,o=e.onboardingStatus,c=e.profileItems,m=e.getPaymentMethods({activePlugins:[],countryCode:t,onboardingStatus:o,options:{},profileItems:c}),r=function(e){return Boolean(m.find((function(t){return t.key===e})))},a=r("wcpay"),i=r("stripe"),s=r("klarna_checkout"),l=r("klarna_payments"),u=r("paypal"),p=r("square"),d=r("payfast"),_=r("eway");return[{title:Object(n.__)("Which Payment Option is Right for Me?","woocommerce-admin"),link:"https://docs.woocommerce.com/document/premium-payment-gateway-extensions/?utm_source=help_panel"},a&&{title:Object(n.__)("WooCommerce Payments Start Up Guide","woocommerce-admin"),link:"https://docs.woocommerce.com/document/payments//?utm_source=help_panel"},a&&{title:Object(n.__)("WooCommerce Payments FAQs","woocommerce-admin"),link:"https://docs.woocommerce.com/documentation/woocommerce-payments/woocommerce-payments-faqs/?utm_source=help_panel"},i&&{title:Object(n.__)("Stripe Setup and Configuration","woocommerce-admin"),link:"https://docs.woocommerce.com/document/stripe/?utm_source=help_panel"},u&&{title:Object(n.__)("PayPal Checkout Setup and Configuration","woocommerce-admin"),link:"https://docs.woocommerce.com/document/2-0/woocommerce-paypal-payments/#section-3"},p&&{title:Object(n.__)("Square - Get started","woocommerce-admin"),link:"https://docs.woocommerce.com/document/woocommerce-square/?utm_source=help_panel"},s&&{title:Object(n.__)("Klarna - Introduction","woocommerce-admin"),link:"https://docs.woocommerce.com/document/klarna-checkout/?utm_source=help_panel"},l&&{title:Object(n.__)("Klarna - Introduction","woocommerce-admin"),link:"https://docs.woocommerce.com/document/klarna-payments/?utm_source=help_panel"},d&&{title:Object(n.__)("PayFast Setup and Configuration","woocommerce-admin"),link:"https://docs.woocommerce.com/document/payfast-payment-gateway/?utm_source=help_panel"},_&&{title:Object(n.__)("eWAY Setup and Configuration","woocommerce-admin"),link:"https://docs.woocommerce.com/document/eway/?utm_source=help_panel"},{title:Object(n.__)("Direct Bank Transfer (BACS)","woocommerce-admin"),link:"https://docs.woocommerce.com/document/bacs/?utm_source=help_panel"},{title:Object(n.__)("Cash on Delivery","woocommerce-admin"),link:"https://docs.woocommerce.com/document/cash-on-delivery/?utm_source=help_panel"}].filter(Boolean)}(e);default:return[{title:Object(n.__)("Get Support","woocommerce-admin"),link:"https://woocommerce.com/my-account/create-a-ticket/"},{title:Object(n.__)("Home Screen","woocommerce-admin"),link:"https://docs.woocommerce.com/document/home-screen"},{title:Object(n.__)("Inbox","woocommerce-admin"),link:"https://docs.woocommerce.com/document/home-screen/#section-2"},{title:Object(n.__)("Stats Overview","woocommerce-admin"),link:"https://docs.woocommerce.com/document/home-screen/#section-4"},{title:Object(n.__)("Store Management","woocommerce-admin"),link:"https://docs.woocommerce.com/document/home-screen/#section-5"},{title:Object(n.__)("Store Setup Checklist","woocommerce-admin"),link:"https://docs.woocommerce.com/document/woocommerce-setup-wizard/#store-setup-checklist"}]}}function y(e,t){var o=e.taskName;t&&e.recordEvent("help_panel_click",{task_name:o||"homescreen",link:t.currentTarget.href})}var j=function(e){var t=e.taskName;Object(c.useEffect)((function(){e.recordEvent("help_panel_open",{task_name:t||"homescreen"})}),[t]);var o=function(e){var t=O(e),o={title:Object(n.__)("WooCommerce Docs","woocommerce-admin"),link:"https://docs.woocommerce.com/?utm_source=help_panel"};t.push(o);var r=Object(a.applyFilters)(k,t,e.taskName,e),p=Array.isArray(r)?r.filter((function(e){return e instanceof Object&&e.title&&e.link})):[];p.length||(p=[o]);var d=Object(u.partial)(y,e);return p.map((function(e){return{title:Object(c.createElement)(m.e,{as:"div",variant:"button"},e.title),before:Object(c.createElement)(i.a,{icon:s.a}),after:Object(c.createElement)(i.a,{icon:l.a}),linkType:"external",target:"_blank",href:e.link,onClick:d}}))}(e);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(g.a,{title:Object(n.__)("Documentation","woocommerce-admin")}),Object(c.createElement)(d.Section,null,Object(c.createElement)(d.List,{items:o,className:"woocommerce-quick-links__list"})))};j.defaultProps={getPaymentMethods:f.a,getSetting:p.g,recordEvent:w.recordEvent},t.default=Object(h.a)(Object(r.withSelect)((function(e){var t=e(_.ONBOARDING_STORE_NAME),o=t.getProfileItems,c=t.getTasksStatus,n=e(_.SETTINGS_STORE_NAME).getSettings,m=e(_.PLUGINS_STORE_NAME).getActivePlugins,r=n("general").general,a=void 0===r?{}:r,i=m(),s=c(),l=o();return{activePlugins:i,countryCode:Object(b.b)(a.woocommerce_default_country),onboardingStatus:s,profileItems:l}})))(j)}}]);
|
dist/chunks/activity-panels-inbox.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[8],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, exports, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
@@ -14,7 +14,7 @@ var _extends=Object.assign||function(a){for(var c,b=1;b<arguments.length;b++)for
|
|
14 |
|
15 |
(function webpackUniversalModuleDefinition(root, factory) {
|
16 |
if(true)
|
17 |
-
module.exports = factory(__webpack_require__(20), __webpack_require__(
|
18 |
else {}
|
19 |
})(this, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
|
20 |
return /******/ (function(modules) { // webpackBootstrap
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[8],{
|
2 |
|
3 |
+
/***/ 325:
|
4 |
/***/ (function(module, exports, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
14 |
|
15 |
(function webpackUniversalModuleDefinition(root, factory) {
|
16 |
if(true)
|
17 |
+
module.exports = factory(__webpack_require__(20), __webpack_require__(163));
|
18 |
else {}
|
19 |
})(this, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
|
20 |
return /******/ (function(modules) { // webpackBootstrap
|
dist/chunks/activity-panels-inbox.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[8],{
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[8],{325:function(t,e,o){"use strict";var n=Object.assign||function(t){for(var e,o=1;o<arguments.length;o++)for(var n in e=arguments[o])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t};Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e,o=t.size,r=void 0===o?24:o,i=t.onClick,l=(t.icon,t.className),c=function(t,e){var o={};for(var n in t)0<=e.indexOf(n)||Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n]);return o}(t,["size","onClick","icon","className"]),s=["gridicon","gridicons-notice-outline",l,(e=r,!(0!=e%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",n({className:s,height:r,width:r,onClick:i},c,{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=o(20),a=(r=i)&&r.__esModule?r:{default:r};t.exports=e.default},631:function(t,e,o){var n;n=function(t,e){return function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=4)}([function(t,e,o){t.exports=o(5)()},function(e,o){e.exports=t},function(t,o){t.exports=e},function(t,e){t.exports=function(t,e,o){var n=t.direction,r=t.value;switch(n){case"top":return o.top+r<e.top&&o.bottom>e.bottom&&o.left<e.left&&o.right>e.right;case"left":return o.left+r<e.left&&o.bottom>e.bottom&&o.top<e.top&&o.right>e.right;case"bottom":return o.bottom-r>e.bottom&&o.left<e.left&&o.right>e.right&&o.top<e.top;case"right":return o.right-r>e.right&&o.left<e.left&&o.top<e.top&&o.bottom>e.bottom}}},function(t,e,o){"use strict";o.r(e),o.d(e,"default",(function(){return y}));var n=o(1),r=o.n(n),i=o(2),a=o.n(i),l=o(0),c=o.n(l),s=o(3),u=o.n(s);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var y=function(t){function e(t){var o,n,r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=this,r=h(e).call(this,t),o=!r||"object"!==p(r)&&"function"!=typeof r?b(n):r,m(b(o),"getContainer",(function(){return o.props.containment||window})),m(b(o),"addEventListener",(function(t,e,n,r){var i;o.debounceCheck||(o.debounceCheck={});var a=function(){i=null,o.check()},l={target:t,fn:r>-1?function(){i||(i=setTimeout(a,r||0))}:function(){clearTimeout(i),i=setTimeout(a,n||0)},getLastTimeout:function(){return i}};t.addEventListener(e,l.fn),o.debounceCheck[e]=l})),m(b(o),"startWatching",(function(){o.debounceCheck||o.interval||(o.props.intervalCheck&&(o.interval=setInterval(o.check,o.props.intervalDelay)),o.props.scrollCheck&&o.addEventListener(o.getContainer(),"scroll",o.props.scrollDelay,o.props.scrollThrottle),o.props.resizeCheck&&o.addEventListener(window,"resize",o.props.resizeDelay,o.props.resizeThrottle),!o.props.delayedCall&&o.check())})),m(b(o),"stopWatching",(function(){if(o.debounceCheck)for(var t in o.debounceCheck)if(o.debounceCheck.hasOwnProperty(t)){var e=o.debounceCheck[t];clearTimeout(e.getLastTimeout()),e.target.removeEventListener(t,e.fn),o.debounceCheck[t]=null}o.debounceCheck=null,o.interval&&(o.interval=clearInterval(o.interval))})),m(b(o),"check",(function(){var t,e,n=o.node;if(!n)return o.state;if(t=function(t){return void 0===t.width&&(t.width=t.right-t.left),void 0===t.height&&(t.height=t.bottom-t.top),t}(o.roundRectDown(n.getBoundingClientRect())),o.props.containment){var r=o.props.containment.getBoundingClientRect();e={top:r.top,left:r.left,bottom:r.bottom,right:r.right}}else e={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var i=o.props.offset||{};"object"===p(i)&&(e.top+=i.top||0,e.left+=i.left||0,e.bottom-=i.bottom||0,e.right-=i.right||0);var a={top:t.top>=e.top,left:t.left>=e.left,bottom:t.bottom<=e.bottom,right:t.right<=e.right},l=t.height>0&&t.width>0,c=l&&a.top&&a.left&&a.bottom&&a.right;if(l&&o.props.partialVisibility){var s=t.top<=e.bottom&&t.bottom>=e.top&&t.left<=e.right&&t.right>=e.left;"string"==typeof o.props.partialVisibility&&(s=a[o.props.partialVisibility]),c=o.props.minTopValue?s&&t.top<=e.bottom-o.props.minTopValue:s}"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),c=u()(i,t,e));var f=o.state;return o.state.isVisible!==c&&(f={isVisible:c,visibilityRect:a},o.setState(f),o.props.onChange&&o.props.onChange(c)),f})),o.state={isVisible:null,visibilityRect:{}},o}var o,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(e,t),o=e,(n=[{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(t){this.node=a.a.findDOMNode(this),this.props.active&&!t.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(t){return{top:Math.floor(t.top),left:Math.floor(t.left),bottom:Math.floor(t.bottom),right:Math.floor(t.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)}}])&&f(o.prototype,n),i&&f(o,i),e}(r.a.Component);m(y,"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(y,"propTypes",{onChange:c.a.func,active:c.a.bool,partialVisibility:c.a.oneOfType([c.a.bool,c.a.oneOf(["top","right","bottom","left"])]),delayedCall:c.a.bool,offset:c.a.oneOfType([c.a.shape({top:c.a.number,left:c.a.number,bottom:c.a.number,right:c.a.number}),c.a.shape({direction:c.a.oneOf(["top","right","bottom","left"]),value:c.a.number})]),scrollCheck:c.a.bool,scrollDelay:c.a.number,scrollThrottle:c.a.number,resizeCheck:c.a.bool,resizeDelay:c.a.number,resizeThrottle:c.a.number,intervalCheck:c.a.bool,intervalDelay:c.a.number,containment:"undefined"!=typeof window?c.a.instanceOf(window.Element):c.a.any,children:c.a.oneOfType([c.a.element,c.a.func]),minTopValue:c.a.number})},function(t,e,o){"use strict";var n=o(6);function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function t(t,e,o,r,i,a){if(a!==n){var l=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 l.name="Invariant Violation",l}}function e(){return t}t.isRequired=t;var o={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:r};return o.PropTypes=o,o}},function(t,e,o){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}])},t.exports=n(o(20),o(163))},632:function(t,e,o){"use strict";var n,r=o(12),i=o(33).f,a=o(34),l=o(207),c=o(32),s=o(208),u=o(57),p="".startsWith,f=Math.min,h=s("startsWith");r({target:"String",proto:!0,forced:!!(u||h||(n=i(String.prototype,"startsWith"),!n||n.writable))&&!h},{startsWith:function(t){var e=String(c(this));l(t);var o=a(f(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return p?p.call(e,n,o):e.slice(o,o+n.length)===n}})}}]);
|
dist/chunks/analytics-report-categories.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[10],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
@@ -11,7 +11,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
11 |
var es_reflect_construct = __webpack_require__(64);
|
12 |
|
13 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
14 |
-
var es_object_keys = __webpack_require__(
|
15 |
|
16 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
17 |
var es_symbol = __webpack_require__(53);
|
@@ -56,7 +56,7 @@ var external_wp_element_ = __webpack_require__(0);
|
|
56 |
var es_array_filter = __webpack_require__(41);
|
57 |
|
58 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
59 |
-
var es_string_split = __webpack_require__(
|
60 |
|
61 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
62 |
var es_regexp_exec = __webpack_require__(88);
|
@@ -78,7 +78,7 @@ var external_wp_data_ = __webpack_require__(26);
|
|
78 |
var external_wp_hooks_ = __webpack_require__(141);
|
79 |
|
80 |
// EXTERNAL MODULE: ./client/lib/async-requests/index.js
|
81 |
-
var async_requests = __webpack_require__(
|
82 |
|
83 |
// CONCATENATED MODULE: ./client/analytics/report/categories/config.js
|
84 |
/**
|
@@ -165,7 +165,7 @@ var assertThisInitialized = __webpack_require__(18);
|
|
165 |
var assertThisInitialized_default = /*#__PURE__*/__webpack_require__.n(assertThisInitialized);
|
166 |
|
167 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
168 |
-
var es_function_name = __webpack_require__(
|
169 |
|
170 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
|
171 |
var es_string_search = __webpack_require__(170);
|
@@ -189,13 +189,13 @@ var external_wc_number_ = __webpack_require__(281);
|
|
189 |
var external_wc_data_ = __webpack_require__(59);
|
190 |
|
191 |
// EXTERNAL MODULE: ./client/analytics/report/categories/breadcrumbs.js
|
192 |
-
var breadcrumbs = __webpack_require__(
|
193 |
|
194 |
// EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
|
195 |
-
var report_table = __webpack_require__(
|
196 |
|
197 |
// EXTERNAL MODULE: ./client/lib/currency-context.js
|
198 |
-
var currency_context = __webpack_require__(
|
199 |
|
200 |
// CONCATENATED MODULE: ./client/analytics/report/categories/table.js
|
201 |
|
@@ -427,19 +427,19 @@ table_CategoriesReportTable.contextType = currency_context["a" /* CurrencyContex
|
|
427 |
};
|
428 |
}))(table_CategoriesReportTable));
|
429 |
// EXTERNAL MODULE: ./client/lib/get-selected-chart/index.js
|
430 |
-
var get_selected_chart = __webpack_require__(
|
431 |
|
432 |
// EXTERNAL MODULE: ./client/analytics/components/report-chart/index.js + 1 modules
|
433 |
-
var report_chart = __webpack_require__(
|
434 |
|
435 |
// EXTERNAL MODULE: ./client/analytics/components/report-summary/index.js
|
436 |
-
var report_summary = __webpack_require__(
|
437 |
|
438 |
// EXTERNAL MODULE: ./client/analytics/report/products/table.js
|
439 |
var products_table = __webpack_require__(623);
|
440 |
|
441 |
// EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
|
442 |
-
var report_filters = __webpack_require__(
|
443 |
|
444 |
// EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
|
445 |
var constants = __webpack_require__(210);
|
@@ -604,7 +604,7 @@ categories_CategoriesReport.propTypes = {
|
|
604 |
|
605 |
/***/ }),
|
606 |
|
607 |
-
/***/
|
608 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
609 |
|
610 |
"use strict";
|
@@ -623,7 +623,7 @@ categories_CategoriesReport.propTypes = {
|
|
623 |
/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__);
|
624 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(0);
|
625 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
|
626 |
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
627 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_7__);
|
628 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(5);
|
629 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__);
|
@@ -747,9 +747,9 @@ var CategoryBreadcrumbs = /*#__PURE__*/function (_Component) {
|
|
747 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
|
748 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(41);
|
749 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_8__);
|
750 |
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
751 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9__);
|
752 |
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
753 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_10__);
|
754 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(139);
|
755 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_11__);
|
@@ -761,7 +761,7 @@ var CategoryBreadcrumbs = /*#__PURE__*/function (_Component) {
|
|
761 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_14__);
|
762 |
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(65);
|
763 |
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_15__);
|
764 |
-
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
765 |
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16__);
|
766 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(26);
|
767 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_17__);
|
@@ -776,10 +776,10 @@ var CategoryBreadcrumbs = /*#__PURE__*/function (_Component) {
|
|
776 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(85);
|
777 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(59);
|
778 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_23__);
|
779 |
-
/* harmony import */ var _categories_breadcrumbs__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
|
780 |
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
|
781 |
-
/* harmony import */ var _components_report_table__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
|
782 |
-
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
|
783 |
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(624);
|
784 |
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_28__);
|
785 |
|
1 |
(window["__wcAdmin_webpackJsonp"] = window["__wcAdmin_webpackJsonp"] || []).push([[10],{
|
2 |
|
3 |
+
/***/ 582:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
11 |
var es_reflect_construct = __webpack_require__(64);
|
12 |
|
13 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
14 |
+
var es_object_keys = __webpack_require__(37);
|
15 |
|
16 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
17 |
var es_symbol = __webpack_require__(53);
|
56 |
var es_array_filter = __webpack_require__(41);
|
57 |
|
58 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
59 |
+
var es_string_split = __webpack_require__(177);
|
60 |
|
61 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
62 |
var es_regexp_exec = __webpack_require__(88);
|
78 |
var external_wp_hooks_ = __webpack_require__(141);
|
79 |
|
80 |
// EXTERNAL MODULE: ./client/lib/async-requests/index.js
|
81 |
+
var async_requests = __webpack_require__(600);
|
82 |
|
83 |
// CONCATENATED MODULE: ./client/analytics/report/categories/config.js
|
84 |
/**
|
165 |
var assertThisInitialized_default = /*#__PURE__*/__webpack_require__.n(assertThisInitialized);
|
166 |
|
167 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
168 |
+
var es_function_name = __webpack_require__(129);
|
169 |
|
170 |
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
|
171 |
var es_string_search = __webpack_require__(170);
|
189 |
var external_wc_data_ = __webpack_require__(59);
|
190 |
|
191 |
// EXTERNAL MODULE: ./client/analytics/report/categories/breadcrumbs.js
|
192 |
+
var breadcrumbs = __webpack_require__(613);
|
193 |
|
194 |
// EXTERNAL MODULE: ./client/analytics/components/report-table/index.js + 2 modules
|
195 |
+
var report_table = __webpack_require__(606);
|
196 |
|
197 |
// EXTERNAL MODULE: ./client/lib/currency-context.js
|
198 |
+
var currency_context = __webpack_require__(598);
|
199 |
|
200 |
// CONCATENATED MODULE: ./client/analytics/report/categories/table.js
|
201 |
|
427 |
};
|
428 |
}))(table_CategoriesReportTable));
|
429 |
// EXTERNAL MODULE: ./client/lib/get-selected-chart/index.js
|
430 |
+
var get_selected_chart = __webpack_require__(603);
|
431 |
|
432 |
// EXTERNAL MODULE: ./client/analytics/components/report-chart/index.js + 1 modules
|
433 |
+
var report_chart = __webpack_require__(602);
|
434 |
|
435 |
// EXTERNAL MODULE: ./client/analytics/components/report-summary/index.js
|
436 |
+
var report_summary = __webpack_require__(604);
|
437 |
|
438 |
// EXTERNAL MODULE: ./client/analytics/report/products/table.js
|
439 |
var products_table = __webpack_require__(623);
|
440 |
|
441 |
// EXTERNAL MODULE: ./client/analytics/components/report-filters/index.js
|
442 |
+
var report_filters = __webpack_require__(605);
|
443 |
|
444 |
// EXTERNAL MODULE: ./client/customer-effort-score-tracks/data/constants.js
|
445 |
var constants = __webpack_require__(210);
|
604 |
|
605 |
/***/ }),
|
606 |
|
607 |
+
/***/ 613:
|
608 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
609 |
|
610 |
"use strict";
|
623 |
/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__);
|
624 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(0);
|
625 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
|
626 |
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(129);
|
627 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_7__);
|
628 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(5);
|
629 |
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__);
|
747 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
|
748 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(41);
|
749 |
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_8__);
|
750 |
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(129);
|
751 |
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9__);
|
752 |
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(51);
|
753 |
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_10__);
|
754 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(139);
|
755 |
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_11__);
|
761 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_14__);
|
762 |
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(65);
|
763 |
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_15__);
|
764 |
+
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(132);
|
765 |
/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_16__);
|
766 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(26);
|
767 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_17__);
|
776 |
/* harmony import */ var _woocommerce_wc_admin_settings__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(85);
|
777 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(59);
|
778 |
/* harmony import */ var _woocommerce_data__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_data__WEBPACK_IMPORTED_MODULE_23__);
|
779 |
+
/* harmony import */ var _categories_breadcrumbs__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(613);
|
780 |
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(614);
|
781 |
+
/* harmony import */ var _components_report_table__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(606);
|
782 |
+
/* harmony import */ var _lib_currency_context__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(598);
|
783 |
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(624);
|
784 |
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_28__);
|
785 |
|
dist/chunks/analytics-report-categories.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[10],{581:function(e,t,r){"use strict";r.r(t);r(64),r(38),r(53),r(60),r(49),r(61);var o=r(7),c=r.n(o),n=r(22),a=r.n(n),i=r(23),s=r.n(i),l=r(24),u=r.n(l),m=r(25),d=r.n(m),b=r(14),p=r.n(b),g=r(0),y=(r(41),r(186),r(88),r(192),r(1)),f=r.n(y),_=r(2),O=r(26),v=r(141),h=r(599),j=Object(v.applyFilters)("woocommerce_admin_categories_report_charts",[{key:"items_sold",label:Object(_.__)("Items Sold","woocommerce-admin"),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(_.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(_.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),w=Object(v.applyFilters)("woocommerce_admin_categories_report_filters",[{label:Object(_.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(_.__)("All Categories","woocommerce-admin"),value:"all"},{label:Object(_.__)("Single Category","woocommerce-admin"),value:"select_category",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_category",chartMode:"item-comparison",path:["select_category"],settings:{type:"categories",param:"categories",getLabels:h.a,labels:{placeholder:Object(_.__)("Type to search for a category","woocommerce-admin"),button:Object(_.__)("Single Category","woocommerce-admin")}}}]},{label:Object(_.__)("Comparison","woocommerce-admin"),value:"compare-categories",chartMode:"item-comparison",settings:{type:"categories",param:"categories",getLabels:h.a,labels:{helpText:Object(_.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(_.__)("Search for categories to compare","woocommerce-admin"),title:Object(_.__)("Compare Categories","woocommerce-admin"),update:Object(_.__)("Compare","woocommerce-admin")}}}]}]),C=Object(v.applyFilters)("woocommerce_admin_category_report_advanced_filters",{}),S=r(18),k=r.n(S),R=(r(130),r(170),r(65)),q=r(5),E=r(50),P=r(145),F=r(281),N=r(59),x=r(612),A=r(605),B=r(597);function I(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=p()(e);if(t){var c=p()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return d()(this,r)}}var V=function(e){u()(r,e);var t=I(r);function r(e){var o;return a()(this,r),(o=t.call(this,e)).getRowsContent=o.getRowsContent.bind(k()(o)),o.getSummary=o.getSummary.bind(k()(o)),o}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(_.__)("Category","woocommerce-admin"),key:"category",required:!0,isSortable:!0,isLeftAligned:!0},{label:Object(_.__)("Items Sold","woocommerce-admin"),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(_.__)("Net Sales","woocommerce-admin"),key:"net_revenue",isSortable:!0,isNumeric:!0},{label:Object(_.__)("Products","woocommerce-admin"),key:"products_count",isSortable:!0,isNumeric:!0},{label:Object(_.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.context,o=r.render,c=r.formatDecimal,n=(0,r.getCurrencyConfig)();return Object(q.map)(e,(function(e){var r=e.category_id,a=e.items_sold,i=e.net_revenue,s=e.products_count,l=e.orders_count,u=t.props,m=u.categories,d=u.query,b=m.get(r),p=Object(E.getPersistedQuery)(d);return[{display:Object(g.createElement)(x.a,{query:d,category:b,categories:m}),value:b&&b.name},{display:Object(F.formatValue)(n,"number",a),value:a},{display:o(i),value:c(i)},{display:b&&Object(g.createElement)(P.Link,{href:Object(E.getNewPath)(p,"/analytics/categories",{filter:"single_category",categories:b.id}),type:"wc-admin"},Object(F.formatValue)(n,"number",s)),value:s},{display:Object(F.formatValue)(n,"number",l),value:l}]}))}},{key:"getSummary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.items_sold,o=void 0===r?0:r,c=e.net_revenue,n=void 0===c?0:c,a=e.orders_count,i=void 0===a?0:a,s=this.context,l=s.formatAmount,u=s.getCurrencyConfig,m=u();return[{label:Object(_._n)("category","categories",t,"woocommerce-admin"),value:Object(F.formatValue)(m,"number",t)},{label:Object(_._n)("item sold","items sold",o,"woocommerce-admin"),value:Object(F.formatValue)(m,"number",o)},{label:Object(_.__)("net sales","woocommerce-admin"),value:l(n)},{label:Object(_._n)("order","orders",i,"woocommerce-admin"),value:Object(F.formatValue)(m,"number",i)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,o=e.isRequesting,c=e.query,n={helpText:Object(_.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(_.__)("Search by category name","woocommerce-admin")};return Object(g.createElement)(A.a,{compareBy:"categories",endpoint:"categories",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["items_sold","net_revenue","orders_count"],isRequesting:o,itemIdField:"category_id",query:c,searchBy:"categories",labels:n,tableQuery:{orderby:c.orderby||"items_sold",order:c.order||"desc",extended_info:!0},title:Object(_.__)("Categories","woocommerce-admin"),columnPrefsKey:"categories_report_columns",filters:r,advancedFilters:t})}}]),r}(g.Component);V.contextType=B.a;var L=Object(R.compose)(Object(O.withSelect)((function(e,t){var r=t.isRequesting,o=t.query;if(r||o.search&&(!o.categories||!o.categories.length))return{};var c=e(N.ITEMS_STORE_NAME),n=c.getItems,a=c.getItemsError,i=c.isResolving,s={per_page:-1};return{categories:n("categories",s),isError:Boolean(a("categories",s)),isRequesting:i("getItems",["categories",s])}})))(V),T=r(602),M=r(601),D=r(603),H=r(623),Q=r(604),K=r(210);function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function U(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=p()(e);if(t){var c=p()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return d()(this,r)}}var z=function(e){u()(r,e);var t=U(r);function r(){return a()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e=this.props.query,t="compare-categories"===e.filter&&e.categories&&e.categories.split(",").length>1,r="single_category"===e.filter&&!!e.categories,o=t||r?"item-comparison":"time-comparison";return{isSingleCategoryView:r,itemsLabel:r?Object(_.__)("%d products","woocommerce-admin"):Object(_.__)("%d categories","woocommerce-admin"),mode:o}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.path,n=e.addCesSurveyForAnalytics,a=this.getChartMeta(),i=a.mode,s=a.itemsLabel,l=a.isSingleCategoryView,u=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===i&&(u.segmentby=l?"product":"category"),w[0].filters.find((function(e){return"compare-categories"===e.value})).settings.onClick=n,Object(g.createElement)(g.Fragment,null,Object(g.createElement)(Q.a,{query:r,path:o,filters:w,advancedFilters:C,report:"categories"}),Object(g.createElement)(D.a,{charts:j,endpoint:"products",isRequesting:t,limitProperties:l?["products","categories"]:["categories"],query:u,selectedChart:Object(T.a)(r.chart,j),filters:w,advancedFilters:C,report:"categories"}),Object(g.createElement)(M.a,{charts:j,filters:w,advancedFilters:C,mode:i,endpoint:"products",limitProperties:l?["products","categories"]:["categories"],path:o,query:u,isRequesting:t,itemsLabel:s,selectedChart:Object(T.a)(r.chart,j)}),l?Object(g.createElement)(H.a,{isRequesting:t,query:u,baseSearchQuery:{filter:"single_category"},hideCompare:l,filters:w,advancedFilters:C}):Object(g.createElement)(L,{isRequesting:t,query:r,filters:w,advancedFilters:C}))}}]),r}(g.Component);z.propTypes={query:f.a.object.isRequired,path:f.a.string.isRequired};t.default=Object(O.withDispatch)((function(e){return{addCesSurveyForAnalytics:e(K.c).addCesSurveyForAnalytics}}))(z)},612:function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));r(64);var o=r(22),c=r.n(o),n=r(23),a=r.n(n),i=r(24),s=r.n(i),l=r(25),u=r.n(l),m=r(14),d=r.n(m),b=r(0),p=(r(130),r(5)),g=r(4),y=r(145),f=r(50);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=d()(e);if(t){var c=d()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return u()(this,r)}}var O=function(e){s()(r,e);var t=_(r);function r(){return c()(this,r),t.apply(this,arguments)}return a()(r,[{key:"getCategoryAncestorIds",value:function(e,t){for(var r=[],o=e.parent;o;)r.unshift(o),o=t.get(o).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,o=e.query,c=Object(f.getPersistedQuery)(o);return r?Object(b.createElement)("div",{className:"woocommerce-table__breadcrumbs"},this.getCategoryAncestors(r,t),Object(b.createElement)(y.Link,{href:Object(f.getNewPath)(c,"/analytics/categories",{filter:"single_category",categories:r.id}),type:"wc-admin"},r.name)):Object(b.createElement)(g.Spinner,null)}}]),r}(b.Component)},623:function(e,t,r){"use strict";r(64);var o=r(22),c=r.n(o),n=r(23),a=r.n(n),i=r(18),s=r.n(i),l=r(24),u=r.n(l),m=r(25),d=r.n(m),b=r(14),p=r.n(b),g=r(0),y=(r(41),r(130),r(52),r(139),r(170),r(88),r(2)),f=r(65),_=r(133),O=r(26),v=r(5),h=r(50),j=r(145),w=r(281),C=r(85),S=r(59),k=r(612),R=r(613),q=r(605),E=r(597);r(624);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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=p()(e);if(t){var c=p()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return d()(this,r)}}var F=Object(C.g)("manageStock","no"),N=Object(C.g)("stockStatuses",{}),x=function(e){u()(r,e);var t=P(r);function r(){var e;return c()(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 a()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(y.__)("Product Title","woocommerce-admin"),key:"product_name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(y.__)("SKU","woocommerce-admin"),key:"sku",hiddenByDefault:!0,isSortable:!0},{label:Object(y.__)("Items Sold","woocommerce-admin"),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(y.__)("Net Sales","woocommerce-admin"),screenReaderLabel:Object(y.__)("Net Sales","woocommerce-admin"),key:"net_revenue",required:!0,isSortable:!0,isNumeric:!0},{label:Object(y.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(y.__)("Category","woocommerce-admin"),key:"product_cat"},{label:Object(y.__)("Variations","woocommerce-admin"),key:"variations",isSortable:!0},"yes"===F?{label:Object(y.__)("Status","woocommerce-admin"),key:"stock_status"}:null,"yes"===F?{label:Object(y.__)("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,o=Object(h.getPersistedQuery)(r),c=this.context,n=c.render,a=c.formatDecimal,i=c.getCurrencyConfig,s=i();return Object(v.map)(t,(function(t){var c=t.product_id,i=t.items_sold,l=t.net_revenue,u=t.orders_count,m=t.extended_info||{},d=m.category_ids,b=m.low_stock_amount,p=m.manage_stock,f=m.sku,O=m.stock_status,v=m.stock_quantity,S=m.variations,q=void 0===S?[]:S,E=Object(_.decodeEntities)(m.name),P=Object(h.getNewPath)(o,"/analytics/orders",{filter:"advanced",product_includes:c}),x=Object(h.getNewPath)(o,"/analytics/products",{filter:"single_product",products:c}),A=e.props.categories,B=d&&d.map((function(e){return A.get(e)})).filter(Boolean)||[],I=Object(R.a)(O,v,b)?Object(g.createElement)(j.Link,{href:Object(C.f)("post.php?action=edit&post="+c),type:"wp-admin"},Object(y._x)("Low","Indication of a low quantity","woocommerce-admin")):N[O];return[{display:Object(g.createElement)(j.Link,{href:x,type:"wc-admin"},E),value:E},{display:f,value:f},{display:Object(w.formatValue)(s,"number",i),value:i},{display:n(l),value:a(l)},{display:Object(g.createElement)(j.Link,{href:P,type:"wc-admin"},u),value:u},{display:Object(g.createElement)("div",{className:"woocommerce-table__product-categories"},B[0]&&Object(g.createElement)(k.a,{category:B[0],categories:A}),B.length>1&&Object(g.createElement)(j.Tag,{label:Object(y.sprintf)(Object(y._x)("+%d more","categories","woocommerce-admin"),B.length-1),popoverContents:B.map((function(e){return Object(g.createElement)(k.a,{category:e,categories:A,key:e.id,query:r})}))})),value:B.map((function(e){return e.name})).join(", ")},{display:Object(w.formatValue)(s,"number",q.length),value:q.length},"yes"===F?{display:p?I:Object(y.__)("N/A","woocommerce-admin"),value:p?N[O]:null}:null,"yes"===F?{display:p?Object(w.formatValue)(s,"number",v):Object(y.__)("N/A","woocommerce-admin"),value:v}:null].filter(Boolean)}))}},{key:"getSummary",value:function(e){var t=e.products_count,r=void 0===t?0:t,o=e.items_sold,c=void 0===o?0:o,n=e.net_revenue,a=void 0===n?0:n,i=e.orders_count,s=void 0===i?0:i,l=this.context,u=l.formatAmount,m=(0,l.getCurrencyConfig)();return[{label:Object(y._n)("product","products",r,"woocommerce-admin"),value:Object(w.formatValue)(m,"number",r)},{label:Object(y._n)("item sold","items sold",c,"woocommerce-admin"),value:Object(w.formatValue)(m,"number",c)},{label:Object(y.__)("net sales","woocommerce-admin"),value:u(a)},{label:Object(y._n)("orders","orders",s,"woocommerce-admin"),value:Object(w.formatValue)(m,"number",s)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.baseSearchQuery,o=e.filters,c=e.hideCompare,n=e.isRequesting,a=e.query,i={helpText:Object(y.__)("Check at least two products below to compare","woocommerce-admin"),placeholder:Object(y.__)("Search by product name or SKU","woocommerce-admin")};return Object(g.createElement)(q.a,{compareBy:c?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:n,labels:i,query:a,searchBy:"products",baseSearchQuery:r,tableQuery:{orderby:a.orderby||"items_sold",order:a.order||"desc",extended_info:!0,segmentby:a.segmentby},title:Object(y.__)("Products","woocommerce-admin"),columnPrefsKey:"products_report_columns",filters:o,advancedFilters:t})}}]),r}(g.Component);x.contextType=E.a,t.a=Object(f.compose)(Object(O.withSelect)((function(e,t){var r=t.query;if(t.isRequesting||r.search&&(!r.products||!r.products.length))return{};var o=e(S.ITEMS_STORE_NAME),c=o.getItems,n=o.getItemsError,a=o.isResolving,i={per_page:-1};return{categories:c("categories",i),isError:Boolean(n("categories",i)),isRequesting:a("getItems",["categories",i])}})))(x)},624:function(e,t,r){}}]);
|
1 |
+
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[10],{582:function(e,t,r){"use strict";r.r(t);r(64),r(37),r(53),r(60),r(49),r(61);var o=r(7),c=r.n(o),n=r(22),a=r.n(n),i=r(23),s=r.n(i),l=r(24),u=r.n(l),m=r(25),d=r.n(m),b=r(14),p=r.n(b),g=r(0),y=(r(41),r(177),r(88),r(192),r(1)),f=r.n(y),_=r(2),O=r(26),v=r(141),h=r(600),j=Object(v.applyFilters)("woocommerce_admin_categories_report_charts",[{key:"items_sold",label:Object(_.__)("Items Sold","woocommerce-admin"),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(_.__)("Net Sales","
|