Version Description
Download this release
Release Info
Developer | mreishus |
Plugin | Full Site Editing |
Version | 3.37633 |
Comparing to | |
See all releases |
Code changes from version 3.37620 to 3.37633
- build_meta.txt +3 -3
- common/dist/data-stores.asset.php +1 -1
- common/dist/data-stores.js +21 -477
- common/dist/data-stores.min.js +2 -8
- common/dist/data-stores.min.js.map +0 -1
build_meta.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
commit_hash=
|
2 |
-
commit_url=https://github.com/Automattic/wp-calypso/commit/
|
3 |
-
build_number=3.
|
1 |
+
commit_hash=2430a0c788ed6271c79448ee8d179122fff08f61
|
2 |
+
commit_url=https://github.com/Automattic/wp-calypso/commit/2430a0c788ed6271c79448ee8d179122fff08f61
|
3 |
+
build_number=3.37633
|
common/dist/data-stores.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('react', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('react', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-polyfill'), 'version' => '4c9db8cec63659971c96');
|
common/dist/data-stores.js
CHANGED
@@ -619,216 +619,6 @@ if ($defineProperty) {
|
|
619 |
}
|
620 |
|
621 |
|
622 |
-
/***/ }),
|
623 |
-
|
624 |
-
/***/ 3421:
|
625 |
-
/***/ (function(__unused_webpack_module, exports) {
|
626 |
-
|
627 |
-
"use strict";
|
628 |
-
/*!
|
629 |
-
* cookie
|
630 |
-
* Copyright(c) 2012-2014 Roman Shtylman
|
631 |
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
632 |
-
* MIT Licensed
|
633 |
-
*/
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
/**
|
638 |
-
* Module exports.
|
639 |
-
* @public
|
640 |
-
*/
|
641 |
-
|
642 |
-
exports.parse = parse;
|
643 |
-
exports.serialize = serialize;
|
644 |
-
|
645 |
-
/**
|
646 |
-
* Module variables.
|
647 |
-
* @private
|
648 |
-
*/
|
649 |
-
|
650 |
-
var decode = decodeURIComponent;
|
651 |
-
var encode = encodeURIComponent;
|
652 |
-
var pairSplitRegExp = /; */;
|
653 |
-
|
654 |
-
/**
|
655 |
-
* RegExp to match field-content in RFC 7230 sec 3.2
|
656 |
-
*
|
657 |
-
* field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
|
658 |
-
* field-vchar = VCHAR / obs-text
|
659 |
-
* obs-text = %x80-FF
|
660 |
-
*/
|
661 |
-
|
662 |
-
var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
|
663 |
-
|
664 |
-
/**
|
665 |
-
* Parse a cookie header.
|
666 |
-
*
|
667 |
-
* Parse the given cookie header string into an object
|
668 |
-
* The object has the various cookies as keys(names) => values
|
669 |
-
*
|
670 |
-
* @param {string} str
|
671 |
-
* @param {object} [options]
|
672 |
-
* @return {object}
|
673 |
-
* @public
|
674 |
-
*/
|
675 |
-
|
676 |
-
function parse(str, options) {
|
677 |
-
if (typeof str !== 'string') {
|
678 |
-
throw new TypeError('argument str must be a string');
|
679 |
-
}
|
680 |
-
|
681 |
-
var obj = {}
|
682 |
-
var opt = options || {};
|
683 |
-
var pairs = str.split(pairSplitRegExp);
|
684 |
-
var dec = opt.decode || decode;
|
685 |
-
|
686 |
-
for (var i = 0; i < pairs.length; i++) {
|
687 |
-
var pair = pairs[i];
|
688 |
-
var eq_idx = pair.indexOf('=');
|
689 |
-
|
690 |
-
// skip things that don't look like key=value
|
691 |
-
if (eq_idx < 0) {
|
692 |
-
continue;
|
693 |
-
}
|
694 |
-
|
695 |
-
var key = pair.substr(0, eq_idx).trim()
|
696 |
-
var val = pair.substr(++eq_idx, pair.length).trim();
|
697 |
-
|
698 |
-
// quoted values
|
699 |
-
if ('"' == val[0]) {
|
700 |
-
val = val.slice(1, -1);
|
701 |
-
}
|
702 |
-
|
703 |
-
// only assign once
|
704 |
-
if (undefined == obj[key]) {
|
705 |
-
obj[key] = tryDecode(val, dec);
|
706 |
-
}
|
707 |
-
}
|
708 |
-
|
709 |
-
return obj;
|
710 |
-
}
|
711 |
-
|
712 |
-
/**
|
713 |
-
* Serialize data into a cookie header.
|
714 |
-
*
|
715 |
-
* Serialize the a name value pair into a cookie string suitable for
|
716 |
-
* http headers. An optional options object specified cookie parameters.
|
717 |
-
*
|
718 |
-
* serialize('foo', 'bar', { httpOnly: true })
|
719 |
-
* => "foo=bar; httpOnly"
|
720 |
-
*
|
721 |
-
* @param {string} name
|
722 |
-
* @param {string} val
|
723 |
-
* @param {object} [options]
|
724 |
-
* @return {string}
|
725 |
-
* @public
|
726 |
-
*/
|
727 |
-
|
728 |
-
function serialize(name, val, options) {
|
729 |
-
var opt = options || {};
|
730 |
-
var enc = opt.encode || encode;
|
731 |
-
|
732 |
-
if (typeof enc !== 'function') {
|
733 |
-
throw new TypeError('option encode is invalid');
|
734 |
-
}
|
735 |
-
|
736 |
-
if (!fieldContentRegExp.test(name)) {
|
737 |
-
throw new TypeError('argument name is invalid');
|
738 |
-
}
|
739 |
-
|
740 |
-
var value = enc(val);
|
741 |
-
|
742 |
-
if (value && !fieldContentRegExp.test(value)) {
|
743 |
-
throw new TypeError('argument val is invalid');
|
744 |
-
}
|
745 |
-
|
746 |
-
var str = name + '=' + value;
|
747 |
-
|
748 |
-
if (null != opt.maxAge) {
|
749 |
-
var maxAge = opt.maxAge - 0;
|
750 |
-
|
751 |
-
if (isNaN(maxAge) || !isFinite(maxAge)) {
|
752 |
-
throw new TypeError('option maxAge is invalid')
|
753 |
-
}
|
754 |
-
|
755 |
-
str += '; Max-Age=' + Math.floor(maxAge);
|
756 |
-
}
|
757 |
-
|
758 |
-
if (opt.domain) {
|
759 |
-
if (!fieldContentRegExp.test(opt.domain)) {
|
760 |
-
throw new TypeError('option domain is invalid');
|
761 |
-
}
|
762 |
-
|
763 |
-
str += '; Domain=' + opt.domain;
|
764 |
-
}
|
765 |
-
|
766 |
-
if (opt.path) {
|
767 |
-
if (!fieldContentRegExp.test(opt.path)) {
|
768 |
-
throw new TypeError('option path is invalid');
|
769 |
-
}
|
770 |
-
|
771 |
-
str += '; Path=' + opt.path;
|
772 |
-
}
|
773 |
-
|
774 |
-
if (opt.expires) {
|
775 |
-
if (typeof opt.expires.toUTCString !== 'function') {
|
776 |
-
throw new TypeError('option expires is invalid');
|
777 |
-
}
|
778 |
-
|
779 |
-
str += '; Expires=' + opt.expires.toUTCString();
|
780 |
-
}
|
781 |
-
|
782 |
-
if (opt.httpOnly) {
|
783 |
-
str += '; HttpOnly';
|
784 |
-
}
|
785 |
-
|
786 |
-
if (opt.secure) {
|
787 |
-
str += '; Secure';
|
788 |
-
}
|
789 |
-
|
790 |
-
if (opt.sameSite) {
|
791 |
-
var sameSite = typeof opt.sameSite === 'string'
|
792 |
-
? opt.sameSite.toLowerCase() : opt.sameSite;
|
793 |
-
|
794 |
-
switch (sameSite) {
|
795 |
-
case true:
|
796 |
-
str += '; SameSite=Strict';
|
797 |
-
break;
|
798 |
-
case 'lax':
|
799 |
-
str += '; SameSite=Lax';
|
800 |
-
break;
|
801 |
-
case 'strict':
|
802 |
-
str += '; SameSite=Strict';
|
803 |
-
break;
|
804 |
-
case 'none':
|
805 |
-
str += '; SameSite=None';
|
806 |
-
break;
|
807 |
-
default:
|
808 |
-
throw new TypeError('option sameSite is invalid');
|
809 |
-
}
|
810 |
-
}
|
811 |
-
|
812 |
-
return str;
|
813 |
-
}
|
814 |
-
|
815 |
-
/**
|
816 |
-
* Try decoding a string using a decoding function.
|
817 |
-
*
|
818 |
-
* @param {string} str
|
819 |
-
* @param {function} decode
|
820 |
-
* @private
|
821 |
-
*/
|
822 |
-
|
823 |
-
function tryDecode(str, decode) {
|
824 |
-
try {
|
825 |
-
return decode(str);
|
826 |
-
} catch (e) {
|
827 |
-
return str;
|
828 |
-
}
|
829 |
-
}
|
830 |
-
|
831 |
-
|
832 |
/***/ }),
|
833 |
|
834 |
/***/ 5881:
|
@@ -4647,248 +4437,6 @@ _automattic_data_stores__WEBPACK_IMPORTED_MODULE_0__/* .register */ .z();
|
|
4647 |
|
4648 |
/***/ }),
|
4649 |
|
4650 |
-
/***/ 9770:
|
4651 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
4652 |
-
|
4653 |
-
"use strict";
|
4654 |
-
// TODO: Revisit whether it is useful for the Desktop app to override the following properties:
|
4655 |
-
// signup_url, login_url, logout_url and discover_logged_out_redirect_url
|
4656 |
-
const config = {
|
4657 |
-
env: 'production',
|
4658 |
-
env_id: 'desktop',
|
4659 |
-
client_slug: 'desktop',
|
4660 |
-
readerFollowingSource: 'desktop',
|
4661 |
-
boom_analytics_key: 'desktop',
|
4662 |
-
google_recaptcha_site_key: '6LdoXcAUAAAAAM61KvdgP8xwnC19YuzAiOWn5Wtn'
|
4663 |
-
};
|
4664 |
-
const features = {
|
4665 |
-
desktop: true,
|
4666 |
-
'desktop-promo': false,
|
4667 |
-
'sign-in-with-apple': false,
|
4668 |
-
// Note: there is also a sign-in-with-apple/redirect flag
|
4669 |
-
// that may/may not be relevant to override for the Desktop app.
|
4670 |
-
'signup/social': false,
|
4671 |
-
'login/magic-login': false,
|
4672 |
-
'bilmur-script': false
|
4673 |
-
};
|
4674 |
-
/* harmony default export */ __webpack_exports__["Z"] = (data => {
|
4675 |
-
data = Object.assign(data, config);
|
4676 |
-
|
4677 |
-
if (data.features) {
|
4678 |
-
data.features = Object.assign(data.features, features);
|
4679 |
-
}
|
4680 |
-
|
4681 |
-
if (window.electron && window.electron.features) {
|
4682 |
-
data.features = Object.assign(data.features, window.electron.features);
|
4683 |
-
}
|
4684 |
-
|
4685 |
-
return data;
|
4686 |
-
});
|
4687 |
-
|
4688 |
-
/***/ }),
|
4689 |
-
|
4690 |
-
/***/ 899:
|
4691 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
4692 |
-
|
4693 |
-
"use strict";
|
4694 |
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
4695 |
-
/* harmony export */ "_k": function() { return /* binding */ isEnabled; }
|
4696 |
-
/* harmony export */ });
|
4697 |
-
/* unused harmony exports isCalypsoLive, enabledFeatures, enable, disable */
|
4698 |
-
/* harmony import */ var _automattic_create_calypso_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(544);
|
4699 |
-
/* harmony import */ var cookie__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3421);
|
4700 |
-
/* harmony import */ var _desktop__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9770);
|
4701 |
-
|
4702 |
-
|
4703 |
-
|
4704 |
-
|
4705 |
-
/**
|
4706 |
-
* Manages config flags for various deployment builds
|
4707 |
-
*
|
4708 |
-
* @module config/index
|
4709 |
-
*/
|
4710 |
-
if ('undefined' === typeof window || !window.configData) {
|
4711 |
-
throw new ReferenceError('No configuration was found: please see packages/calypso-config/README.md for more information');
|
4712 |
-
}
|
4713 |
-
|
4714 |
-
const isDesktop = window.electron !== undefined;
|
4715 |
-
let configData;
|
4716 |
-
|
4717 |
-
if (isDesktop) {
|
4718 |
-
configData = (0,_desktop__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(window.configData);
|
4719 |
-
} else {
|
4720 |
-
configData = window.configData;
|
4721 |
-
} // calypso.live matches
|
4722 |
-
// hash-abcd1234.calypso.live matches
|
4723 |
-
// calypso.live.com doesn't match
|
4724 |
-
|
4725 |
-
|
4726 |
-
const CALYPSO_LIVE_REGEX = /^([a-zA-Z0-9-]+\.)?calypso\.live$/; // check if the current browser location is *.calypso.live
|
4727 |
-
|
4728 |
-
function isCalypsoLive() {
|
4729 |
-
return typeof window !== 'undefined' && CALYPSO_LIVE_REGEX.test(window.location.host);
|
4730 |
-
}
|
4731 |
-
|
4732 |
-
function applyFlags(flagsString, modificationMethod) {
|
4733 |
-
const flags = flagsString.split(',');
|
4734 |
-
flags.forEach(flagRaw => {
|
4735 |
-
const flag = flagRaw.replace(/^[-+]/, '');
|
4736 |
-
const enabled = !/^-/.test(flagRaw);
|
4737 |
-
|
4738 |
-
if (configData.features) {
|
4739 |
-
configData.features[flag] = enabled; // eslint-disable-next-line no-console
|
4740 |
-
|
4741 |
-
console.log('%cConfig flag %s via %s: %s', 'font-weight: bold;', enabled ? 'enabled' : 'disabled', modificationMethod, flag);
|
4742 |
-
}
|
4743 |
-
});
|
4744 |
-
}
|
4745 |
-
|
4746 |
-
const flagEnvironments = ['wpcalypso', 'horizon', 'stage', 'jetpack-cloud-stage'];
|
4747 |
-
|
4748 |
-
if ( false || flagEnvironments.includes(configData.env_id) || isCalypsoLive()) {
|
4749 |
-
const cookies = cookie__WEBPACK_IMPORTED_MODULE_1__.parse(document.cookie);
|
4750 |
-
|
4751 |
-
if (cookies.flags) {
|
4752 |
-
applyFlags(cookies.flags, 'cookie');
|
4753 |
-
}
|
4754 |
-
|
4755 |
-
try {
|
4756 |
-
const session = window.sessionStorage.getItem('flags');
|
4757 |
-
|
4758 |
-
if (session) {
|
4759 |
-
applyFlags(session, 'sessionStorage');
|
4760 |
-
}
|
4761 |
-
} catch (e) {// in private context, accessing session storage can throw
|
4762 |
-
}
|
4763 |
-
|
4764 |
-
const match = document.location.search && document.location.search.match(/[?&]flags=([^&]+)(&|$)/);
|
4765 |
-
|
4766 |
-
if (match) {
|
4767 |
-
applyFlags(decodeURIComponent(match[1]), 'URL');
|
4768 |
-
}
|
4769 |
-
}
|
4770 |
-
|
4771 |
-
const configApi = (0,_automattic_create_calypso_config__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(configData);
|
4772 |
-
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (configApi)));
|
4773 |
-
const isEnabled = configApi.isEnabled;
|
4774 |
-
const enabledFeatures = configApi.enabledFeatures;
|
4775 |
-
const enable = configApi.enable;
|
4776 |
-
const disable = configApi.disable;
|
4777 |
-
|
4778 |
-
/***/ }),
|
4779 |
-
|
4780 |
-
/***/ 544:
|
4781 |
-
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
4782 |
-
|
4783 |
-
"use strict";
|
4784 |
-
/**
|
4785 |
-
* Returns configuration value for given key
|
4786 |
-
*
|
4787 |
-
* If the requested key isn't defined in the configuration
|
4788 |
-
* data then this will report the failure with either an
|
4789 |
-
* error or a console warning.
|
4790 |
-
*
|
4791 |
-
* When in the 'development' NODE_ENV it will raise an error
|
4792 |
-
* to crash execution early. However, because many modules
|
4793 |
-
* call this function in the module-global scope a failure
|
4794 |
-
* here can not only crash that module but also entire
|
4795 |
-
* application flows as well as trigger unexpected and
|
4796 |
-
* unwanted behaviors. Therefore if the NODE_ENV is not
|
4797 |
-
* 'development' we will return `undefined` and log a message
|
4798 |
-
* to the console instead of halting the execution thread.
|
4799 |
-
*
|
4800 |
-
* The config files are loaded in sequence: _shared.json, {env}.json, {env}.local.json
|
4801 |
-
*
|
4802 |
-
* @see server/config/parser.js
|
4803 |
-
* @param data Configurat data.
|
4804 |
-
* @throws {ReferenceError} when key not defined in the config (NODE_ENV=development only)
|
4805 |
-
* @returns A function that gets the value of property named by the key
|
4806 |
-
*/
|
4807 |
-
const config = data => key => {
|
4808 |
-
if (key in data) {
|
4809 |
-
return data[key];
|
4810 |
-
}
|
4811 |
-
|
4812 |
-
if (false) {} // display console error only in a browser
|
4813 |
-
// (not in tests, for example)
|
4814 |
-
|
4815 |
-
|
4816 |
-
if ('undefined' !== typeof window) {
|
4817 |
-
// eslint-disable-next-line no-console
|
4818 |
-
console.error('%cCore Error: ' + `%cCould not find config value for key %c${key}%c. ` + 'Please make sure that if you need it then it has a default value assigned in ' + '%cconfig/_shared.json' + '%c.', 'color: red; font-size: 120%', // error prefix
|
4819 |
-
'color: black;', // message
|
4820 |
-
'color: blue;', // key name
|
4821 |
-
'color: black;', // message
|
4822 |
-
'color: blue;', // config file reference
|
4823 |
-
'color: black' // message
|
4824 |
-
);
|
4825 |
-
}
|
4826 |
-
|
4827 |
-
return undefined;
|
4828 |
-
};
|
4829 |
-
/**
|
4830 |
-
* Checks whether a specific feature is enabled.
|
4831 |
-
*
|
4832 |
-
* @param data the json environment configuration to use for getting config values
|
4833 |
-
* @returns A function that takes a feature name and returns true when the feature is enabled.
|
4834 |
-
*/
|
4835 |
-
|
4836 |
-
|
4837 |
-
const isEnabled = data => feature => data.features && !!data.features[feature] || false;
|
4838 |
-
/**
|
4839 |
-
* Gets a list of all enabled features.
|
4840 |
-
*
|
4841 |
-
* @param data A set of config data (Not used by general users, is pre-filled via currying).
|
4842 |
-
* @returns List of enabled features (strings).
|
4843 |
-
*/
|
4844 |
-
|
4845 |
-
|
4846 |
-
const enabledFeatures = data => () => {
|
4847 |
-
if (!data.features) {
|
4848 |
-
return [];
|
4849 |
-
}
|
4850 |
-
|
4851 |
-
return Object.entries(data.features).reduce((enabled, _ref) => {
|
4852 |
-
let [feature, isEnabled] = _ref;
|
4853 |
-
return isEnabled ? [...enabled, feature] : enabled;
|
4854 |
-
}, []);
|
4855 |
-
};
|
4856 |
-
/**
|
4857 |
-
* Enables a specific feature.
|
4858 |
-
*
|
4859 |
-
* @param data the json environment configuration to use for getting config values
|
4860 |
-
*/
|
4861 |
-
|
4862 |
-
|
4863 |
-
const enable = data => feature => {
|
4864 |
-
if (data.features) {
|
4865 |
-
data.features[feature] = true;
|
4866 |
-
}
|
4867 |
-
};
|
4868 |
-
/**
|
4869 |
-
* Disables a specific feature.
|
4870 |
-
*
|
4871 |
-
* @param data the json environment configuration to use for getting config values
|
4872 |
-
*/
|
4873 |
-
|
4874 |
-
|
4875 |
-
const disable = data => feature => {
|
4876 |
-
if (data.features) {
|
4877 |
-
data.features[feature] = false;
|
4878 |
-
}
|
4879 |
-
};
|
4880 |
-
|
4881 |
-
/* harmony default export */ __webpack_exports__["Z"] = (data => {
|
4882 |
-
const configApi = config(data);
|
4883 |
-
configApi.isEnabled = isEnabled(data);
|
4884 |
-
configApi.enabledFeatures = enabledFeatures(data);
|
4885 |
-
configApi.enable = enable(data);
|
4886 |
-
configApi.disable = disable(data);
|
4887 |
-
return configApi;
|
4888 |
-
});
|
4889 |
-
|
4890 |
-
/***/ }),
|
4891 |
-
|
4892 |
/***/ 3600:
|
4893 |
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
4894 |
|
@@ -6476,10 +6024,8 @@ const isPlanProductFree = (_, planProductId) => planProductId === _constants__WE
|
|
6476 |
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
6477 |
/* harmony export */ "d": function() { return /* binding */ createActions; }
|
6478 |
/* harmony export */ });
|
6479 |
-
/* harmony import */ var
|
6480 |
-
/* harmony import */ var
|
6481 |
-
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9639);
|
6482 |
-
|
6483 |
|
6484 |
|
6485 |
function createActions(clientCreds) {
|
@@ -6522,7 +6068,7 @@ function createActions(clientCreds) {
|
|
6522 |
// Set to false because site validation should be a separate action
|
6523 |
validate: false
|
6524 |
};
|
6525 |
-
const newSite = yield (0,
|
6526 |
path: '/sites/new',
|
6527 |
apiVersion: '1.1',
|
6528 |
method: 'post',
|
@@ -6595,20 +6141,20 @@ function createActions(clientCreds) {
|
|
6595 |
yield launchSiteStart(siteId);
|
6596 |
|
6597 |
try {
|
6598 |
-
yield (0,
|
6599 |
path: `/sites/${siteId}/launch`,
|
6600 |
apiVersion: '1.1',
|
6601 |
method: 'post'
|
6602 |
});
|
6603 |
yield launchSiteSuccess(siteId);
|
6604 |
} catch (_) {
|
6605 |
-
yield launchSiteFailure(siteId,
|
6606 |
}
|
6607 |
} // TODO: move getCart and setCart to a 'cart' data-store
|
6608 |
|
6609 |
|
6610 |
function* getCart(siteId) {
|
6611 |
-
const success = yield (0,
|
6612 |
path: '/me/shopping-cart/' + siteId,
|
6613 |
apiVersion: '1.1',
|
6614 |
method: 'GET'
|
@@ -6635,7 +6181,7 @@ function createActions(clientCreds) {
|
|
6635 |
});
|
6636 |
|
6637 |
function* setCart(siteId, cartData) {
|
6638 |
-
const success = yield (0,
|
6639 |
path: '/me/shopping-cart/' + siteId,
|
6640 |
apiVersion: '1.1',
|
6641 |
method: 'POST',
|
@@ -6651,7 +6197,7 @@ function createActions(clientCreds) {
|
|
6651 |
});
|
6652 |
|
6653 |
function* getGlobalStyles(siteId, stylesheet) {
|
6654 |
-
const globalStyles = yield (0,
|
6655 |
path: `/sites/${siteId}/global-styles/themes/${stylesheet}`,
|
6656 |
apiNamespace: 'wp/v2'
|
6657 |
});
|
@@ -6662,7 +6208,7 @@ function createActions(clientCreds) {
|
|
6662 |
function* saveSiteSettings(siteId, settings) {
|
6663 |
try {
|
6664 |
// extract this into its own function as a generic settings setter
|
6665 |
-
yield (0,
|
6666 |
path: `/sites/${encodeURIComponent(siteId)}/settings`,
|
6667 |
apiVersion: '1.4',
|
6668 |
body: settings,
|
@@ -6687,7 +6233,7 @@ function createActions(clientCreds) {
|
|
6687 |
|
6688 |
function* setIntentOnSite(siteSlug, intent) {
|
6689 |
try {
|
6690 |
-
yield (0,
|
6691 |
path: `/sites/${encodeURIComponent(siteSlug)}/site-intent`,
|
6692 |
apiNamespace: 'wpcom/v2',
|
6693 |
body: {
|
@@ -6700,7 +6246,7 @@ function createActions(clientCreds) {
|
|
6700 |
|
6701 |
function* setGoalsOnSite(siteSlug, goals) {
|
6702 |
try {
|
6703 |
-
yield (0,
|
6704 |
path: `/sites/${encodeURIComponent(siteSlug)}/site-goals`,
|
6705 |
apiNamespace: 'wpcom/v2',
|
6706 |
body: {
|
@@ -6724,7 +6270,7 @@ function createActions(clientCreds) {
|
|
6724 |
}
|
6725 |
|
6726 |
function* setThemeOnSite(siteSlug, theme) {
|
6727 |
-
yield (0,
|
6728 |
path: `/sites/${siteSlug}/themes/mine`,
|
6729 |
apiVersion: '1.1',
|
6730 |
body: {
|
@@ -6742,7 +6288,7 @@ function createActions(clientCreds) {
|
|
6742 |
theme,
|
6743 |
recipe
|
6744 |
} = selectedDesign;
|
6745 |
-
yield (0,
|
6746 |
path: `/sites/${siteSlug}/themes/mine`,
|
6747 |
apiVersion: '1.1',
|
6748 |
body: {
|
@@ -6759,14 +6305,12 @@ function createActions(clientCreds) {
|
|
6759 |
const anchorDesigns = ['hannah', 'gilbert', 'riley'];
|
6760 |
|
6761 |
if (anchorDesigns.indexOf(selectedDesign.template) < 0) {
|
6762 |
-
|
6763 |
-
const vertical_id = selectedDesign.design_type === 'vertical' || (0,_automattic_calypso_config__WEBPACK_IMPORTED_MODULE_0__/* .isEnabled */ ._k)('signup/standard-theme-v13n') ? siteVerticalId : undefined;
|
6764 |
-
yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_1__/* .wpcomRequest */ ._9)({
|
6765 |
path: `/sites/${encodeURIComponent(siteSlug)}/theme-setup`,
|
6766 |
apiNamespace: 'wpcom/v2',
|
6767 |
body: {
|
6768 |
trim_content: true,
|
6769 |
-
vertical_id:
|
6770 |
pattern_ids: recipe === null || recipe === void 0 ? void 0 : recipe.pattern_ids,
|
6771 |
header_pattern_ids: (recipe === null || recipe === void 0 ? void 0 : recipe.header_pattern_ids) || [],
|
6772 |
footer_pattern_ids: (recipe === null || recipe === void 0 ? void 0 : recipe.footer_pattern_ids) || []
|
@@ -6775,7 +6319,7 @@ function createActions(clientCreds) {
|
|
6775 |
});
|
6776 |
}
|
6777 |
|
6778 |
-
const data = yield (0,
|
6779 |
path: `/sites/${siteSlug}/block-editor`,
|
6780 |
apiNamespace: 'wpcom/v2',
|
6781 |
method: 'GET'
|
@@ -6817,7 +6361,7 @@ function createActions(clientCreds) {
|
|
6817 |
yield atomicTransferStart(siteId, softwareSet);
|
6818 |
|
6819 |
try {
|
6820 |
-
yield (0,
|
6821 |
path: `/sites/${encodeURIComponent(siteId)}/atomic/transfers`,
|
6822 |
apiNamespace: 'wpcom/v2',
|
6823 |
method: 'POST',
|
@@ -6829,7 +6373,7 @@ function createActions(clientCreds) {
|
|
6829 |
});
|
6830 |
yield atomicTransferSuccess(siteId, softwareSet);
|
6831 |
} catch (_) {
|
6832 |
-
yield atomicTransferFailure(siteId, softwareSet,
|
6833 |
}
|
6834 |
}
|
6835 |
|
@@ -6854,7 +6398,7 @@ function createActions(clientCreds) {
|
|
6854 |
yield latestAtomicTransferStart(siteId);
|
6855 |
|
6856 |
try {
|
6857 |
-
const transfer = yield (0,
|
6858 |
path: `/sites/${encodeURIComponent(siteId)}/atomic/transfers/latest`,
|
6859 |
apiNamespace: 'wpcom/v2',
|
6860 |
method: 'GET'
|
@@ -6889,7 +6433,7 @@ function createActions(clientCreds) {
|
|
6889 |
yield atomicSoftwareStatusStart(siteId, softwareSet);
|
6890 |
|
6891 |
try {
|
6892 |
-
const status = yield (0,
|
6893 |
path: `/sites/${encodeURIComponent(siteId)}/atomic/software/${encodeURIComponent(softwareSet)}`,
|
6894 |
apiNamespace: 'wpcom/v2',
|
6895 |
method: 'GET'
|
@@ -6923,7 +6467,7 @@ function createActions(clientCreds) {
|
|
6923 |
yield atomicSoftwareInstallStart(siteId, softwareSet);
|
6924 |
|
6925 |
try {
|
6926 |
-
yield (0,
|
6927 |
path: `/sites/${encodeURIComponent(siteId)}/atomic/software/${encodeURIComponent(softwareSet)}`,
|
6928 |
apiNamespace: 'wpcom/v2',
|
6929 |
method: 'POST',
|
619 |
}
|
620 |
|
621 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4440 |
/***/ 3600:
|
4441 |
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
4442 |
|
6024 |
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
6025 |
/* harmony export */ "d": function() { return /* binding */ createActions; }
|
6026 |
/* harmony export */ });
|
6027 |
+
/* harmony import */ var _wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3661);
|
6028 |
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9639);
|
|
|
|
|
6029 |
|
6030 |
|
6031 |
function createActions(clientCreds) {
|
6068 |
// Set to false because site validation should be a separate action
|
6069 |
validate: false
|
6070 |
};
|
6071 |
+
const newSite = yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6072 |
path: '/sites/new',
|
6073 |
apiVersion: '1.1',
|
6074 |
method: 'post',
|
6141 |
yield launchSiteStart(siteId);
|
6142 |
|
6143 |
try {
|
6144 |
+
yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6145 |
path: `/sites/${siteId}/launch`,
|
6146 |
apiVersion: '1.1',
|
6147 |
method: 'post'
|
6148 |
});
|
6149 |
yield launchSiteSuccess(siteId);
|
6150 |
} catch (_) {
|
6151 |
+
yield launchSiteFailure(siteId, _types__WEBPACK_IMPORTED_MODULE_1__/* .SiteLaunchError.INTERNAL */ .Hc.INTERNAL);
|
6152 |
}
|
6153 |
} // TODO: move getCart and setCart to a 'cart' data-store
|
6154 |
|
6155 |
|
6156 |
function* getCart(siteId) {
|
6157 |
+
const success = yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6158 |
path: '/me/shopping-cart/' + siteId,
|
6159 |
apiVersion: '1.1',
|
6160 |
method: 'GET'
|
6181 |
});
|
6182 |
|
6183 |
function* setCart(siteId, cartData) {
|
6184 |
+
const success = yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6185 |
path: '/me/shopping-cart/' + siteId,
|
6186 |
apiVersion: '1.1',
|
6187 |
method: 'POST',
|
6197 |
});
|
6198 |
|
6199 |
function* getGlobalStyles(siteId, stylesheet) {
|
6200 |
+
const globalStyles = yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6201 |
path: `/sites/${siteId}/global-styles/themes/${stylesheet}`,
|
6202 |
apiNamespace: 'wp/v2'
|
6203 |
});
|
6208 |
function* saveSiteSettings(siteId, settings) {
|
6209 |
try {
|
6210 |
// extract this into its own function as a generic settings setter
|
6211 |
+
yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6212 |
path: `/sites/${encodeURIComponent(siteId)}/settings`,
|
6213 |
apiVersion: '1.4',
|
6214 |
body: settings,
|
6233 |
|
6234 |
function* setIntentOnSite(siteSlug, intent) {
|
6235 |
try {
|
6236 |
+
yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6237 |
path: `/sites/${encodeURIComponent(siteSlug)}/site-intent`,
|
6238 |
apiNamespace: 'wpcom/v2',
|
6239 |
body: {
|
6246 |
|
6247 |
function* setGoalsOnSite(siteSlug, goals) {
|
6248 |
try {
|
6249 |
+
yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6250 |
path: `/sites/${encodeURIComponent(siteSlug)}/site-goals`,
|
6251 |
apiNamespace: 'wpcom/v2',
|
6252 |
body: {
|
6270 |
}
|
6271 |
|
6272 |
function* setThemeOnSite(siteSlug, theme) {
|
6273 |
+
yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6274 |
path: `/sites/${siteSlug}/themes/mine`,
|
6275 |
apiVersion: '1.1',
|
6276 |
body: {
|
6288 |
theme,
|
6289 |
recipe
|
6290 |
} = selectedDesign;
|
6291 |
+
yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6292 |
path: `/sites/${siteSlug}/themes/mine`,
|
6293 |
apiVersion: '1.1',
|
6294 |
body: {
|
6305 |
const anchorDesigns = ['hannah', 'gilbert', 'riley'];
|
6306 |
|
6307 |
if (anchorDesigns.indexOf(selectedDesign.template) < 0) {
|
6308 |
+
yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
|
|
|
|
6309 |
path: `/sites/${encodeURIComponent(siteSlug)}/theme-setup`,
|
6310 |
apiNamespace: 'wpcom/v2',
|
6311 |
body: {
|
6312 |
trim_content: true,
|
6313 |
+
vertical_id: siteVerticalId || undefined,
|
6314 |
pattern_ids: recipe === null || recipe === void 0 ? void 0 : recipe.pattern_ids,
|
6315 |
header_pattern_ids: (recipe === null || recipe === void 0 ? void 0 : recipe.header_pattern_ids) || [],
|
6316 |
footer_pattern_ids: (recipe === null || recipe === void 0 ? void 0 : recipe.footer_pattern_ids) || []
|
6319 |
});
|
6320 |
}
|
6321 |
|
6322 |
+
const data = yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6323 |
path: `/sites/${siteSlug}/block-editor`,
|
6324 |
apiNamespace: 'wpcom/v2',
|
6325 |
method: 'GET'
|
6361 |
yield atomicTransferStart(siteId, softwareSet);
|
6362 |
|
6363 |
try {
|
6364 |
+
yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6365 |
path: `/sites/${encodeURIComponent(siteId)}/atomic/transfers`,
|
6366 |
apiNamespace: 'wpcom/v2',
|
6367 |
method: 'POST',
|
6373 |
});
|
6374 |
yield atomicTransferSuccess(siteId, softwareSet);
|
6375 |
} catch (_) {
|
6376 |
+
yield atomicTransferFailure(siteId, softwareSet, _types__WEBPACK_IMPORTED_MODULE_1__/* .AtomicTransferError.INTERNAL */ .Hf.INTERNAL);
|
6377 |
}
|
6378 |
}
|
6379 |
|
6398 |
yield latestAtomicTransferStart(siteId);
|
6399 |
|
6400 |
try {
|
6401 |
+
const transfer = yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6402 |
path: `/sites/${encodeURIComponent(siteId)}/atomic/transfers/latest`,
|
6403 |
apiNamespace: 'wpcom/v2',
|
6404 |
method: 'GET'
|
6433 |
yield atomicSoftwareStatusStart(siteId, softwareSet);
|
6434 |
|
6435 |
try {
|
6436 |
+
const status = yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6437 |
path: `/sites/${encodeURIComponent(siteId)}/atomic/software/${encodeURIComponent(softwareSet)}`,
|
6438 |
apiNamespace: 'wpcom/v2',
|
6439 |
method: 'GET'
|
6467 |
yield atomicSoftwareInstallStart(siteId, softwareSet);
|
6468 |
|
6469 |
try {
|
6470 |
+
yield (0,_wpcom_request_controls__WEBPACK_IMPORTED_MODULE_0__/* .wpcomRequest */ ._9)({
|
6471 |
path: `/sites/${encodeURIComponent(siteId)}/atomic/software/${encodeURIComponent(softwareSet)}`,
|
6472 |
apiNamespace: 'wpcom/v2',
|
6473 |
method: 'POST',
|
common/dist/data-stores.min.js
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
-
!function(){var e={7266:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(5854),o=r(730);function i(e){var t=(0,n.Z)(e);return function(e){return(0,o.Z)(t,e)}}},730:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,r){if(e)throw t;return r}};function o(e,t){var r,o,i,a,u,s,l=[];for(r=0;r<e.length;r++){if(u=e[r],a=n[u]){for(o=a.length,i=Array(o);o--;)i[o]=l.pop();try{s=a.apply(null,i)}catch(c){return c}}else s=t.hasOwnProperty(u)?t[u]:+u;l.push(s)}return l[0]}},1184:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(7266);function o(e){var t=(0,n.Z)(e);return function(e){return+t({n:e})}}},5854:function(e,t,r){"use strict";var n,o,i,a;function u(e){for(var t,r,u,s,l=[],c=[];t=e.match(a);){for(r=t[0],(u=e.substr(0,t.index).trim())&&l.push(u);s=c.pop();){if(i[r]){if(i[r][0]===s){r=i[r][1]||r;break}}else if(o.indexOf(s)>=0||n[s]<n[r]){c.push(s);break}l.push(s)}i[r]||c.push(r),e=e.substr(t.index+r.length)}return(e=e.trim())&&l.push(e),l.concat(c.reverse())}r.d(t,{Z:function(){return u}}),n={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],i={")":["("],":":["?","?:"]},a=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},6668:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function o(e,t){var r;if(!Array.isArray(t))for(t=new Array(arguments.length-1),r=1;r<arguments.length;r++)t[r-1]=arguments[r];return r=1,e.replace(n,(function(){var e,n,o,i,a;return e=arguments[3],n=arguments[5],"%"===(i=arguments[9])?"%":("*"===(o=arguments[7])&&(o=t[r-1],r++),void 0!==n?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(n)&&(a=t[0][n]):(void 0===e&&(e=r),r++,a=t[e-1]),"f"===i?a=parseFloat(a)||0:"d"===i&&(a=parseInt(a)||0),void 0!==o&&("f"===i?a=a.toFixed(o):"s"===i&&(a=a.substr(0,o))),null!=a?a:"")}))}},6744:function(e){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},2680:function(e,t,r){"use strict";var n=r(7286),o=r(9429),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o(r):r}},9429:function(e,t,r){"use strict";var n=r(4090),o=r(7286),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||n.call(a,i),s=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(d){l=null}e.exports=function(e){var t=u(n,a,arguments);if(s&&l){var r=s(t,"length");r.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var f=function(){return u(n,i,arguments)};l?l(e.exports,"apply",{value:f}):e.exports.apply=f},3421:function(e,t){"use strict";
|
2 |
-
/*!
|
3 |
-
* cookie
|
4 |
-
* Copyright(c) 2012-2014 Roman Shtylman
|
5 |
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
6 |
-
* MIT Licensed
|
7 |
-
*/t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},i=t||{},u=e.split(o),s=i.decode||r,l=0;l<u.length;l++){var c=u[l],f=c.indexOf("=");if(!(f<0)){var d=c.substr(0,f).trim(),p=c.substr(++f,c.length).trim();'"'==p[0]&&(p=p.slice(1,-1)),null==n[d]&&(n[d]=a(p,s))}}return n},t.serialize=function(e,t,r){var o=r||{},a=o.encode||n;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!i.test(e))throw new TypeError("argument name is invalid");var u=a(t);if(u&&!i.test(u))throw new TypeError("argument val is invalid");var s=e+"="+u;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(l)}if(o.domain){if(!i.test(o.domain))throw new TypeError("option domain is invalid");s+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw new TypeError("option path is invalid");s+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw new TypeError("option expires is invalid");s+="; Expires="+o.expires.toUTCString()}o.httpOnly&&(s+="; HttpOnly");o.secure&&(s+="; Secure");if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s};var r=decodeURIComponent,n=encodeURIComponent,o=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function a(e,t){try{return t(e)}catch(r){return e}}},5881:function(e){var t=1e3,r=60*t,n=60*r,o=24*n,i=7*o,a=365.25*o;function u(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,s){s=s||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!u)return;var s=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*a;case"weeks":case"week":case"w":return s*i;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*n;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&isFinite(e))return s.long?function(e){var i=Math.abs(e);if(i>=o)return u(e,i,o,"day");if(i>=n)return u(e,i,n,"hour");if(i>=r)return u(e,i,r,"minute");if(i>=t)return u(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=n)return Math.round(e/n)+"h";if(i>=r)return Math.round(e/r)+"m";if(i>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},2699:function(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function o(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,r)}(e,o,{once:!0})}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function s(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var o,i,a,l;if(u(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=s(e))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=c.bind(n);return o.listener=r,n.wrapFn=o,o}function d(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):y(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function y(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function g(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){n.once&&e.removeEventListener(t,o),r(i)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return s(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)n(s,this,t);else{var l=s.length,c=y(s,l);for(r=0;r<l;++r)n(c[r],this,t)}return!0},i.prototype.addListener=function(e,t){return l(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return l(this,e,t,!0)},i.prototype.once=function(e,t){return u(t),this.on(e,f(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,f(this,e,t)),this},i.prototype.removeListener=function(e,t){var r,n,o,i,a;if(u(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return d(this,e,!0)},i.prototype.rawListeners=function(e){return d(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},i.prototype.listenerCount=p,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},5695:function(e){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(r=t.cmp,function(e){return function(t,n){var o={key:t,value:e[t]},i={key:n,value:e[n]};return r(o,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,a;if(Array.isArray(t)){for(a="[",r=0;r<t.length;r++)r&&(a+=","),a+=e(t[r])||"null";return a+"]"}if(null===t)return"null";if(-1!==i.indexOf(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=i.push(t)-1,s=Object.keys(t).sort(o&&o(t));for(a="",r=0;r<s.length;r++){var l=s[r],c=e(t[l]);c&&(a&&(a+=","),a+=JSON.stringify(l)+":"+c)}return i.splice(u,1),"{"+a+"}"}}(e)}},7795:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||n.call(i)!==o)throw new TypeError(t+i);for(var a,u=r.call(arguments,1),s=function(){if(this instanceof a){var t=i.apply(this,u.concat(r.call(arguments)));return Object(t)===t?t:this}return i.apply(e,u.concat(r.call(arguments)))},l=Math.max(0,i.length-u.length),c=[],f=0;f<l;f++)c.push("$"+f);if(a=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s),i.prototype){var d=function(){};d.prototype=i.prototype,a.prototype=new d,d.prototype=null}return a}},4090:function(e,t,r){"use strict";var n=r(7795);e.exports=Function.prototype.bind||n},7286:function(e,t,r){"use strict";var n,o=SyntaxError,i=Function,a=TypeError,u=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(T){s=null}var l=function(){throw new a},c=s?function(){try{return l}catch(e){try{return s(arguments,"callee").get}catch(t){return l}}}():l,f=r(2636)(),d=Object.getPrototypeOf||function(e){return e.__proto__},p={},y="undefined"==typeof Uint8Array?n:d(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f?d([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?d(d([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?d((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?d((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?d(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=u("async function () {}");else if("%GeneratorFunction%"===t)r=u("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=u("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=d(o.prototype))}return g[t]=r,r},h={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=r(4090),S=r(3198),_=v.call(Function.call,Array.prototype.concat),b=v.call(Function.apply,Array.prototype.splice),A=v.call(Function.call,String.prototype.replace),E=v.call(Function.call,String.prototype.slice),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,w=function(e){var t=E(e,0,1),r=E(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return A(e,I,(function(e,t,r,o){n[n.length]=r?A(o,C,"$1"):t||e})),n},O=function(e,t){var r,n=e;if(S(h,n)&&(n="%"+(r=h[n])[0]+"%"),S(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=w(e),n=r.length>0?r[0]:"",i=O("%"+n+"%",t),u=i.name,l=i.value,c=!1,f=i.alias;f&&(n=f[0],b(r,_([0,1],f)));for(var d=1,p=!0;d<r.length;d+=1){var y=r[d],m=E(y,0,1),h=E(y,-1);if(('"'===m||"'"===m||"`"===m||'"'===h||"'"===h||"`"===h)&&m!==h)throw new o("property names with quotes must have matching quotes");if("constructor"!==y&&p||(c=!0),S(g,u="%"+(n+="."+y)+"%"))l=g[u];else if(null!=l){if(!(y in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&d+1>=r.length){var v=s(l,y);l=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:l[y]}else p=S(l,y),l=l[y];p&&!c&&(g[u]=l)}}return l}},2636:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(6679);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},6679:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},3198:function(e,t,r){"use strict";var n=r(4090);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},4495:function(e,t,r){"use strict";var n=r(212),o=r(9561);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var o=1;o<r;o++)n[o]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)n[o++]=0;n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=e>>>24&255,n[o++]=e>>>16&255,n[o++]=e>>>8&255,n[o++]=255&e}else for(n[o++]=255&e,n[o++]=e>>>8&255,n[o++]=e>>>16&255,n[o++]=e>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,i=8;i<this.padLength;i++)n[o++]=0;return n}},5079:function(e,t,r){"use strict";var n=r(212),o=r(4495),i=r(713),a=n.rotl32,u=n.sum32,s=n.sum32_5,l=i.ft_1,c=o.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(d,c),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var o=this.h[0],i=this.h[1],c=this.h[2],d=this.h[3],p=this.h[4];for(n=0;n<r.length;n++){var y=~~(n/20),g=s(a(o,5),l(y,i,c,d),p,r[n],f[y]);p=d,d=c,c=a(i,30),i=o,o=g}this.h[0]=u(this.h[0],o),this.h[1]=u(this.h[1],i),this.h[2]=u(this.h[2],c),this.h[3]=u(this.h[3],d),this.h[4]=u(this.h[4],p)},d.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},713:function(e,t,r){"use strict";var n=r(212).rotr32;function o(e,t,r){return e&t^~e&r}function i(e,t,r){return e&t^e&r^t&r}function a(e,t,r){return e^t^r}t.ft_1=function(e,t,r,n){return 0===e?o(t,r,n):1===e||3===e?a(t,r,n):2===e?i(t,r,n):void 0},t.ch32=o,t.maj32=i,t.p32=a,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},212:function(e,t,r){"use strict";var n=r(9561),o=r(1285);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function u(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)r.push(parseInt(e[o]+e[o+1],16))}else for(var n=0,o=0;o<e.length;o++){var a=e.charCodeAt(o);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):i(e,o)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++o)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(o=0;o<e.length;o++)r[o]=0|e[o];return r},t.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=u(e[r].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e[n];"little"===t&&(o=a(o)),r+=s(o.toString(16))}return r},t.zero2=u,t.zero8=s,t.join32=function(e,t,r,o){var i=r-t;n(i%4==0);for(var a=new Array(i/4),u=0,s=t;u<a.length;u++,s+=4){var l;l="big"===o?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],a[u]=l>>>0}return a},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,o=0;n<e.length;n++,o+=4){var i=e[n];"big"===t?(r[o]=i>>>24,r[o+1]=i>>>16&255,r[o+2]=i>>>8&255,r[o+3]=255&i):(r[o+3]=i>>>24,r[o+2]=i>>>16&255,r[o+1]=i>>>8&255,r[o]=255&i)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,o){return e+t+r+n+o>>>0},t.sum64=function(e,t,r,n){var o=e[t],i=n+e[t+1]>>>0,a=(i<n?1:0)+r+o;e[t]=a>>>0,e[t+1]=i},t.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,o,i,a,u){var s=0,l=t;return s+=(l=l+n>>>0)<t?1:0,s+=(l=l+i>>>0)<i?1:0,e+r+o+a+(s+=(l=l+u>>>0)<u?1:0)>>>0},t.sum64_4_lo=function(e,t,r,n,o,i,a,u){return t+n+i+u>>>0},t.sum64_5_hi=function(e,t,r,n,o,i,a,u,s,l){var c=0,f=t;return c+=(f=f+n>>>0)<t?1:0,c+=(f=f+i>>>0)<i?1:0,c+=(f=f+u>>>0)<u?1:0,e+r+o+a+s+(c+=(f=f+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,r,n,o,i,a,u,s,l){return t+n+i+u+l>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},1285:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},7839:function(e,t,r){var n=r(2699),o=r(1285);function i(e){if(!(this instanceof i))return new i(e);"number"==typeof e&&(e={max:e}),e||(e={}),n.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=i,o(i,n.EventEmitter),Object.defineProperty(i.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),i.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},i.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},i.prototype._unlink=function(e,t,r){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=r,this.cache[this.tail].prev=null):(this.cache[t].next=r,this.cache[r].prev=t)},i.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},i.prototype.set=function(e,t){var r;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((r=this.cache[e]).value=t,this.maxAge&&(r.modified=Date.now()),e===this.head)return t;this._unlink(e,r.prev,r.next)}else r={value:t,modified:0,next:null,prev:null},this.maxAge&&(r.modified=Date.now()),this.cache[e]=r,this.length===this.max&&this.evict();return this.length++,r.next=null,r.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},i.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},i.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},i.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},9561:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},9500:function(e,t,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,u="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=u&&s&&"function"==typeof s.get?s.get:null,c=u&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,h=String.prototype.match,v="function"==typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,b="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A=Object.prototype.propertyIsEnumerable,E=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),I=r(3260).custom,C=I&&M(I)?I:null,w="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function O(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function T(e){return String(e).replace(/"/g,""")}function P(e){return!("[object Array]"!==$(e)||w&&"object"==typeof e&&w in e)}function M(e){if(b)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,n,o){var u=r||{};if(L(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(L(u,"maxStringLength")&&("number"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=!L(u,"customInspect")||u.customInspect;if("boolean"!=typeof s&&"symbol"!==s)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(L(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return x(t,u);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var g=void 0===u.depth?5:u.depth;if(void 0===n&&(n=0),n>=g&&g>0&&"object"==typeof t)return P(t)?"[Array]":"[Object]";var S=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=Array(e.indent+1).join(" ")}return{base:r,prev:Array(t+1).join(r)}}(u,n);if(void 0===o)o=[];else if(F(o,t)>=0)return"[Circular]";function A(t,r,i){if(r&&(o=o.slice()).push(r),i){var a={depth:u.depth};return L(u,"quoteStyle")&&(a.quoteStyle=u.quoteStyle),e(t,a,n+1,o)}return e(t,u,n+1,o)}if("function"==typeof t){var I=function(e){if(e.name)return e.name;var t=h.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),R=B(t,A);return"[Function"+(I?": "+I:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(M(t)){var N=b?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):_.call(t);return"object"!=typeof t||b?N:D(N)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var k="<"+String(t.nodeName).toLowerCase(),G=t.attributes||[],H=0;H<G.length;H++)k+=" "+G[H].name+"="+O(T(G[H].value),"double",u);return k+=">",t.childNodes&&t.childNodes.length&&(k+="..."),k+="</"+String(t.nodeName).toLowerCase()+">"}if(P(t)){if(0===t.length)return"[]";var W=B(t,A);return S&&!function(e){for(var t=0;t<e.length;t++)if(F(e[t],"\n")>=0)return!1;return!0}(W)?"["+Z(W,S)+"]":"[ "+W.join(", ")+" ]"}if(function(e){return!("[object Error]"!==$(e)||w&&"object"==typeof e&&w in e)}(t)){var V=B(t,A);return 0===V.length?"["+String(t)+"]":"{ ["+String(t)+"] "+V.join(", ")+" }"}if("object"==typeof t&&s){if(C&&"function"==typeof t[C])return t[C]();if("symbol"!==s&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{l.call(e)}catch(k){return!0}return e instanceof Map}catch(t){}return!1}(t)){var Y=[];return a.call(t,(function(e,r){Y.push(A(r,t,!0)+" => "+A(e,t))})),U("Map",i.call(t),Y,S)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(r){}return!1}(t)){var K=[];return c.call(t,(function(e){K.push(A(e,t))})),U("Set",l.call(t),K,S)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(k){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return j("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(k){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return j("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(t){}return!1}(t))return j("WeakRef");if(function(e){return!("[object Number]"!==$(e)||w&&"object"==typeof e&&w in e)}(t))return D(A(Number(t)));if(function(e){if(!e||"object"!=typeof e||!v)return!1;try{return v.call(e),!0}catch(t){}return!1}(t))return D(A(v.call(t)));if(function(e){return!("[object Boolean]"!==$(e)||w&&"object"==typeof e&&w in e)}(t))return D(y.call(t));if(function(e){return!("[object String]"!==$(e)||w&&"object"==typeof e&&w in e)}(t))return D(A(String(t)));if(!function(e){return!("[object Date]"!==$(e)||w&&"object"==typeof e&&w in e)}(t)&&!function(e){return!("[object RegExp]"!==$(e)||w&&"object"==typeof e&&w in e)}(t)){var z=B(t,A),q=E?E(t)===Object.prototype:t instanceof Object||t.constructor===Object,J=t instanceof Object?"":"null prototype",X=!q&&w&&Object(t)===t&&w in t?$(t).slice(8,-1):J?"Object":"",Q=(q||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(X||J?"["+[].concat(X||[],J||[]).join(": ")+"] ":"");return 0===z.length?Q+"{}":S?Q+"{"+Z(z,S)+"}":Q+"{ "+z.join(", ")+" }"}return String(t)};var R=Object.prototype.hasOwnProperty||function(e){return e in this};function L(e,t){return R.call(e,t)}function $(e){return g.call(e)}function F(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function x(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return x(e.slice(0,t.maxStringLength),t)+n}return O(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,N),"single",t)}function N(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function D(e){return"Object("+e+")"}function j(e){return e+" { ? }"}function U(e,t,r,n){return e+" ("+t+") {"+(n?Z(r,n):r.join(", "))+"}"}function Z(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+e.join(","+r)+"\n"+t.prev}function B(e,t){var r=P(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=L(e,o)?t(e[o],e):""}var i,a="function"==typeof S?S(e):[];if(b){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var s in e)L(e,s)&&(r&&String(Number(s))===s&&s<e.length||b&&i["$"+s]instanceof Symbol||(/[^\w$]/.test(s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e))));if("function"==typeof S)for(var l=0;l<a.length;l++)A.call(e,a[l])&&n.push("["+t(a[l])+"]: "+t(e[a[l]],e));return n}},8650:function(e){var t,r=window.ProgressEvent,n=!!r;try{t=new r("loaded"),n="loaded"===t.type,t=null}catch(o){n=!1}e.exports=n?r:"function"==typeof document.createEvent?function(e,t){var r=document.createEvent("Event");return r.initEvent(e,!1,!1),t?(r.lengthComputable=Boolean(t.lengthComputable),r.loaded=Number(t.loaded)||0,r.total=Number(t.total)||0):(r.lengthComputable=!1,r.loaded=r.total=0),r}:function(e,t){var r=document.createEventObject();return r.type=e,t?(r.lengthComputable=Boolean(t.lengthComputable),r.loaded=Number(t.loaded)||0,r.total=Number(t.total)||0):(r.lengthComputable=!1,r.loaded=r.total=0),r}},5527:function(e){"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:n,RFC3986:o}},9126:function(e,t,r){"use strict";var n=r(6845),o=r(9166),i=r(5527);e.exports={formats:i,parse:o,stringify:n}},9166:function(e,t,r){"use strict";var n=r(2493),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},u=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,u=r.depth>0&&/(\[[^[\]]*])/.exec(i),l=u?i.slice(0,u.index):i,c=[];if(l){if(!r.plainObjects&&o.call(Object.prototype,l)&&!r.allowPrototypes)return;c.push(l)}for(var f=0;r.depth>0&&null!==(u=a.exec(i))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,u[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(u[1])}return u&&c.push("["+i.slice(u.index)+"]"),function(e,t,r,n){for(var o=n?t:s(t,r),i=e.length-1;i>=0;--i){var a,u=e[i];if("[]"===u&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var l="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,c=parseInt(l,10);r.parseArrays||""!==l?!isNaN(c)&&u!==l&&String(c)===l&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=o:"__proto__"!==l&&(a[l]=o):a={0:o}}o=a}return o}(c,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var r,l={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=c.split(t.delimiter,f),p=-1,y=t.charset;if(t.charsetSentinel)for(r=0;r<d.length;++r)0===d[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[r]?y="utf-8":"utf8=%26%2310003%3B"===d[r]&&(y="iso-8859-1"),p=r,r=d.length);for(r=0;r<d.length;++r)if(r!==p){var g,m,h=d[r],v=h.indexOf("]="),S=-1===v?h.indexOf("="):v+1;-1===S?(g=t.decoder(h,a.decoder,y,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(h.slice(0,S),a.decoder,y,"key"),m=n.maybeMap(s(h.slice(S+1),t),(function(e){return t.decoder(e,a.decoder,y,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===y&&(m=u(m)),h.indexOf("[]=")>-1&&(m=i(m)?[m]:m),o.call(l,g)?l[g]=n.combine(l[g],m):l[g]=m}return l}(e,r):e,f=r.plainObjects?Object.create(null):{},d=Object.keys(c),p=0;p<d.length;++p){var y=d[p],g=l(y,c[y],r,"string"==typeof e);f=n.merge(f,g,r)}return!0===r.allowSparse?f:n.compact(f)}},6845:function(e,t,r){"use strict";var n=r(4294),o=r(2493),i=r(5527),a=Object.prototype.hasOwnProperty,u={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=String.prototype.split,c=Array.prototype.push,f=function(e,t){c.apply(e,s(t)?t:[t])},d=Date.prototype.toISOString,p=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},g={},m=function e(t,r,i,a,u,c,d,p,m,h,v,S,_,b,A){for(var E,I=t,C=A,w=0,O=!1;void 0!==(C=C.get(g))&&!O;){var T=C.get(t);if(w+=1,void 0!==T){if(T===w)throw new RangeError("Cyclic object value");O=!0}void 0===C.get(g)&&(w=0)}if("function"==typeof d?I=d(r,I):I instanceof Date?I=h(I):"comma"===i&&s(I)&&(I=o.maybeMap(I,(function(e){return e instanceof Date?h(e):e}))),null===I){if(a)return c&&!_?c(r,y.encoder,b,"key",v):r;I=""}if("string"==typeof(E=I)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||o.isBuffer(I)){if(c){var P=_?r:c(r,y.encoder,b,"key",v);if("comma"===i&&_){for(var M=l.call(String(I),","),R="",L=0;L<M.length;++L)R+=(0===L?"":",")+S(c(M[L],y.encoder,b,"value",v));return[S(P)+"="+R]}return[S(P)+"="+S(c(I,y.encoder,b,"value",v))]}return[S(r)+"="+S(String(I))]}var $,F=[];if(void 0===I)return F;if("comma"===i&&s(I))$=[{value:I.length>0?I.join(",")||null:void 0}];else if(s(d))$=d;else{var x=Object.keys(I);$=p?x.sort(p):x}for(var N=0;N<$.length;++N){var D=$[N],j="object"==typeof D&&void 0!==D.value?D.value:I[D];if(!u||null!==j){var U=s(I)?"function"==typeof i?i(r,D):r:r+(m?"."+D:"["+D+"]");A.set(t,w);var Z=n();Z.set(g,A),f(F,e(j,U,i,a,u,c,d,p,m,h,v,S,_,b,Z))}}return F};e.exports=function(e,t){var r,o=e,l=function(e){if(!e)return y;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||y.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=i.formatters[r],o=y.filter;return("function"==typeof e.filter||s(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===e.allowDots?y.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:y.charsetSentinel,delimiter:void 0===e.delimiter?y.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:y.encode,encoder:"function"==typeof e.encoder?e.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:y.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:y.strictNullHandling}}(t);"function"==typeof l.filter?o=(0,l.filter)("",o):s(l.filter)&&(r=l.filter);var c,d=[];if("object"!=typeof o||null===o)return"";c=t&&t.arrayFormat in u?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=u[c];r||(r=Object.keys(o)),l.sort&&r.sort(l.sort);for(var g=n(),h=0;h<r.length;++h){var v=r[h];l.skipNulls&&null===o[v]||f(d,m(o[v],v,p,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,g))}var S=d.join(l.delimiter),_=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),S.length>0?_+S:""}},2493:function(e,t,r){"use strict";var n=r(5527),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}(),u=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:u,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],a=o.obj[o.prop],u=Object.keys(a),s=0;s<u.length;++s){var l=u[s],c=a[l];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:a,prop:l}),r.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(o){return n}},encode:function(e,t,r,o,i){if(0===e.length)return e;var u=e;if("symbol"==typeof e?u=Symbol.prototype.toString.call(e):"string"!=typeof e&&(u=String(e)),"iso-8859-1"===r)return escape(u).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",l=0;l<u.length;++l){var c=u.charCodeAt(l);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===n.RFC1738&&(40===c||41===c)?s+=u.charAt(l):c<128?s+=a[c]:c<2048?s+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?s+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&u.charCodeAt(l)),s+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return s},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 r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(i(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return i(t)&&!i(r)&&(a=u(t,n)),i(t)&&i(r)?(r.forEach((function(r,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&r&&"object"==typeof r?t[i]=e(a,r,n):t.push(r)}else t[i]=r})),t):Object.keys(r).reduce((function(t,i){var a=r[i];return o.call(t,i)?t[i]=e(t[i],a,n):t[i]=a,t}),a)}}},4294:function(e,t,r){"use strict";var n=r(7286),o=r(2680),i=r(9500),a=n("%TypeError%"),u=n("%WeakMap%",!0),s=n("%Map%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),p=o("Map.prototype.set",!0),y=o("Map.prototype.has",!0),g=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return l(e,n)}else if(s){if(t)return d(t,n)}else if(r)return function(e,t){var r=g(e,t);return r&&r.value}(r,n)},has:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return f(e,n)}else if(s){if(t)return y(t,n)}else if(r)return function(e,t){return!!g(e,t)}(r,n);return!1},set:function(n,o){u&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new u),c(e,n,o)):s?(t||(t=new s),p(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=g(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},9830:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1184),o={contextDelimiter:"",onMissingKey:null};function i(e,t){var r;for(r in this.data=e,this.pluralForms={},this.options={},o)this.options[r]=void 0!==t&&r in t?t[r]:o[r]}i.prototype.getPluralForm=function(e,t){var r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(i=(r=this.data[e][""])["Plural-Forms"]||r["plural-forms"]||r.plural_forms)&&(o=function(e){var t,r,n;for(t=e.split(";"),r=0;r<t.length;r++)if(0===(n=t[r].trim()).indexOf("plural="))return n.substr(7)}(r["Plural-Forms"]||r["plural-forms"]||r.plural_forms),i=(0,n.Z)(o)),a=this.pluralForms[e]=i),a(t)},i.prototype.dcnpgettext=function(e,t,r,n,o){var i,a,u;return i=void 0===o?0:this.getPluralForm(e,o),a=r,t&&(a=t+this.options.contextDelimiter+r),(u=this.data[e][a])&&u[i]?u[i]:(this.options.onMissingKey&&this.options.onMissingKey(r,e),0===i?r:n)}},6274:function(e,t,r){"use strict";r(8077).z2()},5608:function(e,t,r){"use strict";r(1635).z()},3857:function(e,t,r){"use strict";r(9734).register()},561:function(e,t,r){"use strict";r(2369).z2({client_id:"",client_secret:""})},9512:function(e,t,r){"use strict";r(182).z()},9770:function(e,t){"use strict";const r={env:"production",env_id:"desktop",client_slug:"desktop",readerFollowingSource:"desktop",boom_analytics_key:"desktop",google_recaptcha_site_key:"6LdoXcAUAAAAAM61KvdgP8xwnC19YuzAiOWn5Wtn"},n={desktop:!0,"desktop-promo":!1,"sign-in-with-apple":!1,"signup/social":!1,"login/magic-login":!1,"bilmur-script":!1};t.Z=e=>((e=Object.assign(e,r)).features&&(e.features=Object.assign(e.features,n)),window.electron&&window.electron.features&&(e.features=Object.assign(e.features,window.electron.features)),e)},899:function(e,t,r){"use strict";r.d(t,{_k:function(){return f}});var n=r(544),o=r(3421),i=r(9770);if("undefined"==typeof window||!window.configData)throw new ReferenceError("No configuration was found: please see packages/calypso-config/README.md for more information");const a=void 0!==window.electron;let u;u=a?(0,i.Z)(window.configData):window.configData;const s=/^([a-zA-Z0-9-]+\.)?calypso\.live$/;function l(e,t){e.split(",").forEach((e=>{const r=e.replace(/^[-+]/,""),n=!/^-/.test(e);u.features&&(u.features[r]=n,console.log("%cConfig flag %s via %s: %s","font-weight: bold;",n?"enabled":"disabled",t,r))}))}if(["wpcalypso","horizon","stage","jetpack-cloud-stage"].includes(u.env_id)||"undefined"!=typeof window&&s.test(window.location.host)){const e=o.parse(document.cookie);e.flags&&l(e.flags,"cookie");try{const e=window.sessionStorage.getItem("flags");e&&l(e,"sessionStorage")}catch(d){}const t=document.location.search&&document.location.search.match(/[?&]flags=([^&]+)(&|$)/);t&&l(decodeURIComponent(t[1]),"URL")}const c=(0,n.Z)(u);const f=c.isEnabled;c.enabledFeatures,c.enable,c.disable},544:function(e,t){"use strict";t.Z=e=>{const t=(e=>t=>{if(t in e)return e[t];"undefined"!=typeof window&&console.error(`%cCore Error: %cCould not find config value for key %c${t}%c. Please make sure that if you need it then it has a default value assigned in %cconfig/_shared.json%c.`,"color: red; font-size: 120%","color: black;","color: blue;","color: black;","color: blue;","color: black")})(e);return t.isEnabled=(e=>t=>e.features&&!!e.features[t]||!1)(e),t.enabledFeatures=(e=>()=>e.features?Object.entries(e.features).reduce(((e,t)=>{let[r,n]=t;return n?[...e,r]:e}),[]):[])(e),t.enable=(e=>t=>{e.features&&(e.features[t]=!0)})(e),t.disable=(e=>t=>{e.features&&(e.features[t]=!1)})(e),t}},3600:function(e,t,r){"use strict";r.r(t),r.d(t,{receiveCategories:function(){return n},fetchDomainSuggestions:function(){return o},receiveDomainAvailability:function(){return i},receiveDomainSuggestionsSuccess:function(){return a},receiveDomainSuggestionsError:function(){return u}});const n=e=>({type:"RECEIVE_CATEGORIES",categories:e}),o=()=>({type:"FETCH_DOMAIN_SUGGESTIONS",timeStamp:Date.now()}),i=(e,t)=>({type:"RECEIVE_DOMAIN_AVAILABILITY",domainName:e,availability:t}),a=(e,t)=>({type:"RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS",queryObject:e,suggestions:t,timeStamp:Date.now()}),u=e=>({type:"RECEIVE_DOMAIN_SUGGESTIONS_ERROR",errorMessage:e,timeStamp:Date.now()})},584:function(e,t,r){"use strict";r.d(t,{L:function(){return n},r:function(){return o}});const n="automattic/domains/suggestions";let o;!function(e){e.Failure="failure",e.Pending="pending",e.Success="success",e.Uninitialized="uninitialized"}(o||(o={}))},8077:function(e,t,r){"use strict";r.d(t,{z2:function(){return f}});var n=r(9818),o=r(3661),i=r(3600),a=r(584),u=r(3717),s=r(2269),l=r(267);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.L,{actions:i,controls:o.ai,reducer:u.Z,resolvers:s,selectors:l})),a.L}},3717:function(e,t,r){"use strict";var n=r(9818),o=r(584),i=r(4211);const a={state:o.r.Uninitialized,data:{},errorMessage:null,lastUpdated:-1/0,pendingSince:void 0},u=(0,n.combineReducers)({categories:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_CATEGORIES"===t.type?t.categories:e},domainSuggestions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;return"FETCH_DOMAIN_SUGGESTIONS"===t.type?{...e,state:o.r.Pending,errorMessage:null,pendingSince:t.timeStamp}:"RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS"===t.type?{...e,state:o.r.Success,data:{...e.data,[(0,i.Le)(t.queryObject)]:t.suggestions},errorMessage:null,lastUpdated:t.timeStamp,pendingSince:void 0}:"RECEIVE_DOMAIN_SUGGESTIONS_ERROR"===t.type?{...e,state:o.r.Failure,errorMessage:t.errorMessage,lastUpdated:t.timeStamp,pendingSince:void 0}:e},availability:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_DOMAIN_AVAILABILITY"===t.type?{...e,[t.domainName]:t.availability}:e}});t.Z=u},2269:function(e,t,r){"use strict";r.r(t),r.d(t,{isAvailable:function(){return c},getCategories:function(){return f},__internalGetDomainSuggestions:function(){return d}});var n=r(1481),o=r(9126),i=r(6468),a=r.n(i),u=r(3661),s=r(3600),l=r(4211);const c=function*(e){const t=function(e){return`https://public-api.wordpress.com/rest/v1.3/domains/${encodeURIComponent(e)}/is-available?is_cart_pre_check=true`}(e);try{const{body:r}=yield(0,u.An)(t);return(0,s.receiveDomainAvailability)(e,r)}catch{return(0,s.receiveDomainAvailability)(e,{domain_name:e,mappable:"unknown",status:"unknown",supports_privacy:!1})}};function*f(){const{body:e}=yield(0,u.An)("https://public-api.wordpress.com/wpcom/v2/onboarding/domains/categories");return(0,s.receiveCategories)(e)}function*d(e){if(!e.query)return(0,s.receiveDomainSuggestionsError)("Empty query");yield(0,s.fetchDomainSuggestions)();try{const t=yield(0,u._9)({apiVersion:"1.1",path:"/domains/suggestions",query:(0,o.stringify)(e)});if(!Array.isArray(t))return(0,s.receiveDomainSuggestionsError)((0,n.Iu)("Invalid response from the server"));if(function(e,t){return a().isFQDN(t)&&!e.some((e=>e.domain_name.toLowerCase()===t))}(t,e.query)){const r={domain_name:e.query,unavailable:!0,cost:"",raw_price:0,currency_code:""};t.unshift(r)}const r=t.map((e=>e.unavailable?e:{...e,...e.raw_price&&e.currency_code&&{cost:(0,l._B)(e.raw_price,e.currency_code)}}));return(0,s.receiveDomainSuggestionsSuccess)(e,r)}catch(t){return(0,s.receiveDomainSuggestionsError)(t.message||(0,n.Iu)("Error while fetching server response"))}}},267:function(e,t,r){"use strict";r.r(t),r.d(t,{getCategories:function(){return a},getDomainSuggestions:function(){return u},getDomainState:function(){return s},getDomainErrorMessage:function(){return l},isLoadingDomainSuggestions:function(){return c},__internalGetDomainSuggestions:function(){return f},isAvailable:function(){return d},getDomainAvailabilities:function(){return p}});var n=r(9818),o=r(584),i=r(4211);const a=e=>[...e.categories.filter((e=>{let{tier:t}=e;return null!==t})).sort(((e,t)=>e>t?1:-1)),...e.categories.filter((e=>{let{tier:t}=e;return null===t})).sort(((e,t)=>e.title.localeCompare(t.title)))],u=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(0,i.o0)(t,r);return(0,n.select)(o.L).__internalGetDomainSuggestions(a)},s=e=>e.domainSuggestions.state,l=e=>e.domainSuggestions.errorMessage,c=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(0,i.o0)(t,r);return(0,n.select)("core/data").isResolving(o.L,"__internalGetDomainSuggestions",[a])},f=(e,t)=>e.domainSuggestions.data[(0,i.Le)(t)],d=(e,t)=>e.availability[t],p=e=>e.availability},4211:function(e,t,r){"use strict";r.d(t,{Le:function(){return i},_B:function(){return a},o0:function(){return u}});var n=r(2645),o=r(5695);const i=r.n(o)();function a(e,t){return(0,n.ZP)(e,t,{stripZeros:!0})}function u(e,t){return{include_wordpressdotcom:t.only_wordpressdotcom||!1,include_dotblogsubdomain:!1,only_wordpressdotcom:!1,quantity:5,vendor:"variation2_front",...t,query:e.trim().toLocaleLowerCase()}}},6108:function(e,t,r){"use strict";r.r(t),r.d(t,{setSidebarFullscreen:function(){return i},unsetSidebarFullscreen:function(){return a},setStep:function(){return u},setSiteTitle:function(){return s},setDomain:function(){return l},unsetDomain:function(){return c},confirmDomainSelection:function(){return f},setDomainSearch:function(){return d},setPlanProductId:function(){return p},unsetPlanProductId:function(){return y},updatePlan:function(){return g},openSidebar:function(){return m},closeSidebar:function(){return h},openFocusedLaunch:function(){return v},closeFocusedLaunch:function(){return S},enableAnchorFm:function(){return _},showSiteTitleStep:function(){return b},setModalDismissible:function(){return A},unsetModalDismissible:function(){return E},showModalTitle:function(){return I},hideModalTitle:function(){return C},enablePersistentSuccessView:function(){return w},disablePersistentSuccessView:function(){return O}});var n=r(9818),o=r(9149);const i=()=>({type:"SET_SIDEBAR_FULLSCREEN"}),a=()=>({type:"UNSET_SIDEBAR_FULLSCREEN"}),u=e=>({type:"SET_STEP",step:e}),s=e=>({type:"SET_SITE_TITLE",title:e}),l=e=>({type:"SET_DOMAIN",domain:e}),c=()=>({type:"UNSET_DOMAIN"}),f=()=>({type:"CONFIRM_DOMAIN_SELECTION"}),d=e=>({type:"SET_DOMAIN_SEARCH",domainSearch:e}),p=function*(e){if(!(0,n.select)(o.Fs).isPlanProductFree(e)){const t=(0,n.select)(o.Fs).getPlanProductById(e),r=(null==t?void 0:t.billingPeriod)??"ANNUALLY";yield(e=>({type:"SET_PLAN_BILLING_PERIOD",billingPeriod:e}))(r)}return{type:"SET_PLAN_PRODUCT_ID",planProductId:e}},y=()=>({type:"UNSET_PLAN_PRODUCT_ID"});function g(e){return p(e)}const m=()=>({type:"OPEN_SIDEBAR"}),h=()=>({type:"CLOSE_SIDEBAR"}),v=()=>({type:"OPEN_FOCUSED_LAUNCH"}),S=()=>({type:"CLOSE_FOCUSED_LAUNCH"}),_=()=>({type:"ENABLE_ANCHOR_FM"}),b=()=>({type:"SHOW_SITE_TITLE_STEP"}),A=()=>({type:"SET_MODAL_DISMISSIBLE"}),E=()=>({type:"UNSET_MODAL_DISMISSIBLE"}),I=()=>({type:"SHOW_MODAL_TITLE"}),C=()=>({type:"HIDE_MODAL_TITLE"}),w=()=>({type:"ENABLE_SUCCESS_VIEW"}),O=()=>({type:"DISABLE_SUCCESS_VIEW"})},9149:function(e,t,r){"use strict";r.d(t,{Ls:function(){return n},Fs:function(){return o}});const n="automattic/launch",o="automattic/onboard/plans"},3610:function(e,t,r){"use strict";r.d(t,{y:function(){return n},M:function(){return o}});const n={Name:"name",Domain:"domain",Plan:"plan",Final:"final"},o=[n.Name,n.Domain,n.Plan,n.Final]},1635:function(e,t,r){"use strict";r.d(t,{z:function(){return f}});var n=r(9818),o=r(3418),i=r(6108),a=r(9149),u=r(594),s=r(4648),l=r(7092);(0,n.use)(n.plugins.persistence,u.Z);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.Ls,{actions:i,controls:o.controls,reducer:s.Z,selectors:l,persist:["domain","domainSearch","planProductId","planBillingPeriod","confirmedDomainSelection","isAnchorFm","isSiteTitleStepVisible","siteTitle"]})),a.Ls}},594:function(e,t,r){"use strict";var n=r(492);t.Z=(0,n.Z)("WP_LAUNCH")},4648:function(e,t,r){"use strict";var n=r(9818),o=r(3610);const i=(0,n.combineReducers)({step:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.y.Name,t=arguments.length>1?arguments[1]:void 0;return"SET_STEP"===t.type?t.step:e},siteTitle:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;return"SET_SITE_TITLE"===t.type?t.title:e},domain:(e,t)=>"SET_DOMAIN"===t.type?t.domain:"UNSET_DOMAIN"!==t.type?e:void 0,confirmedDomainSelection:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"CONFIRM_DOMAIN_SELECTION"===t.type||e},domainSearch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return"SET_DOMAIN_SEARCH"===t.type?t.domainSearch:e},planBillingPeriod:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ANNUALLY",t=arguments.length>1?arguments[1]:void 0;return"SET_PLAN_BILLING_PERIOD"===t.type?t.billingPeriod:e},planProductId:(e,t)=>"SET_PLAN_PRODUCT_ID"===t.type?t.planProductId:"UNSET_PLAN_PRODUCT_ID"!==t.type?e:void 0,isSidebarOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"OPEN_SIDEBAR"===t.type||"CLOSE_SIDEBAR"!==t.type&&e},isSidebarFullscreen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_SIDEBAR_FULLSCREEN"===t.type||"UNSET_SIDEBAR_FULLSCREEN"!==t.type&&e},isAnchorFm:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"ENABLE_ANCHOR_FM"===t.type||e},isFocusedLaunchOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"OPEN_FOCUSED_LAUNCH"===t.type||"CLOSE_FOCUSED_LAUNCH"!==t.type&&e},isSiteTitleStepVisible:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SHOW_SITE_TITLE_STEP"===t.type||e},isModalDismissible:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_MODAL_DISMISSIBLE"===t.type||"UNSET_MODAL_DISMISSIBLE"!==t.type&&e},isModalTitleVisible:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SHOW_MODAL_TITLE"===t.type||"HIDE_MODAL_TITLE"!==t.type&&e}});t.Z=i},7092:function(e,t,r){"use strict";r.r(t),r.d(t,{getLaunchSequence:function(){return a},getLaunchStep:function(){return u},getState:function(){return s},hasPaidDomain:function(){return l},getSelectedDomain:function(){return c},getSelectedPlanProductId:function(){return f},getLastPlanBillingPeriod:function(){return d},isSelectedPlanPaid:function(){return p},hasSelectedDomainOrSubdomain:function(){return y},isStepCompleted:function(){return g},isFlowCompleted:function(){return m},isFlowStarted:function(){return h},getFirstIncompleteStep:function(){return v},getSiteTitle:function(){return S},getCurrentStep:function(){return _},getDomainSearch:function(){return b}});var n=r(9818),o=r(9149),i=r(3610);const a=()=>i.M,u=()=>i.y,s=e=>e,l=e=>!!e.domain&&!e.domain.is_free,c=e=>e.domain,f=e=>e.planProductId,d=e=>e.planBillingPeriod,p=e=>void 0!==e.planProductId&&!(0,n.select)(o.Fs).isPlanProductFree(e.planProductId),y=e=>!!c(e)||e.confirmedDomainSelection,g=(e,t)=>{if(t===i.y.Plan)return!!f(e);if(t===i.y.Name){const e=(0,n.select)("core").getEntityRecord("root","site",void 0);return!(null==e||!e.title)}return t===i.y.Domain&&(0,n.select)(o.Ls).hasSelectedDomainOrSubdomain()},m=e=>i.M.slice(0,i.M.length-1).every((t=>g(e,t))),h=e=>i.M.some((t=>g(e,t))),v=e=>i.M.find((t=>!g(e,t))),S=e=>null==e?void 0:e.siteTitle,_=e=>e.step,b=e=>e.domainSearch},492:function(e,t,r){"use strict";function n(e){const t=e,r=e+"_TS",n={},o={getItem:e=>n.hasOwnProperty(e)?n[e]:null,setItem(e,t){n[e]=String(t)},removeItem(e){delete n[e]}},i=(()=>{try{return window.localStorage.setItem("WP_ONBOARD_TEST","1"),window.localStorage.removeItem("WP_ONBOARD_TEST"),!0}catch(e){return!1}})()?window.localStorage:o;return{storageKey:t,storage:{getItem(e){const n=i.getItem(r);return n&&(e=>{const t=Number(e);return Boolean(t)&&t+6048e5>Date.now()})(n)&&!new URLSearchParams(window.location.search).has("fresh")?i.getItem(e):(i.removeItem(t),i.removeItem(r),null)},setItem(e,t){i.setItem(r,JSON.stringify(Date.now())),i.setItem(e,t)}}}}r.d(t,{Z:function(){return n}})},9068:function(e,t,r){"use strict";r.r(t),r.d(t,{setFeatures:function(){return n},setFeaturesByType:function(){return o},setPlans:function(){return i},setPlanProducts:function(){return a},resetPlan:function(){return u}});const n=(e,t)=>({type:"SET_FEATURES",features:e,locale:t}),o=(e,t)=>({type:"SET_FEATURES_BY_TYPE",featuresByType:e,locale:t}),i=(e,t)=>({type:"SET_PLANS",plans:e,locale:t}),a=e=>({type:"SET_PLAN_PRODUCTS",products:e}),u=()=>({type:"RESET_PLAN"})},4703:function(e,t,r){"use strict";r.d(t,{Ls:function(){return n},Ho:function(){return o},TO:function(){return i},YS:function(){return a},Gz:function(){return u},hx:function(){return s},iL:function(){return l},B6:function(){return c},xT:function(){return f},AX:function(){return d},bS:function(){return p},UB:function(){return y},BV:function(){return g},nN:function(){return m}});const n="automattic/onboard/plans",o=1,i="free",a="personal",u="premium",s="business",l="ecommerce",c=[i,a,u,s,l],f=c,d=u,p=["personal-bundle","value_bundle","business-bundle","ecommerce-bundle"],y=["personal-bundle-monthly","value_bundle_monthly","business-bundle-monthly","ecommerce-bundle-monthly"],g=["free_plan",...p,...y],m=["custom-domain","support-live","priority-support"]},9734:function(e,t,r){"use strict";r.r(t),r.d(t,{plansSlugs:function(){return a.B6},plansProductSlugs:function(){return a.BV},TIMELESS_PLAN_FREE:function(){return a.TO},TIMELESS_PLAN_PERSONAL:function(){return a.YS},TIMELESS_PLAN_PREMIUM:function(){return a.Gz},TIMELESS_PLAN_BUSINESS:function(){return a.hx},TIMELESS_PLAN_ECOMMERCE:function(){return a.iL},FREE_PLAN_PRODUCT_ID:function(){return a.Ho},register:function(){return f}});var n=r(9818),o=r(3661),i=r(9068),a=r(4703),u=r(9438),s=r(5261),l=r(7738);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.Ls,{resolvers:s,actions:i,controls:o.ai,reducer:u.ZP,selectors:l})),a.Ls}},9438:function(e,t,r){"use strict";var n=r(9818);const o=(0,n.combineReducers)({features:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_FEATURES"===t.type?{...e,[t.locale]:t.features}:e},featuresByType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_FEATURES_BY_TYPE"===t.type?{...e,[t.locale]:t.featuresByType}:e},planProducts:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLAN_PRODUCTS"===t.type?t.products:e},plans:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?{...e,[t.locale]:t.plans}:e}});t.ZP=o},5261:function(e,t,r){"use strict";r.r(t),r.d(t,{getSupportedPlans:function(){return y}});var n=r(2645),o=r(9126),i=r(3661),a=r(9068),u=r(4703);function s(e){return(0,n.ZP)(12*e.raw_price,e.currency_code,{stripZeros:!0})}function l(e){return(0,n.ZP)(e.raw_price,e.currency_code,{stripZeros:!0})}function c(e){return e.reduce(((e,t)=>(e[t.id]={id:t.id,name:t.name,description:t.description,type:"checkbox",requiresAnnuallyBilledPlan:u.nN.indexOf(t.id)>-1},e)),{})}function f(e,t){const r=Object.keys(t).find((r=>t[r].name===e));return!!r&&t[r].requiresAnnuallyBilledPlan}function d(e,t){const r=e.highlighted_features.map((e=>({name:e,requiresAnnuallyBilledPlan:f(e,t)})));return r.sort(((e,t)=>Number(t.requiresAnnuallyBilledPlan)-Number(e.requiresAnnuallyBilledPlan))),r}function p(e,t){const r=u.BV.reduce(((r,o)=>{const i=e.find((e=>e.product_slug===o));if(!i)return r;const a=t.find((e=>e.productIds.indexOf(i.product_id)>-1));var u;return r.push({productId:i.product_id,billingPeriod:31===i.bill_period?"MONTHLY":"ANNUALLY",periodAgnosticSlug:a.periodAgnosticSlug,storeSlug:i.product_slug,rawPrice:i.raw_price,pathSlug:i.path_slug,price:31===(null==i?void 0:i.bill_period)||0===i.raw_price?l(i):(u=i,(0,n.ZP)(u.raw_price/12,u.currency_code,{stripZeros:!0})),annualPrice:31===(null==i?void 0:i.bill_period)?s(i):l(i)}),r}),[]);return function(e){for(let t=0;t<u.bS.length;t++){const r=e.find((e=>e.storeSlug===u.bS[t])),n=e.find((e=>e.storeSlug===u.UB[t]));if(r&&n){const e=12*n.rawPrice,t=r.rawPrice,o=Math.round(100*(1-t/e));r.annualDiscount=o,n.annualDiscount=o}}}(r),r}function*y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";const t=yield(0,i._9)({path:"/plans",query:(0,o.stringify)({locale:e}),apiVersion:"1.5"}),{body:r}=yield(0,i.An)(`https://public-api.wordpress.com/wpcom/v2/plans/details?locale=${encodeURIComponent(e)}`,{mode:"cors",credentials:"omit"}),n=c(r.features),s=r.plans.map((e=>{var t;const r=null===(t=e.nonlocalized_short_name)||void 0===t?void 0:t.toLowerCase();return{description:e.tagline,features:d(e,n),storage:e.storage,title:e.short_name,featuresSlugs:e.features.reduce(((e,t)=>(e[t]=!0,e)),{}),isFree:r===u.TO,isPopular:r===u.Gz,periodAgnosticSlug:r,productIds:e.products.map((e=>{let{plan_id:t}=e;return t}))}})),l=p(t,s);yield(0,a.setPlans)(s,e),yield(0,a.setPlanProducts)(l),yield(0,a.setFeatures)(n,e),yield(0,a.setFeaturesByType)(r.features_by_type,e)}},7738:function(e,t,r){"use strict";r.r(t),r.d(t,{getFeatures:function(){return u},getFeaturesByType:function(){return s},getPlanByProductId:function(){return l},getPlanProductById:function(){return c},getPlanByPeriodAgnosticSlug:function(){return f},getDefaultPaidPlan:function(){return d},getDefaultFreePlan:function(){return p},getSupportedPlans:function(){return y},getPlansProducts:function(){return g},getPrices:function(){return m},getPlanByPath:function(){return h},getPlanProduct:function(){return v},isPlanEcommerce:function(){return S},isPlanFree:function(){return _},isPlanProductFree:function(){return b}});var n=r(9818),o=r(7180),i=r.n(o),a=r(4703);const u=(e,t)=>e.features[t]??{},s=(e,t)=>e.featuresByType[t]??[],l=(e,t,r)=>{if(t)return(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.productIds.indexOf(t)>-1))},c=(e,t)=>{if(t)return(0,n.select)(a.Ls).getPlansProducts().find((e=>e.productId===t))},f=(e,t,r)=>{if(t)return(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.periodAgnosticSlug===t))},d=(e,t)=>(0,n.select)(a.Ls).getSupportedPlans(t).find((e=>e.periodAgnosticSlug===a.AX)),p=(e,t)=>(0,n.select)(a.Ls).getSupportedPlans(t).find((e=>e.periodAgnosticSlug===a.TO)),y=(e,t)=>e.plans[t]??[],g=e=>e.planProducts,m=(e,t)=>(i()("getPrices",{alternative:"getPlanProduct().price"}),(0,n.select)(a.Ls).getPlansProducts().reduce(((e,t)=>(e[t.storeSlug]=t.price,e)),{})),h=(e,t,r)=>{if(!t)return;const o=(0,n.select)(a.Ls).getPlansProducts().find((e=>e.pathSlug===t));return o?(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.periodAgnosticSlug===o.periodAgnosticSlug)):void 0},v=(e,t,r)=>{if(t&&r)return(0,n.select)(a.Ls).getPlansProducts().find((e=>{const n=e.periodAgnosticSlug===t,o=t===a.TO||e.billingPeriod===r;return n&&o}))},S=(e,t)=>t===a.iL,_=(e,t)=>t===a.TO,b=(e,t)=>t===a.Ho},8459:function(e,t,r){"use strict";r.d(t,{d:function(){return a}});var n=r(899),o=r(3661),i=r(9639);function a(e){const t=()=>({type:"FETCH_NEW_SITE"}),r=e=>({type:"RECEIVE_NEW_SITE",response:e}),a=e=>({type:"RECEIVE_NEW_SITE_FAILED",error:e});const u=(e,t)=>({type:"RECEIVE_SITE_TITLE",siteId:e,name:t}),s=(e,t)=>({type:"RECEIVE_SITE_TAGLINE",siteId:e,tagline:t}),l=(e,t)=>({type:"RECEIVE_SITE_VERTICAL_ID",siteId:e,verticalId:t}),c=e=>({type:"LAUNCH_SITE_START",siteId:e}),f=e=>({type:"LAUNCH_SITE_SUCCESS",siteId:e}),d=(e,t)=>({type:"LAUNCH_SITE_FAILURE",siteId:e,error:t});const p=(e,t)=>({type:"UPDATE_SITE_SETTINGS",siteId:e,settings:t});const y=(e,t)=>({type:"RECEIVE_SITE_GLOBAL_STYLES",siteId:e,globalStyles:t});function*g(e,t){try{yield(0,o._9)({path:`/sites/${encodeURIComponent(e)}/settings`,apiVersion:"1.4",body:t,method:"POST"}),"blogname"in t&&(yield u(e,t.blogname)),"blogdescription"in t&&(yield s(e,t.blogdescription)),"site_vertical_id"in t&&(yield l(e,t.site_vertical_id)),yield p(e,t)}catch(r){}}const m=(e,t)=>({type:"ATOMIC_TRANSFER_START",siteId:e,softwareSet:t}),h=(e,t)=>({type:"ATOMIC_TRANSFER_SUCCESS",siteId:e,softwareSet:t}),v=(e,t,r)=>({type:"ATOMIC_TRANSFER_FAILURE",siteId:e,softwareSet:t,error:r});const S=e=>({type:"LATEST_ATOMIC_TRANSFER_START",siteId:e}),_=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_SUCCESS",siteId:e,transfer:t}),b=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_FAILURE",siteId:e,error:t});const A=(e,t)=>({type:"ATOMIC_SOFTWARE_STATUS_START",siteId:e,softwareSet:t}),E=(e,t,r)=>({type:"ATOMIC_SOFTWARE_STATUS_SUCCESS",siteId:e,softwareSet:t,status:r}),I=(e,t,r)=>({type:"ATOMIC_SOFTWARE_STATUS_FAILURE",siteId:e,softwareSet:t,error:r});const C=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_START",siteId:e,softwareSet:t}),w=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_SUCCESS",siteId:e,softwareSet:t}),O=(e,t,r)=>({type:"ATOMIC_SOFTWARE_INSTALL_FAILURE",siteId:e,softwareSet:t,error:r});return{receiveSiteDomains:(e,t)=>({type:"RECEIVE_SITE_DOMAINS",siteId:e,domains:t}),receiveSiteSettings:(e,t)=>({type:"RECEIVE_SITE_SETTINGS",siteId:e,settings:t}),saveSiteTitle:function*(e,t){yield g(e,{blogname:t})},saveSiteSettings:g,setIntentOnSite:function*(e,t){try{yield(0,o._9)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2",body:{site_intent:t},method:"POST"})}catch(r){}},setGoalsOnSite:function*(e,t){try{yield(0,o._9)({path:`/sites/${encodeURIComponent(e)}/site-goals`,apiNamespace:"wpcom/v2",body:{site_goals:t},method:"POST"})}catch(r){}},receiveSiteTitle:u,fetchNewSite:t,fetchSite:()=>({type:"FETCH_SITE"}),receiveNewSite:r,receiveNewSiteFailed:a,resetNewSiteFailed:()=>({type:"RESET_RECEIVE_NEW_SITE_FAILED"}),setThemeOnSite:function*(e,t){yield(0,o._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:t,dont_change_homepage:!0},method:"POST"})},setDesignOnSite:function*(e,t,r){var i;const{theme:a,recipe:u}=t;if(yield(0,o._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:(null==u||null===(i=u.stylesheet)||void 0===i?void 0:i.split("/")[1])||a,dont_change_homepage:!0},method:"POST"}),["hannah","gilbert","riley"].indexOf(t.template)<0){const i="vertical"===t.design_type||(0,n._k)("signup/standard-theme-v13n")?r:void 0;yield(0,o._9)({path:`/sites/${encodeURIComponent(e)}/theme-setup`,apiNamespace:"wpcom/v2",body:{trim_content:!0,vertical_id:i||void 0,pattern_ids:null==u?void 0:u.pattern_ids,header_pattern_ids:(null==u?void 0:u.header_pattern_ids)||[],footer_pattern_ids:(null==u?void 0:u.footer_pattern_ids)||[]},method:"POST"})}const s=yield(0,o._9)({path:`/sites/${e}/block-editor`,apiNamespace:"wpcom/v2",method:"GET"});return(null==s?void 0:s.is_fse_active)??!1},createSite:function*(t){yield{type:"FETCH_NEW_SITE"};try{const{authToken:n,...i}=t,a={...{client_id:e.client_id,client_secret:e.client_secret,find_available_url:!0,public:-1},...i,validate:!1},u=yield(0,o._9)({path:"/sites/new",apiVersion:"1.1",method:"post",body:a,token:n});return yield r(u),!0}catch(n){return yield a(n),!1}},receiveSite:(e,t)=>({type:"RECEIVE_SITE",siteId:e,response:t}),receiveSiteFailed:(e,t)=>({type:"RECEIVE_SITE_FAILED",siteId:e,response:t}),receiveSiteTagline:s,receiveSiteVerticalId:l,updateSiteSettings:p,saveSiteTagline:function*(e,t){yield g(e,{blogdescription:t})},reset:()=>({type:"RESET_SITE_STORE"}),launchSite:function*(e){yield c(e);try{yield(0,o._9)({path:`/sites/${e}/launch`,apiVersion:"1.1",method:"post"}),yield f(e)}catch(t){yield d(e,i.Hc.INTERNAL)}},launchSiteStart:c,launchSiteSuccess:f,launchSiteFailure:d,getCart:function*(e){return yield(0,o._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"GET"})},setCart:function*(e,t){return yield(0,o._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"POST",body:t})},getGlobalStyles:function*(e,t){const r=yield(0,o._9)({path:`/sites/${e}/global-styles/themes/${t}`,apiNamespace:"wp/v2"});return yield y(e,r),r},receiveSiteGlobalStyles:y,setSiteSetupError:(e,t)=>({type:"SET_SITE_SETUP_ERROR",error:e,message:t}),clearSiteSetupError:e=>({type:"CLEAR_SITE_SETUP_ERROR",siteId:e}),initiateAtomicTransfer:function*(e,t){yield m(e,t);try{yield(0,o._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers`,apiNamespace:"wpcom/v2",method:"POST",...t?{body:{software_set:encodeURIComponent(t)}}:{}}),yield h(e,t)}catch(r){yield v(e,t,i.Hf.INTERNAL)}},atomicTransferStart:m,atomicTransferSuccess:h,atomicTransferFailure:v,latestAtomicTransferStart:S,latestAtomicTransferSuccess:_,latestAtomicTransferFailure:b,requestLatestAtomicTransfer:function*(e){yield S(e);try{const t=yield(0,o._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers/latest`,apiNamespace:"wpcom/v2",method:"GET"});yield _(e,t)}catch(t){yield b(e,t)}},atomicSoftwareStatusStart:A,atomicSoftwareStatusSuccess:E,atomicSoftwareStatusFailure:I,requestAtomicSoftwareStatus:function*(e,t){yield A(e,t);try{const r=yield(0,o._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"GET"});yield E(e,t,r)}catch(r){yield I(e,t,r)}},initiateSoftwareInstall:function*(e,t){yield C(e,t);try{yield(0,o._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"POST",body:{}}),yield w(e,t)}catch(r){yield O(e,t,r)}},atomicSoftwareInstallStart:C,atomicSoftwareInstallSuccess:w,atomicSoftwareInstallFailure:O}}},2005:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});const n="automattic/site"},2369:function(e,t,r){"use strict";r.d(t,{z2:function(){return f}});var n=r(9818),o=r(3661),i=r(8459),a=r(2005),u=r(2701),s=r(7862),l=r(4309);let c=!1;function f(e){return c||(c=!0,(0,n.registerStore)(a.L,{actions:(0,i.d)(e),controls:o.ai,reducer:u.ZP,resolvers:s,selectors:l})),a.L}},2701:function(e,t,r){"use strict";var n=r(9818),o=r(9639);const i=(0,n.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_SITE"===t.type){const{response:e}=t;return e.blog_details}if("RECEIVE_NEW_SITE_FAILED"!==t.type&&"RESET_SITE_STORE"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_SITE":case"RECEIVE_NEW_SITE":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return;case"RECEIVE_NEW_SITE_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_SITE":return!0;case"RECEIVE_NEW_SITE":case"RECEIVE_NEW_SITE_FAILED":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return!1}return e}}),a=(0,n.combineReducers)({isFetchingSiteDetails:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_SITE":return!0;case"RECEIVE_SITE":case"RECEIVE_SITE_FAILED":return!1}return e},newSite:i,fetchingSiteError:(e,t)=>"RECEIVE_SITE_FAILED"===t.type?{error:t.response.error,message:t.response.message}:e,sites:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECEIVE_SITE"===t.type)return t.response?{...e,[t.response.ID]:t.response}:e;if("RECEIVE_SITE_FAILED"===t.type){const{[t.siteId]:r,...n}=e;return{...n}}return"RESET_SITE_STORE"===t.type?{}:"RECEIVE_SITE_TITLE"===t.type?{...e,[t.siteId]:{...e[t.siteId],name:t.name}}:"RECEIVE_SITE_TAGLINE"===t.type?{...e,[t.siteId]:{...e[t.siteId],description:t.tagline??""}}:"RECEIVE_SITE_VERTICAL_ID"===t.type?{...e,[t.siteId]:{...e[t.siteId],options:{...null===(r=e[t.siteId])||void 0===r?void 0:r.options,site_vertical_id:t.verticalId}}}:e;var r},launchStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LAUNCH_SITE_START"===t.type?{...e,[t.siteId]:{status:o.uS.IN_PROGRESS,errorCode:void 0}}:"LAUNCH_SITE_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.uS.SUCCESS,errorCode:void 0}}:"LAUNCH_SITE_FAILURE"===t.type?{...e,[t.siteId]:{status:o.uS.FAILURE,errorCode:t.error}}:e},sitesDomains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_DOMAINS"===t.type?{...e,[t.siteId]:t.domains}:e},sitesSettings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:t.settings}:"UPDATE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.settings}}:e},sitesGlobalStyles:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_GLOBAL_STYLES"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.globalStyles}}:e},siteSetupErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_SITE_SETUP_ERROR"===t.type){const{error:e,message:r}=t;return{error:e,message:r}}return"CLEAR_SITE_SETUP_ERROR"===t.type?{}:e},atomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.bc.IN_PROGRESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.bc.SUCCESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.bc.FAILURE,softwareSet:t.softwareSet,errorCode:t.error}}:e},latestAtomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LATEST_ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.O.IN_PROGRESS,transfer:void 0,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.O.SUCCESS,transfer:t.transfer,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.O.FAILURE,transfer:void 0,errorCode:t.error}}:e},atomicSoftwareStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_STATUS_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:t.status,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:t.error}}}:e},atomicSoftwareInstallStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_INSTALL_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.IN_PROGRESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.SUCCESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.FAILURE,error:t.error}}}:e}});t.ZP=a},7862:function(e,t,r){"use strict";r.r(t),r.d(t,{getSite:function(){return o},getSiteDomains:function(){return i},getSiteSettings:function(){return a}});var n=r(8552);const o=e=>async t=>{let{dispatch:r}=t;r.fetchSite();try{const t=await(0,n.ZP)({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"});r.receiveSite(e,t)}catch(o){r.receiveSiteFailed(e,o)}},i=e=>async t=>{let{dispatch:r}=t;const o=await(0,n.ZP)({path:"/sites/"+encodeURIComponent(e)+"/domains",apiVersion:"1.2"});r.receiveSiteDomains(e,null==o?void 0:o.domains)},a=e=>async t=>{let{dispatch:r}=t;const o=await(0,n.ZP)({path:"/sites/"+encodeURIComponent(e)+"/settings",apiVersion:"1.4"});r.receiveSiteSettings(e,null==o?void 0:o.settings)}},4309:function(e,t,r){"use strict";r.r(t),r.d(t,{getState:function(){return a},getNewSite:function(){return u},getNewSiteError:function(){return s},isFetchingSite:function(){return l},getFetchingSiteError:function(){return c},isFetchingSiteDetails:function(){return f},isNewSite:function(){return d},getSite:function(){return p},getSiteIdBySlug:function(){return y},getSiteTitle:function(){return g},getSiteVerticalId:function(){return m},isSiteLaunched:function(){return h},isSiteLaunching:function(){return v},isSiteAtomic:function(){return S},isSiteWPForTeams:function(){return _},getSiteDomains:function(){return b},getSiteSettings:function(){return A},getSiteGlobalStyles:function(){return E},getSiteSetupError:function(){return I},getSiteOptions:function(){return C},getSiteOption:function(){return w},getPrimarySiteDomain:function(){return O},getSiteSubdomain:function(){return T},getSiteLatestAtomicTransfer:function(){return P},getSiteLatestAtomicTransferError:function(){return M},getAtomicSoftwareStatus:function(){return R},getAtomicSoftwareError:function(){return L},getAtomicSoftwareInstallError:function(){return $},siteHasFeature:function(){return F},requiresUpgrade:function(){return x},isJetpackSite:function(){return N},isEligibleForProPlan:function(){return D}});var n=r(9818),o=r(2005),i=r(9639);const a=e=>e,u=e=>e.newSite.data,s=e=>e.newSite.error,l=e=>e.newSite.isFetching,c=e=>e.fetchingSiteError,f=e=>e.isFetchingSiteDetails,d=e=>!!e.newSite.data,p=(e,t)=>e.sites[t]||Object.values(e.sites).find((e=>e&&new URL(e.URL).host===t)),y=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.ID},g=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.name},m=(e,t)=>{var r,i;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r||null===(i=r.options)||void 0===i?void 0:i.site_vertical_id},h=(e,t)=>{var r;return(null===(r=e.launchStatus[t])||void 0===r?void 0:r.status)===i.uS.SUCCESS},v=(e,t)=>{var r;return(null===(r=e.launchStatus[t])||void 0===r?void 0:r.status)===i.uS.IN_PROGRESS},S=(e,t)=>{var r,i;return!0===(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r||null===(i=r.options)||void 0===i?void 0:i.is_wpcom_atomic)},_=(e,t)=>{var r,i;return!0===(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r||null===(i=r.options)||void 0===i?void 0:i.is_wpforteams_site)},b=(e,t)=>e.sitesDomains[t],A=(e,t)=>e.sitesSettings[t],E=(e,t)=>e.sitesGlobalStyles[t],I=e=>e.siteSetupErrors,C=(e,t)=>{var r;return null===(r=e.sites[t])||void 0===r?void 0:r.options},w=(e,t,r)=>{var n,o;return null===(n=e.sites[t])||void 0===n||null===(o=n.options)||void 0===o?void 0:o[r]},O=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSiteDomains(t))||void 0===r?void 0:r.find((e=>e.primary_domain))},T=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSiteDomains(t))||void 0===r?void 0:r.find((e=>e.is_subdomain))},P=(e,t)=>{var r;return null===(r=e.latestAtomicTransferStatus[t])||void 0===r?void 0:r.transfer},M=(e,t)=>{var r;return null===(r=e.latestAtomicTransferStatus[t])||void 0===r?void 0:r.errorCode},R=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.status},L=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.error},$=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareInstallStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.error},F=(e,t,r)=>{var i,a;return Boolean(t&&(null===(i=(0,n.select)(o.L).getSite(t))||void 0===i||null===(a=i.plan)||void 0===a?void 0:a.features.active.includes(r)))},x=(e,t)=>t&&!(0,n.select)(o.L).siteHasFeature(t,"woop");function N(e,t){var r;return Boolean(t&&(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.jetpack))}function D(e,t){return!!t&&!(N(0,t)&&!S(e,t)||_(e,t))}},9639:function(e,t,r){"use strict";let n,o,i,a,u,s,l;r.d(t,{Hc:function(){return o},uS:function(){return i},bc:function(){return a},Hf:function(){return u},O:function(){return s},sw:function(){return l}}),function(e){e[e.PublicIndexed=1]="PublicIndexed",e[e.PublicNotIndexed=0]="PublicNotIndexed",e[e.Private=-1]="Private"}(n||(n={})),function(e){e.INTERNAL="internal"}(o||(o={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(i||(i={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(a||(a={})),function(e){e.INTERNAL="internal"}(u||(u={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(s||(s={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(l||(l={}))},4366:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});const n="automattic/wpcom-features"},2613:function(e,t,r){"use strict";r.d(t,{$:function(){return s}});var n=r(9734);const{TIMELESS_PLAN_PERSONAL:o,TIMELESS_PLAN_PREMIUM:i,TIMELESS_PLAN_BUSINESS:a,TIMELESS_PLAN_ECOMMERCE:u}=n,s={domain:{id:"domain",minSupportedPlan:o},store:{id:"store",minSupportedPlan:u},seo:{id:"seo",minSupportedPlan:a},plugins:{id:"plugins",minSupportedPlan:a},"ad-free":{id:"ad-free",minSupportedPlan:o},"image-storage":{id:"image-storage",minSupportedPlan:i},"video-storage":{id:"video-storage",minSupportedPlan:i},support:{id:"support",minSupportedPlan:a}}},182:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var n=r(9818),o=r(3418),i=r(4366),a=r(8638),u=r(335);let s=!1;function l(){return s||(s=!0,(0,n.registerStore)(i.L,{controls:o.controls,reducer:a.Z,selectors:u})),i.L}},8638:function(e,t,r){"use strict";var n=r(2613);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.$;return e}},335:function(e,t,r){"use strict";r.r(t),r.d(t,{getAllFeatures:function(){return o},getRecommendedPlanSlug:function(){return i}});var n=r(4703);const o=e=>e,i=(e,t)=>{const r=o(e);if(t.length)return t.reduce(((e,t)=>{const o=r[t].minSupportedPlan;return n.xT.indexOf(o)>n.xT.indexOf(e)?o:e}),r[t[0]].minSupportedPlan)}},3661:function(e,t,r){"use strict";r.d(t,{_9:function(){return o},An:function(){return i},ai:function(){return a}});var n=r(8552);const o=e=>({type:"WPCOM_REQUEST",request:e}),i=(e,t)=>({type:"FETCH_AND_PARSE",resource:e,options:t}),a={WPCOM_REQUEST:e=>{let{request:t}=e;return(0,n.ZP)(t)},FETCH_AND_PARSE:async e=>{let{resource:t,options:r}=e;const n=await window.fetch(t,r);return{ok:n.ok,body:await n.json()}},RELOAD_PROXY:()=>{(0,n.sS)()},REQUEST_ALL_BLOGS_ACCESS:()=>(0,n.Vw)(),WAIT:e=>{let{ms:t}=e;return new Promise((e=>setTimeout(e,t)))}}},7066:function(e,t,r){"use strict";r.d(t,{X:function(){return o}});const n={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function o(e){return n[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},2645:function(e,t,r){"use strict";r.d(t,{ZP:function(){return i}});var n=r(7066),o=r(51);function i(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=(0,n.X)(t);if(!i||isNaN(e))return null;const{decimal:u,grouping:s,precision:l,symbol:c}={...i,...r},f=e<0?"-":"";let d=(0,o.Z)(Math.abs(e),l,u,s);return r.stripZeros&&(d=a(d,u)),`${f}${c}${d}`}function a(e,t){const r=new RegExp(`\\${t}0+$`);return e.replace(r,"")}},51:function(e,t,r){"use strict";
|
8 |
/*
|
9 |
* Exposes number format capability
|
10 |
*
|
@@ -20,5 +14,5 @@ function n(e,t){const r=Math.pow(10,t);return""+(Math.round(e*r)/r).toFixed(t)}f
|
|
20 |
* @license See CREDITS.md
|
21 |
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
22 |
*/
|
23 |
-
function(e,t){const r=Math.pow(10,t);return""+(Math.round(e*r)/r).toFixed(t)}(o,i):""+Math.round(o)).split("."),s[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(s[1]||"").length<i&&(s[1]=s[1]||"",s[1]+=new Array(i-s[1].length+1).join("0")),s.join(u)}r.d(t,{Z:function(){return n}})},2594:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(9196),o=r(1310);function i(e,t){let r,o,a=[];for(let n=0;n<e.length;n++){const i=e[n];if("string"!==i.type){if(void 0===t[i.value])throw new Error(`Invalid interpolation, missing component node: \`${i.value}\``);if("object"!=typeof t[i.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${i.value}\``);if("componentClose"===i.type)throw new Error(`Missing opening component token: \`${i.value}\``);if("componentOpen"===i.type){r=t[i.value],o=n;break}a.push(t[i.value])}else a.push(i.value)}if(r){const u=function(e,t){const r=t[e];let n=0;for(let o=e+1;o<t.length;o++){const e=t[o];if(e.value===r.value){if("componentOpen"===e.type){n++;continue}if("componentClose"===e.type){if(0===n)return o;n--}}}throw new Error("Missing closing component token `"+r.value+"`")}(o,e),s=i(e.slice(o+1,u),t),l=(0,n.cloneElement)(r,{},s);if(a.push(l),u<e.length-1){const r=i(e.slice(u+1),t);a=a.concat(r)}}return a=a.filter(Boolean),0===a.length?null:1===a.length?a[0]:(0,n.createElement)(n.Fragment,null,...a)}function a(e){const{mixedString:t,components:r,throwErrors:n}=e;if(!r)return t;if("object"!=typeof r){if(n)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const a=(0,o.Z)(t);try{return i(a,r)}catch(u){if(n)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${u.message}\``);return t}}},1310:function(e,t,r){"use strict";function n(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function o(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(n)}r.d(t,{Z:function(){return o}})},8552:function(e,t,r){"use strict";r.d(t,{Vw:function(){return E},sS:function(){return T}});var n=r(8049),o=r.n(n),i=r(8650),a=r.n(i),u=r(8767),s=r(2884),l=r.n(s);const c=o()("wpcom-proxy-request"),f="https://public-api.wordpress.com",d=window.location.protocol+"//"+window.location.host;let p=null;const y=(()=>{let e=!1;try{window.postMessage({toString:function(){e=!0}},"*")}catch(t){}return e})(),g=(()=>{try{return new window.File(["a"],"test.jpg",{type:"image/jpeg"}),!0}catch(e){return!1}})();let m,h=null,v=!1;const S={},_=!!window.ProgressEvent&&!!window.FormData;c('using "origin": %o',d);const b=(e,t)=>{const r=Object.assign({},e);c("request(%o)",r),h||O();const n=(0,u.Z)();r.callback=n,r.supports_args=!0,r.supports_error_obj=!0,r.supports_progress=_,r.method=String(r.method||"GET").toUpperCase(),c("params object: %o",r);const o=new window.XMLHttpRequest;if(o.params=r,S[n]=o,"function"==typeof t){let e=!1;const r=r=>{if(e)return;e=!0;const n=r.response||o.response;c("body: ",n),c("headers: ",r.headers),t(null,n,r.headers)},n=r=>{if(e)return;e=!0;const n=r.error||r.err||r;c("error: ",n),c("headers: ",r.headers),t(n,null,r.headers)};o.addEventListener("load",r),o.addEventListener("abort",n),o.addEventListener("error",n)}return"function"==typeof r.onStreamRecord&&(p=r.onStreamRecord,delete r.onStreamRecord),v?I(r):(c("buffering API request since proxying <iframe> is not yet loaded"),m.push(r)),o},A=(e,t)=>"function"==typeof t?b(e,t):new Promise(((t,r)=>{b(e,((e,n)=>{e?r(e):t(n)}))}));function E(){return A({metaAPI:{accessAllUsersBlogs:!0}})}function I(e){c("sending API request to proxy <iframe> %o",e),e.formData&&function(e){if(!window.chrome||!g)return;for(let t=0;t<e.length;t++){const r=w(e[t][1]);r&&(e[t][1]=new window.File([r],r.name,{type:r.type}))}}(e.formData),h.contentWindow.postMessage(y?JSON.stringify(e):e,f)}function C(e){return e&&"[object File]"===Object.prototype.toString.call(e)}function w(e){return C(e)?e:"object"==typeof e&&C(e.fileContents)?e.fileContents:null}function O(){c("install()"),h&&(c("uninstall()"),window.removeEventListener("message",P),document.body.removeChild(h),v=!1,h=null),m=[],window.addEventListener("message",P),h=document.createElement("iframe"),h.src=f+"/wp-admin/rest-proxy/?v=2.0#"+d,h.style.display="none",document.body.appendChild(h)}const T=()=>{O()};function P(e){if(c("onmessage"),e.origin!==f)return void c("ignoring message... %o !== %o",e.origin,f);if(e.source!==h.contentWindow)return void c("ignoring message... iframe elements do not match");let{data:t}=e;if(!t)return c("no `data`, bailing");if("ready"===t)return void function(){if(c('proxy <iframe> "load" event'),v=!0,m){for(let e=0;e<m.length;e++)I(m[e]);m=null}}();if(y&&"string"==typeof t&&(t=JSON.parse(t)),t.upload||t.download)return function(e){c('got "progress" event: %o',e);const t=S[e.callbackId];if(t){const r=new(a())("progress",e);(e.upload?t.upload:t).dispatchEvent(r)}}(t);if(!t.length)return c("`e.data` doesn't appear to be an Array, bailing...");const r=t[t.length-1];if(!(r in S))return c("bailing, no matching request with callback: %o",r);const n=S[r],{params:o}=n,i=t[0];let u=t[1];const s=t[2];var d;if(207===u||delete S[r],o.metaAPI?u="metaAPIupdated"===i?200:500:c("got %o status code for URL: %o",u,o.path),"object"==typeof s&&(s.status=u,d=s["Content-Type"],/^application[/]x-ndjson($|;)/.test(d)&&207===u))p(i);else if(u&&2===Math.floor(u/100))!function(e,t,r){const n=new(a())("load");n.data=n.body=n.response=t,n.headers=r,e.dispatchEvent(n)}(n,i,s);else{!function(e,t,r){const n=new(a())("error");n.error=n.err=t,n.headers=r,e.dispatchEvent(n)}(n,l()(o,u,i),s)}}t.ZP=A},8049:function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(r){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(r){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(2632)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},2632:function(e,t,r){e.exports=function(e){function t(e){let r,o,i,a=null;function u(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if(!u.enabled)return;const i=u,a=Number(new Date),s=a-(r||a);i.diff=s,i.prev=r,i.curr=a,r=a,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");let l=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,((e,r)=>{if("%%"===e)return"%";l++;const o=t.formatters[r];if("function"==typeof o){const t=n[l];e=o.call(i,t),n.splice(l,1),l--}return e})),t.formatArgs.call(i,n);const c=i.log||t.log;c.apply(i,n)}return u.namespace=e,u.useColors=t.useColors(),u.color=t.selectColor(e),u.extend=n,u.destroy=t.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(u),u}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(5881),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},3830:function(e,t,r){"use strict";var n=r(956);e.exports=function(){var e=n.apply(n,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},956:function(e){"use strict";e.exports=function(){var e=[].map.call(arguments,(function(e){return e.trim()})).filter((function(e){return e.length})).join("-");return e.length?1!==e.length&&/[_.\- ]+/.test(e)?e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})):e[0]===e[0].toLowerCase()&&e.slice(1)!==e.slice(1).toLowerCase()?e:e.toLowerCase():""}},2686:function(e,t){"use strict";t.Z=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},5302:function(e,t,r){"use strict";var n;r.d(t,{Z:function(){return i}});var o=new Uint8Array(16);function i(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(o)}},708:function(e,t,r){"use strict";for(var n=r(6525),o=[],i=0;i<256;++i)o.push((i+256).toString(16).substr(1));t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,n.Z)(r))throw TypeError("Stringified UUID is invalid");return r}},8767:function(e,t,r){"use strict";var n=r(5302),o=r(708);t.Z=function(e,t,r){var i=(e=e||{}).random||(e.rng||n.Z)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=i[a];return t}return(0,o.Z)(i)}},6525:function(e,t,r){"use strict";var n=r(2686);t.Z=function(e){return"string"==typeof e&&n.Z.test(e)}},6468:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=Ge(r(7499)),i=Ge(r(6840)),a=Ge(r(7155)),u=Ge(r(8676)),s=Ge(r(7133)),l=Ge(r(4228)),c=Ge(r(401)),f=Ge(r(4525)),d=Ge(r(4922)),p=Ge(r(5504)),y=Ge(r(7962)),g=Ge(r(5482)),m=Ge(r(8139)),h=Ge(r(7869)),v=Ge(r(5982)),S=Ge(r(4452)),_=ke(r(7780)),b=ke(r(7014)),A=Ge(r(3024)),E=Ge(r(2249)),I=Ge(r(7616)),C=Ge(r(8816)),w=Ge(r(1776)),O=Ge(r(1893)),T=Ge(r(5670)),P=Ge(r(749)),M=Ge(r(8408)),R=Ge(r(8831)),L=Ge(r(3639)),$=Ge(r(2868)),F=Ge(r(8868)),x=Ge(r(4503)),N=ke(r(3612)),D=Ge(r(8250)),j=Ge(r(9985)),U=Ge(r(6590)),Z=Ge(r(102)),B=Ge(r(6941)),k=Ge(r(8270)),G=Ge(r(841)),H=Ge(r(6557)),W=Ge(r(7937)),V=Ge(r(2740)),Y=Ge(r(6362)),K=Ge(r(9749)),z=Ge(r(1624)),q=Ge(r(5067)),J=Ge(r(1964)),X=Ge(r(6500)),Q=Ge(r(2775)),ee=Ge(r(6368)),te=Ge(r(4246)),re=Ge(r(6623)),ne=Ge(r(5442)),oe=Ge(r(2093)),ie=Ge(r(4235)),ae=Ge(r(2250)),ue=Ge(r(9653)),se=Ge(r(2390)),le=Ge(r(6328)),ce=Ge(r(2985)),fe=Ge(r(6693)),de=ke(r(5119)),pe=Ge(r(3821)),ye=Ge(r(7610)),ge=Ge(r(8369)),me=Ge(r(8932)),he=Ge(r(593)),ve=Ge(r(928)),Se=Ge(r(2038)),_e=Ge(r(6533)),be=Ge(r(4039)),Ae=Ge(r(438)),Ee=Ge(r(8305)),Ie=Ge(r(2896)),Ce=Ge(r(7620)),we=Ge(r(2863)),Oe=ke(r(2456)),Te=Ge(r(5904)),Pe=Ge(r(1733)),Me=Ge(r(3465)),Re=Ge(r(7879)),Le=Ge(r(3991)),$e=Ge(r(4559)),Fe=Ge(r(7224)),xe=Ge(r(7902)),Ne=Ge(r(9293)),De=Ge(r(3517)),je=Ge(r(4189)),Ue=Ge(r(2487)),Ze=Ge(r(1809));function Be(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Be=function(){return e},e}function ke(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=Be();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ge(e){return e&&e.__esModule?e:{default:e}}var He={version:"13.5.2",toDate:o.default,toFloat:i.default,toInt:a.default,toBoolean:u.default,equals:s.default,contains:l.default,matches:c.default,isEmail:f.default,isURL:d.default,isMACAddress:p.default,isIP:y.default,isIPRange:g.default,isFQDN:m.default,isBoolean:v.default,isIBAN:W.default,isBIC:V.default,isAlpha:_.default,isAlphaLocales:_.locales,isAlphanumeric:b.default,isAlphanumericLocales:b.locales,isNumeric:A.default,isPassportNumber:E.default,isPort:I.default,isLowercase:C.default,isUppercase:w.default,isAscii:T.default,isFullWidth:P.default,isHalfWidth:M.default,isVariableWidth:R.default,isMultibyte:L.default,isSemVer:$.default,isSurrogatePair:F.default,isInt:x.default,isIMEI:O.default,isFloat:N.default,isFloatLocales:N.locales,isDecimal:D.default,isHexadecimal:j.default,isOctal:U.default,isDivisibleBy:Z.default,isHexColor:B.default,isRgbColor:k.default,isHSL:G.default,isISRC:H.default,isMD5:Y.default,isHash:K.default,isJWT:z.default,isJSON:q.default,isEmpty:J.default,isLength:X.default,isLocale:S.default,isByteLength:Q.default,isUUID:ee.default,isMongoId:te.default,isAfter:re.default,isBefore:ne.default,isIn:oe.default,isCreditCard:ie.default,isIdentityCard:ae.default,isEAN:ue.default,isISIN:se.default,isISBN:le.default,isISSN:ce.default,isMobilePhone:de.default,isMobilePhoneLocales:de.locales,isPostalCode:Oe.default,isPostalCodeLocales:Oe.locales,isEthereumAddress:pe.default,isCurrency:ye.default,isBtcAddress:ge.default,isISO8601:me.default,isRFC3339:he.default,isISO31661Alpha2:ve.default,isISO31661Alpha3:Se.default,isBase32:_e.default,isBase58:be.default,isBase64:Ae.default,isDataURI:Ee.default,isMagnetURI:Ie.default,isMimeType:Ce.default,isLatLong:we.default,ltrim:Te.default,rtrim:Pe.default,trim:Me.default,escape:Re.default,unescape:Le.default,stripLow:$e.default,whitelist:Fe.default,blacklist:xe.default,isWhitelisted:Ne.default,normalizeEmail:De.default,toString:toString,isSlug:je.default,isStrongPassword:Ue.default,isTaxID:fe.default,isDate:h.default,isVAT:Ze.default};t.default=He,e.exports=t.default,e.exports.default=t.default},5475:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.farsiLocales=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var r={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i};t.alpha=r;var n={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i};t.alphanumeric=n;var o={"en-US":".",ar:"٫"};t.decimal=o;var i=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=i;for(var a,u=0;u<i.length;u++)r[a="en-".concat(i[u])]=r["en-US"],n[a]=n["en-US"],o[a]=o["en-US"];var s=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];t.arabicLocales=s;for(var l,c=0;c<s.length;c++)r[l="ar-".concat(s[c])]=r.ar,n[l]=n.ar,o[l]=o.ar;var f=["IR","AF"];t.farsiLocales=f;for(var d,p=0;p<f.length;p++)n[d="fa-".concat(f[p])]=n.fa,o[d]=o.ar;var y=["ar-EG","ar-LB","ar-LY"];t.dotDecimal=y;var g=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"];t.commaDecimal=g;for(var m=0;m<y.length;m++)o[y[m]]=o["en-US"];for(var h=0;h<g.length;h++)o[g[h]]=",";r["fr-CA"]=r["fr-FR"],n["fr-CA"]=n["fr-FR"],r["pt-BR"]=r["pt-PT"],n["pt-BR"]=n["pt-PT"],o["pt-BR"]=o["pt-PT"],r["pl-Pl"]=r["pl-PL"],n["pl-Pl"]=n["pl-PL"],o["pl-Pl"]=o["pl-PL"],r["fa-AF"]=r.fa},7902:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},4228:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return(0,n.default)(e),(r=(0,i.default)(r,u)).ignoreCase?e.toLowerCase().indexOf((0,o.default)(t).toLowerCase())>=0:e.indexOf((0,o.default)(t))>=0};var n=a(r(7359)),o=a(r(1589)),i=a(r(1778));function a(e){return e&&e.__esModule?e:{default:e}}var u={ignoreCase:!1};e.exports=t.default,e.exports.default=t.default},7133:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e===t};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},7879:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},6623:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&r&&i>r)};var n=i(r(7359)),o=i(r(7499));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},7780:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.default)(e);var n=e,a=r.ignore;if(a)if(a instanceof RegExp)n=n.replace(a,"");else{if("string"!=typeof a)throw new Error("ignore should be instance of a String or RegExp");n=n.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in i.alpha)return i.alpha[t].test(n);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.alpha);t.locales=a},7014:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in i.alphanumeric)return i.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.alphanumeric);t.locales=a},5670:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[\x00-\x7F]+$/;e.exports=t.default,e.exports.default=t.default},2740:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-z]{4}[A-z]{2}\w{2}(\w{3})?$/;e.exports=t.default,e.exports.default=t.default},6533:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),e.length%8==0&&i.test(e))return!0;return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z2-7]+=*$/;e.exports=t.default,e.exports.default=t.default},4039:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),i.test(e))return!0;return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-HJ-NP-Za-km-z1-9]*$/;e.exports=t.default,e.exports.default=t.default},438:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),t=(0,o.default)(t,s);var r=e.length;if(t.urlSafe)return u.test(e);if(r%4!=0||a.test(e))return!1;var i=e.indexOf("=");return-1===i||i===r-1||i===r-2&&"="===e[r-1]};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a=/[^A-Z0-9+\/=]/i,u=/^[A-Z0-9_\-]*$/i,s={urlSafe:!1};e.exports=t.default,e.exports.default=t.default},5442:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&r&&i<r)};var n=i(r(7359)),o=i(r(7499));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},5982:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),["true","false","1","0"].indexOf(e)>=0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},8369:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$/;e.exports=t.default,e.exports.default=t.default},2775:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,o.default)(e),"object"===i(t)?(r=t.min||0,n=t.max):(r=arguments[1],n=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=r&&(void 0===n||a<=n)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};function i(e){return i="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},i(e)}e.exports=t.default,e.exports.default=t.default},4235:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.replace(/[- ]+/g,"");if(!i.test(t))return!1;for(var r,n,a,u=0,s=t.length-1;s>=0;s--)r=t.substring(s,s+1),n=parseInt(r,10),u+=a&&(n*=2)>=10?n%10+1:n,a=!a;return!(u%10!=0||!t)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;e.exports=t.default,e.exports.default=t.default},7610:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,r){0!==r&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var r="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),n="-?",o="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),i="(".concat(["0","[1-9]\\d*",o].join("|"),")?"),a="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),u=i+(e.allow_decimal||e.require_decimal?a:"");e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?u+=n:e.negative_sign_before_digits&&(u=n+u));e.allow_negative_sign_placeholder?u="( (?!\\-))?".concat(u):e.allow_space_after_symbol?u=" ?".concat(u):e.allow_space_after_digits&&(u+="( (?!$))?");e.symbol_after_digits?u+=r:u=r+u;e.allow_negatives&&(e.parens_for_negatives?u="(\\(".concat(u,"\\)|").concat(u,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(u=n+u));return new RegExp("^(?!-? )(?=.*\\d)".concat(u,"$"))}(t=(0,n.default)(t,a)).test(e)};var n=i(r(1778)),o=i(r(7359));function i(e){return e&&e.__esModule?e:{default:e}}var a={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default,e.exports.default=t.default},8305:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),n=r.shift();if("data:"!==n.substr(0,5))return!1;var s=n.substr(5);if(""!==s&&!i.test(s))return!1;for(var l=0;l<r.length;l++)if(l===r.length-1&&"base64"===r[l].toLowerCase());else if(!a.test(r[l]))return!1;for(var c=0;c<t.length;c++)if(!u.test(t[c]))return!1;return!0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[a-z]+\/[a-z0-9\-\+]+$/i,a=/^[a-z\-]+=[a-z0-9\-]+$/i,u=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default,e.exports.default=t.default},7869:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t="string"==typeof t?(0,o.default)({format:t},u):(0,o.default)(t,u);if("string"==typeof e&&(m=t.format,/(^(y{4}|y{2})[\/-](m{1,2})[\/-](d{1,2})$)|(^(m{1,2})[\/-](d{1,2})[\/-]((y{4}|y{2})$))|(^(d{1,2})[\/-](m{1,2})[\/-]((y{4}|y{2})$))/gi.test(m))){var r,n=t.delimiters.find((function(e){return-1!==t.format.indexOf(e)})),a=t.strictMode?n:t.delimiters.find((function(t){return-1!==e.indexOf(t)})),s=function(e,t){for(var r=[],n=Math.min(e.length,t.length),o=0;o<n;o++)r.push([e[o],t[o]]);return r}(e.split(a),t.format.toLowerCase().split(n)),l={},c=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}(s);try{for(c.s();!(r=c.n()).done;){var f=(y=r.value,g=2,function(e){if(Array.isArray(e))return e}(y)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],_n=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);_n=!0);}catch(u){n=!0,o=u}finally{try{_n||null==a.return||a.return()}finally{if(n)throw o}}return r}(y,g)||i(y,g)||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.")}()),d=f[0],p=f[1];if(d.length!==p.length)return!1;l[p.charAt(0)]=d}}catch(h){c.e(h)}finally{c.f()}return new Date("".concat(l.m,"/").concat(l.d,"/").concat(l.y)).getDate()===+l.d}var y,g;var m;if(!t.strictMode)return"[object Date]"===Object.prototype.toString.call(e)&&isFinite(e);return!1};var n,o=(n=r(1778))&&n.__esModule?n:{default:n};function i(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};e.exports=t.default,e.exports.default=t.default},8250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),(t=(0,n.default)(t,s)).locale in a.decimal)return!(0,i.default)(l,e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"))}(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))};var n=u(r(1778)),o=u(r(7359)),i=u(r(2900)),a=r(5475);function u(e){return e&&e.__esModule?e:{default:e}}var s={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},l=["","-","+"];e.exports=t.default,e.exports.default=t.default},102:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(0,o.default)(e)%parseInt(t,10)==0};var n=i(r(7359)),o=i(r(6840));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},9653:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=Number(e.slice(-1));return i.test(e)&&t===(r=e,n=10-r.slice(0,-1).split("").map((function(e,t){return Number(e)*function(e,t){return 8===e?t%2==0?3:1:t%2==0?1:3}(r.length,t)})).reduce((function(e,t){return e+t}),0)%10,n<10?n:0);var r,n};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(\d{8}|\d{13})$/;e.exports=t.default,e.exports.default=t.default},4525:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,o.default)(t,c)).require_display_name||t.allow_display_name){var r=e.match(f);if(r){var s,h=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],_n=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);_n=!0);}catch(u){n=!0,o=u}finally{try{_n||null==a.return||a.return()}finally{if(n)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(r,3);if(s=h[1],e=h[2],s.endsWith(" ")&&(s=s.substr(0,s.length-1)),!function(e){var t=e.match(/^"(.+)"$/i),r=t?t[1]:e;if(!r.trim())return!1;if(/[\.";<>]/.test(r)){if(!t)return!1;if(!(r.split('"').length===r.split('\\"').length))return!1}return!0}(s))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var v=e.split("@"),S=v.pop(),_=v.join("@"),b=S.toLowerCase();if(t.domain_specific_validation&&("gmail.com"===b||"googlemail.com"===b)){var A=(_=_.toLowerCase()).split("+")[0];if(!(0,i.default)(A.replace(".",""),{min:6,max:30}))return!1;for(var E=A.split("."),I=0;I<E.length;I++)if(!p.test(E[I]))return!1}if(!(!1!==t.ignore_max_length||(0,i.default)(_,{max:64})&&(0,i.default)(S,{max:254})))return!1;if(!(0,a.default)(S,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,u.default)(S)){if(!S.startsWith("[")||!S.endsWith("]"))return!1;var C=S.substr(1,S.length-2);if(0===C.length||!(0,u.default)(C))return!1}}if('"'===_[0])return _=_.slice(1,_.length-1),t.allow_utf8_local_part?m.test(_):y.test(_);for(var w=t.allow_utf8_local_part?g:d,O=_.split("."),T=0;T<O.length;T++)if(!w.test(O[T]))return!1;if(t.blacklisted_chars&&-1!==_.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var n=s(r(7359)),o=s(r(1778)),i=s(r(2775)),a=s(r(8139)),u=s(r(7962));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1},f=/^([^\x00-\x1F\x7F-\x9F\cX]+)<(.+)>$/i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,p=/^[a-z\d]+$/,y=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,m=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default,e.exports.default=t.default},1964:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),0===((t=(0,o.default)(t,a)).ignore_whitespace?e.trim().length:e.length)};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a={ignore_whitespace:!1};e.exports=t.default,e.exports.default=t.default},3821:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0x)[0-9a-f]{40}$/i;e.exports=t.default,e.exports.default=t.default},8139:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),(t=(0,o.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));var r=e.split("."),i=r[r.length-1];if(t.require_tld){if(r.length<2)return!1;if(!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20\u00A9\uFFFD]/.test(i))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(i))return!1;return r.every((function(e){return!(e.length>63)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1};e.exports=t.default,e.exports.default=t.default},3612:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?i.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var n=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||n>=t.min)&&(!t.hasOwnProperty("max")||n<=t.max)&&(!t.hasOwnProperty("lt")||n<t.lt)&&(!t.hasOwnProperty("gt")||n>t.gt)},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.decimal);t.locales=a},749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.fullWidth=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.fullWidth=i},841:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)||a.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(hsl)a?\(\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn|\s*)(\s*,\s*(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s*(,\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s*)?\)$/i,a=/^(hsl)a?\(\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn|\s)(\s*(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s*(\/\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s*)?\)$/i;e.exports=t.default,e.exports.default=t.default},8408:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.halfWidth=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.halfWidth=i},9749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),new RegExp("^[a-fA-F0-9]{".concat(i[t],"}$")).test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default,e.exports.default=t.default},6941:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;e.exports=t.default,e.exports.default=t.default},9985:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0x|0h)?[0-9A-F]+$/i;e.exports=t.default,e.exports.default=t.default},7937:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),function(e){var t=e.replace(/[\s\-]+/gi,"").toUpperCase(),r=t.slice(0,2).toUpperCase();return r in i&&i[r].test(t)}(e)&&function(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase();return 1===(t.slice(4)+t.slice(0,4)).replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})).match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"")}(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$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-Z]{4}\d{5}[A-Z0-9]{18}$/,MU:/^(MU[0-9]{2})[A-Z]{4}\d{19}[A-Z]{3}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};e.exports=t.default,e.exports.default=t.default},1893:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=i;(t=t||{}).allow_hyphens&&(r=a);if(!r.test(e))return!1;e=e.replace(/-/g,"");for(var n=0,u=2,s=0;s<14;s++){var l=e.substring(14-s-1,14-s),c=parseInt(l,10)*u;n+=c>=10?c%10+1:c,1===u?u+=1:u-=1}if((10-n%10)%10!==parseInt(e.substring(14,15),10))return!1;return!0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[0-9]{15}$/,a=/^\d{2}-\d{6}-\d{6}-\d{1}$/;e.exports=t.default,e.exports.default=t.default},7962:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(r=String(r)))return e(t,4)||e(t,6);if("4"===r){if(!i.test(t))return!1;var n=t.split(".").sort((function(e,t){return e-t}));return n[3]<=255}if("6"===r){var u=[t];if(t.includes("%")){if(2!==(u=t.split("%")).length)return!1;if(!u[0].includes(":"))return!1;if(""===u[1])return!1}var s=u[0].split(":"),l=!1,c=e(s[s.length-1],4),f=c?7:8;if(s.length>f)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(s.shift(),s.shift(),l=!0):"::"===t.substr(t.length-2)&&(s.pop(),s.pop(),l=!0);for(var d=0;d<s.length;++d)if(""===s[d]&&d>0&&d<s.length-1){if(l)return!1;l=!0}else if(c&&d===s.length-1);else if(!a.test(s[d]))return!1;return l?s.length>=1:s.length===f}return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,a=/^[0-9A-F]{1,4}$/i;e.exports=t.default,e.exports.default=t.default},5482:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.split("/");if(2!==t.length)return!1;if(!a.test(t[1]))return!1;if(t[1].length>1&&t[1].startsWith("0"))return!1;return(0,o.default)(t[0],4)&&t[1]<=32&&t[1]>=0};var n=i(r(7359)),o=i(r(7962));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\d{1,2}$/;e.exports=t.default,e.exports.default=t.default},6328:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(r=String(r)))return e(t,10)||e(t,13);var n,s=t.replace(/[\s-]+/g,""),l=0;if("10"===r){if(!i.test(s))return!1;for(n=0;n<9;n++)l+=(n+1)*s.charAt(n);if("X"===s.charAt(9)?l+=100:l+=10*s.charAt(9),l%11==0)return!!s}else if("13"===r){if(!a.test(s))return!1;for(n=0;n<12;n++)l+=u[n%2]*s.charAt(n);if(s.charAt(12)-(10-l%10)%10==0)return!!s}return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:[0-9]{9}X|[0-9]{10})$/,a=/^(?:[0-9]{13})$/,u=[1,3];e.exports=t.default,e.exports.default=t.default},2390:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!i.test(e))return!1;for(var t,r,n=e.replace(/[A-Z]/g,(function(e){return parseInt(e,36)})),a=0,u=!0,s=n.length-2;s>=0;s--)t=n.substring(s,s+1),r=parseInt(t,10),a+=u&&(r*=2)>=10?r+1:r,u=!u;return parseInt(e.substr(e.length-1),10)===(1e4-a)%10};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default,e.exports.default=t.default},928:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(a,e.toUpperCase())};var n=i(r(7359)),o=i(r(2900));function i(e){return e&&e.__esModule?e:{default:e}}var a=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default,e.exports.default=t.default},2038:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(a,e.toUpperCase())};var n=i(r(7359)),o=i(r(2900));function i(e){return e&&e.__esModule?e:{default:e}}var a=["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"];e.exports=t.default,e.exports.default=t.default},8932:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=t.strictSeparator?a.test(e):i.test(e);return r&&t.strict?u(e):r};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,u=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var r=Number(t[1]),n=Number(t[2]);return r%4==0&&r%100!=0||r%400==0?n<=366:n<=365}var o=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),i=o[1],a=o[2],u=o[3],s=a?"0".concat(a).slice(-2):a,l=u?"0".concat(u).slice(-2):u,c=new Date("".concat(i,"-").concat(s||"01","-").concat(l||"01"));return!a||!u||c.getUTCFullYear()===i&&c.getUTCMonth()+1===a&&c.getUTCDate()===u};e.exports=t.default,e.exports.default=t.default},6557:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default,e.exports.default=t.default},2985:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=i;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;for(var n=e.replace("-","").toUpperCase(),a=0,u=0;u<n.length;u++){var s=n[u];a+=("X"===s?10:+s)*(8-u)}return a%11==0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default,e.exports.default=t.default},2250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in i)return i[t](e);if("any"===t){for(var r in i){if(i.hasOwnProperty(r))if((0,i[r])(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={ES:function(e){(0,o.default)(e);var t={X:0,Y:1,Z:2},r=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(r))return!1;var n=r.slice(0,-1).replace(/[X,Y,Z]/g,(function(e){return t[e]}));return r.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][n%23])},IN:function(e){var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],r=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],n=e.trim();if(!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(n))return!1;var o=0;return n.replace(/\s/g,"").split("").map(Number).reverse().forEach((function(e,n){o=t[o][r[n%8][e]]})),0===o},IT:function(e){return 9===e.length&&("CA00000AA"!==e&&e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1)},NO:function(e){var t=e.trim();if(isNaN(Number(t)))return!1;if(11!==t.length)return!1;if("00000000000"===t)return!1;var r=t.split("").map(Number),n=(11-(3*r[0]+7*r[1]+6*r[2]+1*r[3]+8*r[4]+9*r[5]+4*r[6]+5*r[7]+2*r[8])%11)%11,o=(11-(5*r[0]+4*r[1]+3*r[2]+2*r[3]+7*r[4]+6*r[5]+5*r[6]+4*r[7]+3*r[8]+2*n)%11)%11;return n===r[9]&&o===r[10]},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var r,n=t,o=0,i=0;i<n.length;i++)o+=(r=Number(n[i])*(i%2+1))>9?r-9:r;return o%10==0},"ar-TN":function(e){var t=e.trim();return!!/^\d{8}$/.test(t)},"zh-CN":function(e){var t,r=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],n=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],o=["1","0","X","9","8","7","6","5","4","3","2"],i=function(e){return r.includes(e)},a=function(e){var t=parseInt(e.substring(0,4),10),r=parseInt(e.substring(4,6),10),n=parseInt(e.substring(6),10),o=new Date(t,r-1,n);return!(o>new Date)&&(o.getFullYear()===t&&o.getMonth()===r-1&&o.getDate()===n)},u=function(e){return function(e){for(var t=e.substring(0,17),r=0,i=0;i<17;i++)r+=parseInt(t.charAt(i),10)*parseInt(n[i],10);return o[r%11]}(e)===e.charAt(17).toUpperCase()};return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(t=e)&&(15===t.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=i(r)))return!1;var n="19".concat(e.substring(6,12));return!!(t=a(n))}(t):function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=i(r)))return!1;var n=e.substring(6,14);return!!(t=a(n))&&u(e)}(t))},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},r=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(r)&&Array.from(r).reduce((function(e,r,n){if(0===n){var o=t[r];return o%10*9+Math.floor(o/10)}return 9===n?(10-e%10-Number(r))%10==0:e+Number(r)*(9-n)}),0)}};e.exports=t.default,e.exports.default=t.default},2093:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r;if((0,n.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var i=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(i[r]=(0,o.default)(t[r]));return i.indexOf(e)>=0}if("object"===a(t))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var n=i(r(7359)),o=i(r(1589));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}e.exports=t.default,e.exports.default=t.default},4503:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:a,n=!t.hasOwnProperty("min")||e>=t.min,u=!t.hasOwnProperty("max")||e<=t.max,s=!t.hasOwnProperty("lt")||e<t.lt,l=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&u&&s&&l};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;e.exports=t.default,e.exports.default=t.default},5067:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);try{t=(0,o.default)(t,u);var r=[];t.allow_primitives&&(r=[null,!1,!0]);var i=JSON.parse(e);return r.includes(i)||!!i&&"object"===a(i)}catch(s){}return!1};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}var u={allow_primitives:!1};e.exports=t.default,e.exports.default=t.default},1624:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.split("."),r=t.length;if(r>3||r<2)return!1;return t.reduce((function(e,t){return e&&(0,o.default)(t,{urlSafe:!0})}),!0)};var n=i(r(7359)),o=i(r(438));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},2863:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),t=(0,o.default)(t,c),!e.includes(","))return!1;var r=e.split(",");if(r[0].startsWith("(")&&!r[1].endsWith(")")||r[1].endsWith(")")&&!r[0].startsWith("("))return!1;if(t.checkDMS)return s.test(r[0])&&l.test(r[1]);return a.test(r[0])&&u.test(r[1])};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,u=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,s=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,l=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,c={checkDMS:!1};e.exports=t.default,e.exports.default=t.default},6500:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,o.default)(e),"object"===i(t)?(r=t.min||0,n=t.max):(r=arguments[1]||0,n=arguments[2]);var a=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],u=e.length-a.length;return u>=r&&(void 0===n||u<=n)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};function i(e){return i="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},i(e)}e.exports=t.default,e.exports.default=t.default},4452:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e)return!0;return i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-z]{2,4}([_-]([A-z]{4}|[\d]{3}))?([_-]([A-z]{2}|[\d]{3}))?$/;e.exports=t.default,e.exports.default=t.default},8816:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toLowerCase()};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},5504:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t&&t.no_colons)return a.test(e);return i.test(e)||u.test(e)||s.test(e)||l.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/,a=/^([0-9a-fA-F]){12}$/,u=/^([0-9a-fA-F][0-9a-fA-F]-){5}([0-9a-fA-F][0-9a-fA-F])$/,s=/^([0-9a-fA-F][0-9a-fA-F]\s){5}([0-9a-fA-F][0-9a-fA-F])$/,l=/^([0-9a-fA-F]{4}).([0-9a-fA-F]{4}).([0-9a-fA-F]{4})$/;e.exports=t.default,e.exports.default=t.default},6362:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[a-f0-9]{32}$/;e.exports=t.default,e.exports.default=t.default},2896:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e.trim())};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^magnet:\?xt=urn:[a-z0-9]+:[a-z0-9]{32,40}&dn=.+&tr=.+$/i;e.exports=t.default,e.exports.default=t.default},7620:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)||a.test(e)||u.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,u=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default,e.exports.default=t.default},5119:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if((0,o.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){if(i.hasOwnProperty(t)&&i[t].test(e))return!0;return!1}));if(t in i)return i[t].test(e);if(!t||"any"===t){for(var n in i){if(i.hasOwnProperty(n))if(i[n].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+49)?0?[1|3]([0|5][0-45-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)(7[5-9])\d{1,7}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28)\d{7}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[689]\d{7}$/,"en-SL":/^(?:0|94|\+94)?(7(0|1|2|5|6|7|8)( |-)?\d)\d{6}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?([1-8]{1}|3[0-9]{2})?[2-9]{1}\d{6}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(5|79)\d{7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uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^(\+?84|0)((3([2-9]))|(5([2689]))|(7([0|6-9]))|(8([1-6|89]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?1([3568][0-9]|4[579]|6[67]|7[01235678]|9[012356789])[0-9]{8}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};i["en-CA"]=i["en-US"],i["fr-CA"]=i["en-CA"],i["fr-BE"]=i["nl-BE"],i["zh-HK"]=i["en-HK"],i["zh-MO"]=i["en-MO"],i["ga-IE"]=i["en-IE"];var a=Object.keys(i);t.locales=a},4246:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(e)&&24===e.length};var n=i(r(7359)),o=i(r(9985));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},3639:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[^\x00-\x7F]/;e.exports=t.default,e.exports.default=t.default},3024:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t&&t.no_symbols)return a.test(e);return new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?i.decimal[t.locale]:".","])?[0-9]+$")).test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=/^[0-9]+$/;e.exports=t.default,e.exports.default=t.default},6590:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0o)?[0-7]+$/i;e.exports=t.default,e.exports.default=t.default},2249:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=e.replace(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ict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e,{min:0,max:65535})};var n,o=(n=r(4503))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},2456:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in s)return s[t].test(e);if("any"===t){for(var r in s){if(s.hasOwnProperty(r))if(s[r].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^\d{4}$/,a=/^\d{5}$/,u=/^\d{6}$/,s={AD:/^AD\d{3}$/,AT:i,AU:i,AZ:/^AZ\d{4}$/,BE:i,BG:i,BR:/^\d{5}-\d{3}$/,BY:/2[1-4]{1}\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:i,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:a,DK:i,DO:a,DZ:a,EE:a,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:a,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:i,ID:a,IE:/^(?!.*(?:o))[A-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/\b(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}\b/,IS:/^\d{3}$/,IT:a,JP:/^\d{3}\-\d{4}$/,KE:a,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:i,LV:/^LV\-\d{4}$/,MX:a,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:a,NL:/^\d{4}\s?[a-z]{2}$/i,NO:i,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:i,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:u,RU:u,SA:a,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:u,SI:i,SK:/^\d{3}\s?\d{2}$/,TH:a,TN:i,TW:/^\d{3}(\d{2})?$/,UA:a,US:/^\d{5}(-\d{4})?$/,ZA:i,ZM:a},l=Object.keys(s);t.locales=l},593:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),d.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/([01][0-9]|2[0-3])/,a=/[0-5][0-9]/,u=new RegExp("[-+]".concat(i.source,":").concat(a.source)),s=new RegExp("([zZ]|".concat(u.source,")")),l=new RegExp("".concat(i.source,":").concat(a.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),c=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),f=new RegExp("".concat(l.source).concat(s.source)),d=new RegExp("".concat(c.source,"[ tT]").concat(f.source));e.exports=t.default,e.exports.default=t.default},8270:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if((0,o.default)(e),!t)return i.test(e)||a.test(e);return i.test(e)||a.test(e)||u.test(e)||s.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,u=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)/,s=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)/;e.exports=t.default,e.exports.default=t.default},2868:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),i.test(e)};var n=o(r(7359));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,o(r(8041)).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");e.exports=t.default,e.exports.default=t.default},4189:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[^\s-_](?!.*?[-_]{2,})([a-z0-9-\\]{1,})[^\s]*[^-_\s]$/;e.exports=t.default,e.exports.default=t.default},2487:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,o.default)(e);var r=f(e);if((t=(0,n.default)(t||{},c)).returnScore)return d(r,t);return r.length>=t.minLength&&r.lowercaseCount>=t.minLowercase&&r.uppercaseCount>=t.minUppercase&&r.numberCount>=t.minNumbers&&r.symbolCount>=t.minSymbols};var n=i(r(1778)),o=i(r(7359));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Z]$/,u=/^[a-z]$/,s=/^[0-9]$/,l=/^[-#!$%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/,c={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};function f(e){var t,r,n=(t=e,r={},Array.from(t).forEach((function(e){r[e]?r[e]+=1:r[e]=1})),r),o={length:e.length,uniqueChars:Object.keys(n).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(n).forEach((function(e){a.test(e)?o.uppercaseCount+=n[e]:u.test(e)?o.lowercaseCount+=n[e]:s.test(e)?o.numberCount+=n[e]:l.test(e)&&(o.symbolCount+=n[e])})),o}function d(e,t){var r=0;return r+=e.uniqueChars*t.pointsPerUnique,r+=(e.length-e.uniqueChars)*t.pointsPerRepeat,e.lowercaseCount>0&&(r+=t.pointsForContainingLower),e.uppercaseCount>0&&(r+=t.pointsForContainingUpper),e.numberCount>0&&(r+=t.pointsForContainingNumber),e.symbolCount>0&&(r+=t.pointsForContainingSymbol),r}e.exports=t.default,e.exports.default=t.default},8868:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default,e.exports.default=t.default},6693:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";(0,o.default)(e);var r=e.slice(0);if(t in p)return t in m&&(r=r.replace(m[t],"")),!!p[t].test(r)&&(!(t in y)||y[t](r));throw new Error("Invalid locale '".concat(t,"'"))};var o=s(r(7359)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(257)),a=s(r(7869));function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function d(e){for(var t=!1,r=!1,n=0;n<3;n++)if(!t&&/[AEIOU]/.test(e[n]))t=!0;else if(!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p["fr-LU"],p["lt-LT"]=p["et-EE"],p["nl-BE"]=p["fr-BE"];var y={"bg-BG":function(e){var t=e.slice(0,2),r=parseInt(e.slice(2,4),10);r>40?(r-=40,t="20".concat(t)):r>20?(r-=20,t="18".concat(t)):t="19".concat(t),r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var o=e.split("").map((function(e){return parseInt(e,10)})),i=[2,4,8,5,10,9,7,3,6],u=0,s=0;s<i.length;s++)u+=o[s]*i[s];return(u=u%11==10?0:u%11)===o[9]},"cs-CZ":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(0,2),10);if(10===e.length)t=t<54?"20".concat(t):"19".concat(t);else{if("000"===e.slice(6))return!1;if(!(t<54))return!1;t="19".concat(t)}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r=parseInt(e.slice(2,4),10);if(r>50&&(r-=50),r>20){if(parseInt(t,10)<2004)return!1;r-=20}r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!=0){var o=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10===o))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0},"de-AT":function(e){return i.luhnCheck(e)},"de-DE":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=[],n=0;n<t.length-1;n++){r.push("");for(var o=0;o<t.length-1;o++)t[n]===t[o]&&(r[n]+=o)}if(2!==(r=r.filter((function(e){return e.length>1}))).length&&3!==r.length)return!1;if(3===r[0].length){for(var a=r[0].split("").map((function(e){return parseInt(e,10)})),u=0,s=0;s<a.length-1;s++)a[s]+1===a[s+1]&&(u+=1);if(2===u)return!1}return i.iso7064Check(e)},"dk-DK":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(4,6),10);switch(e.slice(6,7)){case"0":case"1":case"2":case"3":t="19".concat(t);break;case"4":case"9":t=t<37?"20".concat(t):"19".concat(t);break;default:if(t<37)t="20".concat(t);else{if(!(t>58))return!1;t="18".concat(t)}}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map((function(e){return parseInt(e,10)})),o=0,i=4,u=0;u<9;u++)o+=n[u]*i,1===(i-=1)&&(i=7);return 1!==(o%=11)&&(0===o?0===n[9]:n[9]===11-o)},"el-CY":function(e){for(var t=e.slice(0,8).split("").map((function(e){return parseInt(e,10)})),r=0,n=1;n<t.length;n+=2)r+=t[n];for(var o=0;o<t.length;o+=2)t[o]<2?r+=1-t[o]:(r+=2*(t[o]-2)+5,t[o]>4&&(r+=2));return String.fromCharCode(r%26+65)===e.charAt(8)},"el-GR":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=0,n=0;n<8;n++)r+=t[n]*Math.pow(2,8-n);return r%11===t[8]},"en-IE":function(e){var t=i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),0===(t%=23)?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)},"en-US":function(e){return-1!==function(){var e=[];for(var t in f)f.hasOwnProperty(t)&&e.push.apply(e,l(f[t]));return e}().indexOf(e.substr(0,2))},"es-ES":function(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&t.length>1){var r=0;switch(t[0]){case"Y":r=1;break;case"Z":r=2}t.splice(0,1,r)}else for(;t.length<9;)t.unshift(0);t=t.join("");var n=parseInt(t.slice(0,8),10)%23;return t[8]===["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][n]},"et-EE":function(e){var t=e.slice(1,3);switch(e.slice(0,1)){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map((function(e){return parseInt(e,10)})),o=0,i=1,u=0;u<10;u++)o+=n[u]*i,10===(i+=1)&&(i=1);if(o%11==10){o=0,i=3;for(var s=0;s<10;s++)o+=n[s]*i,10===(i+=1)&&(i=1);if(o%11==10)return 0===n[10]}return o%11===n[10]},"fi-FI":function(e){var t=e.slice(4,6);switch(e.slice(6,7)){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;var n=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;return n<10?n===parseInt(e.slice(10),10):["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"][n-=10]===e.slice(10)},"fr-BE":function(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,a.default)(t,"YY/MM/DD"))return!1}var r=97-parseInt(e.slice(0,9),10)%97,n=parseInt(e.slice(9,11),10);return r===n||(r=97-parseInt("2".concat(e.slice(0,9)),10)%97)===n},"fr-FR":function(e){return e=e.replace(/\s/g,""),parseInt(e.slice(0,10),10)%511===parseInt(e.slice(10,13),10)},"fr-LU":function(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!!(0,a.default)(t,"YYYY/MM/DD")&&(!!i.luhnCheck(e.slice(0,12))&&i.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12])))},"hr-HR":function(e){return i.iso7064Check(e)},"hu-HU":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=8,n=1;n<9;n++)r+=t[n]*(n+1);return r%11===t[9]},"it-IT":function(e){var t=e.toUpperCase().split("");if(!d(t.slice(0,3)))return!1;if(!d(t.slice(3,6)))return!1;for(var r={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},n=0,o=[6,7,9,10,12,13,14];n<o.length;n++){var i=o[n];t[i]in r&&t.splice(i,1,r[t[i]])}var u={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"}[t[8]],s=parseInt(t[9]+t[10],10);s>40&&(s-=40),s<10&&(s="0".concat(s));var l="".concat(t[6]).concat(t[7],"/").concat(u,"/").concat(s);if(!(0,a.default)(l,"YY/MM/DD"))return!1;for(var c=0,f=1;f<t.length-1;f+=2){var p=parseInt(t[f],10);isNaN(p)&&(p=t[f].charCodeAt(0)-65),c+=p}for(var y={A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23,0:1,1:0},g=0;g<t.length-1;g+=2){var m=0;if(t[g]in y)m=y[t[g]];else{var h=parseInt(t[g],10);m=2*h+1,h>4&&(m+=2)}c+=m}return String.fromCharCode(65+c%26)===t[15]},"lv-LV":function(e){var t=(e=e.replace(/\W/,"")).slice(0,2);if("32"!==t){if("00"!==e.slice(2,4)){var r=e.slice(4,6);switch(e[6]){case"0":r="18".concat(r);break;case"1":r="19".concat(r);break;default:r="20".concat(r)}var n="".concat(r,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,a.default)(n,"YYYY/MM/DD"))return!1}for(var o=1101,i=[1,6,3,7,9,10,5,8,4,2],u=0;u<e.length-1;u++)o-=parseInt(e[u],10)*i[u];return parseInt(e[10],10)===o%11}return!0},"mt-MT":function(e){if(9!==e.length){for(var t=e.toUpperCase().split("");t.length<8;)t.unshift(0);switch(e[7]){case"A":case"P":if(0===parseInt(t[6],10))return!1;break;default:var r=parseInt(t.join("").slice(0,5),10);if(r>32e3)return!1;if(r===parseInt(t.join("").slice(5,7),10))return!1}}return!0},"nl-NL":function(e){return i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11===parseInt(e[8],10)},"pl-PL":function(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],r=0,n=0;n<t.length;n++)r+=parseInt(e[n],10)*t[n];return 10!==(r%=11)&&r===parseInt(e[9],10)}var o=e.slice(0,2),i=parseInt(e.slice(2,4),10);i>80?(o="18".concat(o),i-=80):i>60?(o="22".concat(o),i-=60):i>40?(o="21".concat(o),i-=40):i>20?(o="20".concat(o),i-=20):o="19".concat(o),i<10&&(i="0".concat(i));var u="".concat(o,"/").concat(i,"/").concat(e.slice(4,6));if(!(0,a.default)(u,"YYYY/MM/DD"))return!1;for(var s=0,l=1,c=0;c<e.length-1;c++)s+=parseInt(e[c],10)*l%10,(l+=2)>10?l=1:5===l&&(l+=2);return(s=10-s%10)===parseInt(e[10],10)},"pt-PT":function(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return t>9?0===parseInt(e[8],10):t===parseInt(e[8],10)},"ro-RO":function(e){if("9000"!==e.slice(0,4)){var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===r.length){if(!(0,a.default)(r,"YY/MM/DD"))return!1}else if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map((function(e){return parseInt(e,10)})),o=[2,7,9,1,4,6,3,5,8,2,7,9],i=0,u=0;u<o.length;u++)i+=n[u]*o[u];return i%11==10?1===n[12]:n[12]===i%11}return!0},"sk-SK":function(e){if(9===e.length){if("000"===(e=e.replace(/\W/,"")).slice(6))return!1;var t=parseInt(e.slice(0,2),10);if(t>53)return!1;t=t<10?"190".concat(t):"19".concat(t);var r=parseInt(e.slice(2,4),10);r>50&&(r-=50),r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8)%11;return 10===t?0===parseInt(e[7],10):t===parseInt(e[7],10)},"sv-SE":function(e){var t=e.slice(0);e.length>11&&(t=t.slice(2));var r="",n=t.slice(2,4),o=parseInt(t.slice(4,6),10);if(e.length>11)r=e.slice(0,4);else if(r=e.slice(0,2),11===e.length&&o<60){var u=(new Date).getFullYear().toString(),s=parseInt(u.slice(0,2),10);if(u=parseInt(u,10),"-"===e[6])r=parseInt("".concat(s).concat(r),10)>u?"".concat(s-1).concat(r):"".concat(s).concat(r);else if(r="".concat(s-1).concat(r),u-parseInt(r,10)<100)return!1}o>60&&(o-=60),o<10&&(o="0".concat(o));var l="".concat(r,"/").concat(n,"/").concat(o);if(8===l.length){if(!(0,a.default)(l,"YY/MM/DD"))return!1}else if(!(0,a.default)(l,"YYYY/MM/DD"))return!1;return i.luhnCheck(e.replace(/\W/,""))}};y["lb-LU"]=y["fr-LU"],y["lt-LT"]=y["et-EE"],y["nl-BE"]=y["fr-BE"];var g=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,m={"de-AT":g,"de-DE":/[\/\\]/g,"fr-BE":g};m["nl-BE"]=m["fr-BE"],e.exports=t.default,e.exports.default=t.default},4922:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,a.default)(t,s)).validate_length&&e.length>=2083)return!1;var r,u,f,d,p,y,g,m;if(g=e.split("#"),e=g.shift(),g=e.split("?"),e=g.shift(),(g=e.split("://")).length>1){if(r=g.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;g[0]=e.substr(2)}}if(""===(e=g.join("://")))return!1;if(g=e.split("/"),""===(e=g.shift())&&!t.require_host)return!0;if((g=e.split("@")).length>1){if(t.disallow_auth)return!1;if(-1===(u=g.shift()).indexOf(":")||u.indexOf(":")>=0&&u.split(":").length>2)return!1}d=g.join("@"),y=null,m=null;var h=d.match(l);h?(f="",m=h[1],y=h[2]||null):(g=d.split(":"),f=g.shift(),g.length&&(y=g.join(":")));if(null!==y){if(p=parseInt(y,10),!/^[0-9]+$/.test(y)||p<=0||p>65535)return!1}else if(t.require_port)return!1;if(!((0,i.default)(f)||(0,o.default)(f,t)||m&&(0,i.default)(m,6)))return!1;if(f=f||m,t.host_whitelist&&!c(f,t.host_whitelist))return!1;if(t.host_blacklist&&c(f,t.host_blacklist))return!1;return!0};var n=u(r(7359)),o=u(r(8139)),i=u(r(7962)),a=u(r(1778));function u(e){return e&&e.__esModule?e:{default:e}}var s={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,validate_length:!0},l=/^\[([^\]]+)\](?::([0-9]+))?$/;function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||(o=n,"[object RegExp]"===Object.prototype.toString.call(o)&&n.test(e)))return!0}var o;return!1}e.exports=t.default,e.exports.default=t.default},6368:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";(0,o.default)(e);var r=i[t];return r&&r.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default,e.exports.default=t.default},1776:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toUpperCase()};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},1809:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),(0,o.default)(t),t in i)return i[t].test(e);throw new Error("Invalid country code: '".concat(t,"'"))},t.vatMatchers=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={GB:/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/};t.vatMatchers=i},8831:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.fullWidth.test(e)&&a.halfWidth.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(749),a=r(8408);e.exports=t.default,e.exports.default=t.default},9293:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);for(var r=e.length-1;r>=0;r--)if(-1===t.indexOf(e[r]))return!1;return!0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},5904:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(r,"")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},401:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){(0,o.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r));return t.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},3517:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,o.default)(t,i);var r=e.split("@"),n=r.pop(),f=[r.join("@"),n];if(f[1]=f[1].toLowerCase(),"gmail.com"===f[1]||"googlemail.com"===f[1]){if(t.gmail_remove_subaddress&&(f[0]=f[0].split("+")[0]),t.gmail_remove_dots&&(f[0]=f[0].replace(/\.+/g,c)),!f[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]=t.gmail_convert_googlemaildotcom?"gmail.com":f[1]}else if(a.indexOf(f[1])>=0){if(t.icloud_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(f[0]=f[0].toLowerCase())}else if(u.indexOf(f[1])>=0){if(t.outlookdotcom_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(f[0]=f[0].toLowerCase())}else if(s.indexOf(f[1])>=0){if(t.yahoo_remove_subaddress){var d=f[0].split("-");f[0]=d.length>1?d.slice(0,-1).join("-"):d[0]}if(!f[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(f[0]=f[0].toLowerCase())}else l.indexOf(f[1])>=0?((t.all_lowercase||t.yandex_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]="yandex.ru"):t.all_lowercase&&(f[0]=f[0].toLowerCase());return f.join("@")};var n,o=(n=r(1778))&&n.__esModule?n:{default:n};var i={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},a=["icloud.com","me.com"],u=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],s=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],l=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function c(e){return e.length>1?e:""}e.exports=t.default,e.exports.default=t.default},1733:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g"):/\s+$/g;return e.replace(r,"")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},4559:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,o.default)(e,r)};var n=i(r(7359)),o=i(r(7902));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},8676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t)return"1"===e||/^true$/i.test(e);return"0"!==e&&!/^false$/i.test(e)&&""!==e};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},7499:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},6840:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e)?parseFloat(e):NaN};var n,o=(n=r(3612))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},7155:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),parseInt(e,t||10)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},3465:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)((0,o.default)(e,t),t)};var n=i(r(1733)),o=i(r(5904));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},3991:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},257:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iso7064Check=function(e){for(var t=10,r=0;r<e.length-1;r++)t=(parseInt(e[r],10)+t)%10==0?9:(parseInt(e[r],10)+t)%10*2%11;return(t=1===t?0:11-t)===parseInt(e[10],10)},t.luhnCheck=function(e){for(var t=0,r=!1,n=e.length-1;n>=0;n--){if(r){var o=2*parseInt(e[n],10);t+=o>9?o.toString().split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t){return e+t}),0):o}else t+=parseInt(e[n],10);r=!r}return t%10==0},t.reverseMultiplyAndSum=function(e,t){for(var r=0,n=0;n<e.length;n++)r+=e[n]*(t-n);return r},t.verhoeffCheck=function(e){for(var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],r=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],n=e.split("").reverse().join(""),o=0,i=0;i<n.length;i++)o=t[o][r[i%8][parseInt(n[i],10)]];return 0===o}},7359:function(e,t){"use strict";function r(e){return 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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=r(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default},2900:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){return e.some((function(e){return t===e}))};t.default=r,e.exports=t.default,e.exports.default=t.default},1778:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in t)void 0===e[r]&&(e[r]=t[r]);return e},e.exports=t.default,e.exports.default=t.default},8041:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e.join("");return new RegExp(r,t)},e.exports=t.default,e.exports.default=t.default},1589:function(e,t){"use strict";function r(e){return 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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"object"===r(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e="");return String(e)},e.exports=t.default,e.exports.default=t.default},7224:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},2884:function(e,t,r){var n=r(3830),o=r(6744);function i(e,t){if(t)if("number"==typeof t)a(e,t);else{t.status_code&&a(e,t.status_code),t.error&&(e.name=s(t.error)),t.error_description&&(e.message=t.error_description);var r=t.errors;if(r)i(e,r.length?r[0]:r);for(var n in t)e[n]=t[n];e.status&&(t.method||t.path)&&u(e)}}function a(e,t){e.name=s(o[t]),e.status=e.statusCode=t,u(e)}function u(e){var t=e.status,r=e.method,n=e.path,o=t+" status code",i=r||n;i&&(o+=' for "'),r&&(o+=r),i&&(o+=" "),n&&(o+=n),i&&(o+='"'),e.message=o}function s(e){return n(String(e).replace(/error$/i,""),"error")}e.exports=function e(){for(var t=new Error,r=0;r<arguments.length;r++)i(t,arguments[r]);"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(t,e);return t}},9196:function(e){"use strict";e.exports=window.React},9818:function(e){"use strict";e.exports=window.wp.data},3418:function(e){"use strict";e.exports=window.wp.dataControls},7180:function(e){"use strict";e.exports=window.wp.deprecated},3260:function(){}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){"use strict";r.r(n);r(6274),r(3857),r(561),r(5608),r(9512)}(),window.EditingToolkit=n}();
|
24 |
//# sourceMappingURL=data-stores.min.js.map
|
1 |
+
!function(){var e={7266:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(5854),o=r(730);function i(e){var t=(0,n.Z)(e);return function(e){return(0,o.Z)(t,e)}}},730:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,r){if(e)throw t;return r}};function o(e,t){var r,o,i,a,u,s,l=[];for(r=0;r<e.length;r++){if(u=e[r],a=n[u]){for(o=a.length,i=Array(o);o--;)i[o]=l.pop();try{s=a.apply(null,i)}catch(c){return c}}else s=t.hasOwnProperty(u)?t[u]:+u;l.push(s)}return l[0]}},1184:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(7266);function o(e){var t=(0,n.Z)(e);return function(e){return+t({n:e})}}},5854:function(e,t,r){"use strict";var n,o,i,a;function u(e){for(var t,r,u,s,l=[],c=[];t=e.match(a);){for(r=t[0],(u=e.substr(0,t.index).trim())&&l.push(u);s=c.pop();){if(i[r]){if(i[r][0]===s){r=i[r][1]||r;break}}else if(o.indexOf(s)>=0||n[s]<n[r]){c.push(s);break}l.push(s)}i[r]||c.push(r),e=e.substr(t.index+r.length)}return(e=e.trim())&&l.push(e),l.concat(c.reverse())}r.d(t,{Z:function(){return u}}),n={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],i={")":["("],":":["?","?:"]},a=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},6668:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function o(e,t){var r;if(!Array.isArray(t))for(t=new Array(arguments.length-1),r=1;r<arguments.length;r++)t[r-1]=arguments[r];return r=1,e.replace(n,(function(){var e,n,o,i,a;return e=arguments[3],n=arguments[5],"%"===(i=arguments[9])?"%":("*"===(o=arguments[7])&&(o=t[r-1],r++),void 0!==n?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(n)&&(a=t[0][n]):(void 0===e&&(e=r),r++,a=t[e-1]),"f"===i?a=parseFloat(a)||0:"d"===i&&(a=parseInt(a)||0),void 0!==o&&("f"===i?a=a.toFixed(o):"s"===i&&(a=a.substr(0,o))),null!=a?a:"")}))}},6744:function(e){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},2680:function(e,t,r){"use strict";var n=r(7286),o=r(9429),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o(r):r}},9429:function(e,t,r){"use strict";var n=r(4090),o=r(7286),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||n.call(a,i),s=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(d){l=null}e.exports=function(e){var t=u(n,a,arguments);if(s&&l){var r=s(t,"length");r.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var f=function(){return u(n,i,arguments)};l?l(e.exports,"apply",{value:f}):e.exports.apply=f},5881:function(e){var t=1e3,r=60*t,n=60*r,o=24*n,i=7*o,a=365.25*o;function u(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,s){s=s||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!u)return;var s=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*a;case"weeks":case"week":case"w":return s*i;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*n;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&isFinite(e))return s.long?function(e){var i=Math.abs(e);if(i>=o)return u(e,i,o,"day");if(i>=n)return u(e,i,n,"hour");if(i>=r)return u(e,i,r,"minute");if(i>=t)return u(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=n)return Math.round(e/n)+"h";if(i>=r)return Math.round(e/r)+"m";if(i>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},2699:function(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function o(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,r)}(e,o,{once:!0})}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function s(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var o,i,a,l;if(u(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=s(e))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=c.bind(n);return o.listener=r,n.wrapFn=o,o}function d(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):y(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function y(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function g(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){n.once&&e.removeEventListener(t,o),r(i)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return s(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)n(s,this,t);else{var l=s.length,c=y(s,l);for(r=0;r<l;++r)n(c[r],this,t)}return!0},i.prototype.addListener=function(e,t){return l(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return l(this,e,t,!0)},i.prototype.once=function(e,t){return u(t),this.on(e,f(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,f(this,e,t)),this},i.prototype.removeListener=function(e,t){var r,n,o,i,a;if(u(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return d(this,e,!0)},i.prototype.rawListeners=function(e){return d(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},i.prototype.listenerCount=p,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},5695:function(e){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(r=t.cmp,function(e){return function(t,n){var o={key:t,value:e[t]},i={key:n,value:e[n]};return r(o,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,a;if(Array.isArray(t)){for(a="[",r=0;r<t.length;r++)r&&(a+=","),a+=e(t[r])||"null";return a+"]"}if(null===t)return"null";if(-1!==i.indexOf(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=i.push(t)-1,s=Object.keys(t).sort(o&&o(t));for(a="",r=0;r<s.length;r++){var l=s[r],c=e(t[l]);c&&(a&&(a+=","),a+=JSON.stringify(l)+":"+c)}return i.splice(u,1),"{"+a+"}"}}(e)}},7795:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||n.call(i)!==o)throw new TypeError(t+i);for(var a,u=r.call(arguments,1),s=function(){if(this instanceof a){var t=i.apply(this,u.concat(r.call(arguments)));return Object(t)===t?t:this}return i.apply(e,u.concat(r.call(arguments)))},l=Math.max(0,i.length-u.length),c=[],f=0;f<l;f++)c.push("$"+f);if(a=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s),i.prototype){var d=function(){};d.prototype=i.prototype,a.prototype=new d,d.prototype=null}return a}},4090:function(e,t,r){"use strict";var n=r(7795);e.exports=Function.prototype.bind||n},7286:function(e,t,r){"use strict";var n,o=SyntaxError,i=Function,a=TypeError,u=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(T){s=null}var l=function(){throw new a},c=s?function(){try{return l}catch(e){try{return s(arguments,"callee").get}catch(t){return l}}}():l,f=r(2636)(),d=Object.getPrototypeOf||function(e){return e.__proto__},p={},y="undefined"==typeof Uint8Array?n:d(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f?d([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?d(d([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?d((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?d((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?d(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=u("async function () {}");else if("%GeneratorFunction%"===t)r=u("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=u("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=d(o.prototype))}return g[t]=r,r},h={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=r(4090),S=r(3198),_=v.call(Function.call,Array.prototype.concat),b=v.call(Function.apply,Array.prototype.splice),A=v.call(Function.call,String.prototype.replace),E=v.call(Function.call,String.prototype.slice),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,P=function(e){var t=E(e,0,1),r=E(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return A(e,I,(function(e,t,r,o){n[n.length]=r?A(o,C,"$1"):t||e})),n},O=function(e,t){var r,n=e;if(S(h,n)&&(n="%"+(r=h[n])[0]+"%"),S(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=P(e),n=r.length>0?r[0]:"",i=O("%"+n+"%",t),u=i.name,l=i.value,c=!1,f=i.alias;f&&(n=f[0],b(r,_([0,1],f)));for(var d=1,p=!0;d<r.length;d+=1){var y=r[d],m=E(y,0,1),h=E(y,-1);if(('"'===m||"'"===m||"`"===m||'"'===h||"'"===h||"`"===h)&&m!==h)throw new o("property names with quotes must have matching quotes");if("constructor"!==y&&p||(c=!0),S(g,u="%"+(n+="."+y)+"%"))l=g[u];else if(null!=l){if(!(y in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&d+1>=r.length){var v=s(l,y);l=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:l[y]}else p=S(l,y),l=l[y];p&&!c&&(g[u]=l)}}return l}},2636:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(6679);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},6679:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},3198:function(e,t,r){"use strict";var n=r(4090);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},4495:function(e,t,r){"use strict";var n=r(212),o=r(9561);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var o=1;o<r;o++)n[o]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)n[o++]=0;n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=e>>>24&255,n[o++]=e>>>16&255,n[o++]=e>>>8&255,n[o++]=255&e}else for(n[o++]=255&e,n[o++]=e>>>8&255,n[o++]=e>>>16&255,n[o++]=e>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,i=8;i<this.padLength;i++)n[o++]=0;return n}},5079:function(e,t,r){"use strict";var n=r(212),o=r(4495),i=r(713),a=n.rotl32,u=n.sum32,s=n.sum32_5,l=i.ft_1,c=o.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(d,c),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var o=this.h[0],i=this.h[1],c=this.h[2],d=this.h[3],p=this.h[4];for(n=0;n<r.length;n++){var y=~~(n/20),g=s(a(o,5),l(y,i,c,d),p,r[n],f[y]);p=d,d=c,c=a(i,30),i=o,o=g}this.h[0]=u(this.h[0],o),this.h[1]=u(this.h[1],i),this.h[2]=u(this.h[2],c),this.h[3]=u(this.h[3],d),this.h[4]=u(this.h[4],p)},d.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},713:function(e,t,r){"use strict";var n=r(212).rotr32;function o(e,t,r){return e&t^~e&r}function i(e,t,r){return e&t^e&r^t&r}function a(e,t,r){return e^t^r}t.ft_1=function(e,t,r,n){return 0===e?o(t,r,n):1===e||3===e?a(t,r,n):2===e?i(t,r,n):void 0},t.ch32=o,t.maj32=i,t.p32=a,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},212:function(e,t,r){"use strict";var n=r(9561),o=r(1285);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function u(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)r.push(parseInt(e[o]+e[o+1],16))}else for(var n=0,o=0;o<e.length;o++){var a=e.charCodeAt(o);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):i(e,o)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++o)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(o=0;o<e.length;o++)r[o]=0|e[o];return r},t.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=u(e[r].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e[n];"little"===t&&(o=a(o)),r+=s(o.toString(16))}return r},t.zero2=u,t.zero8=s,t.join32=function(e,t,r,o){var i=r-t;n(i%4==0);for(var a=new Array(i/4),u=0,s=t;u<a.length;u++,s+=4){var l;l="big"===o?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],a[u]=l>>>0}return a},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,o=0;n<e.length;n++,o+=4){var i=e[n];"big"===t?(r[o]=i>>>24,r[o+1]=i>>>16&255,r[o+2]=i>>>8&255,r[o+3]=255&i):(r[o+3]=i>>>24,r[o+2]=i>>>16&255,r[o+1]=i>>>8&255,r[o]=255&i)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,o){return e+t+r+n+o>>>0},t.sum64=function(e,t,r,n){var o=e[t],i=n+e[t+1]>>>0,a=(i<n?1:0)+r+o;e[t]=a>>>0,e[t+1]=i},t.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,o,i,a,u){var s=0,l=t;return s+=(l=l+n>>>0)<t?1:0,s+=(l=l+i>>>0)<i?1:0,e+r+o+a+(s+=(l=l+u>>>0)<u?1:0)>>>0},t.sum64_4_lo=function(e,t,r,n,o,i,a,u){return t+n+i+u>>>0},t.sum64_5_hi=function(e,t,r,n,o,i,a,u,s,l){var c=0,f=t;return c+=(f=f+n>>>0)<t?1:0,c+=(f=f+i>>>0)<i?1:0,c+=(f=f+u>>>0)<u?1:0,e+r+o+a+s+(c+=(f=f+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,r,n,o,i,a,u,s,l){return t+n+i+u+l>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},1285:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},7839:function(e,t,r){var n=r(2699),o=r(1285);function i(e){if(!(this instanceof i))return new i(e);"number"==typeof e&&(e={max:e}),e||(e={}),n.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=i,o(i,n.EventEmitter),Object.defineProperty(i.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),i.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},i.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},i.prototype._unlink=function(e,t,r){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=r,this.cache[this.tail].prev=null):(this.cache[t].next=r,this.cache[r].prev=t)},i.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},i.prototype.set=function(e,t){var r;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((r=this.cache[e]).value=t,this.maxAge&&(r.modified=Date.now()),e===this.head)return t;this._unlink(e,r.prev,r.next)}else r={value:t,modified:0,next:null,prev:null},this.maxAge&&(r.modified=Date.now()),this.cache[e]=r,this.length===this.max&&this.evict();return this.length++,r.next=null,r.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},i.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},i.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},i.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},9561:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},9500:function(e,t,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,u="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=u&&s&&"function"==typeof s.get?s.get:null,c=u&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,h=String.prototype.match,v="function"==typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,b="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A=Object.prototype.propertyIsEnumerable,E=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),I=r(3260).custom,C=I&&M(I)?I:null,P="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function O(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function T(e){return String(e).replace(/"/g,""")}function w(e){return!("[object Array]"!==$(e)||P&&"object"==typeof e&&P in e)}function M(e){if(b)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,n,o){var u=r||{};if(L(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(L(u,"maxStringLength")&&("number"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=!L(u,"customInspect")||u.customInspect;if("boolean"!=typeof s&&"symbol"!==s)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(L(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return x(t,u);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var g=void 0===u.depth?5:u.depth;if(void 0===n&&(n=0),n>=g&&g>0&&"object"==typeof t)return w(t)?"[Array]":"[Object]";var S=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=Array(e.indent+1).join(" ")}return{base:r,prev:Array(t+1).join(r)}}(u,n);if(void 0===o)o=[];else if(F(o,t)>=0)return"[Circular]";function A(t,r,i){if(r&&(o=o.slice()).push(r),i){var a={depth:u.depth};return L(u,"quoteStyle")&&(a.quoteStyle=u.quoteStyle),e(t,a,n+1,o)}return e(t,u,n+1,o)}if("function"==typeof t){var I=function(e){if(e.name)return e.name;var t=h.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),R=B(t,A);return"[Function"+(I?": "+I:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(M(t)){var N=b?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):_.call(t);return"object"!=typeof t||b?N:D(N)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var k="<"+String(t.nodeName).toLowerCase(),G=t.attributes||[],H=0;H<G.length;H++)k+=" "+G[H].name+"="+O(T(G[H].value),"double",u);return k+=">",t.childNodes&&t.childNodes.length&&(k+="..."),k+="</"+String(t.nodeName).toLowerCase()+">"}if(w(t)){if(0===t.length)return"[]";var W=B(t,A);return S&&!function(e){for(var t=0;t<e.length;t++)if(F(e[t],"\n")>=0)return!1;return!0}(W)?"["+Z(W,S)+"]":"[ "+W.join(", ")+" ]"}if(function(e){return!("[object Error]"!==$(e)||P&&"object"==typeof e&&P in e)}(t)){var V=B(t,A);return 0===V.length?"["+String(t)+"]":"{ ["+String(t)+"] "+V.join(", ")+" }"}if("object"==typeof t&&s){if(C&&"function"==typeof t[C])return t[C]();if("symbol"!==s&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{l.call(e)}catch(k){return!0}return e instanceof Map}catch(t){}return!1}(t)){var Y=[];return a.call(t,(function(e,r){Y.push(A(r,t,!0)+" => "+A(e,t))})),U("Map",i.call(t),Y,S)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(r){}return!1}(t)){var K=[];return c.call(t,(function(e){K.push(A(e,t))})),U("Set",l.call(t),K,S)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(k){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return j("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(k){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return j("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(t){}return!1}(t))return j("WeakRef");if(function(e){return!("[object Number]"!==$(e)||P&&"object"==typeof e&&P in e)}(t))return D(A(Number(t)));if(function(e){if(!e||"object"!=typeof e||!v)return!1;try{return v.call(e),!0}catch(t){}return!1}(t))return D(A(v.call(t)));if(function(e){return!("[object Boolean]"!==$(e)||P&&"object"==typeof e&&P in e)}(t))return D(y.call(t));if(function(e){return!("[object String]"!==$(e)||P&&"object"==typeof e&&P in e)}(t))return D(A(String(t)));if(!function(e){return!("[object Date]"!==$(e)||P&&"object"==typeof e&&P in e)}(t)&&!function(e){return!("[object RegExp]"!==$(e)||P&&"object"==typeof e&&P in e)}(t)){var z=B(t,A),q=E?E(t)===Object.prototype:t instanceof Object||t.constructor===Object,J=t instanceof Object?"":"null prototype",X=!q&&P&&Object(t)===t&&P in t?$(t).slice(8,-1):J?"Object":"",Q=(q||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(X||J?"["+[].concat(X||[],J||[]).join(": ")+"] ":"");return 0===z.length?Q+"{}":S?Q+"{"+Z(z,S)+"}":Q+"{ "+z.join(", ")+" }"}return String(t)};var R=Object.prototype.hasOwnProperty||function(e){return e in this};function L(e,t){return R.call(e,t)}function $(e){return g.call(e)}function F(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function x(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return x(e.slice(0,t.maxStringLength),t)+n}return O(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,N),"single",t)}function N(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function D(e){return"Object("+e+")"}function j(e){return e+" { ? }"}function U(e,t,r,n){return e+" ("+t+") {"+(n?Z(r,n):r.join(", "))+"}"}function Z(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+e.join(","+r)+"\n"+t.prev}function B(e,t){var r=w(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=L(e,o)?t(e[o],e):""}var i,a="function"==typeof S?S(e):[];if(b){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var s in e)L(e,s)&&(r&&String(Number(s))===s&&s<e.length||b&&i["$"+s]instanceof Symbol||(/[^\w$]/.test(s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e))));if("function"==typeof S)for(var l=0;l<a.length;l++)A.call(e,a[l])&&n.push("["+t(a[l])+"]: "+t(e[a[l]],e));return n}},8650:function(e){var t,r=window.ProgressEvent,n=!!r;try{t=new r("loaded"),n="loaded"===t.type,t=null}catch(o){n=!1}e.exports=n?r:"function"==typeof document.createEvent?function(e,t){var r=document.createEvent("Event");return r.initEvent(e,!1,!1),t?(r.lengthComputable=Boolean(t.lengthComputable),r.loaded=Number(t.loaded)||0,r.total=Number(t.total)||0):(r.lengthComputable=!1,r.loaded=r.total=0),r}:function(e,t){var r=document.createEventObject();return r.type=e,t?(r.lengthComputable=Boolean(t.lengthComputable),r.loaded=Number(t.loaded)||0,r.total=Number(t.total)||0):(r.lengthComputable=!1,r.loaded=r.total=0),r}},5527:function(e){"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:n,RFC3986:o}},9126:function(e,t,r){"use strict";var n=r(6845),o=r(9166),i=r(5527);e.exports={formats:i,parse:o,stringify:n}},9166:function(e,t,r){"use strict";var n=r(2493),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},u=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,u=r.depth>0&&/(\[[^[\]]*])/.exec(i),l=u?i.slice(0,u.index):i,c=[];if(l){if(!r.plainObjects&&o.call(Object.prototype,l)&&!r.allowPrototypes)return;c.push(l)}for(var f=0;r.depth>0&&null!==(u=a.exec(i))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,u[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(u[1])}return u&&c.push("["+i.slice(u.index)+"]"),function(e,t,r,n){for(var o=n?t:s(t,r),i=e.length-1;i>=0;--i){var a,u=e[i];if("[]"===u&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var l="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,c=parseInt(l,10);r.parseArrays||""!==l?!isNaN(c)&&u!==l&&String(c)===l&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=o:"__proto__"!==l&&(a[l]=o):a={0:o}}o=a}return o}(c,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var r,l={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=c.split(t.delimiter,f),p=-1,y=t.charset;if(t.charsetSentinel)for(r=0;r<d.length;++r)0===d[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[r]?y="utf-8":"utf8=%26%2310003%3B"===d[r]&&(y="iso-8859-1"),p=r,r=d.length);for(r=0;r<d.length;++r)if(r!==p){var g,m,h=d[r],v=h.indexOf("]="),S=-1===v?h.indexOf("="):v+1;-1===S?(g=t.decoder(h,a.decoder,y,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(h.slice(0,S),a.decoder,y,"key"),m=n.maybeMap(s(h.slice(S+1),t),(function(e){return t.decoder(e,a.decoder,y,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===y&&(m=u(m)),h.indexOf("[]=")>-1&&(m=i(m)?[m]:m),o.call(l,g)?l[g]=n.combine(l[g],m):l[g]=m}return l}(e,r):e,f=r.plainObjects?Object.create(null):{},d=Object.keys(c),p=0;p<d.length;++p){var y=d[p],g=l(y,c[y],r,"string"==typeof e);f=n.merge(f,g,r)}return!0===r.allowSparse?f:n.compact(f)}},6845:function(e,t,r){"use strict";var n=r(4294),o=r(2493),i=r(5527),a=Object.prototype.hasOwnProperty,u={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=String.prototype.split,c=Array.prototype.push,f=function(e,t){c.apply(e,s(t)?t:[t])},d=Date.prototype.toISOString,p=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},g={},m=function e(t,r,i,a,u,c,d,p,m,h,v,S,_,b,A){for(var E,I=t,C=A,P=0,O=!1;void 0!==(C=C.get(g))&&!O;){var T=C.get(t);if(P+=1,void 0!==T){if(T===P)throw new RangeError("Cyclic object value");O=!0}void 0===C.get(g)&&(P=0)}if("function"==typeof d?I=d(r,I):I instanceof Date?I=h(I):"comma"===i&&s(I)&&(I=o.maybeMap(I,(function(e){return e instanceof Date?h(e):e}))),null===I){if(a)return c&&!_?c(r,y.encoder,b,"key",v):r;I=""}if("string"==typeof(E=I)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||o.isBuffer(I)){if(c){var w=_?r:c(r,y.encoder,b,"key",v);if("comma"===i&&_){for(var M=l.call(String(I),","),R="",L=0;L<M.length;++L)R+=(0===L?"":",")+S(c(M[L],y.encoder,b,"value",v));return[S(w)+"="+R]}return[S(w)+"="+S(c(I,y.encoder,b,"value",v))]}return[S(r)+"="+S(String(I))]}var $,F=[];if(void 0===I)return F;if("comma"===i&&s(I))$=[{value:I.length>0?I.join(",")||null:void 0}];else if(s(d))$=d;else{var x=Object.keys(I);$=p?x.sort(p):x}for(var N=0;N<$.length;++N){var D=$[N],j="object"==typeof D&&void 0!==D.value?D.value:I[D];if(!u||null!==j){var U=s(I)?"function"==typeof i?i(r,D):r:r+(m?"."+D:"["+D+"]");A.set(t,P);var Z=n();Z.set(g,A),f(F,e(j,U,i,a,u,c,d,p,m,h,v,S,_,b,Z))}}return F};e.exports=function(e,t){var r,o=e,l=function(e){if(!e)return y;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||y.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=i.formatters[r],o=y.filter;return("function"==typeof e.filter||s(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===e.allowDots?y.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:y.charsetSentinel,delimiter:void 0===e.delimiter?y.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:y.encode,encoder:"function"==typeof e.encoder?e.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:y.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:y.strictNullHandling}}(t);"function"==typeof l.filter?o=(0,l.filter)("",o):s(l.filter)&&(r=l.filter);var c,d=[];if("object"!=typeof o||null===o)return"";c=t&&t.arrayFormat in u?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=u[c];r||(r=Object.keys(o)),l.sort&&r.sort(l.sort);for(var g=n(),h=0;h<r.length;++h){var v=r[h];l.skipNulls&&null===o[v]||f(d,m(o[v],v,p,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,g))}var S=d.join(l.delimiter),_=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),S.length>0?_+S:""}},2493:function(e,t,r){"use strict";var n=r(5527),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}(),u=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:u,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],a=o.obj[o.prop],u=Object.keys(a),s=0;s<u.length;++s){var l=u[s],c=a[l];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:a,prop:l}),r.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(o){return n}},encode:function(e,t,r,o,i){if(0===e.length)return e;var u=e;if("symbol"==typeof e?u=Symbol.prototype.toString.call(e):"string"!=typeof e&&(u=String(e)),"iso-8859-1"===r)return escape(u).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",l=0;l<u.length;++l){var c=u.charCodeAt(l);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===n.RFC1738&&(40===c||41===c)?s+=u.charAt(l):c<128?s+=a[c]:c<2048?s+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?s+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&u.charCodeAt(l)),s+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return s},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 r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(i(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return i(t)&&!i(r)&&(a=u(t,n)),i(t)&&i(r)?(r.forEach((function(r,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&r&&"object"==typeof r?t[i]=e(a,r,n):t.push(r)}else t[i]=r})),t):Object.keys(r).reduce((function(t,i){var a=r[i];return o.call(t,i)?t[i]=e(t[i],a,n):t[i]=a,t}),a)}}},4294:function(e,t,r){"use strict";var n=r(7286),o=r(2680),i=r(9500),a=n("%TypeError%"),u=n("%WeakMap%",!0),s=n("%Map%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),p=o("Map.prototype.set",!0),y=o("Map.prototype.has",!0),g=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return l(e,n)}else if(s){if(t)return d(t,n)}else if(r)return function(e,t){var r=g(e,t);return r&&r.value}(r,n)},has:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return f(e,n)}else if(s){if(t)return y(t,n)}else if(r)return function(e,t){return!!g(e,t)}(r,n);return!1},set:function(n,o){u&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new u),c(e,n,o)):s?(t||(t=new s),p(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=g(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},9830:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1184),o={contextDelimiter:"",onMissingKey:null};function i(e,t){var r;for(r in this.data=e,this.pluralForms={},this.options={},o)this.options[r]=void 0!==t&&r in t?t[r]:o[r]}i.prototype.getPluralForm=function(e,t){var r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(i=(r=this.data[e][""])["Plural-Forms"]||r["plural-forms"]||r.plural_forms)&&(o=function(e){var t,r,n;for(t=e.split(";"),r=0;r<t.length;r++)if(0===(n=t[r].trim()).indexOf("plural="))return n.substr(7)}(r["Plural-Forms"]||r["plural-forms"]||r.plural_forms),i=(0,n.Z)(o)),a=this.pluralForms[e]=i),a(t)},i.prototype.dcnpgettext=function(e,t,r,n,o){var i,a,u;return i=void 0===o?0:this.getPluralForm(e,o),a=r,t&&(a=t+this.options.contextDelimiter+r),(u=this.data[e][a])&&u[i]?u[i]:(this.options.onMissingKey&&this.options.onMissingKey(r,e),0===i?r:n)}},6274:function(e,t,r){"use strict";r(8077).z2()},5608:function(e,t,r){"use strict";r(1635).z()},3857:function(e,t,r){"use strict";r(9734).register()},561:function(e,t,r){"use strict";r(2369).z2({client_id:"",client_secret:""})},9512:function(e,t,r){"use strict";r(182).z()},3600:function(e,t,r){"use strict";r.r(t),r.d(t,{receiveCategories:function(){return n},fetchDomainSuggestions:function(){return o},receiveDomainAvailability:function(){return i},receiveDomainSuggestionsSuccess:function(){return a},receiveDomainSuggestionsError:function(){return u}});const n=e=>({type:"RECEIVE_CATEGORIES",categories:e}),o=()=>({type:"FETCH_DOMAIN_SUGGESTIONS",timeStamp:Date.now()}),i=(e,t)=>({type:"RECEIVE_DOMAIN_AVAILABILITY",domainName:e,availability:t}),a=(e,t)=>({type:"RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS",queryObject:e,suggestions:t,timeStamp:Date.now()}),u=e=>({type:"RECEIVE_DOMAIN_SUGGESTIONS_ERROR",errorMessage:e,timeStamp:Date.now()})},584:function(e,t,r){"use strict";r.d(t,{L:function(){return n},r:function(){return o}});const n="automattic/domains/suggestions";let o;!function(e){e.Failure="failure",e.Pending="pending",e.Success="success",e.Uninitialized="uninitialized"}(o||(o={}))},8077:function(e,t,r){"use strict";r.d(t,{z2:function(){return f}});var n=r(9818),o=r(3661),i=r(3600),a=r(584),u=r(3717),s=r(2269),l=r(267);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.L,{actions:i,controls:o.ai,reducer:u.Z,resolvers:s,selectors:l})),a.L}},3717:function(e,t,r){"use strict";var n=r(9818),o=r(584),i=r(4211);const a={state:o.r.Uninitialized,data:{},errorMessage:null,lastUpdated:-1/0,pendingSince:void 0},u=(0,n.combineReducers)({categories:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_CATEGORIES"===t.type?t.categories:e},domainSuggestions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;return"FETCH_DOMAIN_SUGGESTIONS"===t.type?{...e,state:o.r.Pending,errorMessage:null,pendingSince:t.timeStamp}:"RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS"===t.type?{...e,state:o.r.Success,data:{...e.data,[(0,i.Le)(t.queryObject)]:t.suggestions},errorMessage:null,lastUpdated:t.timeStamp,pendingSince:void 0}:"RECEIVE_DOMAIN_SUGGESTIONS_ERROR"===t.type?{...e,state:o.r.Failure,errorMessage:t.errorMessage,lastUpdated:t.timeStamp,pendingSince:void 0}:e},availability:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_DOMAIN_AVAILABILITY"===t.type?{...e,[t.domainName]:t.availability}:e}});t.Z=u},2269:function(e,t,r){"use strict";r.r(t),r.d(t,{isAvailable:function(){return c},getCategories:function(){return f},__internalGetDomainSuggestions:function(){return d}});var n=r(1481),o=r(9126),i=r(6468),a=r.n(i),u=r(3661),s=r(3600),l=r(4211);const c=function*(e){const t=function(e){return`https://public-api.wordpress.com/rest/v1.3/domains/${encodeURIComponent(e)}/is-available?is_cart_pre_check=true`}(e);try{const{body:r}=yield(0,u.An)(t);return(0,s.receiveDomainAvailability)(e,r)}catch{return(0,s.receiveDomainAvailability)(e,{domain_name:e,mappable:"unknown",status:"unknown",supports_privacy:!1})}};function*f(){const{body:e}=yield(0,u.An)("https://public-api.wordpress.com/wpcom/v2/onboarding/domains/categories");return(0,s.receiveCategories)(e)}function*d(e){if(!e.query)return(0,s.receiveDomainSuggestionsError)("Empty query");yield(0,s.fetchDomainSuggestions)();try{const t=yield(0,u._9)({apiVersion:"1.1",path:"/domains/suggestions",query:(0,o.stringify)(e)});if(!Array.isArray(t))return(0,s.receiveDomainSuggestionsError)((0,n.Iu)("Invalid response from the server"));if(function(e,t){return a().isFQDN(t)&&!e.some((e=>e.domain_name.toLowerCase()===t))}(t,e.query)){const r={domain_name:e.query,unavailable:!0,cost:"",raw_price:0,currency_code:""};t.unshift(r)}const r=t.map((e=>e.unavailable?e:{...e,...e.raw_price&&e.currency_code&&{cost:(0,l._B)(e.raw_price,e.currency_code)}}));return(0,s.receiveDomainSuggestionsSuccess)(e,r)}catch(t){return(0,s.receiveDomainSuggestionsError)(t.message||(0,n.Iu)("Error while fetching server response"))}}},267:function(e,t,r){"use strict";r.r(t),r.d(t,{getCategories:function(){return a},getDomainSuggestions:function(){return u},getDomainState:function(){return s},getDomainErrorMessage:function(){return l},isLoadingDomainSuggestions:function(){return c},__internalGetDomainSuggestions:function(){return f},isAvailable:function(){return d},getDomainAvailabilities:function(){return p}});var n=r(9818),o=r(584),i=r(4211);const a=e=>[...e.categories.filter((e=>{let{tier:t}=e;return null!==t})).sort(((e,t)=>e>t?1:-1)),...e.categories.filter((e=>{let{tier:t}=e;return null===t})).sort(((e,t)=>e.title.localeCompare(t.title)))],u=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(0,i.o0)(t,r);return(0,n.select)(o.L).__internalGetDomainSuggestions(a)},s=e=>e.domainSuggestions.state,l=e=>e.domainSuggestions.errorMessage,c=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(0,i.o0)(t,r);return(0,n.select)("core/data").isResolving(o.L,"__internalGetDomainSuggestions",[a])},f=(e,t)=>e.domainSuggestions.data[(0,i.Le)(t)],d=(e,t)=>e.availability[t],p=e=>e.availability},4211:function(e,t,r){"use strict";r.d(t,{Le:function(){return i},_B:function(){return a},o0:function(){return u}});var n=r(2645),o=r(5695);const i=r.n(o)();function a(e,t){return(0,n.ZP)(e,t,{stripZeros:!0})}function u(e,t){return{include_wordpressdotcom:t.only_wordpressdotcom||!1,include_dotblogsubdomain:!1,only_wordpressdotcom:!1,quantity:5,vendor:"variation2_front",...t,query:e.trim().toLocaleLowerCase()}}},6108:function(e,t,r){"use strict";r.r(t),r.d(t,{setSidebarFullscreen:function(){return i},unsetSidebarFullscreen:function(){return a},setStep:function(){return u},setSiteTitle:function(){return s},setDomain:function(){return l},unsetDomain:function(){return c},confirmDomainSelection:function(){return f},setDomainSearch:function(){return d},setPlanProductId:function(){return p},unsetPlanProductId:function(){return y},updatePlan:function(){return g},openSidebar:function(){return m},closeSidebar:function(){return h},openFocusedLaunch:function(){return v},closeFocusedLaunch:function(){return S},enableAnchorFm:function(){return _},showSiteTitleStep:function(){return b},setModalDismissible:function(){return A},unsetModalDismissible:function(){return E},showModalTitle:function(){return I},hideModalTitle:function(){return C},enablePersistentSuccessView:function(){return P},disablePersistentSuccessView:function(){return O}});var n=r(9818),o=r(9149);const i=()=>({type:"SET_SIDEBAR_FULLSCREEN"}),a=()=>({type:"UNSET_SIDEBAR_FULLSCREEN"}),u=e=>({type:"SET_STEP",step:e}),s=e=>({type:"SET_SITE_TITLE",title:e}),l=e=>({type:"SET_DOMAIN",domain:e}),c=()=>({type:"UNSET_DOMAIN"}),f=()=>({type:"CONFIRM_DOMAIN_SELECTION"}),d=e=>({type:"SET_DOMAIN_SEARCH",domainSearch:e}),p=function*(e){if(!(0,n.select)(o.Fs).isPlanProductFree(e)){const t=(0,n.select)(o.Fs).getPlanProductById(e),r=(null==t?void 0:t.billingPeriod)??"ANNUALLY";yield(e=>({type:"SET_PLAN_BILLING_PERIOD",billingPeriod:e}))(r)}return{type:"SET_PLAN_PRODUCT_ID",planProductId:e}},y=()=>({type:"UNSET_PLAN_PRODUCT_ID"});function g(e){return p(e)}const m=()=>({type:"OPEN_SIDEBAR"}),h=()=>({type:"CLOSE_SIDEBAR"}),v=()=>({type:"OPEN_FOCUSED_LAUNCH"}),S=()=>({type:"CLOSE_FOCUSED_LAUNCH"}),_=()=>({type:"ENABLE_ANCHOR_FM"}),b=()=>({type:"SHOW_SITE_TITLE_STEP"}),A=()=>({type:"SET_MODAL_DISMISSIBLE"}),E=()=>({type:"UNSET_MODAL_DISMISSIBLE"}),I=()=>({type:"SHOW_MODAL_TITLE"}),C=()=>({type:"HIDE_MODAL_TITLE"}),P=()=>({type:"ENABLE_SUCCESS_VIEW"}),O=()=>({type:"DISABLE_SUCCESS_VIEW"})},9149:function(e,t,r){"use strict";r.d(t,{Ls:function(){return n},Fs:function(){return o}});const n="automattic/launch",o="automattic/onboard/plans"},3610:function(e,t,r){"use strict";r.d(t,{y:function(){return n},M:function(){return o}});const n={Name:"name",Domain:"domain",Plan:"plan",Final:"final"},o=[n.Name,n.Domain,n.Plan,n.Final]},1635:function(e,t,r){"use strict";r.d(t,{z:function(){return f}});var n=r(9818),o=r(3418),i=r(6108),a=r(9149),u=r(594),s=r(4648),l=r(7092);(0,n.use)(n.plugins.persistence,u.Z);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.Ls,{actions:i,controls:o.controls,reducer:s.Z,selectors:l,persist:["domain","domainSearch","planProductId","planBillingPeriod","confirmedDomainSelection","isAnchorFm","isSiteTitleStepVisible","siteTitle"]})),a.Ls}},594:function(e,t,r){"use strict";var n=r(492);t.Z=(0,n.Z)("WP_LAUNCH")},4648:function(e,t,r){"use strict";var n=r(9818),o=r(3610);const i=(0,n.combineReducers)({step:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.y.Name,t=arguments.length>1?arguments[1]:void 0;return"SET_STEP"===t.type?t.step:e},siteTitle:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;return"SET_SITE_TITLE"===t.type?t.title:e},domain:(e,t)=>"SET_DOMAIN"===t.type?t.domain:"UNSET_DOMAIN"!==t.type?e:void 0,confirmedDomainSelection:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"CONFIRM_DOMAIN_SELECTION"===t.type||e},domainSearch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return"SET_DOMAIN_SEARCH"===t.type?t.domainSearch:e},planBillingPeriod:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ANNUALLY",t=arguments.length>1?arguments[1]:void 0;return"SET_PLAN_BILLING_PERIOD"===t.type?t.billingPeriod:e},planProductId:(e,t)=>"SET_PLAN_PRODUCT_ID"===t.type?t.planProductId:"UNSET_PLAN_PRODUCT_ID"!==t.type?e:void 0,isSidebarOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"OPEN_SIDEBAR"===t.type||"CLOSE_SIDEBAR"!==t.type&&e},isSidebarFullscreen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_SIDEBAR_FULLSCREEN"===t.type||"UNSET_SIDEBAR_FULLSCREEN"!==t.type&&e},isAnchorFm:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"ENABLE_ANCHOR_FM"===t.type||e},isFocusedLaunchOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"OPEN_FOCUSED_LAUNCH"===t.type||"CLOSE_FOCUSED_LAUNCH"!==t.type&&e},isSiteTitleStepVisible:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SHOW_SITE_TITLE_STEP"===t.type||e},isModalDismissible:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_MODAL_DISMISSIBLE"===t.type||"UNSET_MODAL_DISMISSIBLE"!==t.type&&e},isModalTitleVisible:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SHOW_MODAL_TITLE"===t.type||"HIDE_MODAL_TITLE"!==t.type&&e}});t.Z=i},7092:function(e,t,r){"use strict";r.r(t),r.d(t,{getLaunchSequence:function(){return a},getLaunchStep:function(){return u},getState:function(){return s},hasPaidDomain:function(){return l},getSelectedDomain:function(){return c},getSelectedPlanProductId:function(){return f},getLastPlanBillingPeriod:function(){return d},isSelectedPlanPaid:function(){return p},hasSelectedDomainOrSubdomain:function(){return y},isStepCompleted:function(){return g},isFlowCompleted:function(){return m},isFlowStarted:function(){return h},getFirstIncompleteStep:function(){return v},getSiteTitle:function(){return S},getCurrentStep:function(){return _},getDomainSearch:function(){return b}});var n=r(9818),o=r(9149),i=r(3610);const a=()=>i.M,u=()=>i.y,s=e=>e,l=e=>!!e.domain&&!e.domain.is_free,c=e=>e.domain,f=e=>e.planProductId,d=e=>e.planBillingPeriod,p=e=>void 0!==e.planProductId&&!(0,n.select)(o.Fs).isPlanProductFree(e.planProductId),y=e=>!!c(e)||e.confirmedDomainSelection,g=(e,t)=>{if(t===i.y.Plan)return!!f(e);if(t===i.y.Name){const e=(0,n.select)("core").getEntityRecord("root","site",void 0);return!(null==e||!e.title)}return t===i.y.Domain&&(0,n.select)(o.Ls).hasSelectedDomainOrSubdomain()},m=e=>i.M.slice(0,i.M.length-1).every((t=>g(e,t))),h=e=>i.M.some((t=>g(e,t))),v=e=>i.M.find((t=>!g(e,t))),S=e=>null==e?void 0:e.siteTitle,_=e=>e.step,b=e=>e.domainSearch},492:function(e,t,r){"use strict";function n(e){const t=e,r=e+"_TS",n={},o={getItem:e=>n.hasOwnProperty(e)?n[e]:null,setItem(e,t){n[e]=String(t)},removeItem(e){delete n[e]}},i=(()=>{try{return window.localStorage.setItem("WP_ONBOARD_TEST","1"),window.localStorage.removeItem("WP_ONBOARD_TEST"),!0}catch(e){return!1}})()?window.localStorage:o;return{storageKey:t,storage:{getItem(e){const n=i.getItem(r);return n&&(e=>{const t=Number(e);return Boolean(t)&&t+6048e5>Date.now()})(n)&&!new URLSearchParams(window.location.search).has("fresh")?i.getItem(e):(i.removeItem(t),i.removeItem(r),null)},setItem(e,t){i.setItem(r,JSON.stringify(Date.now())),i.setItem(e,t)}}}}r.d(t,{Z:function(){return n}})},9068:function(e,t,r){"use strict";r.r(t),r.d(t,{setFeatures:function(){return n},setFeaturesByType:function(){return o},setPlans:function(){return i},setPlanProducts:function(){return a},resetPlan:function(){return u}});const n=(e,t)=>({type:"SET_FEATURES",features:e,locale:t}),o=(e,t)=>({type:"SET_FEATURES_BY_TYPE",featuresByType:e,locale:t}),i=(e,t)=>({type:"SET_PLANS",plans:e,locale:t}),a=e=>({type:"SET_PLAN_PRODUCTS",products:e}),u=()=>({type:"RESET_PLAN"})},4703:function(e,t,r){"use strict";r.d(t,{Ls:function(){return n},Ho:function(){return o},TO:function(){return i},YS:function(){return a},Gz:function(){return u},hx:function(){return s},iL:function(){return l},B6:function(){return c},xT:function(){return f},AX:function(){return d},bS:function(){return p},UB:function(){return y},BV:function(){return g},nN:function(){return m}});const n="automattic/onboard/plans",o=1,i="free",a="personal",u="premium",s="business",l="ecommerce",c=[i,a,u,s,l],f=c,d=u,p=["personal-bundle","value_bundle","business-bundle","ecommerce-bundle"],y=["personal-bundle-monthly","value_bundle_monthly","business-bundle-monthly","ecommerce-bundle-monthly"],g=["free_plan",...p,...y],m=["custom-domain","support-live","priority-support"]},9734:function(e,t,r){"use strict";r.r(t),r.d(t,{plansSlugs:function(){return a.B6},plansProductSlugs:function(){return a.BV},TIMELESS_PLAN_FREE:function(){return a.TO},TIMELESS_PLAN_PERSONAL:function(){return a.YS},TIMELESS_PLAN_PREMIUM:function(){return a.Gz},TIMELESS_PLAN_BUSINESS:function(){return a.hx},TIMELESS_PLAN_ECOMMERCE:function(){return a.iL},FREE_PLAN_PRODUCT_ID:function(){return a.Ho},register:function(){return f}});var n=r(9818),o=r(3661),i=r(9068),a=r(4703),u=r(9438),s=r(5261),l=r(7738);let c=!1;function f(){return c||(c=!0,(0,n.registerStore)(a.Ls,{resolvers:s,actions:i,controls:o.ai,reducer:u.ZP,selectors:l})),a.Ls}},9438:function(e,t,r){"use strict";var n=r(9818);const o=(0,n.combineReducers)({features:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_FEATURES"===t.type?{...e,[t.locale]:t.features}:e},featuresByType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_FEATURES_BY_TYPE"===t.type?{...e,[t.locale]:t.featuresByType}:e},planProducts:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"SET_PLAN_PRODUCTS"===t.type?t.products:e},plans:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_PLANS"===t.type?{...e,[t.locale]:t.plans}:e}});t.ZP=o},5261:function(e,t,r){"use strict";r.r(t),r.d(t,{getSupportedPlans:function(){return y}});var n=r(2645),o=r(9126),i=r(3661),a=r(9068),u=r(4703);function s(e){return(0,n.ZP)(12*e.raw_price,e.currency_code,{stripZeros:!0})}function l(e){return(0,n.ZP)(e.raw_price,e.currency_code,{stripZeros:!0})}function c(e){return e.reduce(((e,t)=>(e[t.id]={id:t.id,name:t.name,description:t.description,type:"checkbox",requiresAnnuallyBilledPlan:u.nN.indexOf(t.id)>-1},e)),{})}function f(e,t){const r=Object.keys(t).find((r=>t[r].name===e));return!!r&&t[r].requiresAnnuallyBilledPlan}function d(e,t){const r=e.highlighted_features.map((e=>({name:e,requiresAnnuallyBilledPlan:f(e,t)})));return r.sort(((e,t)=>Number(t.requiresAnnuallyBilledPlan)-Number(e.requiresAnnuallyBilledPlan))),r}function p(e,t){const r=u.BV.reduce(((r,o)=>{const i=e.find((e=>e.product_slug===o));if(!i)return r;const a=t.find((e=>e.productIds.indexOf(i.product_id)>-1));var u;return r.push({productId:i.product_id,billingPeriod:31===i.bill_period?"MONTHLY":"ANNUALLY",periodAgnosticSlug:a.periodAgnosticSlug,storeSlug:i.product_slug,rawPrice:i.raw_price,pathSlug:i.path_slug,price:31===(null==i?void 0:i.bill_period)||0===i.raw_price?l(i):(u=i,(0,n.ZP)(u.raw_price/12,u.currency_code,{stripZeros:!0})),annualPrice:31===(null==i?void 0:i.bill_period)?s(i):l(i)}),r}),[]);return function(e){for(let t=0;t<u.bS.length;t++){const r=e.find((e=>e.storeSlug===u.bS[t])),n=e.find((e=>e.storeSlug===u.UB[t]));if(r&&n){const e=12*n.rawPrice,t=r.rawPrice,o=Math.round(100*(1-t/e));r.annualDiscount=o,n.annualDiscount=o}}}(r),r}function*y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";const t=yield(0,i._9)({path:"/plans",query:(0,o.stringify)({locale:e}),apiVersion:"1.5"}),{body:r}=yield(0,i.An)(`https://public-api.wordpress.com/wpcom/v2/plans/details?locale=${encodeURIComponent(e)}`,{mode:"cors",credentials:"omit"}),n=c(r.features),s=r.plans.map((e=>{var t;const r=null===(t=e.nonlocalized_short_name)||void 0===t?void 0:t.toLowerCase();return{description:e.tagline,features:d(e,n),storage:e.storage,title:e.short_name,featuresSlugs:e.features.reduce(((e,t)=>(e[t]=!0,e)),{}),isFree:r===u.TO,isPopular:r===u.Gz,periodAgnosticSlug:r,productIds:e.products.map((e=>{let{plan_id:t}=e;return t}))}})),l=p(t,s);yield(0,a.setPlans)(s,e),yield(0,a.setPlanProducts)(l),yield(0,a.setFeatures)(n,e),yield(0,a.setFeaturesByType)(r.features_by_type,e)}},7738:function(e,t,r){"use strict";r.r(t),r.d(t,{getFeatures:function(){return u},getFeaturesByType:function(){return s},getPlanByProductId:function(){return l},getPlanProductById:function(){return c},getPlanByPeriodAgnosticSlug:function(){return f},getDefaultPaidPlan:function(){return d},getDefaultFreePlan:function(){return p},getSupportedPlans:function(){return y},getPlansProducts:function(){return g},getPrices:function(){return m},getPlanByPath:function(){return h},getPlanProduct:function(){return v},isPlanEcommerce:function(){return S},isPlanFree:function(){return _},isPlanProductFree:function(){return b}});var n=r(9818),o=r(7180),i=r.n(o),a=r(4703);const u=(e,t)=>e.features[t]??{},s=(e,t)=>e.featuresByType[t]??[],l=(e,t,r)=>{if(t)return(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.productIds.indexOf(t)>-1))},c=(e,t)=>{if(t)return(0,n.select)(a.Ls).getPlansProducts().find((e=>e.productId===t))},f=(e,t,r)=>{if(t)return(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.periodAgnosticSlug===t))},d=(e,t)=>(0,n.select)(a.Ls).getSupportedPlans(t).find((e=>e.periodAgnosticSlug===a.AX)),p=(e,t)=>(0,n.select)(a.Ls).getSupportedPlans(t).find((e=>e.periodAgnosticSlug===a.TO)),y=(e,t)=>e.plans[t]??[],g=e=>e.planProducts,m=(e,t)=>(i()("getPrices",{alternative:"getPlanProduct().price"}),(0,n.select)(a.Ls).getPlansProducts().reduce(((e,t)=>(e[t.storeSlug]=t.price,e)),{})),h=(e,t,r)=>{if(!t)return;const o=(0,n.select)(a.Ls).getPlansProducts().find((e=>e.pathSlug===t));return o?(0,n.select)(a.Ls).getSupportedPlans(r).find((e=>e.periodAgnosticSlug===o.periodAgnosticSlug)):void 0},v=(e,t,r)=>{if(t&&r)return(0,n.select)(a.Ls).getPlansProducts().find((e=>{const n=e.periodAgnosticSlug===t,o=t===a.TO||e.billingPeriod===r;return n&&o}))},S=(e,t)=>t===a.iL,_=(e,t)=>t===a.TO,b=(e,t)=>t===a.Ho},8459:function(e,t,r){"use strict";r.d(t,{d:function(){return i}});var n=r(3661),o=r(9639);function i(e){const t=()=>({type:"FETCH_NEW_SITE"}),r=e=>({type:"RECEIVE_NEW_SITE",response:e}),i=e=>({type:"RECEIVE_NEW_SITE_FAILED",error:e});const a=(e,t)=>({type:"RECEIVE_SITE_TITLE",siteId:e,name:t}),u=(e,t)=>({type:"RECEIVE_SITE_TAGLINE",siteId:e,tagline:t}),s=(e,t)=>({type:"RECEIVE_SITE_VERTICAL_ID",siteId:e,verticalId:t}),l=e=>({type:"LAUNCH_SITE_START",siteId:e}),c=e=>({type:"LAUNCH_SITE_SUCCESS",siteId:e}),f=(e,t)=>({type:"LAUNCH_SITE_FAILURE",siteId:e,error:t});const d=(e,t)=>({type:"UPDATE_SITE_SETTINGS",siteId:e,settings:t});const p=(e,t)=>({type:"RECEIVE_SITE_GLOBAL_STYLES",siteId:e,globalStyles:t});function*y(e,t){try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/settings`,apiVersion:"1.4",body:t,method:"POST"}),"blogname"in t&&(yield a(e,t.blogname)),"blogdescription"in t&&(yield u(e,t.blogdescription)),"site_vertical_id"in t&&(yield s(e,t.site_vertical_id)),yield d(e,t)}catch(r){}}const g=(e,t)=>({type:"ATOMIC_TRANSFER_START",siteId:e,softwareSet:t}),m=(e,t)=>({type:"ATOMIC_TRANSFER_SUCCESS",siteId:e,softwareSet:t}),h=(e,t,r)=>({type:"ATOMIC_TRANSFER_FAILURE",siteId:e,softwareSet:t,error:r});const v=e=>({type:"LATEST_ATOMIC_TRANSFER_START",siteId:e}),S=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_SUCCESS",siteId:e,transfer:t}),_=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_FAILURE",siteId:e,error:t});const b=(e,t)=>({type:"ATOMIC_SOFTWARE_STATUS_START",siteId:e,softwareSet:t}),A=(e,t,r)=>({type:"ATOMIC_SOFTWARE_STATUS_SUCCESS",siteId:e,softwareSet:t,status:r}),E=(e,t,r)=>({type:"ATOMIC_SOFTWARE_STATUS_FAILURE",siteId:e,softwareSet:t,error:r});const I=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_START",siteId:e,softwareSet:t}),C=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_SUCCESS",siteId:e,softwareSet:t}),P=(e,t,r)=>({type:"ATOMIC_SOFTWARE_INSTALL_FAILURE",siteId:e,softwareSet:t,error:r});return{receiveSiteDomains:(e,t)=>({type:"RECEIVE_SITE_DOMAINS",siteId:e,domains:t}),receiveSiteSettings:(e,t)=>({type:"RECEIVE_SITE_SETTINGS",siteId:e,settings:t}),saveSiteTitle:function*(e,t){yield y(e,{blogname:t})},saveSiteSettings:y,setIntentOnSite:function*(e,t){try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2",body:{site_intent:t},method:"POST"})}catch(r){}},setGoalsOnSite:function*(e,t){try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/site-goals`,apiNamespace:"wpcom/v2",body:{site_goals:t},method:"POST"})}catch(r){}},receiveSiteTitle:a,fetchNewSite:t,fetchSite:()=>({type:"FETCH_SITE"}),receiveNewSite:r,receiveNewSiteFailed:i,resetNewSiteFailed:()=>({type:"RESET_RECEIVE_NEW_SITE_FAILED"}),setThemeOnSite:function*(e,t){yield(0,n._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:t,dont_change_homepage:!0},method:"POST"})},setDesignOnSite:function*(e,t,r){var o;const{theme:i,recipe:a}=t;yield(0,n._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:(null==a||null===(o=a.stylesheet)||void 0===o?void 0:o.split("/")[1])||i,dont_change_homepage:!0},method:"POST"}),["hannah","gilbert","riley"].indexOf(t.template)<0&&(yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/theme-setup`,apiNamespace:"wpcom/v2",body:{trim_content:!0,vertical_id:r||void 0,pattern_ids:null==a?void 0:a.pattern_ids,header_pattern_ids:(null==a?void 0:a.header_pattern_ids)||[],footer_pattern_ids:(null==a?void 0:a.footer_pattern_ids)||[]},method:"POST"}));const u=yield(0,n._9)({path:`/sites/${e}/block-editor`,apiNamespace:"wpcom/v2",method:"GET"});return(null==u?void 0:u.is_fse_active)??!1},createSite:function*(t){yield{type:"FETCH_NEW_SITE"};try{const{authToken:o,...i}=t,a={...{client_id:e.client_id,client_secret:e.client_secret,find_available_url:!0,public:-1},...i,validate:!1},u=yield(0,n._9)({path:"/sites/new",apiVersion:"1.1",method:"post",body:a,token:o});return yield r(u),!0}catch(o){return yield i(o),!1}},receiveSite:(e,t)=>({type:"RECEIVE_SITE",siteId:e,response:t}),receiveSiteFailed:(e,t)=>({type:"RECEIVE_SITE_FAILED",siteId:e,response:t}),receiveSiteTagline:u,receiveSiteVerticalId:s,updateSiteSettings:d,saveSiteTagline:function*(e,t){yield y(e,{blogdescription:t})},reset:()=>({type:"RESET_SITE_STORE"}),launchSite:function*(e){yield l(e);try{yield(0,n._9)({path:`/sites/${e}/launch`,apiVersion:"1.1",method:"post"}),yield c(e)}catch(t){yield f(e,o.Hc.INTERNAL)}},launchSiteStart:l,launchSiteSuccess:c,launchSiteFailure:f,getCart:function*(e){return yield(0,n._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"GET"})},setCart:function*(e,t){return yield(0,n._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"POST",body:t})},getGlobalStyles:function*(e,t){const r=yield(0,n._9)({path:`/sites/${e}/global-styles/themes/${t}`,apiNamespace:"wp/v2"});return yield p(e,r),r},receiveSiteGlobalStyles:p,setSiteSetupError:(e,t)=>({type:"SET_SITE_SETUP_ERROR",error:e,message:t}),clearSiteSetupError:e=>({type:"CLEAR_SITE_SETUP_ERROR",siteId:e}),initiateAtomicTransfer:function*(e,t){yield g(e,t);try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers`,apiNamespace:"wpcom/v2",method:"POST",...t?{body:{software_set:encodeURIComponent(t)}}:{}}),yield m(e,t)}catch(r){yield h(e,t,o.Hf.INTERNAL)}},atomicTransferStart:g,atomicTransferSuccess:m,atomicTransferFailure:h,latestAtomicTransferStart:v,latestAtomicTransferSuccess:S,latestAtomicTransferFailure:_,requestLatestAtomicTransfer:function*(e){yield v(e);try{const t=yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers/latest`,apiNamespace:"wpcom/v2",method:"GET"});yield S(e,t)}catch(t){yield _(e,t)}},atomicSoftwareStatusStart:b,atomicSoftwareStatusSuccess:A,atomicSoftwareStatusFailure:E,requestAtomicSoftwareStatus:function*(e,t){yield b(e,t);try{const r=yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"GET"});yield A(e,t,r)}catch(r){yield E(e,t,r)}},initiateSoftwareInstall:function*(e,t){yield I(e,t);try{yield(0,n._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"POST",body:{}}),yield C(e,t)}catch(r){yield P(e,t,r)}},atomicSoftwareInstallStart:I,atomicSoftwareInstallSuccess:C,atomicSoftwareInstallFailure:P}}},2005:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});const n="automattic/site"},2369:function(e,t,r){"use strict";r.d(t,{z2:function(){return f}});var n=r(9818),o=r(3661),i=r(8459),a=r(2005),u=r(2701),s=r(7862),l=r(4309);let c=!1;function f(e){return c||(c=!0,(0,n.registerStore)(a.L,{actions:(0,i.d)(e),controls:o.ai,reducer:u.ZP,resolvers:s,selectors:l})),a.L}},2701:function(e,t,r){"use strict";var n=r(9818),o=r(9639);const i=(0,n.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_SITE"===t.type){const{response:e}=t;return e.blog_details}if("RECEIVE_NEW_SITE_FAILED"!==t.type&&"RESET_SITE_STORE"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_SITE":case"RECEIVE_NEW_SITE":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return;case"RECEIVE_NEW_SITE_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_SITE":return!0;case"RECEIVE_NEW_SITE":case"RECEIVE_NEW_SITE_FAILED":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return!1}return e}}),a=(0,n.combineReducers)({isFetchingSiteDetails:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_SITE":return!0;case"RECEIVE_SITE":case"RECEIVE_SITE_FAILED":return!1}return e},newSite:i,fetchingSiteError:(e,t)=>"RECEIVE_SITE_FAILED"===t.type?{error:t.response.error,message:t.response.message}:e,sites:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECEIVE_SITE"===t.type)return t.response?{...e,[t.response.ID]:t.response}:e;if("RECEIVE_SITE_FAILED"===t.type){const{[t.siteId]:r,...n}=e;return{...n}}return"RESET_SITE_STORE"===t.type?{}:"RECEIVE_SITE_TITLE"===t.type?{...e,[t.siteId]:{...e[t.siteId],name:t.name}}:"RECEIVE_SITE_TAGLINE"===t.type?{...e,[t.siteId]:{...e[t.siteId],description:t.tagline??""}}:"RECEIVE_SITE_VERTICAL_ID"===t.type?{...e,[t.siteId]:{...e[t.siteId],options:{...null===(r=e[t.siteId])||void 0===r?void 0:r.options,site_vertical_id:t.verticalId}}}:e;var r},launchStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LAUNCH_SITE_START"===t.type?{...e,[t.siteId]:{status:o.uS.IN_PROGRESS,errorCode:void 0}}:"LAUNCH_SITE_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.uS.SUCCESS,errorCode:void 0}}:"LAUNCH_SITE_FAILURE"===t.type?{...e,[t.siteId]:{status:o.uS.FAILURE,errorCode:t.error}}:e},sitesDomains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_DOMAINS"===t.type?{...e,[t.siteId]:t.domains}:e},sitesSettings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:t.settings}:"UPDATE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.settings}}:e},sitesGlobalStyles:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_GLOBAL_STYLES"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.globalStyles}}:e},siteSetupErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_SITE_SETUP_ERROR"===t.type){const{error:e,message:r}=t;return{error:e,message:r}}return"CLEAR_SITE_SETUP_ERROR"===t.type?{}:e},atomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.bc.IN_PROGRESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.bc.SUCCESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.bc.FAILURE,softwareSet:t.softwareSet,errorCode:t.error}}:e},latestAtomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LATEST_ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.O.IN_PROGRESS,transfer:void 0,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.O.SUCCESS,transfer:t.transfer,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.O.FAILURE,transfer:void 0,errorCode:t.error}}:e},atomicSoftwareStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_STATUS_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:t.status,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:t.error}}}:e},atomicSoftwareInstallStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_INSTALL_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.IN_PROGRESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.SUCCESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.FAILURE,error:t.error}}}:e}});t.ZP=a},7862:function(e,t,r){"use strict";r.r(t),r.d(t,{getSite:function(){return o},getSiteDomains:function(){return i},getSiteSettings:function(){return a}});var n=r(8552);const o=e=>async t=>{let{dispatch:r}=t;r.fetchSite();try{const t=await(0,n.ZP)({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"});r.receiveSite(e,t)}catch(o){r.receiveSiteFailed(e,o)}},i=e=>async t=>{let{dispatch:r}=t;const o=await(0,n.ZP)({path:"/sites/"+encodeURIComponent(e)+"/domains",apiVersion:"1.2"});r.receiveSiteDomains(e,null==o?void 0:o.domains)},a=e=>async t=>{let{dispatch:r}=t;const o=await(0,n.ZP)({path:"/sites/"+encodeURIComponent(e)+"/settings",apiVersion:"1.4"});r.receiveSiteSettings(e,null==o?void 0:o.settings)}},4309:function(e,t,r){"use strict";r.r(t),r.d(t,{getState:function(){return a},getNewSite:function(){return u},getNewSiteError:function(){return s},isFetchingSite:function(){return l},getFetchingSiteError:function(){return c},isFetchingSiteDetails:function(){return f},isNewSite:function(){return d},getSite:function(){return p},getSiteIdBySlug:function(){return y},getSiteTitle:function(){return g},getSiteVerticalId:function(){return m},isSiteLaunched:function(){return h},isSiteLaunching:function(){return v},isSiteAtomic:function(){return S},isSiteWPForTeams:function(){return _},getSiteDomains:function(){return b},getSiteSettings:function(){return A},getSiteGlobalStyles:function(){return E},getSiteSetupError:function(){return I},getSiteOptions:function(){return C},getSiteOption:function(){return P},getPrimarySiteDomain:function(){return O},getSiteSubdomain:function(){return T},getSiteLatestAtomicTransfer:function(){return w},getSiteLatestAtomicTransferError:function(){return M},getAtomicSoftwareStatus:function(){return R},getAtomicSoftwareError:function(){return L},getAtomicSoftwareInstallError:function(){return $},siteHasFeature:function(){return F},requiresUpgrade:function(){return x},isJetpackSite:function(){return N},isEligibleForProPlan:function(){return D}});var n=r(9818),o=r(2005),i=r(9639);const a=e=>e,u=e=>e.newSite.data,s=e=>e.newSite.error,l=e=>e.newSite.isFetching,c=e=>e.fetchingSiteError,f=e=>e.isFetchingSiteDetails,d=e=>!!e.newSite.data,p=(e,t)=>e.sites[t]||Object.values(e.sites).find((e=>e&&new URL(e.URL).host===t)),y=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.ID},g=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.name},m=(e,t)=>{var r,i;return null===(r=(0,n.select)(o.L).getSite(t))||void 0===r||null===(i=r.options)||void 0===i?void 0:i.site_vertical_id},h=(e,t)=>{var r;return(null===(r=e.launchStatus[t])||void 0===r?void 0:r.status)===i.uS.SUCCESS},v=(e,t)=>{var r;return(null===(r=e.launchStatus[t])||void 0===r?void 0:r.status)===i.uS.IN_PROGRESS},S=(e,t)=>{var r,i;return!0===(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r||null===(i=r.options)||void 0===i?void 0:i.is_wpcom_atomic)},_=(e,t)=>{var r,i;return!0===(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r||null===(i=r.options)||void 0===i?void 0:i.is_wpforteams_site)},b=(e,t)=>e.sitesDomains[t],A=(e,t)=>e.sitesSettings[t],E=(e,t)=>e.sitesGlobalStyles[t],I=e=>e.siteSetupErrors,C=(e,t)=>{var r;return null===(r=e.sites[t])||void 0===r?void 0:r.options},P=(e,t,r)=>{var n,o;return null===(n=e.sites[t])||void 0===n||null===(o=n.options)||void 0===o?void 0:o[r]},O=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSiteDomains(t))||void 0===r?void 0:r.find((e=>e.primary_domain))},T=(e,t)=>{var r;return null===(r=(0,n.select)(o.L).getSiteDomains(t))||void 0===r?void 0:r.find((e=>e.is_subdomain))},w=(e,t)=>{var r;return null===(r=e.latestAtomicTransferStatus[t])||void 0===r?void 0:r.transfer},M=(e,t)=>{var r;return null===(r=e.latestAtomicTransferStatus[t])||void 0===r?void 0:r.errorCode},R=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.status},L=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.error},$=(e,t,r)=>{var n,o;return null===(n=e.atomicSoftwareInstallStatus[t])||void 0===n||null===(o=n[r])||void 0===o?void 0:o.error},F=(e,t,r)=>{var i,a;return Boolean(t&&(null===(i=(0,n.select)(o.L).getSite(t))||void 0===i||null===(a=i.plan)||void 0===a?void 0:a.features.active.includes(r)))},x=(e,t)=>t&&!(0,n.select)(o.L).siteHasFeature(t,"woop");function N(e,t){var r;return Boolean(t&&(null===(r=(0,n.select)(o.L).getSite(t))||void 0===r?void 0:r.jetpack))}function D(e,t){return!!t&&!(N(0,t)&&!S(e,t)||_(e,t))}},9639:function(e,t,r){"use strict";let n,o,i,a,u,s,l;r.d(t,{Hc:function(){return o},uS:function(){return i},bc:function(){return a},Hf:function(){return u},O:function(){return s},sw:function(){return l}}),function(e){e[e.PublicIndexed=1]="PublicIndexed",e[e.PublicNotIndexed=0]="PublicNotIndexed",e[e.Private=-1]="Private"}(n||(n={})),function(e){e.INTERNAL="internal"}(o||(o={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(i||(i={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(a||(a={})),function(e){e.INTERNAL="internal"}(u||(u={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(s||(s={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(l||(l={}))},4366:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});const n="automattic/wpcom-features"},2613:function(e,t,r){"use strict";r.d(t,{$:function(){return s}});var n=r(9734);const{TIMELESS_PLAN_PERSONAL:o,TIMELESS_PLAN_PREMIUM:i,TIMELESS_PLAN_BUSINESS:a,TIMELESS_PLAN_ECOMMERCE:u}=n,s={domain:{id:"domain",minSupportedPlan:o},store:{id:"store",minSupportedPlan:u},seo:{id:"seo",minSupportedPlan:a},plugins:{id:"plugins",minSupportedPlan:a},"ad-free":{id:"ad-free",minSupportedPlan:o},"image-storage":{id:"image-storage",minSupportedPlan:i},"video-storage":{id:"video-storage",minSupportedPlan:i},support:{id:"support",minSupportedPlan:a}}},182:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var n=r(9818),o=r(3418),i=r(4366),a=r(8638),u=r(335);let s=!1;function l(){return s||(s=!0,(0,n.registerStore)(i.L,{controls:o.controls,reducer:a.Z,selectors:u})),i.L}},8638:function(e,t,r){"use strict";var n=r(2613);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.$;return e}},335:function(e,t,r){"use strict";r.r(t),r.d(t,{getAllFeatures:function(){return o},getRecommendedPlanSlug:function(){return i}});var n=r(4703);const o=e=>e,i=(e,t)=>{const r=o(e);if(t.length)return t.reduce(((e,t)=>{const o=r[t].minSupportedPlan;return n.xT.indexOf(o)>n.xT.indexOf(e)?o:e}),r[t[0]].minSupportedPlan)}},3661:function(e,t,r){"use strict";r.d(t,{_9:function(){return o},An:function(){return i},ai:function(){return a}});var n=r(8552);const o=e=>({type:"WPCOM_REQUEST",request:e}),i=(e,t)=>({type:"FETCH_AND_PARSE",resource:e,options:t}),a={WPCOM_REQUEST:e=>{let{request:t}=e;return(0,n.ZP)(t)},FETCH_AND_PARSE:async e=>{let{resource:t,options:r}=e;const n=await window.fetch(t,r);return{ok:n.ok,body:await n.json()}},RELOAD_PROXY:()=>{(0,n.sS)()},REQUEST_ALL_BLOGS_ACCESS:()=>(0,n.Vw)(),WAIT:e=>{let{ms:t}=e;return new Promise((e=>setTimeout(e,t)))}}},7066:function(e,t,r){"use strict";r.d(t,{X:function(){return o}});const n={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function o(e){return n[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},2645:function(e,t,r){"use strict";r.d(t,{ZP:function(){return i}});var n=r(7066),o=r(51);function i(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=(0,n.X)(t);if(!i||isNaN(e))return null;const{decimal:u,grouping:s,precision:l,symbol:c}={...i,...r},f=e<0?"-":"";let d=(0,o.Z)(Math.abs(e),l,u,s);return r.stripZeros&&(d=a(d,u)),`${f}${c}${d}`}function a(e,t){const r=new RegExp(`\\${t}0+$`);return e.replace(r,"")}},51:function(e,t,r){"use strict";
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/*
|
3 |
* Exposes number format capability
|
4 |
*
|
14 |
* @license See CREDITS.md
|
15 |
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
16 |
*/
|
17 |
+
function(e,t){const r=Math.pow(10,t);return""+(Math.round(e*r)/r).toFixed(t)}(o,i):""+Math.round(o)).split("."),s[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(s[1]||"").length<i&&(s[1]=s[1]||"",s[1]+=new Array(i-s[1].length+1).join("0")),s.join(u)}r.d(t,{Z:function(){return n}})},2594:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(9196),o=r(1310);function i(e,t){let r,o,a=[];for(let n=0;n<e.length;n++){const i=e[n];if("string"!==i.type){if(void 0===t[i.value])throw new Error(`Invalid interpolation, missing component node: \`${i.value}\``);if("object"!=typeof t[i.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${i.value}\``);if("componentClose"===i.type)throw new Error(`Missing opening component token: \`${i.value}\``);if("componentOpen"===i.type){r=t[i.value],o=n;break}a.push(t[i.value])}else a.push(i.value)}if(r){const u=function(e,t){const r=t[e];let n=0;for(let o=e+1;o<t.length;o++){const e=t[o];if(e.value===r.value){if("componentOpen"===e.type){n++;continue}if("componentClose"===e.type){if(0===n)return o;n--}}}throw new Error("Missing closing component token `"+r.value+"`")}(o,e),s=i(e.slice(o+1,u),t),l=(0,n.cloneElement)(r,{},s);if(a.push(l),u<e.length-1){const r=i(e.slice(u+1),t);a=a.concat(r)}}return a=a.filter(Boolean),0===a.length?null:1===a.length?a[0]:(0,n.createElement)(n.Fragment,null,...a)}function a(e){const{mixedString:t,components:r,throwErrors:n}=e;if(!r)return t;if("object"!=typeof r){if(n)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const a=(0,o.Z)(t);try{return i(a,r)}catch(u){if(n)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${u.message}\``);return t}}},1310:function(e,t,r){"use strict";function n(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function o(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(n)}r.d(t,{Z:function(){return o}})},8552:function(e,t,r){"use strict";r.d(t,{Vw:function(){return E},sS:function(){return T}});var n=r(8049),o=r.n(n),i=r(8650),a=r.n(i),u=r(8767),s=r(2884),l=r.n(s);const c=o()("wpcom-proxy-request"),f="https://public-api.wordpress.com",d=window.location.protocol+"//"+window.location.host;let p=null;const y=(()=>{let e=!1;try{window.postMessage({toString:function(){e=!0}},"*")}catch(t){}return e})(),g=(()=>{try{return new window.File(["a"],"test.jpg",{type:"image/jpeg"}),!0}catch(e){return!1}})();let m,h=null,v=!1;const S={},_=!!window.ProgressEvent&&!!window.FormData;c('using "origin": %o',d);const b=(e,t)=>{const r=Object.assign({},e);c("request(%o)",r),h||O();const n=(0,u.Z)();r.callback=n,r.supports_args=!0,r.supports_error_obj=!0,r.supports_progress=_,r.method=String(r.method||"GET").toUpperCase(),c("params object: %o",r);const o=new window.XMLHttpRequest;if(o.params=r,S[n]=o,"function"==typeof t){let e=!1;const r=r=>{if(e)return;e=!0;const n=r.response||o.response;c("body: ",n),c("headers: ",r.headers),t(null,n,r.headers)},n=r=>{if(e)return;e=!0;const n=r.error||r.err||r;c("error: ",n),c("headers: ",r.headers),t(n,null,r.headers)};o.addEventListener("load",r),o.addEventListener("abort",n),o.addEventListener("error",n)}return"function"==typeof r.onStreamRecord&&(p=r.onStreamRecord,delete r.onStreamRecord),v?I(r):(c("buffering API request since proxying <iframe> is not yet loaded"),m.push(r)),o},A=(e,t)=>"function"==typeof t?b(e,t):new Promise(((t,r)=>{b(e,((e,n)=>{e?r(e):t(n)}))}));function E(){return A({metaAPI:{accessAllUsersBlogs:!0}})}function I(e){c("sending API request to proxy <iframe> %o",e),e.formData&&function(e){if(!window.chrome||!g)return;for(let t=0;t<e.length;t++){const r=P(e[t][1]);r&&(e[t][1]=new window.File([r],r.name,{type:r.type}))}}(e.formData),h.contentWindow.postMessage(y?JSON.stringify(e):e,f)}function C(e){return e&&"[object File]"===Object.prototype.toString.call(e)}function P(e){return C(e)?e:"object"==typeof e&&C(e.fileContents)?e.fileContents:null}function O(){c("install()"),h&&(c("uninstall()"),window.removeEventListener("message",w),document.body.removeChild(h),v=!1,h=null),m=[],window.addEventListener("message",w),h=document.createElement("iframe"),h.src=f+"/wp-admin/rest-proxy/?v=2.0#"+d,h.style.display="none",document.body.appendChild(h)}const T=()=>{O()};function w(e){if(c("onmessage"),e.origin!==f)return void c("ignoring message... %o !== %o",e.origin,f);if(e.source!==h.contentWindow)return void c("ignoring message... iframe elements do not match");let{data:t}=e;if(!t)return c("no `data`, bailing");if("ready"===t)return void function(){if(c('proxy <iframe> "load" event'),v=!0,m){for(let e=0;e<m.length;e++)I(m[e]);m=null}}();if(y&&"string"==typeof t&&(t=JSON.parse(t)),t.upload||t.download)return function(e){c('got "progress" event: %o',e);const t=S[e.callbackId];if(t){const r=new(a())("progress",e);(e.upload?t.upload:t).dispatchEvent(r)}}(t);if(!t.length)return c("`e.data` doesn't appear to be an Array, bailing...");const r=t[t.length-1];if(!(r in S))return c("bailing, no matching request with callback: %o",r);const n=S[r],{params:o}=n,i=t[0];let u=t[1];const s=t[2];var d;if(207===u||delete S[r],o.metaAPI?u="metaAPIupdated"===i?200:500:c("got %o status code for URL: %o",u,o.path),"object"==typeof s&&(s.status=u,d=s["Content-Type"],/^application[/]x-ndjson($|;)/.test(d)&&207===u))p(i);else if(u&&2===Math.floor(u/100))!function(e,t,r){const n=new(a())("load");n.data=n.body=n.response=t,n.headers=r,e.dispatchEvent(n)}(n,i,s);else{!function(e,t,r){const n=new(a())("error");n.error=n.err=t,n.headers=r,e.dispatchEvent(n)}(n,l()(o,u,i),s)}}t.ZP=A},8049:function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(r){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(r){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(2632)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},2632:function(e,t,r){e.exports=function(e){function t(e){let r,o,i,a=null;function u(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if(!u.enabled)return;const i=u,a=Number(new Date),s=a-(r||a);i.diff=s,i.prev=r,i.curr=a,r=a,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");let l=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,((e,r)=>{if("%%"===e)return"%";l++;const o=t.formatters[r];if("function"==typeof o){const t=n[l];e=o.call(i,t),n.splice(l,1),l--}return e})),t.formatArgs.call(i,n);const c=i.log||t.log;c.apply(i,n)}return u.namespace=e,u.useColors=t.useColors(),u.color=t.selectColor(e),u.extend=n,u.destroy=t.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(u),u}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(5881),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},3830:function(e,t,r){"use strict";var n=r(956);e.exports=function(){var e=n.apply(n,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},956:function(e){"use strict";e.exports=function(){var e=[].map.call(arguments,(function(e){return e.trim()})).filter((function(e){return e.length})).join("-");return e.length?1!==e.length&&/[_.\- ]+/.test(e)?e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})):e[0]===e[0].toLowerCase()&&e.slice(1)!==e.slice(1).toLowerCase()?e:e.toLowerCase():""}},2686:function(e,t){"use strict";t.Z=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},5302:function(e,t,r){"use strict";var n;r.d(t,{Z:function(){return i}});var o=new Uint8Array(16);function i(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(o)}},708:function(e,t,r){"use strict";for(var n=r(6525),o=[],i=0;i<256;++i)o.push((i+256).toString(16).substr(1));t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,n.Z)(r))throw TypeError("Stringified UUID is invalid");return r}},8767:function(e,t,r){"use strict";var n=r(5302),o=r(708);t.Z=function(e,t,r){var i=(e=e||{}).random||(e.rng||n.Z)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=i[a];return t}return(0,o.Z)(i)}},6525:function(e,t,r){"use strict";var n=r(2686);t.Z=function(e){return"string"==typeof e&&n.Z.test(e)}},6468:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=Ge(r(7499)),i=Ge(r(6840)),a=Ge(r(7155)),u=Ge(r(8676)),s=Ge(r(7133)),l=Ge(r(4228)),c=Ge(r(401)),f=Ge(r(4525)),d=Ge(r(4922)),p=Ge(r(5504)),y=Ge(r(7962)),g=Ge(r(5482)),m=Ge(r(8139)),h=Ge(r(7869)),v=Ge(r(5982)),S=Ge(r(4452)),_=ke(r(7780)),b=ke(r(7014)),A=Ge(r(3024)),E=Ge(r(2249)),I=Ge(r(7616)),C=Ge(r(8816)),P=Ge(r(1776)),O=Ge(r(1893)),T=Ge(r(5670)),w=Ge(r(749)),M=Ge(r(8408)),R=Ge(r(8831)),L=Ge(r(3639)),$=Ge(r(2868)),F=Ge(r(8868)),x=Ge(r(4503)),N=ke(r(3612)),D=Ge(r(8250)),j=Ge(r(9985)),U=Ge(r(6590)),Z=Ge(r(102)),B=Ge(r(6941)),k=Ge(r(8270)),G=Ge(r(841)),H=Ge(r(6557)),W=Ge(r(7937)),V=Ge(r(2740)),Y=Ge(r(6362)),K=Ge(r(9749)),z=Ge(r(1624)),q=Ge(r(5067)),J=Ge(r(1964)),X=Ge(r(6500)),Q=Ge(r(2775)),ee=Ge(r(6368)),te=Ge(r(4246)),re=Ge(r(6623)),ne=Ge(r(5442)),oe=Ge(r(2093)),ie=Ge(r(4235)),ae=Ge(r(2250)),ue=Ge(r(9653)),se=Ge(r(2390)),le=Ge(r(6328)),ce=Ge(r(2985)),fe=Ge(r(6693)),de=ke(r(5119)),pe=Ge(r(3821)),ye=Ge(r(7610)),ge=Ge(r(8369)),me=Ge(r(8932)),he=Ge(r(593)),ve=Ge(r(928)),Se=Ge(r(2038)),_e=Ge(r(6533)),be=Ge(r(4039)),Ae=Ge(r(438)),Ee=Ge(r(8305)),Ie=Ge(r(2896)),Ce=Ge(r(7620)),Pe=Ge(r(2863)),Oe=ke(r(2456)),Te=Ge(r(5904)),we=Ge(r(1733)),Me=Ge(r(3465)),Re=Ge(r(7879)),Le=Ge(r(3991)),$e=Ge(r(4559)),Fe=Ge(r(7224)),xe=Ge(r(7902)),Ne=Ge(r(9293)),De=Ge(r(3517)),je=Ge(r(4189)),Ue=Ge(r(2487)),Ze=Ge(r(1809));function Be(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Be=function(){return e},e}function ke(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=Be();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ge(e){return e&&e.__esModule?e:{default:e}}var He={version:"13.5.2",toDate:o.default,toFloat:i.default,toInt:a.default,toBoolean:u.default,equals:s.default,contains:l.default,matches:c.default,isEmail:f.default,isURL:d.default,isMACAddress:p.default,isIP:y.default,isIPRange:g.default,isFQDN:m.default,isBoolean:v.default,isIBAN:W.default,isBIC:V.default,isAlpha:_.default,isAlphaLocales:_.locales,isAlphanumeric:b.default,isAlphanumericLocales:b.locales,isNumeric:A.default,isPassportNumber:E.default,isPort:I.default,isLowercase:C.default,isUppercase:P.default,isAscii:T.default,isFullWidth:w.default,isHalfWidth:M.default,isVariableWidth:R.default,isMultibyte:L.default,isSemVer:$.default,isSurrogatePair:F.default,isInt:x.default,isIMEI:O.default,isFloat:N.default,isFloatLocales:N.locales,isDecimal:D.default,isHexadecimal:j.default,isOctal:U.default,isDivisibleBy:Z.default,isHexColor:B.default,isRgbColor:k.default,isHSL:G.default,isISRC:H.default,isMD5:Y.default,isHash:K.default,isJWT:z.default,isJSON:q.default,isEmpty:J.default,isLength:X.default,isLocale:S.default,isByteLength:Q.default,isUUID:ee.default,isMongoId:te.default,isAfter:re.default,isBefore:ne.default,isIn:oe.default,isCreditCard:ie.default,isIdentityCard:ae.default,isEAN:ue.default,isISIN:se.default,isISBN:le.default,isISSN:ce.default,isMobilePhone:de.default,isMobilePhoneLocales:de.locales,isPostalCode:Oe.default,isPostalCodeLocales:Oe.locales,isEthereumAddress:pe.default,isCurrency:ye.default,isBtcAddress:ge.default,isISO8601:me.default,isRFC3339:he.default,isISO31661Alpha2:ve.default,isISO31661Alpha3:Se.default,isBase32:_e.default,isBase58:be.default,isBase64:Ae.default,isDataURI:Ee.default,isMagnetURI:Ie.default,isMimeType:Ce.default,isLatLong:Pe.default,ltrim:Te.default,rtrim:we.default,trim:Me.default,escape:Re.default,unescape:Le.default,stripLow:$e.default,whitelist:Fe.default,blacklist:xe.default,isWhitelisted:Ne.default,normalizeEmail:De.default,toString:toString,isSlug:je.default,isStrongPassword:Ue.default,isTaxID:fe.default,isDate:h.default,isVAT:Ze.default};t.default=He,e.exports=t.default,e.exports.default=t.default},5475:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.farsiLocales=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var r={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i};t.alpha=r;var n={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i};t.alphanumeric=n;var o={"en-US":".",ar:"٫"};t.decimal=o;var i=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=i;for(var a,u=0;u<i.length;u++)r[a="en-".concat(i[u])]=r["en-US"],n[a]=n["en-US"],o[a]=o["en-US"];var s=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];t.arabicLocales=s;for(var l,c=0;c<s.length;c++)r[l="ar-".concat(s[c])]=r.ar,n[l]=n.ar,o[l]=o.ar;var f=["IR","AF"];t.farsiLocales=f;for(var d,p=0;p<f.length;p++)n[d="fa-".concat(f[p])]=n.fa,o[d]=o.ar;var y=["ar-EG","ar-LB","ar-LY"];t.dotDecimal=y;var g=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"];t.commaDecimal=g;for(var m=0;m<y.length;m++)o[y[m]]=o["en-US"];for(var h=0;h<g.length;h++)o[g[h]]=",";r["fr-CA"]=r["fr-FR"],n["fr-CA"]=n["fr-FR"],r["pt-BR"]=r["pt-PT"],n["pt-BR"]=n["pt-PT"],o["pt-BR"]=o["pt-PT"],r["pl-Pl"]=r["pl-PL"],n["pl-Pl"]=n["pl-PL"],o["pl-Pl"]=o["pl-PL"],r["fa-AF"]=r.fa},7902:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},4228:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return(0,n.default)(e),(r=(0,i.default)(r,u)).ignoreCase?e.toLowerCase().indexOf((0,o.default)(t).toLowerCase())>=0:e.indexOf((0,o.default)(t))>=0};var n=a(r(7359)),o=a(r(1589)),i=a(r(1778));function a(e){return e&&e.__esModule?e:{default:e}}var u={ignoreCase:!1};e.exports=t.default,e.exports.default=t.default},7133:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e===t};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},7879:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},6623:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&r&&i>r)};var n=i(r(7359)),o=i(r(7499));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},7780:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.default)(e);var n=e,a=r.ignore;if(a)if(a instanceof RegExp)n=n.replace(a,"");else{if("string"!=typeof a)throw new Error("ignore should be instance of a String or RegExp");n=n.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in i.alpha)return i.alpha[t].test(n);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.alpha);t.locales=a},7014:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,o.default)(e),t in i.alphanumeric)return i.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.alphanumeric);t.locales=a},5670:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[\x00-\x7F]+$/;e.exports=t.default,e.exports.default=t.default},2740:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-z]{4}[A-z]{2}\w{2}(\w{3})?$/;e.exports=t.default,e.exports.default=t.default},6533:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),e.length%8==0&&i.test(e))return!0;return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z2-7]+=*$/;e.exports=t.default,e.exports.default=t.default},4039:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),i.test(e))return!0;return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-HJ-NP-Za-km-z1-9]*$/;e.exports=t.default,e.exports.default=t.default},438:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),t=(0,o.default)(t,s);var r=e.length;if(t.urlSafe)return u.test(e);if(r%4!=0||a.test(e))return!1;var i=e.indexOf("=");return-1===i||i===r-1||i===r-2&&"="===e[r-1]};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a=/[^A-Z0-9+\/=]/i,u=/^[A-Z0-9_\-]*$/i,s={urlSafe:!1};e.exports=t.default,e.exports.default=t.default},5442:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&r&&i<r)};var n=i(r(7359)),o=i(r(7499));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},5982:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),["true","false","1","0"].indexOf(e)>=0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},8369:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$/;e.exports=t.default,e.exports.default=t.default},2775:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,o.default)(e),"object"===i(t)?(r=t.min||0,n=t.max):(r=arguments[1],n=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=r&&(void 0===n||a<=n)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};function i(e){return i="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},i(e)}e.exports=t.default,e.exports.default=t.default},4235:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.replace(/[- ]+/g,"");if(!i.test(t))return!1;for(var r,n,a,u=0,s=t.length-1;s>=0;s--)r=t.substring(s,s+1),n=parseInt(r,10),u+=a&&(n*=2)>=10?n%10+1:n,a=!a;return!(u%10!=0||!t)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;e.exports=t.default,e.exports.default=t.default},7610:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,r){0!==r&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var r="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),n="-?",o="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),i="(".concat(["0","[1-9]\\d*",o].join("|"),")?"),a="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),u=i+(e.allow_decimal||e.require_decimal?a:"");e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?u+=n:e.negative_sign_before_digits&&(u=n+u));e.allow_negative_sign_placeholder?u="( (?!\\-))?".concat(u):e.allow_space_after_symbol?u=" ?".concat(u):e.allow_space_after_digits&&(u+="( (?!$))?");e.symbol_after_digits?u+=r:u=r+u;e.allow_negatives&&(e.parens_for_negatives?u="(\\(".concat(u,"\\)|").concat(u,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(u=n+u));return new RegExp("^(?!-? )(?=.*\\d)".concat(u,"$"))}(t=(0,n.default)(t,a)).test(e)};var n=i(r(1778)),o=i(r(7359));function i(e){return e&&e.__esModule?e:{default:e}}var a={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default,e.exports.default=t.default},8305:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),n=r.shift();if("data:"!==n.substr(0,5))return!1;var s=n.substr(5);if(""!==s&&!i.test(s))return!1;for(var l=0;l<r.length;l++)if(l===r.length-1&&"base64"===r[l].toLowerCase());else if(!a.test(r[l]))return!1;for(var c=0;c<t.length;c++)if(!u.test(t[c]))return!1;return!0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[a-z]+\/[a-z0-9\-\+]+$/i,a=/^[a-z\-]+=[a-z0-9\-]+$/i,u=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default,e.exports.default=t.default},7869:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t="string"==typeof t?(0,o.default)({format:t},u):(0,o.default)(t,u);if("string"==typeof e&&(m=t.format,/(^(y{4}|y{2})[\/-](m{1,2})[\/-](d{1,2})$)|(^(m{1,2})[\/-](d{1,2})[\/-]((y{4}|y{2})$))|(^(d{1,2})[\/-](m{1,2})[\/-]((y{4}|y{2})$))/gi.test(m))){var r,n=t.delimiters.find((function(e){return-1!==t.format.indexOf(e)})),a=t.strictMode?n:t.delimiters.find((function(t){return-1!==e.indexOf(t)})),s=function(e,t){for(var r=[],n=Math.min(e.length,t.length),o=0;o<n;o++)r.push([e[o],t[o]]);return r}(e.split(a),t.format.toLowerCase().split(n)),l={},c=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}(s);try{for(c.s();!(r=c.n()).done;){var f=(y=r.value,g=2,function(e){if(Array.isArray(e))return e}(y)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],_n=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);_n=!0);}catch(u){n=!0,o=u}finally{try{_n||null==a.return||a.return()}finally{if(n)throw o}}return r}(y,g)||i(y,g)||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.")}()),d=f[0],p=f[1];if(d.length!==p.length)return!1;l[p.charAt(0)]=d}}catch(h){c.e(h)}finally{c.f()}return new Date("".concat(l.m,"/").concat(l.d,"/").concat(l.y)).getDate()===+l.d}var y,g;var m;if(!t.strictMode)return"[object Date]"===Object.prototype.toString.call(e)&&isFinite(e);return!1};var n,o=(n=r(1778))&&n.__esModule?n:{default:n};function i(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};e.exports=t.default,e.exports.default=t.default},8250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),(t=(0,n.default)(t,s)).locale in a.decimal)return!(0,i.default)(l,e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"))}(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))};var n=u(r(1778)),o=u(r(7359)),i=u(r(2900)),a=r(5475);function u(e){return e&&e.__esModule?e:{default:e}}var s={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},l=["","-","+"];e.exports=t.default,e.exports.default=t.default},102:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(0,o.default)(e)%parseInt(t,10)==0};var n=i(r(7359)),o=i(r(6840));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},9653:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=Number(e.slice(-1));return i.test(e)&&t===(r=e,n=10-r.slice(0,-1).split("").map((function(e,t){return Number(e)*function(e,t){return 8===e?t%2==0?3:1:t%2==0?1:3}(r.length,t)})).reduce((function(e,t){return e+t}),0)%10,n<10?n:0);var r,n};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(\d{8}|\d{13})$/;e.exports=t.default,e.exports.default=t.default},4525:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,o.default)(t,c)).require_display_name||t.allow_display_name){var r=e.match(f);if(r){var s,h=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],_n=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);_n=!0);}catch(u){n=!0,o=u}finally{try{_n||null==a.return||a.return()}finally{if(n)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(r,3);if(s=h[1],e=h[2],s.endsWith(" ")&&(s=s.substr(0,s.length-1)),!function(e){var t=e.match(/^"(.+)"$/i),r=t?t[1]:e;if(!r.trim())return!1;if(/[\.";<>]/.test(r)){if(!t)return!1;if(!(r.split('"').length===r.split('\\"').length))return!1}return!0}(s))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var v=e.split("@"),S=v.pop(),_=v.join("@"),b=S.toLowerCase();if(t.domain_specific_validation&&("gmail.com"===b||"googlemail.com"===b)){var A=(_=_.toLowerCase()).split("+")[0];if(!(0,i.default)(A.replace(".",""),{min:6,max:30}))return!1;for(var E=A.split("."),I=0;I<E.length;I++)if(!p.test(E[I]))return!1}if(!(!1!==t.ignore_max_length||(0,i.default)(_,{max:64})&&(0,i.default)(S,{max:254})))return!1;if(!(0,a.default)(S,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,u.default)(S)){if(!S.startsWith("[")||!S.endsWith("]"))return!1;var C=S.substr(1,S.length-2);if(0===C.length||!(0,u.default)(C))return!1}}if('"'===_[0])return _=_.slice(1,_.length-1),t.allow_utf8_local_part?m.test(_):y.test(_);for(var P=t.allow_utf8_local_part?g:d,O=_.split("."),T=0;T<O.length;T++)if(!P.test(O[T]))return!1;if(t.blacklisted_chars&&-1!==_.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var n=s(r(7359)),o=s(r(1778)),i=s(r(2775)),a=s(r(8139)),u=s(r(7962));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1},f=/^([^\x00-\x1F\x7F-\x9F\cX]+)<(.+)>$/i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,p=/^[a-z\d]+$/,y=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,m=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default,e.exports.default=t.default},1964:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),0===((t=(0,o.default)(t,a)).ignore_whitespace?e.trim().length:e.length)};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a={ignore_whitespace:!1};e.exports=t.default,e.exports.default=t.default},3821:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0x)[0-9a-f]{40}$/i;e.exports=t.default,e.exports.default=t.default},8139:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),(t=(0,o.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));var r=e.split("."),i=r[r.length-1];if(t.require_tld){if(r.length<2)return!1;if(!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20\u00A9\uFFFD]/.test(i))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(i))return!1;return r.every((function(e){return!(e.length>63)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1};e.exports=t.default,e.exports.default=t.default},3612:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?i.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var n=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||n>=t.min)&&(!t.hasOwnProperty("max")||n<=t.max)&&(!t.hasOwnProperty("lt")||n<t.lt)&&(!t.hasOwnProperty("gt")||n>t.gt)},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=Object.keys(i.decimal);t.locales=a},749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.fullWidth=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.fullWidth=i},841:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)||a.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(hsl)a?\(\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn|\s*)(\s*,\s*(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s*(,\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s*)?\)$/i,a=/^(hsl)a?\(\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn|\s)(\s*(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s*(\/\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s*)?\)$/i;e.exports=t.default,e.exports.default=t.default},8408:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.halfWidth=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.halfWidth=i},9749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),new RegExp("^[a-fA-F0-9]{".concat(i[t],"}$")).test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default,e.exports.default=t.default},6941:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;e.exports=t.default,e.exports.default=t.default},9985:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0x|0h)?[0-9A-F]+$/i;e.exports=t.default,e.exports.default=t.default},7937:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),function(e){var t=e.replace(/[\s\-]+/gi,"").toUpperCase(),r=t.slice(0,2).toUpperCase();return r in i&&i[r].test(t)}(e)&&function(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase();return 1===(t.slice(4)+t.slice(0,4)).replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})).match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"")}(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A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]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};e.exports=t.default,e.exports.default=t.default},1893:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=i;(t=t||{}).allow_hyphens&&(r=a);if(!r.test(e))return!1;e=e.replace(/-/g,"");for(var n=0,u=2,s=0;s<14;s++){var l=e.substring(14-s-1,14-s),c=parseInt(l,10)*u;n+=c>=10?c%10+1:c,1===u?u+=1:u-=1}if((10-n%10)%10!==parseInt(e.substring(14,15),10))return!1;return!0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[0-9]{15}$/,a=/^\d{2}-\d{6}-\d{6}-\d{1}$/;e.exports=t.default,e.exports.default=t.default},7962:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(r=String(r)))return e(t,4)||e(t,6);if("4"===r){if(!i.test(t))return!1;var n=t.split(".").sort((function(e,t){return e-t}));return n[3]<=255}if("6"===r){var u=[t];if(t.includes("%")){if(2!==(u=t.split("%")).length)return!1;if(!u[0].includes(":"))return!1;if(""===u[1])return!1}var s=u[0].split(":"),l=!1,c=e(s[s.length-1],4),f=c?7:8;if(s.length>f)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(s.shift(),s.shift(),l=!0):"::"===t.substr(t.length-2)&&(s.pop(),s.pop(),l=!0);for(var d=0;d<s.length;++d)if(""===s[d]&&d>0&&d<s.length-1){if(l)return!1;l=!0}else if(c&&d===s.length-1);else if(!a.test(s[d]))return!1;return l?s.length>=1:s.length===f}return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,a=/^[0-9A-F]{1,4}$/i;e.exports=t.default,e.exports.default=t.default},5482:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.split("/");if(2!==t.length)return!1;if(!a.test(t[1]))return!1;if(t[1].length>1&&t[1].startsWith("0"))return!1;return(0,o.default)(t[0],4)&&t[1]<=32&&t[1]>=0};var n=i(r(7359)),o=i(r(7962));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\d{1,2}$/;e.exports=t.default,e.exports.default=t.default},6328:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(r=String(r)))return e(t,10)||e(t,13);var n,s=t.replace(/[\s-]+/g,""),l=0;if("10"===r){if(!i.test(s))return!1;for(n=0;n<9;n++)l+=(n+1)*s.charAt(n);if("X"===s.charAt(9)?l+=100:l+=10*s.charAt(9),l%11==0)return!!s}else if("13"===r){if(!a.test(s))return!1;for(n=0;n<12;n++)l+=u[n%2]*s.charAt(n);if(s.charAt(12)-(10-l%10)%10==0)return!!s}return!1};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:[0-9]{9}X|[0-9]{10})$/,a=/^(?:[0-9]{13})$/,u=[1,3];e.exports=t.default,e.exports.default=t.default},2390:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!i.test(e))return!1;for(var t,r,n=e.replace(/[A-Z]/g,(function(e){return parseInt(e,36)})),a=0,u=!0,s=n.length-2;s>=0;s--)t=n.substring(s,s+1),r=parseInt(t,10),a+=u&&(r*=2)>=10?r+1:r,u=!u;return parseInt(e.substr(e.length-1),10)===(1e4-a)%10};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default,e.exports.default=t.default},928:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(a,e.toUpperCase())};var n=i(r(7359)),o=i(r(2900));function i(e){return e&&e.__esModule?e:{default:e}}var a=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default,e.exports.default=t.default},2038:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(a,e.toUpperCase())};var n=i(r(7359)),o=i(r(2900));function i(e){return e&&e.__esModule?e:{default:e}}var a=["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"];e.exports=t.default,e.exports.default=t.default},8932:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=t.strictSeparator?a.test(e):i.test(e);return r&&t.strict?u(e):r};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,u=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var r=Number(t[1]),n=Number(t[2]);return r%4==0&&r%100!=0||r%400==0?n<=366:n<=365}var o=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),i=o[1],a=o[2],u=o[3],s=a?"0".concat(a).slice(-2):a,l=u?"0".concat(u).slice(-2):u,c=new Date("".concat(i,"-").concat(s||"01","-").concat(l||"01"));return!a||!u||c.getUTCFullYear()===i&&c.getUTCMonth()+1===a&&c.getUTCDate()===u};e.exports=t.default,e.exports.default=t.default},6557:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default,e.exports.default=t.default},2985:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=i;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;for(var n=e.replace("-","").toUpperCase(),a=0,u=0;u<n.length;u++){var s=n[u];a+=("X"===s?10:+s)*(8-u)}return a%11==0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default,e.exports.default=t.default},2250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in i)return i[t](e);if("any"===t){for(var r in i){if(i.hasOwnProperty(r))if((0,i[r])(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={ES:function(e){(0,o.default)(e);var t={X:0,Y:1,Z:2},r=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(r))return!1;var n=r.slice(0,-1).replace(/[X,Y,Z]/g,(function(e){return t[e]}));return r.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][n%23])},IN:function(e){var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],r=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],n=e.trim();if(!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(n))return!1;var o=0;return n.replace(/\s/g,"").split("").map(Number).reverse().forEach((function(e,n){o=t[o][r[n%8][e]]})),0===o},IT:function(e){return 9===e.length&&("CA00000AA"!==e&&e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1)},NO:function(e){var t=e.trim();if(isNaN(Number(t)))return!1;if(11!==t.length)return!1;if("00000000000"===t)return!1;var r=t.split("").map(Number),n=(11-(3*r[0]+7*r[1]+6*r[2]+1*r[3]+8*r[4]+9*r[5]+4*r[6]+5*r[7]+2*r[8])%11)%11,o=(11-(5*r[0]+4*r[1]+3*r[2]+2*r[3]+7*r[4]+6*r[5]+5*r[6]+4*r[7]+3*r[8]+2*n)%11)%11;return n===r[9]&&o===r[10]},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var r,n=t,o=0,i=0;i<n.length;i++)o+=(r=Number(n[i])*(i%2+1))>9?r-9:r;return o%10==0},"ar-TN":function(e){var t=e.trim();return!!/^\d{8}$/.test(t)},"zh-CN":function(e){var t,r=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],n=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],o=["1","0","X","9","8","7","6","5","4","3","2"],i=function(e){return r.includes(e)},a=function(e){var t=parseInt(e.substring(0,4),10),r=parseInt(e.substring(4,6),10),n=parseInt(e.substring(6),10),o=new Date(t,r-1,n);return!(o>new Date)&&(o.getFullYear()===t&&o.getMonth()===r-1&&o.getDate()===n)},u=function(e){return function(e){for(var t=e.substring(0,17),r=0,i=0;i<17;i++)r+=parseInt(t.charAt(i),10)*parseInt(n[i],10);return o[r%11]}(e)===e.charAt(17).toUpperCase()};return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(t=e)&&(15===t.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=i(r)))return!1;var n="19".concat(e.substring(6,12));return!!(t=a(n))}(t):function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=i(r)))return!1;var n=e.substring(6,14);return!!(t=a(n))&&u(e)}(t))},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},r=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(r)&&Array.from(r).reduce((function(e,r,n){if(0===n){var o=t[r];return o%10*9+Math.floor(o/10)}return 9===n?(10-e%10-Number(r))%10==0:e+Number(r)*(9-n)}),0)}};e.exports=t.default,e.exports.default=t.default},2093:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r;if((0,n.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var i=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(i[r]=(0,o.default)(t[r]));return i.indexOf(e)>=0}if("object"===a(t))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var n=i(r(7359)),o=i(r(1589));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}e.exports=t.default,e.exports.default=t.default},4503:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:a,n=!t.hasOwnProperty("min")||e>=t.min,u=!t.hasOwnProperty("max")||e<=t.max,s=!t.hasOwnProperty("lt")||e<t.lt,l=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&u&&s&&l};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;e.exports=t.default,e.exports.default=t.default},5067:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);try{t=(0,o.default)(t,u);var r=[];t.allow_primitives&&(r=[null,!1,!0]);var i=JSON.parse(e);return r.includes(i)||!!i&&"object"===a(i)}catch(s){}return!1};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}var u={allow_primitives:!1};e.exports=t.default,e.exports.default=t.default},1624:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.split("."),r=t.length;if(r>3||r<2)return!1;return t.reduce((function(e,t){return e&&(0,o.default)(t,{urlSafe:!0})}),!0)};var n=i(r(7359)),o=i(r(438));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},2863:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),t=(0,o.default)(t,c),!e.includes(","))return!1;var r=e.split(",");if(r[0].startsWith("(")&&!r[1].endsWith(")")||r[1].endsWith(")")&&!r[0].startsWith("("))return!1;if(t.checkDMS)return s.test(r[0])&&l.test(r[1]);return a.test(r[0])&&u.test(r[1])};var n=i(r(7359)),o=i(r(1778));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,u=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,s=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,l=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,c={checkDMS:!1};e.exports=t.default,e.exports.default=t.default},6500:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,o.default)(e),"object"===i(t)?(r=t.min||0,n=t.max):(r=arguments[1]||0,n=arguments[2]);var a=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],u=e.length-a.length;return u>=r&&(void 0===n||u<=n)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};function i(e){return i="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},i(e)}e.exports=t.default,e.exports.default=t.default},4452:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e)return!0;return i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[A-z]{2,4}([_-]([A-z]{4}|[\d]{3}))?([_-]([A-z]{2}|[\d]{3}))?$/;e.exports=t.default,e.exports.default=t.default},8816:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toLowerCase()};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},5504:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t&&t.no_colons)return a.test(e);return i.test(e)||u.test(e)||s.test(e)||l.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/,a=/^([0-9a-fA-F]){12}$/,u=/^([0-9a-fA-F][0-9a-fA-F]-){5}([0-9a-fA-F][0-9a-fA-F])$/,s=/^([0-9a-fA-F][0-9a-fA-F]\s){5}([0-9a-fA-F][0-9a-fA-F])$/,l=/^([0-9a-fA-F]{4}).([0-9a-fA-F]{4}).([0-9a-fA-F]{4})$/;e.exports=t.default,e.exports.default=t.default},6362:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[a-f0-9]{32}$/;e.exports=t.default,e.exports.default=t.default},2896:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e.trim())};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^magnet:\?xt=urn:[a-z0-9]+:[a-z0-9]{32,40}&dn=.+&tr=.+$/i;e.exports=t.default,e.exports.default=t.default},7620:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)||a.test(e)||u.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,u=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default,e.exports.default=t.default},5119:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if((0,o.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){if(i.hasOwnProperty(t)&&i[t].test(e))return!0;return!1}));if(t in i)return i[t].test(e);if(!t||"any"===t){for(var n in i){if(i.hasOwnProperty(n))if(i[n].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+49)?0?[1|3]([0|5][0-45-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)(7[5-9])\d{1,7}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28)\d{7}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[689]\d{7}$/,"en-SL":/^(?:0|94|\+94)?(7(0|1|2|5|6|7|8)( |-)?\d)\d{6}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?([1-8]{1}|3[0-9]{2})?[2-9]{1}\d{6}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(5|79)\d{7}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[2-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^(\+?84|0)((3([2-9]))|(5([2689]))|(7([0|6-9]))|(8([1-6|89]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?1([3568][0-9]|4[579]|6[67]|7[01235678]|9[012356789])[0-9]{8}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};i["en-CA"]=i["en-US"],i["fr-CA"]=i["en-CA"],i["fr-BE"]=i["nl-BE"],i["zh-HK"]=i["en-HK"],i["zh-MO"]=i["en-MO"],i["ga-IE"]=i["en-IE"];var a=Object.keys(i);t.locales=a},4246:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,o.default)(e)&&24===e.length};var n=i(r(7359)),o=i(r(9985));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},3639:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[^\x00-\x7F]/;e.exports=t.default,e.exports.default=t.default},3024:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t&&t.no_symbols)return a.test(e);return new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?i.decimal[t.locale]:".","])?[0-9]+$")).test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(5475);var a=/^[0-9]+$/;e.exports=t.default,e.exports.default=t.default},6590:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^(0o)?[0-7]+$/i;e.exports=t.default,e.exports.default=t.default},2249:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in i&&i[t].test(r)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^[GE]\d{8}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,MT:/^\d{7}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,PO:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{2}\d{2}\d{6}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};e.exports=t.default,e.exports.default=t.default},7616:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e,{min:0,max:65535})};var n,o=(n=r(4503))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},2456:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in s)return s[t].test(e);if("any"===t){for(var r in s){if(s.hasOwnProperty(r))if(s[r].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^\d{4}$/,a=/^\d{5}$/,u=/^\d{6}$/,s={AD:/^AD\d{3}$/,AT:i,AU:i,AZ:/^AZ\d{4}$/,BE:i,BG:i,BR:/^\d{5}-\d{3}$/,BY:/2[1-4]{1}\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:i,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:a,DK:i,DO:a,DZ:a,EE:a,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:a,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:i,ID:a,IE:/^(?!.*(?:o))[A-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/\b(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}\b/,IS:/^\d{3}$/,IT:a,JP:/^\d{3}\-\d{4}$/,KE:a,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:i,LV:/^LV\-\d{4}$/,MX:a,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:a,NL:/^\d{4}\s?[a-z]{2}$/i,NO:i,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:i,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:u,RU:u,SA:a,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:u,SI:i,SK:/^\d{3}\s?\d{2}$/,TH:a,TN:i,TW:/^\d{3}(\d{2})?$/,UA:a,US:/^\d{5}(-\d{4})?$/,ZA:i,ZM:a},l=Object.keys(s);t.locales=l},593:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),d.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/([01][0-9]|2[0-3])/,a=/[0-5][0-9]/,u=new RegExp("[-+]".concat(i.source,":").concat(a.source)),s=new RegExp("([zZ]|".concat(u.source,")")),l=new RegExp("".concat(i.source,":").concat(a.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),c=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),f=new RegExp("".concat(l.source).concat(s.source)),d=new RegExp("".concat(c.source,"[ tT]").concat(f.source));e.exports=t.default,e.exports.default=t.default},8270:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if((0,o.default)(e),!t)return i.test(e)||a.test(e);return i.test(e)||a.test(e)||u.test(e)||s.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,u=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)/,s=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)/;e.exports=t.default,e.exports.default=t.default},2868:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),i.test(e)};var n=o(r(7359));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,o(r(8041)).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");e.exports=t.default,e.exports.default=t.default},4189:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/^[^\s-_](?!.*?[-_]{2,})([a-z0-9-\\]{1,})[^\s]*[^-_\s]$/;e.exports=t.default,e.exports.default=t.default},2487:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,o.default)(e);var r=f(e);if((t=(0,n.default)(t||{},c)).returnScore)return d(r,t);return r.length>=t.minLength&&r.lowercaseCount>=t.minLowercase&&r.uppercaseCount>=t.minUppercase&&r.numberCount>=t.minNumbers&&r.symbolCount>=t.minSymbols};var n=i(r(1778)),o=i(r(7359));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Z]$/,u=/^[a-z]$/,s=/^[0-9]$/,l=/^[-#!$%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/,c={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};function f(e){var t,r,n=(t=e,r={},Array.from(t).forEach((function(e){r[e]?r[e]+=1:r[e]=1})),r),o={length:e.length,uniqueChars:Object.keys(n).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(n).forEach((function(e){a.test(e)?o.uppercaseCount+=n[e]:u.test(e)?o.lowercaseCount+=n[e]:s.test(e)?o.numberCount+=n[e]:l.test(e)&&(o.symbolCount+=n[e])})),o}function d(e,t){var r=0;return r+=e.uniqueChars*t.pointsPerUnique,r+=(e.length-e.uniqueChars)*t.pointsPerRepeat,e.lowercaseCount>0&&(r+=t.pointsForContainingLower),e.uppercaseCount>0&&(r+=t.pointsForContainingUpper),e.numberCount>0&&(r+=t.pointsForContainingNumber),e.symbolCount>0&&(r+=t.pointsForContainingSymbol),r}e.exports=t.default,e.exports.default=t.default},8868:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default,e.exports.default=t.default},6693:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";(0,o.default)(e);var r=e.slice(0);if(t in p)return t in m&&(r=r.replace(m[t],"")),!!p[t].test(r)&&(!(t in y)||y[t](r));throw new Error("Invalid locale '".concat(t,"'"))};var o=s(r(7359)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(257)),a=s(r(7869));function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function d(e){for(var t=!1,r=!1,n=0;n<3;n++)if(!t&&/[AEIOU]/.test(e[n]))t=!0;else if(!r&&t&&"X"===e[n])r=!0;else if(n>0){if(t&&!r&&!/[AEIOU]/.test(e[n]))return!1;if(r&&!/X/.test(e[n]))return!1}return!0}var p={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/};p["lb-LU"]=p["fr-LU"],p["lt-LT"]=p["et-EE"],p["nl-BE"]=p["fr-BE"];var y={"bg-BG":function(e){var t=e.slice(0,2),r=parseInt(e.slice(2,4),10);r>40?(r-=40,t="20".concat(t)):r>20?(r-=20,t="18".concat(t)):t="19".concat(t),r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var o=e.split("").map((function(e){return parseInt(e,10)})),i=[2,4,8,5,10,9,7,3,6],u=0,s=0;s<i.length;s++)u+=o[s]*i[s];return(u=u%11==10?0:u%11)===o[9]},"cs-CZ":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(0,2),10);if(10===e.length)t=t<54?"20".concat(t):"19".concat(t);else{if("000"===e.slice(6))return!1;if(!(t<54))return!1;t="19".concat(t)}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r=parseInt(e.slice(2,4),10);if(r>50&&(r-=50),r>20){if(parseInt(t,10)<2004)return!1;r-=20}r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!=0){var o=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10===o))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0},"de-AT":function(e){return i.luhnCheck(e)},"de-DE":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=[],n=0;n<t.length-1;n++){r.push("");for(var o=0;o<t.length-1;o++)t[n]===t[o]&&(r[n]+=o)}if(2!==(r=r.filter((function(e){return e.length>1}))).length&&3!==r.length)return!1;if(3===r[0].length){for(var a=r[0].split("").map((function(e){return parseInt(e,10)})),u=0,s=0;s<a.length-1;s++)a[s]+1===a[s+1]&&(u+=1);if(2===u)return!1}return i.iso7064Check(e)},"dk-DK":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(4,6),10);switch(e.slice(6,7)){case"0":case"1":case"2":case"3":t="19".concat(t);break;case"4":case"9":t=t<37?"20".concat(t):"19".concat(t);break;default:if(t<37)t="20".concat(t);else{if(!(t>58))return!1;t="18".concat(t)}}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map((function(e){return parseInt(e,10)})),o=0,i=4,u=0;u<9;u++)o+=n[u]*i,1===(i-=1)&&(i=7);return 1!==(o%=11)&&(0===o?0===n[9]:n[9]===11-o)},"el-CY":function(e){for(var t=e.slice(0,8).split("").map((function(e){return parseInt(e,10)})),r=0,n=1;n<t.length;n+=2)r+=t[n];for(var o=0;o<t.length;o+=2)t[o]<2?r+=1-t[o]:(r+=2*(t[o]-2)+5,t[o]>4&&(r+=2));return String.fromCharCode(r%26+65)===e.charAt(8)},"el-GR":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=0,n=0;n<8;n++)r+=t[n]*Math.pow(2,8-n);return r%11===t[8]},"en-IE":function(e){var t=i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),0===(t%=23)?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)},"en-US":function(e){return-1!==function(){var e=[];for(var t in f)f.hasOwnProperty(t)&&e.push.apply(e,l(f[t]));return e}().indexOf(e.substr(0,2))},"es-ES":function(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&t.length>1){var r=0;switch(t[0]){case"Y":r=1;break;case"Z":r=2}t.splice(0,1,r)}else for(;t.length<9;)t.unshift(0);t=t.join("");var n=parseInt(t.slice(0,8),10)%23;return t[8]===["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][n]},"et-EE":function(e){var t=e.slice(1,3);switch(e.slice(0,1)){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map((function(e){return parseInt(e,10)})),o=0,i=1,u=0;u<10;u++)o+=n[u]*i,10===(i+=1)&&(i=1);if(o%11==10){o=0,i=3;for(var s=0;s<10;s++)o+=n[s]*i,10===(i+=1)&&(i=1);if(o%11==10)return 0===n[10]}return o%11===n[10]},"fi-FI":function(e){var t=e.slice(4,6);switch(e.slice(6,7)){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;var n=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;return n<10?n===parseInt(e.slice(10),10):["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"][n-=10]===e.slice(10)},"fr-BE":function(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,a.default)(t,"YY/MM/DD"))return!1}var r=97-parseInt(e.slice(0,9),10)%97,n=parseInt(e.slice(9,11),10);return r===n||(r=97-parseInt("2".concat(e.slice(0,9)),10)%97)===n},"fr-FR":function(e){return e=e.replace(/\s/g,""),parseInt(e.slice(0,10),10)%511===parseInt(e.slice(10,13),10)},"fr-LU":function(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!!(0,a.default)(t,"YYYY/MM/DD")&&(!!i.luhnCheck(e.slice(0,12))&&i.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12])))},"hr-HR":function(e){return i.iso7064Check(e)},"hu-HU":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=8,n=1;n<9;n++)r+=t[n]*(n+1);return r%11===t[9]},"it-IT":function(e){var t=e.toUpperCase().split("");if(!d(t.slice(0,3)))return!1;if(!d(t.slice(3,6)))return!1;for(var r={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},n=0,o=[6,7,9,10,12,13,14];n<o.length;n++){var i=o[n];t[i]in r&&t.splice(i,1,r[t[i]])}var u={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"}[t[8]],s=parseInt(t[9]+t[10],10);s>40&&(s-=40),s<10&&(s="0".concat(s));var l="".concat(t[6]).concat(t[7],"/").concat(u,"/").concat(s);if(!(0,a.default)(l,"YY/MM/DD"))return!1;for(var c=0,f=1;f<t.length-1;f+=2){var p=parseInt(t[f],10);isNaN(p)&&(p=t[f].charCodeAt(0)-65),c+=p}for(var y={A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23,0:1,1:0},g=0;g<t.length-1;g+=2){var m=0;if(t[g]in y)m=y[t[g]];else{var h=parseInt(t[g],10);m=2*h+1,h>4&&(m+=2)}c+=m}return String.fromCharCode(65+c%26)===t[15]},"lv-LV":function(e){var t=(e=e.replace(/\W/,"")).slice(0,2);if("32"!==t){if("00"!==e.slice(2,4)){var r=e.slice(4,6);switch(e[6]){case"0":r="18".concat(r);break;case"1":r="19".concat(r);break;default:r="20".concat(r)}var n="".concat(r,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,a.default)(n,"YYYY/MM/DD"))return!1}for(var o=1101,i=[1,6,3,7,9,10,5,8,4,2],u=0;u<e.length-1;u++)o-=parseInt(e[u],10)*i[u];return parseInt(e[10],10)===o%11}return!0},"mt-MT":function(e){if(9!==e.length){for(var t=e.toUpperCase().split("");t.length<8;)t.unshift(0);switch(e[7]){case"A":case"P":if(0===parseInt(t[6],10))return!1;break;default:var r=parseInt(t.join("").slice(0,5),10);if(r>32e3)return!1;if(r===parseInt(t.join("").slice(5,7),10))return!1}}return!0},"nl-NL":function(e){return i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11===parseInt(e[8],10)},"pl-PL":function(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],r=0,n=0;n<t.length;n++)r+=parseInt(e[n],10)*t[n];return 10!==(r%=11)&&r===parseInt(e[9],10)}var o=e.slice(0,2),i=parseInt(e.slice(2,4),10);i>80?(o="18".concat(o),i-=80):i>60?(o="22".concat(o),i-=60):i>40?(o="21".concat(o),i-=40):i>20?(o="20".concat(o),i-=20):o="19".concat(o),i<10&&(i="0".concat(i));var u="".concat(o,"/").concat(i,"/").concat(e.slice(4,6));if(!(0,a.default)(u,"YYYY/MM/DD"))return!1;for(var s=0,l=1,c=0;c<e.length-1;c++)s+=parseInt(e[c],10)*l%10,(l+=2)>10?l=1:5===l&&(l+=2);return(s=10-s%10)===parseInt(e[10],10)},"pt-PT":function(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return t>9?0===parseInt(e[8],10):t===parseInt(e[8],10)},"ro-RO":function(e){if("9000"!==e.slice(0,4)){var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===r.length){if(!(0,a.default)(r,"YY/MM/DD"))return!1}else if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map((function(e){return parseInt(e,10)})),o=[2,7,9,1,4,6,3,5,8,2,7,9],i=0,u=0;u<o.length;u++)i+=n[u]*o[u];return i%11==10?1===n[12]:n[12]===i%11}return!0},"sk-SK":function(e){if(9===e.length){if("000"===(e=e.replace(/\W/,"")).slice(6))return!1;var t=parseInt(e.slice(0,2),10);if(t>53)return!1;t=t<10?"190".concat(t):"19".concat(t);var r=parseInt(e.slice(2,4),10);r>50&&(r-=50),r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8)%11;return 10===t?0===parseInt(e[7],10):t===parseInt(e[7],10)},"sv-SE":function(e){var t=e.slice(0);e.length>11&&(t=t.slice(2));var r="",n=t.slice(2,4),o=parseInt(t.slice(4,6),10);if(e.length>11)r=e.slice(0,4);else if(r=e.slice(0,2),11===e.length&&o<60){var u=(new Date).getFullYear().toString(),s=parseInt(u.slice(0,2),10);if(u=parseInt(u,10),"-"===e[6])r=parseInt("".concat(s).concat(r),10)>u?"".concat(s-1).concat(r):"".concat(s).concat(r);else if(r="".concat(s-1).concat(r),u-parseInt(r,10)<100)return!1}o>60&&(o-=60),o<10&&(o="0".concat(o));var l="".concat(r,"/").concat(n,"/").concat(o);if(8===l.length){if(!(0,a.default)(l,"YY/MM/DD"))return!1}else if(!(0,a.default)(l,"YYYY/MM/DD"))return!1;return i.luhnCheck(e.replace(/\W/,""))}};y["lb-LU"]=y["fr-LU"],y["lt-LT"]=y["et-EE"],y["nl-BE"]=y["fr-BE"];var g=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,m={"de-AT":g,"de-DE":/[\/\\]/g,"fr-BE":g};m["nl-BE"]=m["fr-BE"],e.exports=t.default,e.exports.default=t.default},4922:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,a.default)(t,s)).validate_length&&e.length>=2083)return!1;var r,u,f,d,p,y,g,m;if(g=e.split("#"),e=g.shift(),g=e.split("?"),e=g.shift(),(g=e.split("://")).length>1){if(r=g.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;g[0]=e.substr(2)}}if(""===(e=g.join("://")))return!1;if(g=e.split("/"),""===(e=g.shift())&&!t.require_host)return!0;if((g=e.split("@")).length>1){if(t.disallow_auth)return!1;if(-1===(u=g.shift()).indexOf(":")||u.indexOf(":")>=0&&u.split(":").length>2)return!1}d=g.join("@"),y=null,m=null;var h=d.match(l);h?(f="",m=h[1],y=h[2]||null):(g=d.split(":"),f=g.shift(),g.length&&(y=g.join(":")));if(null!==y){if(p=parseInt(y,10),!/^[0-9]+$/.test(y)||p<=0||p>65535)return!1}else if(t.require_port)return!1;if(!((0,i.default)(f)||(0,o.default)(f,t)||m&&(0,i.default)(m,6)))return!1;if(f=f||m,t.host_whitelist&&!c(f,t.host_whitelist))return!1;if(t.host_blacklist&&c(f,t.host_blacklist))return!1;return!0};var n=u(r(7359)),o=u(r(8139)),i=u(r(7962)),a=u(r(1778));function u(e){return e&&e.__esModule?e:{default:e}}var s={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,validate_length:!0},l=/^\[([^\]]+)\](?::([0-9]+))?$/;function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||(o=n,"[object RegExp]"===Object.prototype.toString.call(o)&&n.test(e)))return!0}var o;return!1}e.exports=t.default,e.exports.default=t.default},6368:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";(0,o.default)(e);var r=i[t];return r&&r.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default,e.exports.default=t.default},1776:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toUpperCase()};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},1809:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),(0,o.default)(t),t in i)return i[t].test(e);throw new Error("Invalid country code: '".concat(t,"'"))},t.vatMatchers=void 0;var n,o=(n=r(7359))&&n.__esModule?n:{default:n};var i={GB:/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/};t.vatMatchers=i},8831:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.fullWidth.test(e)&&a.halfWidth.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n},i=r(749),a=r(8408);e.exports=t.default,e.exports.default=t.default},9293:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);for(var r=e.length-1;r>=0;r--)if(-1===t.indexOf(e[r]))return!1;return!0};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},5904:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(r,"")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},401:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){(0,o.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r));return t.test(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},3517:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,o.default)(t,i);var r=e.split("@"),n=r.pop(),f=[r.join("@"),n];if(f[1]=f[1].toLowerCase(),"gmail.com"===f[1]||"googlemail.com"===f[1]){if(t.gmail_remove_subaddress&&(f[0]=f[0].split("+")[0]),t.gmail_remove_dots&&(f[0]=f[0].replace(/\.+/g,c)),!f[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]=t.gmail_convert_googlemaildotcom?"gmail.com":f[1]}else if(a.indexOf(f[1])>=0){if(t.icloud_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(f[0]=f[0].toLowerCase())}else if(u.indexOf(f[1])>=0){if(t.outlookdotcom_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(f[0]=f[0].toLowerCase())}else if(s.indexOf(f[1])>=0){if(t.yahoo_remove_subaddress){var d=f[0].split("-");f[0]=d.length>1?d.slice(0,-1).join("-"):d[0]}if(!f[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(f[0]=f[0].toLowerCase())}else l.indexOf(f[1])>=0?((t.all_lowercase||t.yandex_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]="yandex.ru"):t.all_lowercase&&(f[0]=f[0].toLowerCase());return f.join("@")};var n,o=(n=r(1778))&&n.__esModule?n:{default:n};var i={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},a=["icloud.com","me.com"],u=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],s=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],l=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function c(e){return e.length>1?e:""}e.exports=t.default,e.exports.default=t.default},1733:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var r=t?new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g"):/\s+$/g;return e.replace(r,"")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},4559:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,o.default)(e,r)};var n=i(r(7359)),o=i(r(7902));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},8676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t)return"1"===e||/^true$/i.test(e);return"0"!==e&&!/^false$/i.test(e)&&""!==e};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},7499:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},6840:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e)?parseFloat(e):NaN};var n,o=(n=r(3612))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},7155:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),parseInt(e,t||10)};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},3465:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)((0,o.default)(e,t),t)};var n=i(r(1733)),o=i(r(5904));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},3991:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},257:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iso7064Check=function(e){for(var t=10,r=0;r<e.length-1;r++)t=(parseInt(e[r],10)+t)%10==0?9:(parseInt(e[r],10)+t)%10*2%11;return(t=1===t?0:11-t)===parseInt(e[10],10)},t.luhnCheck=function(e){for(var t=0,r=!1,n=e.length-1;n>=0;n--){if(r){var o=2*parseInt(e[n],10);t+=o>9?o.toString().split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t){return e+t}),0):o}else t+=parseInt(e[n],10);r=!r}return t%10==0},t.reverseMultiplyAndSum=function(e,t){for(var r=0,n=0;n<e.length;n++)r+=e[n]*(t-n);return r},t.verhoeffCheck=function(e){for(var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],r=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],n=e.split("").reverse().join(""),o=0,i=0;i<n.length;i++)o=t[o][r[i%8][parseInt(n[i],10)]];return 0===o}},7359:function(e,t){"use strict";function r(e){return 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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=r(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default},2900:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){return e.some((function(e){return t===e}))};t.default=r,e.exports=t.default,e.exports.default=t.default},1778:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in t)void 0===e[r]&&(e[r]=t[r]);return e},e.exports=t.default,e.exports.default=t.default},8041:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e.join("");return new RegExp(r,t)},e.exports=t.default,e.exports.default=t.default},1589:function(e,t){"use strict";function r(e){return 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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"object"===r(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e="");return String(e)},e.exports=t.default,e.exports.default=t.default},7224:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")};var n,o=(n=r(7359))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},2884:function(e,t,r){var n=r(3830),o=r(6744);function i(e,t){if(t)if("number"==typeof t)a(e,t);else{t.status_code&&a(e,t.status_code),t.error&&(e.name=s(t.error)),t.error_description&&(e.message=t.error_description);var r=t.errors;if(r)i(e,r.length?r[0]:r);for(var n in t)e[n]=t[n];e.status&&(t.method||t.path)&&u(e)}}function a(e,t){e.name=s(o[t]),e.status=e.statusCode=t,u(e)}function u(e){var t=e.status,r=e.method,n=e.path,o=t+" status code",i=r||n;i&&(o+=' for "'),r&&(o+=r),i&&(o+=" "),n&&(o+=n),i&&(o+='"'),e.message=o}function s(e){return n(String(e).replace(/error$/i,""),"error")}e.exports=function e(){for(var t=new Error,r=0;r<arguments.length;r++)i(t,arguments[r]);"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(t,e);return t}},9196:function(e){"use strict";e.exports=window.React},9818:function(e){"use strict";e.exports=window.wp.data},3418:function(e){"use strict";e.exports=window.wp.dataControls},7180:function(e){"use strict";e.exports=window.wp.deprecated},3260:function(){}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){"use strict";r.r(n);r(6274),r(3857),r(561),r(5608),r(9512)}(),window.EditingToolkit=n}();
|
18 |
//# sourceMappingURL=data-stores.min.js.map
|
common/dist/data-stores.min.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"data-stores.min.js","mappings":"4GAsBe,SAASA,EAASC,GAChC,IAAIC,GAAQ,OAASD,GAErB,OAAO,SAAUE,GAChB,OAAO,OAAUD,EAAOC,M,iECrB1B,IAAIC,EAAY,CACf,IAAK,SAAUC,GACd,OAASA,GAEV,IAAK,SAAUA,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,KAAM,SAAUD,EAAGC,GAClB,OAAOD,GAAKC,GAEb,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,KAAM,SAAUD,EAAGC,GAClB,OAAOD,GAAKC,GAEb,KAAM,SAAUD,EAAGC,GAClB,OAAOD,IAAMC,GAEd,KAAM,SAAUD,EAAGC,GAClB,OAAOD,IAAMC,GAEd,KAAM,SAAUD,EAAGC,GAClB,OAAOD,GAAKC,GAEb,KAAM,SAAUD,EAAGC,GAClB,OAAOD,GAAKC,GAEb,KAAM,SAAUD,EAAGC,EAAGC,GACrB,GAAKF,EACJ,MAAMC,EAGP,OAAOC,IAyBM,SAASC,EAAUC,EAASN,GAC1C,IACCO,EAAGC,EAAGC,EAAMC,EAAmBC,EAAMC,EADlCC,EAAQ,GAGZ,IAAMN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AASiC,IAC5EqD,OAAO8D,eAAepJ,EAASiC,EAAK,CAAEoH,YAAY,EAAMC,IAAK6lE,EAAWltE,MCJ3E6sE,EAAoB3pD,EAAI,SAAS3jB,EAAK4jB,GAAQ,OAAO9f,OAAOF,UAAUlH,eAAewC,KAAKc,EAAK4jB,ICC/F0pD,EAAoB/7D,EAAI,SAAS/S,GACX,oBAAXgO,QAA0BA,OAAOsM,aAC1ChV,OAAO8D,eAAepJ,EAASgO,OAAOsM,YAAa,CAAE3c,MAAO,WAE7D2H,OAAO8D,eAAepJ,EAAS,aAAc,CAAErC,OAAO,K","sources":["webpack://EditingToolkit/../../node_modules/@tannin/compile/index.js","webpack://EditingToolkit/../../node_modules/@tannin/evaluate/index.js","webpack://EditingToolkit/../../node_modules/@tannin/plural-forms/index.js","webpack://EditingToolkit/../../node_modules/@tannin/postfix/index.js","webpack://EditingToolkit/../../node_modules/@tannin/sprintf/index.js","webpack://EditingToolkit/../../node_modules/builtin-status-codes/browser.js","webpack://EditingToolkit/../../node_modules/call-bind/callBound.js","webpack://EditingToolkit/../../node_modules/call-bind/index.js","webpack://EditingToolkit/../../node_modules/cookie/index.js","webpack://EditingToolkit/../../node_modules/debug/node_modules/ms/index.js","webpack://EditingToolkit/../../node_modules/events/events.js","webpack://EditingToolkit/../../node_modules/fast-json-stable-stringify/index.js","webpack://EditingToolkit/../../node_modules/function-bind/implementation.js","webpack://EditingToolkit/../../node_modules/function-bind/index.js","webpack://EditingToolkit/../../node_modules/get-intrinsic/index.js","webpack://EditingToolkit/../../node_modules/has-symbols/index.js","webpack://EditingToolkit/../../node_modules/has-symbols/shams.js","webpack://EditingToolkit/../../node_modules/has/src/index.js","webpack://EditingToolkit/../../node_modules/hash.js/lib/hash/common.js","webpack://EditingToolkit/../../node_modules/hash.js/lib/hash/sha/1.js","webpack://EditingToolkit/../../node_modules/hash.js/lib/hash/sha/common.js","webpack://EditingToolkit/../../node_modules/hash.js/lib/hash/utils.js","webpack://EditingToolkit/../../node_modules/inherits/inherits_browser.js","webpack://EditingToolkit/../../node_modules/lru/index.js","webpack://EditingToolkit/../../node_modules/minimalistic-assert/index.js","webpack://EditingToolkit/../../node_modules/object-inspect/index.js","webpack://EditingToolkit/../../node_modules/progress-event/index.js","webpack://EditingToolkit/../../node_modules/qs/lib/formats.js","webpack://EditingToolkit/../../node_modules/qs/lib/index.js","webpack://EditingToolkit/../../node_modules/qs/lib/parse.js","webpack://EditingToolkit/../../node_modules/qs/lib/stringify.js","webpack://EditingToolkit/../../node_modules/qs/lib/utils.js","webpack://EditingToolkit/../../node_modules/side-channel/index.js","webpack://EditingToolkit/../../node_modules/tannin/index.js","webpack://EditingToolkit/./editing-toolkit-plugin/common/data-stores/domain-suggestions.ts","webpack://EditingToolkit/./editing-toolkit-plugin/common/data-stores/launch.ts","webpack://EditingToolkit/./editing-toolkit-plugin/common/data-stores/plans.ts","webpack://EditingToolkit/./editing-toolkit-plugin/common/data-stores/site.ts","webpack://EditingToolkit/./editing-toolkit-plugin/common/data-stores/wpcom-features.ts","webpack://EditingToolkit/../../packages/calypso-config/src/desktop.ts","webpack://EditingToolkit/../../packages/calypso-config/src/index.ts","webpack://EditingToolkit/../../packages/create-calypso-config/src/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/actions.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/constants.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/reducer.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/resolvers.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/selectors.ts","webpack://EditingToolkit/../../packages/data-stores/src/domain-suggestions/utils.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/actions.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/constants.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/data.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/persist.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/reducer.ts","webpack://EditingToolkit/../../packages/data-stores/src/launch/selectors.ts","webpack://EditingToolkit/../../packages/data-stores/src/persistence-config-factory/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/actions.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/constants.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/reducer.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/resolvers.ts","webpack://EditingToolkit/../../packages/data-stores/src/plans/selectors.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/actions.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/constants.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/reducer.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/resolvers.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/selectors.ts","webpack://EditingToolkit/../../packages/data-stores/src/site/types.ts","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-features/constants.tsx","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-features/features-data.tsx","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-features/index.ts","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-features/reducer.ts","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-features/selectors.ts","webpack://EditingToolkit/../../packages/data-stores/src/wpcom-request-controls/index.ts","webpack://EditingToolkit/../../packages/format-currency/src/currencies.ts","webpack://EditingToolkit/../../packages/format-currency/src/index.ts","webpack://EditingToolkit/../../packages/format-currency/src/number-format.ts","webpack://EditingToolkit/../../packages/i18n-calypso/src/default-i18n.js","webpack://EditingToolkit/../../packages/i18n-calypso/src/i18n.js","webpack://EditingToolkit/../../packages/i18n-calypso/src/index.js","webpack://EditingToolkit/../../packages/i18n-calypso/src/number-format.js","webpack://EditingToolkit/../../packages/interpolate-components/src/index.js","webpack://EditingToolkit/../../packages/interpolate-components/src/tokenize.js","webpack://EditingToolkit/../../packages/wpcom-proxy-request/src/index.js","webpack://EditingToolkit/../../node_modules/debug/src/browser.js","webpack://EditingToolkit/../../node_modules/debug/src/common.js","webpack://EditingToolkit/../../node_modules/uppercamelcase/index.js","webpack://EditingToolkit/../../node_modules/uppercamelcase/node_modules/camelcase/index.js","webpack://EditingToolkit/../../node_modules/uuid/dist/esm-browser/regex.js","webpack://EditingToolkit/../../node_modules/uuid/dist/esm-browser/rng.js","webpack://EditingToolkit/../../node_modules/uuid/dist/esm-browser/stringify.js","webpack://EditingToolkit/../../node_modules/uuid/dist/esm-browser/v4.js","webpack://EditingToolkit/../../node_modules/uuid/dist/esm-browser/validate.js","webpack://EditingToolkit/../../node_modules/validator/index.js","webpack://EditingToolkit/../../node_modules/validator/lib/alpha.js","webpack://EditingToolkit/../../node_modules/validator/lib/blacklist.js","webpack://EditingToolkit/../../node_modules/validator/lib/contains.js","webpack://EditingToolkit/../../node_modules/validator/lib/equals.js","webpack://EditingToolkit/../../node_modules/validator/lib/escape.js","webpack://EditingToolkit/../../node_modules/validator/lib/isAfter.js","webpack://EditingToolkit/../../node_modules/validator/lib/isAlpha.js","webpack://EditingToolkit/../../node_modules/validator/lib/isAlphanumeric.js","webpack://EditingToolkit/../../node_modules/validator/lib/isAscii.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBIC.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBase32.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBase58.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBase64.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBefore.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBoolean.js","webpack://EditingToolkit/../../node_modules/validator/lib/isBtcAddress.js","webpack://EditingToolkit/../../node_modules/validator/lib/isByteLength.js","webpack://EditingToolkit/../../node_modules/validator/lib/isCreditCard.js","webpack://EditingToolkit/../../node_modules/validator/lib/isCurrency.js","webpack://EditingToolkit/../../node_modules/validator/lib/isDataURI.js","webpack://EditingToolkit/../../node_modules/validator/lib/isDate.js","webpack://EditingToolkit/../../node_modules/validator/lib/isDecimal.js","webpack://EditingToolkit/../../node_modules/validator/lib/isDivisibleBy.js","webpack://EditingToolkit/../../node_modules/validator/lib/isEAN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isEmail.js","webpack://EditingToolkit/../../node_modules/validator/lib/isEmpty.js","webpack://EditingToolkit/../../node_modules/validator/lib/isEthereumAddress.js","webpack://EditingToolkit/../../node_modules/validator/lib/isFQDN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isFloat.js","webpack://EditingToolkit/../../node_modules/validator/lib/isFullWidth.js","webpack://EditingToolkit/../../node_modules/validator/lib/isHSL.js","webpack://EditingToolkit/../../node_modules/validator/lib/isHalfWidth.js","webpack://EditingToolkit/../../node_modules/validator/lib/isHash.js","webpack://EditingToolkit/../../node_modules/validator/lib/isHexColor.js","webpack://EditingToolkit/../../node_modules/validator/lib/isHexadecimal.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIBAN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIMEI.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIP.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIPRange.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISBN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISIN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISO31661Alpha2.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISO31661Alpha3.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISO8601.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISRC.js","webpack://EditingToolkit/../../node_modules/validator/lib/isISSN.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIdentityCard.js","webpack://EditingToolkit/../../node_modules/validator/lib/isIn.js","webpack://EditingToolkit/../../node_modules/validator/lib/isInt.js","webpack://EditingToolkit/../../node_modules/validator/lib/isJSON.js","webpack://EditingToolkit/../../node_modules/validator/lib/isJWT.js","webpack://EditingToolkit/../../node_modules/validator/lib/isLatLong.js","webpack://EditingToolkit/../../node_modules/validator/lib/isLength.js","webpack://EditingToolkit/../../node_modules/validator/lib/isLocale.js","webpack://EditingToolkit/../../node_modules/validator/lib/isLowercase.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMACAddress.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMD5.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMagnetURI.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMimeType.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMobilePhone.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMongoId.js","webpack://EditingToolkit/../../node_modules/validator/lib/isMultibyte.js","webpack://EditingToolkit/../../node_modules/validator/lib/isNumeric.js","webpack://EditingToolkit/../../node_modules/validator/lib/isOctal.js","webpack://EditingToolkit/../../node_modules/validator/lib/isPassportNumber.js","webpack://EditingToolkit/../../node_modules/validator/lib/isPort.js","webpack://EditingToolkit/../../node_modules/validator/lib/isPostalCode.js","webpack://EditingToolkit/../../node_modules/validator/lib/isRFC3339.js","webpack://EditingToolkit/../../node_modules/validator/lib/isRgbColor.js","webpack://EditingToolkit/../../node_modules/validator/lib/isSemVer.js","webpack://EditingToolkit/../../node_modules/validator/lib/isSlug.js","webpack://EditingToolkit/../../node_modules/validator/lib/isStrongPassword.js","webpack://EditingToolkit/../../node_modules/validator/lib/isSurrogatePair.js","webpack://EditingToolkit/../../node_modules/validator/lib/isTaxID.js","webpack://EditingToolkit/../../node_modules/validator/lib/isURL.js","webpack://EditingToolkit/../../node_modules/validator/lib/isUUID.js","webpack://EditingToolkit/../../node_modules/validator/lib/isUppercase.js","webpack://EditingToolkit/../../node_modules/validator/lib/isVAT.js","webpack://EditingToolkit/../../node_modules/validator/lib/isVariableWidth.js","webpack://EditingToolkit/../../node_modules/validator/lib/isWhitelisted.js","webpack://EditingToolkit/../../node_modules/validator/lib/ltrim.js","webpack://EditingToolkit/../../node_modules/validator/lib/matches.js","webpack://EditingToolkit/../../node_modules/validator/lib/normalizeEmail.js","webpack://EditingToolkit/../../node_modules/validator/lib/rtrim.js","webpack://EditingToolkit/../../node_modules/validator/lib/stripLow.js","webpack://EditingToolkit/../../node_modules/validator/lib/toBoolean.js","webpack://EditingToolkit/../../node_modules/validator/lib/toDate.js","webpack://EditingToolkit/../../node_modules/validator/lib/toFloat.js","webpack://EditingToolkit/../../node_modules/validator/lib/toInt.js","webpack://EditingToolkit/../../node_modules/validator/lib/trim.js","webpack://EditingToolkit/../../node_modules/validator/lib/unescape.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/algorithms.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/assertString.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/includes.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/merge.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/multilineRegex.js","webpack://EditingToolkit/../../node_modules/validator/lib/util/toString.js","webpack://EditingToolkit/../../node_modules/validator/lib/whitelist.js","webpack://EditingToolkit/../../node_modules/wp-error/index.js","webpack://EditingToolkit/external window \"React\"","webpack://EditingToolkit/external window [\"wp\",\"data\"]","webpack://EditingToolkit/external window [\"wp\",\"dataControls\"]","webpack://EditingToolkit/external window [\"wp\",\"deprecated\"]","webpack://EditingToolkit/webpack/bootstrap","webpack://EditingToolkit/webpack/runtime/compat get default export","webpack://EditingToolkit/webpack/runtime/define property getters","webpack://EditingToolkit/webpack/runtime/hasOwnProperty shorthand","webpack://EditingToolkit/webpack/runtime/make namespace object"],"sourcesContent":["import postfix from '@tannin/postfix';\nimport evaluate from '@tannin/evaluate';\n\n/**\n * Given a C expression, returns a function which can be called to evaluate its\n * result.\n *\n * @example\n *\n * ```js\n * import compile from '@tannin/compile';\n *\n * const evaluate = compile( 'n > 1' );\n *\n * evaluate( { n: 2 } );\n * // ⇒ true\n * ```\n *\n * @param {string} expression C expression.\n *\n * @return {(variables?:{[variable:string]:*})=>*} Compiled evaluator.\n */\nexport default function compile( expression ) {\n\tvar terms = postfix( expression );\n\n\treturn function( variables ) {\n\t\treturn evaluate( terms, variables );\n\t};\n}\n","/**\n * Operator callback functions.\n *\n * @type {Object}\n */\nvar OPERATORS = {\n\t'!': function( a ) {\n\t\treturn ! a;\n\t},\n\t'*': function( a, b ) {\n\t\treturn a * b;\n\t},\n\t'/': function( a, b ) {\n\t\treturn a / b;\n\t},\n\t'%': function( a, b ) {\n\t\treturn a % b;\n\t},\n\t'+': function( a, b ) {\n\t\treturn a + b;\n\t},\n\t'-': function( a, b ) {\n\t\treturn a - b;\n\t},\n\t'<': function( a, b ) {\n\t\treturn a < b;\n\t},\n\t'<=': function( a, b ) {\n\t\treturn a <= b;\n\t},\n\t'>': function( a, b ) {\n\t\treturn a > b;\n\t},\n\t'>=': function( a, b ) {\n\t\treturn a >= b;\n\t},\n\t'==': function( a, b ) {\n\t\treturn a === b;\n\t},\n\t'!=': function( a, b ) {\n\t\treturn a !== b;\n\t},\n\t'&&': function( a, b ) {\n\t\treturn a && b;\n\t},\n\t'||': function( a, b ) {\n\t\treturn a || b;\n\t},\n\t'?:': function( a, b, c ) {\n\t\tif ( a ) {\n\t\t\tthrow b;\n\t\t}\n\n\t\treturn c;\n\t},\n};\n\n/**\n * Given an array of postfix terms and operand variables, returns the result of\n * the postfix evaluation.\n *\n * @example\n *\n * ```js\n * import evaluate from '@tannin/evaluate';\n *\n * // 3 + 4 * 5 / 6 ⇒ '3 4 5 * 6 / +'\n * const terms = [ '3', '4', '5', '*', '6', '/', '+' ];\n *\n * evaluate( terms, {} );\n * // ⇒ 6.333333333333334\n * ```\n *\n * @param {string[]} postfix Postfix terms.\n * @param {Object} variables Operand variables.\n *\n * @return {*} Result of evaluation.\n */\nexport default function evaluate( postfix, variables ) {\n\tvar stack = [],\n\t\ti, j, args, getOperatorResult, term, value;\n\n\tfor ( i = 0; i < postfix.length; i++ ) {\n\t\tterm = postfix[ i ];\n\n\t\tgetOperatorResult = OPERATORS[ term ];\n\t\tif ( getOperatorResult ) {\n\t\t\t// Pop from stack by number of function arguments.\n\t\t\tj = getOperatorResult.length;\n\t\t\targs = Array( j );\n\t\t\twhile ( j-- ) {\n\t\t\t\targs[ j ] = stack.pop();\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tvalue = getOperatorResult.apply( null, args );\n\t\t\t} catch ( earlyReturn ) {\n\t\t\t\treturn earlyReturn;\n\t\t\t}\n\t\t} else if ( variables.hasOwnProperty( term ) ) {\n\t\t\tvalue = variables[ term ];\n\t\t} else {\n\t\t\tvalue = +term;\n\t\t}\n\n\t\tstack.push( value );\n\t}\n\n\treturn stack[ 0 ];\n}\n","import compile from '@tannin/compile';\n\n/**\n * Given a C expression, returns a function which, when called with a value,\n * evaluates the result with the value assumed to be the \"n\" variable of the\n * expression. The result will be coerced to its numeric equivalent.\n *\n * @param {string} expression C expression.\n *\n * @return {Function} Evaluator function.\n */\nexport default function pluralForms( expression ) {\n\tvar evaluate = compile( expression );\n\n\treturn function( n ) {\n\t\treturn +evaluate( { n: n } );\n\t};\n}\n","var PRECEDENCE, OPENERS, TERMINATORS, PATTERN;\n\n/**\n * Operator precedence mapping.\n *\n * @type {Object}\n */\nPRECEDENCE = {\n\t'(': 9,\n\t'!': 8,\n\t'*': 7,\n\t'/': 7,\n\t'%': 7,\n\t'+': 6,\n\t'-': 6,\n\t'<': 5,\n\t'<=': 5,\n\t'>': 5,\n\t'>=': 5,\n\t'==': 4,\n\t'!=': 4,\n\t'&&': 3,\n\t'||': 2,\n\t'?': 1,\n\t'?:': 1,\n};\n\n/**\n * Characters which signal pair opening, to be terminated by terminators.\n *\n * @type {string[]}\n */\nOPENERS = [ '(', '?' ];\n\n/**\n * Characters which signal pair termination, the value an array with the\n * opener as its first member. The second member is an optional operator\n * replacement to push to the stack.\n *\n * @type {string[]}\n */\nTERMINATORS = {\n\t')': [ '(' ],\n\t':': [ '?', '?:' ],\n};\n\n/**\n * Pattern matching operators and openers.\n *\n * @type {RegExp}\n */\nPATTERN = /<=|>=|==|!=|&&|\\|\\||\\?:|\\(|!|\\*|\\/|%|\\+|-|<|>|\\?|\\)|:/;\n\n/**\n * Given a C expression, returns the equivalent postfix (Reverse Polish)\n * notation terms as an array.\n *\n * If a postfix string is desired, simply `.join( ' ' )` the result.\n *\n * @example\n *\n * ```js\n * import postfix from '@tannin/postfix';\n *\n * postfix( 'n > 1' );\n * // ⇒ [ 'n', '1', '>' ]\n * ```\n *\n * @param {string} expression C expression.\n *\n * @return {string[]} Postfix terms.\n */\nexport default function postfix( expression ) {\n\tvar terms = [],\n\t\tstack = [],\n\t\tmatch, operator, term, element;\n\n\twhile ( ( match = expression.match( PATTERN ) ) ) {\n\t\toperator = match[ 0 ];\n\n\t\t// Term is the string preceding the operator match. It may contain\n\t\t// whitespace, and may be empty (if operator is at beginning).\n\t\tterm = expression.substr( 0, match.index ).trim();\n\t\tif ( term ) {\n\t\t\tterms.push( term );\n\t\t}\n\n\t\twhile ( ( element = stack.pop() ) ) {\n\t\t\tif ( TERMINATORS[ operator ] ) {\n\t\t\t\tif ( TERMINATORS[ operator ][ 0 ] === element ) {\n\t\t\t\t\t// Substitution works here under assumption that because\n\t\t\t\t\t// the assigned operator will no longer be a terminator, it\n\t\t\t\t\t// will be pushed to the stack during the condition below.\n\t\t\t\t\toperator = TERMINATORS[ operator ][ 1 ] || operator;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} else if ( OPENERS.indexOf( element ) >= 0 || PRECEDENCE[ element ] < PRECEDENCE[ operator ] ) {\n\t\t\t\t// Push to stack if either an opener or when pop reveals an\n\t\t\t\t// element of lower precedence.\n\t\t\t\tstack.push( element );\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// For each popped from stack, push to terms.\n\t\t\tterms.push( element );\n\t\t}\n\n\t\tif ( ! TERMINATORS[ operator ] ) {\n\t\t\tstack.push( operator );\n\t\t}\n\n\t\t// Slice matched fragment from expression to continue match.\n\t\texpression = expression.substr( match.index + operator.length );\n\t}\n\n\t// Push remainder of operand, if exists, to terms.\n\texpression = expression.trim();\n\tif ( expression ) {\n\t\tterms.push( expression );\n\t}\n\n\t// Pop remaining items from stack into terms.\n\treturn terms.concat( stack.reverse() );\n}\n","/**\n * Regular expression matching format placeholder syntax.\n *\n * The pattern for matching named arguments is a naive and incomplete matcher\n * against valid JavaScript identifier names.\n *\n * via Mathias Bynens:\n *\n * >An identifier must start with $, _, or any character in the Unicode\n * >categories “Uppercase letter (Lu)”, “Lowercase letter (Ll)”, “Titlecase\n * >letter (Lt)”, “Modifier letter (Lm)”, “Other letter (Lo)”, or “Letter\n * >number (Nl)”.\n * >\n * >The rest of the string can contain the same characters, plus any U+200C zero\n * >width non-joiner characters, U+200D zero width joiner characters, and\n * >characters in the Unicode categories “Non-spacing mark (Mn)”, “Spacing\n * >combining mark (Mc)”, “Decimal digit number (Nd)”, or “Connector\n * >punctuation (Pc)”.\n *\n * If browser support is constrained to those supporting ES2015, this could be\n * made more accurate using the `u` flag:\n *\n * ```\n * /^[$_\\p{L}\\p{Nl}][$_\\p{L}\\p{Nl}\\u200C\\u200D\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}]*$/u;\n * ```\n *\n * @see http://www.pixelbeat.org/programming/gcc/format_specs.html\n * @see https://mathiasbynens.be/notes/javascript-identifiers#valid-identifier-names\n *\n * @type {RegExp}\n */\nvar PATTERN = /%(((\\d+)\\$)|(\\(([$_a-zA-Z][$_a-zA-Z0-9]*)\\)))?[ +0#-]*\\d*(\\.(\\d+|\\*))?(ll|[lhqL])?([cduxXefgsp%])/g;\n// ▲ ▲ ▲ ▲ ▲ ▲ ▲ type\n// │ │ │ │ │ └ Length (unsupported)\n// │ │ │ │ └ Precision / max width\n// │ │ │ └ Min width (unsupported)\n// │ │ └ Flags (unsupported)\n// └ Index └ Name (for named arguments)\n\n/**\n * Given a format string, returns string with arguments interpolatation.\n * Arguments can either be provided directly via function arguments spread, or\n * with an array as the second argument.\n *\n * @see https://en.wikipedia.org/wiki/Printf_format_string\n *\n * @example\n *\n * ```js\n * import sprintf from '@tannin/sprintf';\n *\n * sprintf( 'Hello %s!', 'world' );\n * // ⇒ 'Hello world!'\n * ```\n *\n * @param {string} string printf format string\n * @param {Array} [args] String arguments.\n *\n * @return {string} Formatted string.\n */\nexport default function sprintf( string, args ) {\n\tvar i;\n\n\tif ( ! Array.isArray( args ) ) {\n\t\t// Construct a copy of arguments from index one, used for replace\n\t\t// function placeholder substitution.\n\t\targs = new Array( arguments.length - 1 );\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i - 1 ] = arguments[ i ];\n\t\t}\n\t}\n\n\ti = 1;\n\n\treturn string.replace( PATTERN, function() {\n\t\tvar index, name, precision, type, value;\n\n\t\tindex = arguments[ 3 ];\n\t\tname = arguments[ 5 ];\n\t\tprecision = arguments[ 7 ];\n\t\ttype = arguments[ 9 ];\n\n\t\t// There's no placeholder substitution in the explicit \"%\", meaning it\n\t\t// is not necessary to increment argument index.\n\t\tif ( type === '%' ) {\n\t\t\treturn '%';\n\t\t}\n\n\t\t// Asterisk precision determined by peeking / shifting next argument.\n\t\tif ( precision === '*' ) {\n\t\t\tprecision = args[ i - 1 ];\n\t\t\ti++;\n\t\t}\n\n\t\tif ( name !== undefined ) {\n\t\t\t// If it's a named argument, use name.\n\t\t\tif ( args[ 0 ] && typeof args[ 0 ] === 'object' &&\n\t\t\t\t\targs[ 0 ].hasOwnProperty( name ) ) {\n\t\t\t\tvalue = args[ 0 ][ name ];\n\t\t\t}\n\t\t} else {\n\t\t\t// If not a positional argument, use counter value.\n\t\t\tif ( index === undefined ) {\n\t\t\t\tindex = i;\n\t\t\t}\n\n\t\t\ti++;\n\n\t\t\t// Positional argument.\n\t\t\tvalue = args[ index - 1 ];\n\t\t}\n\n\t\t// Parse as type.\n\t\tif ( type === 'f' ) {\n\t\t\tvalue = parseFloat( value ) || 0;\n\t\t} else if ( type === 'd' ) {\n\t\t\tvalue = parseInt( value ) || 0;\n\t\t}\n\n\t\t// Apply precision.\n\t\tif ( precision !== undefined ) {\n\t\t\tif ( type === 'f' ) {\n\t\t\t\tvalue = value.toFixed( precision );\n\t\t\t} else if ( type === 's' ) {\n\t\t\t\tvalue = value.substr( 0, precision );\n\t\t\t}\n\t\t}\n\n\t\t// To avoid \"undefined\" concatenation, return empty string if no\n\t\t// placeholder substitution can be performed.\n\t\treturn value !== undefined && value !== null ? value : '';\n\t} );\n}\n","module.exports = {\n \"100\": \"Continue\",\n \"101\": \"Switching Protocols\",\n \"102\": \"Processing\",\n \"200\": \"OK\",\n \"201\": \"Created\",\n \"202\": \"Accepted\",\n \"203\": \"Non-Authoritative Information\",\n \"204\": \"No Content\",\n \"205\": \"Reset Content\",\n \"206\": \"Partial Content\",\n \"207\": \"Multi-Status\",\n \"208\": \"Already Reported\",\n \"226\": \"IM Used\",\n \"300\": \"Multiple Choices\",\n \"301\": \"Moved Permanently\",\n \"302\": \"Found\",\n \"303\": \"See Other\",\n \"304\": \"Not Modified\",\n \"305\": \"Use Proxy\",\n \"307\": \"Temporary Redirect\",\n \"308\": \"Permanent Redirect\",\n \"400\": \"Bad Request\",\n \"401\": \"Unauthorized\",\n \"402\": \"Payment Required\",\n \"403\": \"Forbidden\",\n \"404\": \"Not Found\",\n \"405\": \"Method Not Allowed\",\n \"406\": \"Not Acceptable\",\n \"407\": \"Proxy Authentication Required\",\n \"408\": \"Request Timeout\",\n \"409\": \"Conflict\",\n \"410\": \"Gone\",\n \"411\": \"Length Required\",\n \"412\": \"Precondition Failed\",\n \"413\": \"Payload Too Large\",\n \"414\": \"URI Too Long\",\n \"415\": \"Unsupported Media Type\",\n \"416\": \"Range Not Satisfiable\",\n \"417\": \"Expectation Failed\",\n \"418\": \"I'm a teapot\",\n \"421\": \"Misdirected Request\",\n \"422\": \"Unprocessable Entity\",\n \"423\": \"Locked\",\n \"424\": \"Failed Dependency\",\n \"425\": \"Unordered Collection\",\n \"426\": \"Upgrade Required\",\n \"428\": \"Precondition Required\",\n \"429\": \"Too Many Requests\",\n \"431\": \"Request Header Fields Too Large\",\n \"500\": \"Internal Server Error\",\n \"501\": \"Not Implemented\",\n \"502\": \"Bad Gateway\",\n \"503\": \"Service Unavailable\",\n \"504\": \"Gateway Timeout\",\n \"505\": \"HTTP Version Not Supported\",\n \"506\": \"Variant Also Negotiates\",\n \"507\": \"Insufficient Storage\",\n \"508\": \"Loop Detected\",\n \"509\": \"Bandwidth Limit Exceeded\",\n \"510\": \"Not Extended\",\n \"511\": \"Network Authentication Required\"\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\nvar $max = GetIntrinsic('%Math.max%');\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = $reflectApply(bind, $call, arguments);\n\tif ($gOPD && $defineProperty) {\n\t\tvar desc = $gOPD(func, 'length');\n\t\tif (desc.configurable) {\n\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t$defineProperty(\n\t\t\t\tfunc,\n\t\t\t\t'length',\n\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t);\n\t\t}\n\t}\n\treturn func;\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nexports.parse = parse;\nexports.serialize = serialize;\n\n/**\n * Module variables.\n * @private\n */\n\nvar decode = decodeURIComponent;\nvar encode = encodeURIComponent;\nvar pairSplitRegExp = /; */;\n\n/**\n * RegExp to match field-content in RFC 7230 sec 3.2\n *\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n * obs-text = %x80-FF\n */\n\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\n\n/**\n * Parse a cookie header.\n *\n * Parse the given cookie header string into an object\n * The object has the various cookies as keys(names) => values\n *\n * @param {string} str\n * @param {object} [options]\n * @return {object}\n * @public\n */\n\nfunction parse(str, options) {\n if (typeof str !== 'string') {\n throw new TypeError('argument str must be a string');\n }\n\n var obj = {}\n var opt = options || {};\n var pairs = str.split(pairSplitRegExp);\n var dec = opt.decode || decode;\n\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i];\n var eq_idx = pair.indexOf('=');\n\n // skip things that don't look like key=value\n if (eq_idx < 0) {\n continue;\n }\n\n var key = pair.substr(0, eq_idx).trim()\n var val = pair.substr(++eq_idx, pair.length).trim();\n\n // quoted values\n if ('\"' == val[0]) {\n val = val.slice(1, -1);\n }\n\n // only assign once\n if (undefined == obj[key]) {\n obj[key] = tryDecode(val, dec);\n }\n }\n\n return obj;\n}\n\n/**\n * Serialize data into a cookie header.\n *\n * Serialize the a name value pair into a cookie string suitable for\n * http headers. An optional options object specified cookie parameters.\n *\n * serialize('foo', 'bar', { httpOnly: true })\n * => \"foo=bar; httpOnly\"\n *\n * @param {string} name\n * @param {string} val\n * @param {object} [options]\n * @return {string}\n * @public\n */\n\nfunction serialize(name, val, options) {\n var opt = options || {};\n var enc = opt.encode || encode;\n\n if (typeof enc !== 'function') {\n throw new TypeError('option encode is invalid');\n }\n\n if (!fieldContentRegExp.test(name)) {\n throw new TypeError('argument name is invalid');\n }\n\n var value = enc(val);\n\n if (value && !fieldContentRegExp.test(value)) {\n throw new TypeError('argument val is invalid');\n }\n\n var str = name + '=' + value;\n\n if (null != opt.maxAge) {\n var maxAge = opt.maxAge - 0;\n\n if (isNaN(maxAge) || !isFinite(maxAge)) {\n throw new TypeError('option maxAge is invalid')\n }\n\n str += '; Max-Age=' + Math.floor(maxAge);\n }\n\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n\n str += '; Domain=' + opt.domain;\n }\n\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n\n str += '; Path=' + opt.path;\n }\n\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n\n str += '; Expires=' + opt.expires.toUTCString();\n }\n\n if (opt.httpOnly) {\n str += '; HttpOnly';\n }\n\n if (opt.secure) {\n str += '; Secure';\n }\n\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string'\n ? opt.sameSite.toLowerCase() : opt.sameSite;\n\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n\n return str;\n}\n\n/**\n * Try decoding a string using a decoding function.\n *\n * @param {string} str\n * @param {function} decode\n * @private\n */\n\nfunction tryDecode(str, decode) {\n try {\n return decode(str);\n } catch (e) {\n return str;\n }\n}\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n","'use strict';\n\nmodule.exports = function (data, opts) {\n if (!opts) opts = {};\n if (typeof opts === 'function') opts = { cmp: opts };\n var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;\n\n var cmp = opts.cmp && (function (f) {\n return function (node) {\n return function (a, b) {\n var aobj = { key: a, value: node[a] };\n var bobj = { key: b, value: node[b] };\n return f(aobj, bobj);\n };\n };\n })(opts.cmp);\n\n var seen = [];\n return (function stringify (node) {\n if (node && node.toJSON && typeof node.toJSON === 'function') {\n node = node.toJSON();\n }\n\n if (node === undefined) return;\n if (typeof node == 'number') return isFinite(node) ? '' + node : 'null';\n if (typeof node !== 'object') return JSON.stringify(node);\n\n var i, out;\n if (Array.isArray(node)) {\n out = '[';\n for (i = 0; i < node.length; i++) {\n if (i) out += ',';\n out += stringify(node[i]) || 'null';\n }\n return out + ']';\n }\n\n if (node === null) return 'null';\n\n if (seen.indexOf(node) !== -1) {\n if (cycles) return JSON.stringify('__cycle__');\n throw new TypeError('Converting circular structure to JSON');\n }\n\n var seenIndex = seen.push(node) - 1;\n var keys = Object.keys(node).sort(cmp && cmp(node));\n out = '';\n for (i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = stringify(node[key]);\n\n if (!value) continue;\n if (out) out += ',';\n out += JSON.stringify(key) + ':' + value;\n }\n seen.splice(seenIndex, 1);\n return '{' + out + '}';\n })(data);\n};\n","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('has');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n","'use strict';\n\nvar utils = require('./utils');\nvar assert = require('minimalistic-assert');\n\nfunction BlockHash() {\n this.pending = null;\n this.pendingTotal = 0;\n this.blockSize = this.constructor.blockSize;\n this.outSize = this.constructor.outSize;\n this.hmacStrength = this.constructor.hmacStrength;\n this.padLength = this.constructor.padLength / 8;\n this.endian = 'big';\n\n this._delta8 = this.blockSize / 8;\n this._delta32 = this.blockSize / 32;\n}\nexports.BlockHash = BlockHash;\n\nBlockHash.prototype.update = function update(msg, enc) {\n // Convert message to array, pad it, and join into 32bit blocks\n msg = utils.toArray(msg, enc);\n if (!this.pending)\n this.pending = msg;\n else\n this.pending = this.pending.concat(msg);\n this.pendingTotal += msg.length;\n\n // Enough data, try updating\n if (this.pending.length >= this._delta8) {\n msg = this.pending;\n\n // Process pending data in blocks\n var r = msg.length % this._delta8;\n this.pending = msg.slice(msg.length - r, msg.length);\n if (this.pending.length === 0)\n this.pending = null;\n\n msg = utils.join32(msg, 0, msg.length - r, this.endian);\n for (var i = 0; i < msg.length; i += this._delta32)\n this._update(msg, i, i + this._delta32);\n }\n\n return this;\n};\n\nBlockHash.prototype.digest = function digest(enc) {\n this.update(this._pad());\n assert(this.pending === null);\n\n return this._digest(enc);\n};\n\nBlockHash.prototype._pad = function pad() {\n var len = this.pendingTotal;\n var bytes = this._delta8;\n var k = bytes - ((len + this.padLength) % bytes);\n var res = new Array(k + this.padLength);\n res[0] = 0x80;\n for (var i = 1; i < k; i++)\n res[i] = 0;\n\n // Append length\n len <<= 3;\n if (this.endian === 'big') {\n for (var t = 8; t < this.padLength; t++)\n res[i++] = 0;\n\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = (len >>> 24) & 0xff;\n res[i++] = (len >>> 16) & 0xff;\n res[i++] = (len >>> 8) & 0xff;\n res[i++] = len & 0xff;\n } else {\n res[i++] = len & 0xff;\n res[i++] = (len >>> 8) & 0xff;\n res[i++] = (len >>> 16) & 0xff;\n res[i++] = (len >>> 24) & 0xff;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n\n for (t = 8; t < this.padLength; t++)\n res[i++] = 0;\n }\n\n return res;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar common = require('../common');\nvar shaCommon = require('./common');\n\nvar rotl32 = utils.rotl32;\nvar sum32 = utils.sum32;\nvar sum32_5 = utils.sum32_5;\nvar ft_1 = shaCommon.ft_1;\nvar BlockHash = common.BlockHash;\n\nvar sha1_K = [\n 0x5A827999, 0x6ED9EBA1,\n 0x8F1BBCDC, 0xCA62C1D6\n];\n\nfunction SHA1() {\n if (!(this instanceof SHA1))\n return new SHA1();\n\n BlockHash.call(this);\n this.h = [\n 0x67452301, 0xefcdab89, 0x98badcfe,\n 0x10325476, 0xc3d2e1f0 ];\n this.W = new Array(80);\n}\n\nutils.inherits(SHA1, BlockHash);\nmodule.exports = SHA1;\n\nSHA1.blockSize = 512;\nSHA1.outSize = 160;\nSHA1.hmacStrength = 80;\nSHA1.padLength = 64;\n\nSHA1.prototype._update = function _update(msg, start) {\n var W = this.W;\n\n for (var i = 0; i < 16; i++)\n W[i] = msg[start + i];\n\n for(; i < W.length; i++)\n W[i] = rotl32(W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16], 1);\n\n var a = this.h[0];\n var b = this.h[1];\n var c = this.h[2];\n var d = this.h[3];\n var e = this.h[4];\n\n for (i = 0; i < W.length; i++) {\n var s = ~~(i / 20);\n var t = sum32_5(rotl32(a, 5), ft_1(s, b, c, d), e, W[i], sha1_K[s]);\n e = d;\n d = c;\n c = rotl32(b, 30);\n b = a;\n a = t;\n }\n\n this.h[0] = sum32(this.h[0], a);\n this.h[1] = sum32(this.h[1], b);\n this.h[2] = sum32(this.h[2], c);\n this.h[3] = sum32(this.h[3], d);\n this.h[4] = sum32(this.h[4], e);\n};\n\nSHA1.prototype._digest = function digest(enc) {\n if (enc === 'hex')\n return utils.toHex32(this.h, 'big');\n else\n return utils.split32(this.h, 'big');\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar rotr32 = utils.rotr32;\n\nfunction ft_1(s, x, y, z) {\n if (s === 0)\n return ch32(x, y, z);\n if (s === 1 || s === 3)\n return p32(x, y, z);\n if (s === 2)\n return maj32(x, y, z);\n}\nexports.ft_1 = ft_1;\n\nfunction ch32(x, y, z) {\n return (x & y) ^ ((~x) & z);\n}\nexports.ch32 = ch32;\n\nfunction maj32(x, y, z) {\n return (x & y) ^ (x & z) ^ (y & z);\n}\nexports.maj32 = maj32;\n\nfunction p32(x, y, z) {\n return x ^ y ^ z;\n}\nexports.p32 = p32;\n\nfunction s0_256(x) {\n return rotr32(x, 2) ^ rotr32(x, 13) ^ rotr32(x, 22);\n}\nexports.s0_256 = s0_256;\n\nfunction s1_256(x) {\n return rotr32(x, 6) ^ rotr32(x, 11) ^ rotr32(x, 25);\n}\nexports.s1_256 = s1_256;\n\nfunction g0_256(x) {\n return rotr32(x, 7) ^ rotr32(x, 18) ^ (x >>> 3);\n}\nexports.g0_256 = g0_256;\n\nfunction g1_256(x) {\n return rotr32(x, 17) ^ rotr32(x, 19) ^ (x >>> 10);\n}\nexports.g1_256 = g1_256;\n","'use strict';\n\nvar assert = require('minimalistic-assert');\nvar inherits = require('inherits');\n\nexports.inherits = inherits;\n\nfunction isSurrogatePair(msg, i) {\n if ((msg.charCodeAt(i) & 0xFC00) !== 0xD800) {\n return false;\n }\n if (i < 0 || i + 1 >= msg.length) {\n return false;\n }\n return (msg.charCodeAt(i + 1) & 0xFC00) === 0xDC00;\n}\n\nfunction toArray(msg, enc) {\n if (Array.isArray(msg))\n return msg.slice();\n if (!msg)\n return [];\n var res = [];\n if (typeof msg === 'string') {\n if (!enc) {\n // Inspired by stringToUtf8ByteArray() in closure-library by Google\n // https://github.com/google/closure-library/blob/8598d87242af59aac233270742c8984e2b2bdbe0/closure/goog/crypt/crypt.js#L117-L143\n // Apache License 2.0\n // https://github.com/google/closure-library/blob/master/LICENSE\n var p = 0;\n for (var i = 0; i < msg.length; i++) {\n var c = msg.charCodeAt(i);\n if (c < 128) {\n res[p++] = c;\n } else if (c < 2048) {\n res[p++] = (c >> 6) | 192;\n res[p++] = (c & 63) | 128;\n } else if (isSurrogatePair(msg, i)) {\n c = 0x10000 + ((c & 0x03FF) << 10) + (msg.charCodeAt(++i) & 0x03FF);\n res[p++] = (c >> 18) | 240;\n res[p++] = ((c >> 12) & 63) | 128;\n res[p++] = ((c >> 6) & 63) | 128;\n res[p++] = (c & 63) | 128;\n } else {\n res[p++] = (c >> 12) | 224;\n res[p++] = ((c >> 6) & 63) | 128;\n res[p++] = (c & 63) | 128;\n }\n }\n } else if (enc === 'hex') {\n msg = msg.replace(/[^a-z0-9]+/ig, '');\n if (msg.length % 2 !== 0)\n msg = '0' + msg;\n for (i = 0; i < msg.length; i += 2)\n res.push(parseInt(msg[i] + msg[i + 1], 16));\n }\n } else {\n for (i = 0; i < msg.length; i++)\n res[i] = msg[i] | 0;\n }\n return res;\n}\nexports.toArray = toArray;\n\nfunction toHex(msg) {\n var res = '';\n for (var i = 0; i < msg.length; i++)\n res += zero2(msg[i].toString(16));\n return res;\n}\nexports.toHex = toHex;\n\nfunction htonl(w) {\n var res = (w >>> 24) |\n ((w >>> 8) & 0xff00) |\n ((w << 8) & 0xff0000) |\n ((w & 0xff) << 24);\n return res >>> 0;\n}\nexports.htonl = htonl;\n\nfunction toHex32(msg, endian) {\n var res = '';\n for (var i = 0; i < msg.length; i++) {\n var w = msg[i];\n if (endian === 'little')\n w = htonl(w);\n res += zero8(w.toString(16));\n }\n return res;\n}\nexports.toHex32 = toHex32;\n\nfunction zero2(word) {\n if (word.length === 1)\n return '0' + word;\n else\n return word;\n}\nexports.zero2 = zero2;\n\nfunction zero8(word) {\n if (word.length === 7)\n return '0' + word;\n else if (word.length === 6)\n return '00' + word;\n else if (word.length === 5)\n return '000' + word;\n else if (word.length === 4)\n return '0000' + word;\n else if (word.length === 3)\n return '00000' + word;\n else if (word.length === 2)\n return '000000' + word;\n else if (word.length === 1)\n return '0000000' + word;\n else\n return word;\n}\nexports.zero8 = zero8;\n\nfunction join32(msg, start, end, endian) {\n var len = end - start;\n assert(len % 4 === 0);\n var res = new Array(len / 4);\n for (var i = 0, k = start; i < res.length; i++, k += 4) {\n var w;\n if (endian === 'big')\n w = (msg[k] << 24) | (msg[k + 1] << 16) | (msg[k + 2] << 8) | msg[k + 3];\n else\n w = (msg[k + 3] << 24) | (msg[k + 2] << 16) | (msg[k + 1] << 8) | msg[k];\n res[i] = w >>> 0;\n }\n return res;\n}\nexports.join32 = join32;\n\nfunction split32(msg, endian) {\n var res = new Array(msg.length * 4);\n for (var i = 0, k = 0; i < msg.length; i++, k += 4) {\n var m = msg[i];\n if (endian === 'big') {\n res[k] = m >>> 24;\n res[k + 1] = (m >>> 16) & 0xff;\n res[k + 2] = (m >>> 8) & 0xff;\n res[k + 3] = m & 0xff;\n } else {\n res[k + 3] = m >>> 24;\n res[k + 2] = (m >>> 16) & 0xff;\n res[k + 1] = (m >>> 8) & 0xff;\n res[k] = m & 0xff;\n }\n }\n return res;\n}\nexports.split32 = split32;\n\nfunction rotr32(w, b) {\n return (w >>> b) | (w << (32 - b));\n}\nexports.rotr32 = rotr32;\n\nfunction rotl32(w, b) {\n return (w << b) | (w >>> (32 - b));\n}\nexports.rotl32 = rotl32;\n\nfunction sum32(a, b) {\n return (a + b) >>> 0;\n}\nexports.sum32 = sum32;\n\nfunction sum32_3(a, b, c) {\n return (a + b + c) >>> 0;\n}\nexports.sum32_3 = sum32_3;\n\nfunction sum32_4(a, b, c, d) {\n return (a + b + c + d) >>> 0;\n}\nexports.sum32_4 = sum32_4;\n\nfunction sum32_5(a, b, c, d, e) {\n return (a + b + c + d + e) >>> 0;\n}\nexports.sum32_5 = sum32_5;\n\nfunction sum64(buf, pos, ah, al) {\n var bh = buf[pos];\n var bl = buf[pos + 1];\n\n var lo = (al + bl) >>> 0;\n var hi = (lo < al ? 1 : 0) + ah + bh;\n buf[pos] = hi >>> 0;\n buf[pos + 1] = lo;\n}\nexports.sum64 = sum64;\n\nfunction sum64_hi(ah, al, bh, bl) {\n var lo = (al + bl) >>> 0;\n var hi = (lo < al ? 1 : 0) + ah + bh;\n return hi >>> 0;\n}\nexports.sum64_hi = sum64_hi;\n\nfunction sum64_lo(ah, al, bh, bl) {\n var lo = al + bl;\n return lo >>> 0;\n}\nexports.sum64_lo = sum64_lo;\n\nfunction sum64_4_hi(ah, al, bh, bl, ch, cl, dh, dl) {\n var carry = 0;\n var lo = al;\n lo = (lo + bl) >>> 0;\n carry += lo < al ? 1 : 0;\n lo = (lo + cl) >>> 0;\n carry += lo < cl ? 1 : 0;\n lo = (lo + dl) >>> 0;\n carry += lo < dl ? 1 : 0;\n\n var hi = ah + bh + ch + dh + carry;\n return hi >>> 0;\n}\nexports.sum64_4_hi = sum64_4_hi;\n\nfunction sum64_4_lo(ah, al, bh, bl, ch, cl, dh, dl) {\n var lo = al + bl + cl + dl;\n return lo >>> 0;\n}\nexports.sum64_4_lo = sum64_4_lo;\n\nfunction sum64_5_hi(ah, al, bh, bl, ch, cl, dh, dl, eh, el) {\n var carry = 0;\n var lo = al;\n lo = (lo + bl) >>> 0;\n carry += lo < al ? 1 : 0;\n lo = (lo + cl) >>> 0;\n carry += lo < cl ? 1 : 0;\n lo = (lo + dl) >>> 0;\n carry += lo < dl ? 1 : 0;\n lo = (lo + el) >>> 0;\n carry += lo < el ? 1 : 0;\n\n var hi = ah + bh + ch + dh + eh + carry;\n return hi >>> 0;\n}\nexports.sum64_5_hi = sum64_5_hi;\n\nfunction sum64_5_lo(ah, al, bh, bl, ch, cl, dh, dl, eh, el) {\n var lo = al + bl + cl + dl + el;\n\n return lo >>> 0;\n}\nexports.sum64_5_lo = sum64_5_lo;\n\nfunction rotr64_hi(ah, al, num) {\n var r = (al << (32 - num)) | (ah >>> num);\n return r >>> 0;\n}\nexports.rotr64_hi = rotr64_hi;\n\nfunction rotr64_lo(ah, al, num) {\n var r = (ah << (32 - num)) | (al >>> num);\n return r >>> 0;\n}\nexports.rotr64_lo = rotr64_lo;\n\nfunction shr64_hi(ah, al, num) {\n return ah >>> num;\n}\nexports.shr64_hi = shr64_hi;\n\nfunction shr64_lo(ah, al, num) {\n var r = (ah << (32 - num)) | (al >>> num);\n return r >>> 0;\n}\nexports.shr64_lo = shr64_lo;\n","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n","var events = require('events')\nvar inherits = require('inherits')\n\nmodule.exports = LRU\n\nfunction LRU (opts) {\n if (!(this instanceof LRU)) return new LRU(opts)\n if (typeof opts === 'number') opts = {max: opts}\n if (!opts) opts = {}\n events.EventEmitter.call(this)\n this.cache = {}\n this.head = this.tail = null\n this.length = 0\n this.max = opts.max || 1000\n this.maxAge = opts.maxAge || 0\n}\n\ninherits(LRU, events.EventEmitter)\n\nObject.defineProperty(LRU.prototype, 'keys', {\n get: function () { return Object.keys(this.cache) }\n})\n\nLRU.prototype.clear = function () {\n this.cache = {}\n this.head = this.tail = null\n this.length = 0\n}\n\nLRU.prototype.remove = function (key) {\n if (typeof key !== 'string') key = '' + key\n if (!this.cache.hasOwnProperty(key)) return\n\n var element = this.cache[key]\n delete this.cache[key]\n this._unlink(key, element.prev, element.next)\n return element.value\n}\n\nLRU.prototype._unlink = function (key, prev, next) {\n this.length--\n\n if (this.length === 0) {\n this.head = this.tail = null\n } else {\n if (this.head === key) {\n this.head = prev\n this.cache[this.head].next = null\n } else if (this.tail === key) {\n this.tail = next\n this.cache[this.tail].prev = null\n } else {\n this.cache[prev].next = next\n this.cache[next].prev = prev\n }\n }\n}\n\nLRU.prototype.peek = function (key) {\n if (!this.cache.hasOwnProperty(key)) return\n\n var element = this.cache[key]\n\n if (!this._checkAge(key, element)) return\n return element.value\n}\n\nLRU.prototype.set = function (key, value) {\n if (typeof key !== 'string') key = '' + key\n\n var element\n\n if (this.cache.hasOwnProperty(key)) {\n element = this.cache[key]\n element.value = value\n if (this.maxAge) element.modified = Date.now()\n\n // If it's already the head, there's nothing more to do:\n if (key === this.head) return value\n this._unlink(key, element.prev, element.next)\n } else {\n element = {value: value, modified: 0, next: null, prev: null}\n if (this.maxAge) element.modified = Date.now()\n this.cache[key] = element\n\n // Eviction is only possible if the key didn't already exist:\n if (this.length === this.max) this.evict()\n }\n\n this.length++\n element.next = null\n element.prev = this.head\n\n if (this.head) this.cache[this.head].next = key\n this.head = key\n\n if (!this.tail) this.tail = key\n return value\n}\n\nLRU.prototype._checkAge = function (key, element) {\n if (this.maxAge && (Date.now() - element.modified) > this.maxAge) {\n this.remove(key)\n this.emit('evict', {key: key, value: element.value})\n return false\n }\n return true\n}\n\nLRU.prototype.get = function (key) {\n if (typeof key !== 'string') key = '' + key\n if (!this.cache.hasOwnProperty(key)) return\n\n var element = this.cache[key]\n\n if (!this._checkAge(key, element)) return\n\n if (this.head !== key) {\n if (key === this.tail) {\n this.tail = element.next\n this.cache[this.tail].prev = null\n } else {\n // Set prev.next -> element.next:\n this.cache[element.prev].next = element.next\n }\n\n // Set element.next.prev -> element.prev:\n this.cache[element.next].prev = element.prev\n\n // Element is the new head\n this.cache[this.head].next = key\n element.prev = this.head\n element.next = null\n this.head = key\n }\n\n return element.value\n}\n\nLRU.prototype.evict = function () {\n if (!this.tail) return\n var key = this.tail\n var value = this.remove(this.tail)\n this.emit('evict', {key: key, value: value})\n}\n","module.exports = assert;\n\nfunction assert(val, msg) {\n if (!val)\n throw new Error(msg || 'Assertion failed');\n}\n\nassert.equal = function assertEqual(l, r, msg) {\n if (l != r)\n throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r));\n};\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar match = String.prototype.match;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nvar inspectCustom = require('./util.inspect').custom;\nvar inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;\nvar toStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag !== 'undefined' ? Symbol.toStringTag : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('options \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n return String(obj);\n }\n if (typeof obj === 'bigint') {\n return String(obj) + 'n';\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = seen.slice();\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function') {\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + keys.join(', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? String(obj).replace(/^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + String(obj.nodeName).toLowerCase();\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '</' + String(obj.nodeName).toLowerCase() + '>';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + xs.join(', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {\n return obj[inspectSymbol]();\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? toStr(obj).slice(8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + [].concat(stringTag || [], protoTag || []).join(': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + ys.join(', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return String(s).replace(/\"/g, '"');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString(str.slice(0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = str.replace(/(['\\\\])/g, '\\\\$1').replace(/[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + n.toString(16).toUpperCase();\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : entries.join(', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = Array(opts.indent + 1).join(' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: Array(depth + 1).join(baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + xs.join(',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ((/[^\\w$]/).test(key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","\nvar NativeProgressEvent = global.ProgressEvent;\nvar useNative = !!NativeProgressEvent;\n\ntry {\n (function () {\n var p = new NativeProgressEvent('loaded');\n useNative = 'loaded' === p.type;\n p = null;\n })();\n} catch (e) {\n useNative = false;\n}\n\n/**\n * Cross-browser `ProgressEvent` constructor.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent.ProgressEvent\n *\n * @public\n */\n\nmodule.exports = useNative ? NativeProgressEvent :\n\n// IE >= 9\n'function' === typeof document.createEvent ? function ProgressEvent (type, props) {\n var e = document.createEvent('Event');\n e.initEvent(type, false, false);\n if (props) {\n e.lengthComputable = Boolean(props.lengthComputable);\n e.loaded = Number(props.loaded) || 0;\n e.total = Number(props.total) || 0;\n } else {\n e.lengthComputable = false;\n e.loaded = e.total = 0;\n }\n return e;\n} :\n\n// IE <= 8\nfunction ProgressEvent (type, props) {\n var e = document.createEventObject();\n e.type = type;\n if (props) {\n e.lengthComputable = Boolean(props.lengthComputable);\n e.loaded = Number(props.loaded) || 0;\n e.total = Number(props.total) || 0;\n } else {\n e.lengthComputable = false;\n e.loaded = e.total = 0;\n }\n return e;\n}\n","'use strict';\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.RFC3986\n};\n","'use strict';\n\nvar stringify = require('./stringify');\nvar parse = require('./parse');\nvar formats = require('./formats');\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowPrototypes: false,\n allowSparse: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictNullHandling: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\nvar parseArrayValue = function (val, options) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n return val;\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = {};\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(options.delimiter, limit);\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key, val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n val = utils.maybeMap(\n parseArrayValue(part.slice(pos + 1), options),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(val);\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\n\n if (has.call(obj, key)) {\n obj[key] = utils.combine(obj[key], val);\n } else {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options, valuesParsed) {\n var leaf = valuesParsed ? val : parseArrayValue(val, options);\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n obj = [].concat(leaf);\n } else {\n obj = options.plainObjects ? Object.create(null) : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var index = parseInt(cleanRoot, 10);\n if (!options.parseArrays && cleanRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== cleanRoot\n && String(index) === cleanRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else if (cleanRoot !== '__proto__') {\n obj[cleanRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n // Get the parent\n\n var segment = options.depth > 0 && brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n // Stash the parent if it exists\n\n var keys = [];\n if (parent) {\n // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, just add whatever is left\n\n if (segment) {\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n return {\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? Object.create(null) : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? Object.create(null) : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n obj = utils.merge(obj, newObj, options);\n }\n\n if (options.allowSparse === true) {\n return obj;\n }\n\n return utils.compact(obj);\n};\n","'use strict';\n\nvar getSideChannel = require('side-channel');\nvar utils = require('./utils');\nvar formats = require('./formats');\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar split = String.prototype.split;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaultFormat = formats['default'];\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n charset: 'utf-8',\n charsetSentinel: false,\n delimiter: '&',\n encode: true,\n encoder: utils.encode,\n encodeValuesOnly: false,\n format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar sentinel = {};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n sideChannel\n) {\n var obj = object;\n\n var tmpSc = sideChannel;\n var step = 0;\n var findFlag = false;\n while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {\n // Where object last appeared in the ref tree\n var pos = tmpSc.get(object);\n step += 1;\n if (typeof pos !== 'undefined') {\n if (pos === step) {\n throw new RangeError('Cyclic object value');\n } else {\n findFlag = true; // Break while\n }\n }\n if (typeof tmpSc.get(sentinel) === 'undefined') {\n step = 0;\n }\n }\n\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n if (generateArrayPrefix === 'comma' && encodeValuesOnly) {\n var valuesArray = split.call(String(obj), ',');\n var valuesJoined = '';\n for (var i = 0; i < valuesArray.length; ++i) {\n valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));\n }\n return [formatter(keyValue) + '=' + valuesJoined];\n }\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n } else if (isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n for (var j = 0; j < objKeys.length; ++j) {\n var key = objKeys[j];\n var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix\n : prefix + (allowDots ? '.' + key : '[' + key + ']');\n\n sideChannel.set(object, step);\n var valueSideChannel = getSideChannel();\n valueSideChannel.set(sentinel, sideChannel);\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n valueSideChannel\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var arrayFormat;\n if (opts && opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if (opts && 'indices' in opts) {\n arrayFormat = opts.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = 'indices';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (options.sort) {\n objKeys.sort(options.sort);\n }\n\n var sideChannel = getSideChannel();\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (options.skipNulls && obj[key] === null) {\n continue;\n }\n pushToArray(keys, stringify(\n obj[key],\n key,\n generateArrayPrefix,\n options.strictNullHandling,\n options.skipNulls,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset,\n sideChannel\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.charset === 'iso-8859-1') {\n // encodeURIComponent('✓'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n","'use strict';\n\nvar formats = require('./formats');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? Object.create(null) : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && typeof target === 'object') {\n if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (!target || typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, decoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var i = 0; i < string.length; ++i) {\n var c = string.charCodeAt(i);\n\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n ) {\n out += string.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n out = out + hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));\n /* eslint operator-linebreak: [2, \"before\"] */\n out += hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n return [].concat(a, b);\n};\n\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isRegExp: isRegExp,\n maybeMap: maybeMap,\n merge: merge\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bind/callBound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\nvar $Map = GetIntrinsic('%Map%', true);\n\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSet = callBound('Map.prototype.set', true);\nvar $mapHas = callBound('Map.prototype.has', true);\n\n/*\n * This function traverses the list returning the node corresponding to the\n * given key.\n *\n * That node is also moved to the head of the list, so that if it's accessed\n * again we don't need to traverse the whole list. By doing so, all the recently\n * used nodes can be accessed relatively quickly.\n */\nvar listGetNode = function (list, key) { // eslint-disable-line consistent-return\n\tfor (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tcurr.next = list.next;\n\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\nvar listGet = function (objects, key) {\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = { // eslint-disable-line no-param-reassign\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t};\n\t}\n};\nvar listHas = function (objects, key) {\n\treturn !!listGetNode(objects, key);\n};\n\nmodule.exports = function getSideChannel() {\n\tvar $wm;\n\tvar $m;\n\tvar $o;\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapGet($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listGet($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapHas($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listHas($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif (!$wm) {\n\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t}\n\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t} else if ($Map) {\n\t\t\t\tif (!$m) {\n\t\t\t\t\t$m = new $Map();\n\t\t\t\t}\n\t\t\t\t$mapSet($m, key, value);\n\t\t\t} else {\n\t\t\t\tif (!$o) {\n\t\t\t\t\t/*\n\t\t\t\t\t * Initialize the linked list as an empty node, so that we don't have\n\t\t\t\t\t * to special-case handling of the first node: we can always refer to\n\t\t\t\t\t * it as (previous node).next, instead of something like (list).head\n\t\t\t\t\t */\n\t\t\t\t\t$o = { key: {}, next: null };\n\t\t\t\t}\n\t\t\t\tlistSet($o, key, value);\n\t\t\t}\n\t\t}\n\t};\n\treturn channel;\n};\n","import pluralForms from '@tannin/plural-forms';\n\n/**\n * Tannin constructor options.\n *\n * @typedef {Object} TanninOptions\n *\n * @property {string} [contextDelimiter] Joiner in string lookup with context.\n * @property {Function} [onMissingKey] Callback to invoke when key missing.\n */\n\n/**\n * Domain metadata.\n *\n * @typedef {Object} TanninDomainMetadata\n *\n * @property {string} [domain] Domain name.\n * @property {string} [lang] Language code.\n * @property {(string|Function)} [plural_forms] Plural forms expression or\n * function evaluator.\n */\n\n/**\n * Domain translation pair respectively representing the singular and plural\n * translation.\n *\n * @typedef {[string,string]} TanninTranslation\n */\n\n/**\n * Locale data domain. The key is used as reference for lookup, the value an\n * array of two string entries respectively representing the singular and plural\n * translation.\n *\n * @typedef {{[key:string]:TanninDomainMetadata|TanninTranslation,'':TanninDomainMetadata|TanninTranslation}} TanninLocaleDomain\n */\n\n/**\n * Jed-formatted locale data.\n *\n * @see http://messageformat.github.io/Jed/\n *\n * @typedef {{[domain:string]:TanninLocaleDomain}} TanninLocaleData\n */\n\n/**\n * Default Tannin constructor options.\n *\n * @type {TanninOptions}\n */\nvar DEFAULT_OPTIONS = {\n\tcontextDelimiter: '\\u0004',\n\tonMissingKey: null,\n};\n\n/**\n * Given a specific locale data's config `plural_forms` value, returns the\n * expression.\n *\n * @example\n *\n * ```\n * getPluralExpression( 'nplurals=2; plural=(n != 1);' ) === '(n != 1)'\n * ```\n *\n * @param {string} pf Locale data plural forms.\n *\n * @return {string} Plural forms expression.\n */\nfunction getPluralExpression( pf ) {\n\tvar parts, i, part;\n\n\tparts = pf.split( ';' );\n\n\tfor ( i = 0; i < parts.length; i++ ) {\n\t\tpart = parts[ i ].trim();\n\t\tif ( part.indexOf( 'plural=' ) === 0 ) {\n\t\t\treturn part.substr( 7 );\n\t\t}\n\t}\n}\n\n/**\n * Tannin constructor.\n *\n * @class\n *\n * @param {TanninLocaleData} data Jed-formatted locale data.\n * @param {TanninOptions} [options] Tannin options.\n */\nexport default function Tannin( data, options ) {\n\tvar key;\n\n\t/**\n\t * Jed-formatted locale data.\n\t *\n\t * @name Tannin#data\n\t * @type {TanninLocaleData}\n\t */\n\tthis.data = data;\n\n\t/**\n\t * Plural forms function cache, keyed by plural forms string.\n\t *\n\t * @name Tannin#pluralForms\n\t * @type {Object<string,Function>}\n\t */\n\tthis.pluralForms = {};\n\n\t/**\n\t * Effective options for instance, including defaults.\n\t *\n\t * @name Tannin#options\n\t * @type {TanninOptions}\n\t */\n\tthis.options = {};\n\n\tfor ( key in DEFAULT_OPTIONS ) {\n\t\tthis.options[ key ] = options !== undefined && key in options\n\t\t\t? options[ key ]\n\t\t\t: DEFAULT_OPTIONS[ key ];\n\t}\n}\n\n/**\n * Returns the plural form index for the given domain and value.\n *\n * @param {string} domain Domain on which to calculate plural form.\n * @param {number} n Value for which plural form is to be calculated.\n *\n * @return {number} Plural form index.\n */\nTannin.prototype.getPluralForm = function( domain, n ) {\n\tvar getPluralForm = this.pluralForms[ domain ],\n\t\tconfig, plural, pf;\n\n\tif ( ! getPluralForm ) {\n\t\tconfig = this.data[ domain ][ '' ];\n\n\t\tpf = (\n\t\t\tconfig[ 'Plural-Forms' ] ||\n\t\t\tconfig[ 'plural-forms' ] ||\n\t\t\t// Ignore reason: As known, there's no way to document the empty\n\t\t\t// string property on a key to guarantee this as metadata.\n\t\t\t// @ts-ignore\n\t\t\tconfig.plural_forms\n\t\t);\n\n\t\tif ( typeof pf !== 'function' ) {\n\t\t\tplural = getPluralExpression(\n\t\t\t\tconfig[ 'Plural-Forms' ] ||\n\t\t\t\tconfig[ 'plural-forms' ] ||\n\t\t\t\t// Ignore reason: As known, there's no way to document the empty\n\t\t\t\t// string property on a key to guarantee this as metadata.\n\t\t\t\t// @ts-ignore\n\t\t\t\tconfig.plural_forms\n\t\t\t);\n\n\t\t\tpf = pluralForms( plural );\n\t\t}\n\n\t\tgetPluralForm = this.pluralForms[ domain ] = pf;\n\t}\n\n\treturn getPluralForm( n );\n};\n\n/**\n * Translate a string.\n *\n * @param {string} domain Translation domain.\n * @param {string|void} context Context distinguishing terms of the same name.\n * @param {string} singular Primary key for translation lookup.\n * @param {string=} plural Fallback value used for non-zero plural\n * form index.\n * @param {number=} n Value to use in calculating plural form.\n *\n * @return {string} Translated string.\n */\nTannin.prototype.dcnpgettext = function( domain, context, singular, plural, n ) {\n\tvar index, key, entry;\n\n\tif ( n === undefined ) {\n\t\t// Default to singular.\n\t\tindex = 0;\n\t} else {\n\t\t// Find index by evaluating plural form for value.\n\t\tindex = this.getPluralForm( domain, n );\n\t}\n\n\tkey = singular;\n\n\t// If provided, context is prepended to key with delimiter.\n\tif ( context ) {\n\t\tkey = context + this.options.contextDelimiter + singular;\n\t}\n\n\tentry = this.data[ domain ][ key ];\n\n\t// Verify not only that entry exists, but that the intended index is within\n\t// range and non-empty.\n\tif ( entry && entry[ index ] ) {\n\t\treturn entry[ index ];\n\t}\n\n\tif ( this.options.onMissingKey ) {\n\t\tthis.options.onMissingKey( singular, domain );\n\t}\n\n\t// If entry not found, fall back to singular vs. plural with zero index\n\t// representing the singular value.\n\treturn index === 0 ? singular : plural;\n};\n","import { DomainSuggestions } from '@automattic/data-stores';\n\nDomainSuggestions.register();\n","import { Launch } from '@automattic/data-stores';\n\nexport type LaunchStepType = Launch.LaunchStepType;\n\nLaunch.register();\n","import { Plans } from '@automattic/data-stores';\n\nPlans.register();\n","import { Site } from '@automattic/data-stores';\n\nSite.register( { client_id: '', client_secret: '' } );\n","import { WPCOMFeatures } from '@automattic/data-stores';\n\nWPCOMFeatures.register();\n","import type { ConfigData } from '@automattic/create-calypso-config';\n\n// TODO: Revisit whether it is useful for the Desktop app to override the following properties:\n// signup_url, login_url, logout_url and discover_logged_out_redirect_url\n\nconst config = {\n\tenv: 'production',\n\tenv_id: 'desktop',\n\tclient_slug: 'desktop',\n\treaderFollowingSource: 'desktop',\n\tboom_analytics_key: 'desktop',\n\tgoogle_recaptcha_site_key: '6LdoXcAUAAAAAM61KvdgP8xwnC19YuzAiOWn5Wtn',\n};\n\nconst features = {\n\tdesktop: true,\n\t'desktop-promo': false,\n\t'sign-in-with-apple': false,\n\t// Note: there is also a sign-in-with-apple/redirect flag\n\t// that may/may not be relevant to override for the Desktop app.\n\t'signup/social': false,\n\t'login/magic-login': false,\n\t'bilmur-script': false,\n};\n\nexport default ( data: ConfigData ): ConfigData => {\n\tdata = Object.assign( data, config );\n\tif ( data.features ) {\n\t\tdata.features = Object.assign( data.features, features );\n\t}\n\tif ( window.electron && window.electron.features ) {\n\t\tdata.features = Object.assign( data.features, window.electron.features );\n\t}\n\n\treturn data;\n};\n","import createConfig from '@automattic/create-calypso-config';\nimport cookie from 'cookie';\nimport desktopOverride from './desktop';\nimport type { ConfigData } from '@automattic/create-calypso-config';\n\ndeclare global {\n\tinterface Window {\n\t\tconfigData: ConfigData;\n\t\telectron: any; // eslint-disable-line @typescript-eslint/no-explicit-any\n\t}\n}\n\n/**\n * Manages config flags for various deployment builds\n *\n * @module config/index\n */\nif ( 'undefined' === typeof window || ! window.configData ) {\n\tthrow new ReferenceError(\n\t\t'No configuration was found: please see packages/calypso-config/README.md for more information'\n\t);\n}\n\nconst isDesktop = window.electron !== undefined;\n\nlet configData: ConfigData;\n\nif ( isDesktop ) {\n\tconfigData = desktopOverride( window.configData );\n} else {\n\tconfigData = window.configData;\n}\n\n// calypso.live matches\n// hash-abcd1234.calypso.live matches\n// calypso.live.com doesn't match\nconst CALYPSO_LIVE_REGEX = /^([a-zA-Z0-9-]+\\.)?calypso\\.live$/;\n\n// check if the current browser location is *.calypso.live\nexport function isCalypsoLive(): boolean {\n\treturn typeof window !== 'undefined' && CALYPSO_LIVE_REGEX.test( window.location.host );\n}\n\nfunction applyFlags( flagsString: string, modificationMethod: string ) {\n\tconst flags = flagsString.split( ',' );\n\tflags.forEach( ( flagRaw ) => {\n\t\tconst flag = flagRaw.replace( /^[-+]/, '' );\n\t\tconst enabled = ! /^-/.test( flagRaw );\n\t\tif ( configData.features ) {\n\t\t\tconfigData.features[ flag ] = enabled;\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.log(\n\t\t\t\t'%cConfig flag %s via %s: %s',\n\t\t\t\t'font-weight: bold;',\n\t\t\t\tenabled ? 'enabled' : 'disabled',\n\t\t\t\tmodificationMethod,\n\t\t\t\tflag\n\t\t\t);\n\t\t}\n\t} );\n}\n\nconst flagEnvironments = [ 'wpcalypso', 'horizon', 'stage', 'jetpack-cloud-stage' ];\n\nif (\n\tprocess.env.NODE_ENV === 'development' ||\n\tflagEnvironments.includes( configData.env_id ) ||\n\tisCalypsoLive()\n) {\n\tconst cookies = cookie.parse( document.cookie );\n\tif ( cookies.flags ) {\n\t\tapplyFlags( cookies.flags, 'cookie' );\n\t}\n\n\ttry {\n\t\tconst session = window.sessionStorage.getItem( 'flags' );\n\t\tif ( session ) {\n\t\t\tapplyFlags( session, 'sessionStorage' );\n\t\t}\n\t} catch ( e ) {\n\t\t// in private context, accessing session storage can throw\n\t}\n\n\tconst match =\n\t\tdocument.location.search && document.location.search.match( /[?&]flags=([^&]+)(&|$)/ );\n\tif ( match ) {\n\t\tapplyFlags( decodeURIComponent( match[ 1 ] ), 'URL' );\n\t}\n}\nconst configApi = createConfig( configData );\nexport default configApi;\nexport const isEnabled = configApi.isEnabled;\nexport const enabledFeatures = configApi.enabledFeatures;\nexport const enable = configApi.enable;\nexport const disable = configApi.disable;\n","export type ConfigValue = string | boolean | number;\n\nexport type ConfigData = Record< string, any > & {\n\tfeatures?: Record< string, boolean >;\n};\n/**\n * Returns configuration value for given key\n *\n * If the requested key isn't defined in the configuration\n * data then this will report the failure with either an\n * error or a console warning.\n *\n * When in the 'development' NODE_ENV it will raise an error\n * to crash execution early. However, because many modules\n * call this function in the module-global scope a failure\n * here can not only crash that module but also entire\n * application flows as well as trigger unexpected and\n * unwanted behaviors. Therefore if the NODE_ENV is not\n * 'development' we will return `undefined` and log a message\n * to the console instead of halting the execution thread.\n *\n * The config files are loaded in sequence: _shared.json, {env}.json, {env}.local.json\n *\n * @see server/config/parser.js\n * @param data Configurat data.\n * @throws {ReferenceError} when key not defined in the config (NODE_ENV=development only)\n * @returns A function that gets the value of property named by the key\n */\nconst config =\n\t( data: ConfigData ) =>\n\t< T >( key: string ): T | undefined => {\n\t\tif ( key in data ) {\n\t\t\treturn data[ key ] as T;\n\t\t}\n\n\t\tif ( 'development' === process.env.NODE_ENV ) {\n\t\t\tthrow new ReferenceError(\n\t\t\t\t`Could not find config value for key '${ key }'\\n` +\n\t\t\t\t\t\"Please make sure that if you need it then it has a default value assigned in 'config/_shared.json'\"\n\t\t\t);\n\t\t}\n\n\t\t// display console error only in a browser\n\t\t// (not in tests, for example)\n\t\tif ( 'undefined' !== typeof window ) {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.error(\n\t\t\t\t'%cCore Error: ' +\n\t\t\t\t\t`%cCould not find config value for key %c${ key }%c. ` +\n\t\t\t\t\t'Please make sure that if you need it then it has a default value assigned in ' +\n\t\t\t\t\t'%cconfig/_shared.json' +\n\t\t\t\t\t'%c.',\n\t\t\t\t'color: red; font-size: 120%', // error prefix\n\t\t\t\t'color: black;', // message\n\t\t\t\t'color: blue;', // key name\n\t\t\t\t'color: black;', // message\n\t\t\t\t'color: blue;', // config file reference\n\t\t\t\t'color: black' // message\n\t\t\t);\n\t\t}\n\n\t\treturn undefined;\n\t};\n\n/**\n * Checks whether a specific feature is enabled.\n *\n * @param data the json environment configuration to use for getting config values\n * @returns A function that takes a feature name and returns true when the feature is enabled.\n */\nconst isEnabled =\n\t( data: ConfigData ) =>\n\t( feature: string ): boolean =>\n\t\t( data.features && !! data.features[ feature ] ) || false;\n\n/**\n * Gets a list of all enabled features.\n *\n * @param data A set of config data (Not used by general users, is pre-filled via currying).\n * @returns List of enabled features (strings).\n */\nconst enabledFeatures = ( data: ConfigData ) => (): string[] => {\n\tif ( ! data.features ) {\n\t\treturn [];\n\t}\n\treturn Object.entries( data.features ).reduce(\n\t\t( enabled, [ feature, isEnabled ] ) => ( isEnabled ? [ ...enabled, feature ] : enabled ),\n\t\t[] as string[]\n\t);\n};\n\n/**\n * Enables a specific feature.\n *\n * @param data the json environment configuration to use for getting config values\n */\nconst enable = ( data: ConfigData ) => ( feature: string ) => {\n\tif ( data.features ) {\n\t\tdata.features[ feature ] = true;\n\t}\n};\n\n/**\n * Disables a specific feature.\n *\n * @param data the json environment configuration to use for getting config values\n */\n\nconst disable = ( data: ConfigData ) => ( feature: string ) => {\n\tif ( data.features ) {\n\t\tdata.features[ feature ] = false;\n\t}\n};\n\nexport interface ConfigApi {\n\t< T >( key: string ): T;\n\tisEnabled: ( feature: string ) => boolean;\n\tenabledFeatures: () => string[];\n\tenable: ( feature: string ) => void;\n\tdisable: ( feature: string ) => void;\n}\n\nexport default ( data: ConfigData ): ConfigApi => {\n\tconst configApi = config( data ) as ConfigApi;\n\tconfigApi.isEnabled = isEnabled( data );\n\tconfigApi.enabledFeatures = enabledFeatures( data );\n\tconfigApi.enable = enable( data );\n\tconfigApi.disable = disable( data );\n\n\treturn configApi;\n};\n","import type {\n\tDomainSuggestion,\n\tDomainSuggestionQuery,\n\tDomainCategory,\n\tDomainAvailability,\n} from './types';\n\nexport const receiveCategories = ( categories: DomainCategory[] ) =>\n\t( {\n\t\ttype: 'RECEIVE_CATEGORIES',\n\t\tcategories,\n\t} as const );\n\nexport const fetchDomainSuggestions = () =>\n\t( {\n\t\ttype: 'FETCH_DOMAIN_SUGGESTIONS',\n\t\ttimeStamp: Date.now(),\n\t} as const );\n\nexport const receiveDomainAvailability = ( domainName: string, availability: DomainAvailability ) =>\n\t( {\n\t\ttype: 'RECEIVE_DOMAIN_AVAILABILITY',\n\t\tdomainName,\n\t\tavailability,\n\t} as const );\n\nexport const receiveDomainSuggestionsSuccess = (\n\tqueryObject: DomainSuggestionQuery,\n\tsuggestions: DomainSuggestion[] | undefined\n) =>\n\t( {\n\t\ttype: 'RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS',\n\t\tqueryObject,\n\t\tsuggestions,\n\t\ttimeStamp: Date.now(),\n\t} as const );\n\nexport const receiveDomainSuggestionsError = ( errorMessage: string ) =>\n\t( {\n\t\ttype: 'RECEIVE_DOMAIN_SUGGESTIONS_ERROR',\n\t\terrorMessage,\n\t\ttimeStamp: Date.now(),\n\t} as const );\n\nexport type Action = ReturnType<\n\t| typeof receiveCategories\n\t| typeof fetchDomainSuggestions\n\t| typeof receiveDomainSuggestionsSuccess\n\t| typeof receiveDomainSuggestionsError\n\t| typeof receiveDomainAvailability\n>;\n","export const STORE_KEY = 'automattic/domains/suggestions';\n\nexport enum DataStatus {\n\tFailure = 'failure',\n\tPending = 'pending',\n\tSuccess = 'success',\n\tUninitialized = 'uninitialized',\n}\n","import { registerStore } from '@wordpress/data';\nimport { controls } from '../wpcom-request-controls';\nimport * as actions from './actions';\nimport { STORE_KEY } from './constants';\nimport reducer, { State } from './reducer';\nimport * as resolvers from './resolvers';\nimport * as selectors from './selectors';\nimport type { DispatchFromMap, SelectFromMap } from '../mapped-types';\n\nexport * from './types';\nexport * from './constants';\nexport { getFormattedPrice } from './utils';\nexport type { State };\n\nlet isRegistered = false;\n\nexport function register(): typeof STORE_KEY {\n\tif ( ! isRegistered ) {\n\t\tisRegistered = true;\n\t\tregisterStore< State >( STORE_KEY, {\n\t\t\tactions,\n\t\t\tcontrols: controls as any,\n\t\t\treducer: reducer as any,\n\t\t\tresolvers,\n\t\t\tselectors,\n\t\t} );\n\t}\n\treturn STORE_KEY;\n}\n\ndeclare module '@wordpress/data' {\n\tfunction dispatch( key: typeof STORE_KEY ): DispatchFromMap< typeof actions >;\n\tfunction select( key: typeof STORE_KEY ): SelectFromMap< typeof selectors >;\n}\n","import { combineReducers } from '@wordpress/data';\nimport { DataStatus } from './constants';\nimport { stringifyDomainQueryObject } from './utils';\nimport type { Action } from './actions';\nimport type { DomainCategory, DomainSuggestionState, DomainAvailabilities } from './types';\nimport type { Reducer } from 'redux';\n\nconst initialDomainSuggestionState: DomainSuggestionState = {\n\tstate: DataStatus.Uninitialized,\n\tdata: {},\n\terrorMessage: null,\n\tlastUpdated: -Infinity,\n\tpendingSince: undefined,\n};\n\nexport const domainSuggestions: Reducer< DomainSuggestionState, Action > = (\n\tstate = initialDomainSuggestionState,\n\taction\n) => {\n\tif ( action.type === 'FETCH_DOMAIN_SUGGESTIONS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\tstate: DataStatus.Pending,\n\t\t\terrorMessage: null,\n\t\t\tpendingSince: action.timeStamp,\n\t\t};\n\t}\n\n\tif ( action.type === 'RECEIVE_DOMAIN_SUGGESTIONS_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\tstate: DataStatus.Success,\n\t\t\tdata: {\n\t\t\t\t...state.data,\n\t\t\t\t[ stringifyDomainQueryObject( action.queryObject ) ]: action.suggestions,\n\t\t\t},\n\t\t\terrorMessage: null,\n\t\t\tlastUpdated: action.timeStamp,\n\t\t\tpendingSince: undefined,\n\t\t};\n\t}\n\n\tif ( action.type === 'RECEIVE_DOMAIN_SUGGESTIONS_ERROR' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\tstate: DataStatus.Failure,\n\t\t\terrorMessage: action.errorMessage,\n\t\t\tlastUpdated: action.timeStamp,\n\t\t\tpendingSince: undefined,\n\t\t};\n\t}\n\n\treturn state;\n};\n\nconst categories: Reducer< DomainCategory[], Action > = ( state = [], action ) => {\n\tif ( action.type === 'RECEIVE_CATEGORIES' ) {\n\t\treturn action.categories;\n\t}\n\treturn state;\n};\n\nconst availability: Reducer< DomainAvailabilities, Action > = ( state = {}, action ) => {\n\tif ( action.type === 'RECEIVE_DOMAIN_AVAILABILITY' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.domainName ]: action.availability,\n\t\t};\n\t}\n\treturn state;\n};\n\nconst reducer = combineReducers( { categories, domainSuggestions, availability } );\n\nexport type State = ReturnType< typeof reducer >;\n\nexport default reducer;\n","import { translate } from 'i18n-calypso';\nimport { stringify } from 'qs';\nimport validator from 'validator';\nimport { fetchAndParse, wpcomRequest } from '../wpcom-request-controls';\nimport {\n\treceiveCategories,\n\treceiveDomainSuggestionsSuccess,\n\treceiveDomainSuggestionsError,\n\tfetchDomainSuggestions,\n\treceiveDomainAvailability,\n} from './actions';\nimport { getFormattedPrice } from './utils';\nimport type { DomainSuggestion, DomainSuggestionQuery } from './types';\n\nfunction getAvailabilityURL( domainName: string ) {\n\treturn `https://public-api.wordpress.com/rest/v1.3/domains/${ encodeURIComponent(\n\t\tdomainName\n\t) }/is-available?is_cart_pre_check=true`;\n}\n\nfunction suggestionsLackThisFQDN( suggestions: DomainSuggestion[], domainName: string ) {\n\treturn (\n\t\tvalidator.isFQDN( domainName ) &&\n\t\t! suggestions.some( ( s ) => s.domain_name.toLowerCase() === domainName )\n\t);\n}\n\nexport const isAvailable = function* isAvailable( domainName: string ) {\n\tconst url = getAvailabilityURL( domainName );\n\n\ttry {\n\t\tconst { body } = yield fetchAndParse( url );\n\t\treturn receiveDomainAvailability( domainName, body );\n\t} catch {\n\t\t// the API returns a status of 'unknown' if it can not accurately determine\n\t\t// availability, we will return the same status if the API request fails.\n\t\treturn receiveDomainAvailability( domainName, {\n\t\t\tdomain_name: domainName,\n\t\t\tmappable: 'unknown',\n\t\t\tstatus: 'unknown',\n\t\t\tsupports_privacy: false,\n\t\t} );\n\t}\n};\n\nexport function* getCategories() {\n\tconst { body } = yield fetchAndParse(\n\t\t'https://public-api.wordpress.com/wpcom/v2/onboarding/domains/categories'\n\t);\n\treturn receiveCategories( body );\n}\n\nexport function* __internalGetDomainSuggestions( queryObject: DomainSuggestionQuery ) {\n\t// If normalized search string (`query`) contains no alphanumerics, endpoint 404s\n\tif ( ! queryObject.query ) {\n\t\treturn receiveDomainSuggestionsError( 'Empty query' );\n\t}\n\n\tyield fetchDomainSuggestions();\n\n\ttry {\n\t\tconst suggestions: DomainSuggestion[] = yield wpcomRequest( {\n\t\t\tapiVersion: '1.1',\n\t\t\tpath: '/domains/suggestions',\n\t\t\tquery: stringify( queryObject ),\n\t\t} );\n\n\t\tif ( ! Array.isArray( suggestions ) ) {\n\t\t\t// Other internal server errors\n\t\t\treturn receiveDomainSuggestionsError(\n\t\t\t\ttranslate( 'Invalid response from the server' ) as string\n\t\t\t);\n\t\t}\n\n\t\t// if the query is a FQDN and the results don't have it,\n\t\t// this implies that the user is searching for an unavailable domain name\n\t\t// TODO: query the availability endpoint to find the exact reason why it's unavailable\n\t\t// all the possible responses can be found here https://github.com/Automattic/wp-calypso/blob/trunk/client/lib/domains/registration/availability-messages.js#L40-L390\n\t\tif ( suggestionsLackThisFQDN( suggestions, queryObject.query ) ) {\n\t\t\tconst unavailableSuggestion: DomainSuggestion = {\n\t\t\t\tdomain_name: queryObject.query,\n\t\t\t\tunavailable: true,\n\t\t\t\tcost: '',\n\t\t\t\traw_price: 0,\n\t\t\t\tcurrency_code: '',\n\t\t\t};\n\t\t\tsuggestions.unshift( unavailableSuggestion );\n\t\t}\n\n\t\tconst processedSuggestions = suggestions.map( ( suggestion: DomainSuggestion ) => {\n\t\t\tif ( suggestion.unavailable ) {\n\t\t\t\treturn suggestion;\n\t\t\t}\n\t\t\treturn {\n\t\t\t\t...suggestion,\n\t\t\t\t...( suggestion.raw_price &&\n\t\t\t\t\tsuggestion.currency_code && {\n\t\t\t\t\t\tcost: getFormattedPrice( suggestion.raw_price, suggestion.currency_code ),\n\t\t\t\t\t} ),\n\t\t\t};\n\t\t} );\n\n\t\treturn receiveDomainSuggestionsSuccess( queryObject, processedSuggestions );\n\t} catch ( e ) {\n\t\t// e.g. no connection, or JSON parsing error\n\t\treturn receiveDomainSuggestionsError(\n\t\t\t( e as Error ).message || ( translate( 'Error while fetching server response' ) as string )\n\t\t);\n\t}\n}\n","import { select } from '@wordpress/data';\nimport { STORE_KEY, DataStatus } from './constants';\nimport { stringifyDomainQueryObject, normalizeDomainSuggestionQuery } from './utils';\nimport type { State } from './reducer';\nimport type {\n\tDomainAvailability,\n\tDomainAvailabilities,\n\tDomainCategory,\n\tDomainSuggestion,\n\tDomainSuggestionQuery,\n\tDomainSuggestionSelectorOptions,\n} from './types';\n\nexport const getCategories = ( state: State ): DomainCategory[] => {\n\t// Sort domain categories by tier, then by title.\n\treturn [\n\t\t...state.categories\n\t\t\t.filter( ( { tier } ) => tier !== null )\n\t\t\t.sort( ( a, b ) => ( a > b ? 1 : -1 ) ),\n\t\t...state.categories\n\t\t\t.filter( ( { tier } ) => tier === null )\n\t\t\t.sort( ( a, b ) => a.title.localeCompare( b.title ) ),\n\t];\n};\n\nexport const getDomainSuggestions = (\n\t_state: State,\n\tsearch: string,\n\toptions: DomainSuggestionSelectorOptions = {}\n): DomainSuggestion[] | undefined => {\n\tconst normalizedQuery = normalizeDomainSuggestionQuery( search, options );\n\n\t// We need to go through the `select` store to get the resolver action\n\treturn select( STORE_KEY ).__internalGetDomainSuggestions( normalizedQuery );\n};\n\nexport const getDomainState = ( state: State ): DataStatus => {\n\treturn state.domainSuggestions.state;\n};\n\nexport const getDomainErrorMessage = ( state: State ): string | null => {\n\treturn state.domainSuggestions.errorMessage;\n};\n\n// TODO: reconcile this function with \"Pending\" status?\n// It doesn't seem to be used\nexport const isLoadingDomainSuggestions = (\n\t_state: State,\n\tsearch: string,\n\toptions: DomainSuggestionSelectorOptions = {}\n): boolean => {\n\tconst normalizedQuery = normalizeDomainSuggestionQuery( search, options );\n\n\treturn select( 'core/data' ).isResolving( STORE_KEY, '__internalGetDomainSuggestions', [\n\t\tnormalizedQuery,\n\t] );\n};\n\n/**\n * Do not use this selector. It is for internal use.\n *\n * @param state Store state\n * @param queryObject Normalized object representing the query\n * @returns suggestions\n */\nexport const __internalGetDomainSuggestions = (\n\tstate: State,\n\tqueryObject: DomainSuggestionQuery\n): DomainSuggestion[] | undefined => {\n\treturn state.domainSuggestions.data[ stringifyDomainQueryObject( queryObject ) ];\n};\n\nexport const isAvailable = ( state: State, domainName: string ): DomainAvailability | undefined => {\n\treturn state.availability[ domainName ];\n};\n\nexport const getDomainAvailabilities = ( state: State ): DomainAvailabilities => {\n\treturn state.availability;\n};\n","import formatCurrency from '@automattic/format-currency';\nimport deterministicStringify from 'fast-json-stable-stringify';\nimport type { DomainSuggestionQuery, DomainSuggestionSelectorOptions } from './types';\n\n/**\n * Stable transform to an object key for storage and access.\n *\n * @see client/state/domains/suggestions/utils.js\n */\nexport const stringifyDomainQueryObject: ( q: DomainSuggestionQuery ) => string =\n\tdeterministicStringify;\n\n/**\n * Formats the domain suggestion price according to 'format-currency' package rules\n * We use this for consistency in prices formats across plans and domains\n *\n * @param price the domain suggestion raw price\n * @param currencyCode the currency code to be used when formatting price\n */\nexport function getFormattedPrice( price: number, currencyCode: string ): string {\n\treturn formatCurrency( price, currencyCode, {\n\t\tstripZeros: true,\n\t} ) as string;\n}\n\n/**\n * Normalize domain query\n *\n * It's important to have a consistent, reproduceable representation of a domains query so that the result can be\n * stored and retrieved.\n *\n * @see client/state/domains/suggestions/utils.js\n * @see client/components/data/query-domains-suggestions/index.jsx\n *\n * @param search Domain search string\n * @param queryOptions Optional paramaters for the query\n * @returns Normalized query object\n */\nexport function normalizeDomainSuggestionQuery(\n\tsearch: string,\n\tqueryOptions: DomainSuggestionSelectorOptions\n): DomainSuggestionQuery {\n\treturn {\n\t\t// Defaults\n\t\tinclude_wordpressdotcom: queryOptions.only_wordpressdotcom || false,\n\t\tinclude_dotblogsubdomain: false,\n\t\tonly_wordpressdotcom: false,\n\t\tquantity: 5,\n\t\tvendor: 'variation2_front',\n\n\t\t// Merge options\n\t\t...queryOptions,\n\n\t\t// Add the search query\n\t\tquery: search.trim().toLocaleLowerCase(),\n\t};\n}\n","import { select } from '@wordpress/data';\nimport { PLANS_STORE } from './constants';\nimport type { Plans } from '..';\nimport type * as DomainSuggestions from '../domain-suggestions';\nimport type { ReturnOrGeneratorYieldUnion } from '../mapped-types';\nimport type { LaunchStepType } from './types';\n\nexport const setSidebarFullscreen = () =>\n\t( {\n\t\ttype: 'SET_SIDEBAR_FULLSCREEN',\n\t} as const );\n\nexport const unsetSidebarFullscreen = () =>\n\t( {\n\t\ttype: 'UNSET_SIDEBAR_FULLSCREEN',\n\t} as const );\n\nexport const setStep = ( step: LaunchStepType ) =>\n\t( {\n\t\ttype: 'SET_STEP',\n\t\tstep,\n\t} as const );\n\nexport const setSiteTitle = ( title: string ) =>\n\t( {\n\t\ttype: 'SET_SITE_TITLE',\n\t\ttitle,\n\t} as const );\n\nexport const setDomain = ( domain: DomainSuggestions.DomainSuggestion ) =>\n\t( {\n\t\ttype: 'SET_DOMAIN',\n\t\tdomain,\n\t} as const );\n\nexport const unsetDomain = () =>\n\t( {\n\t\ttype: 'UNSET_DOMAIN',\n\t} as const );\n\nexport const confirmDomainSelection = () =>\n\t( {\n\t\ttype: 'CONFIRM_DOMAIN_SELECTION',\n\t} as const );\n\nexport const setDomainSearch = ( domainSearch: string ) =>\n\t( {\n\t\ttype: 'SET_DOMAIN_SEARCH',\n\t\tdomainSearch,\n\t} as const );\n\n/**\n * It's not recommended to export this function. We need the billing period\n * to be a side-effect of the plan. Please don't export this action creator as you might\n * create a discrepancy between the selected plan and the selected billing period\n *\n * @param billingPeriod the period\n */\nconst __internalSetBillingPeriod = ( billingPeriod: Plans.PlanBillingPeriod ) =>\n\t( {\n\t\ttype: 'SET_PLAN_BILLING_PERIOD',\n\t\tbillingPeriod,\n\t} as const );\n\nexport const setPlanProductId = function* ( planProductId: number | undefined ) {\n\tconst isFree = select( PLANS_STORE ).isPlanProductFree( planProductId );\n\n\tif ( ! isFree ) {\n\t\tconst planProduct = select( PLANS_STORE ).getPlanProductById( planProductId );\n\t\tconst billingPeriod = planProduct?.billingPeriod ?? 'ANNUALLY';\n\n\t\tyield __internalSetBillingPeriod( billingPeriod );\n\t}\n\n\treturn {\n\t\ttype: 'SET_PLAN_PRODUCT_ID',\n\t\tplanProductId,\n\t} as const;\n};\n\nexport const unsetPlanProductId = () =>\n\t( {\n\t\ttype: 'UNSET_PLAN_PRODUCT_ID',\n\t} as const );\n\nexport function updatePlan( planProductId: number | undefined ) {\n\t// keep updatePlan for backwards compat\n\treturn setPlanProductId( planProductId );\n}\n\nexport const openSidebar = () =>\n\t( {\n\t\ttype: 'OPEN_SIDEBAR',\n\t} as const );\n\nexport const closeSidebar = () =>\n\t( {\n\t\ttype: 'CLOSE_SIDEBAR',\n\t} as const );\n\nexport const openFocusedLaunch = () =>\n\t( {\n\t\ttype: 'OPEN_FOCUSED_LAUNCH',\n\t} as const );\n\nexport const closeFocusedLaunch = () =>\n\t( {\n\t\ttype: 'CLOSE_FOCUSED_LAUNCH',\n\t} as const );\n\nexport const enableAnchorFm = () =>\n\t( {\n\t\ttype: 'ENABLE_ANCHOR_FM',\n\t} as const );\n\nexport const showSiteTitleStep = () =>\n\t( {\n\t\ttype: 'SHOW_SITE_TITLE_STEP',\n\t} as const );\n\nexport const setModalDismissible = () =>\n\t( {\n\t\ttype: 'SET_MODAL_DISMISSIBLE',\n\t} as const );\n\nexport const unsetModalDismissible = () =>\n\t( {\n\t\ttype: 'UNSET_MODAL_DISMISSIBLE',\n\t} as const );\n\nexport const showModalTitle = () =>\n\t( {\n\t\ttype: 'SHOW_MODAL_TITLE',\n\t} as const );\n\nexport const hideModalTitle = () =>\n\t( {\n\t\ttype: 'HIDE_MODAL_TITLE',\n\t} as const );\n\nexport const enablePersistentSuccessView = () =>\n\t( {\n\t\ttype: 'ENABLE_SUCCESS_VIEW',\n\t} as const );\n\nexport const disablePersistentSuccessView = () =>\n\t( {\n\t\ttype: 'DISABLE_SUCCESS_VIEW',\n\t} as const );\n\nexport type LaunchAction = ReturnOrGeneratorYieldUnion<\n\t| typeof setSiteTitle\n\t| typeof unsetDomain\n\t| typeof setStep\n\t| typeof setDomain\n\t| typeof confirmDomainSelection\n\t| typeof setDomainSearch\n\t| typeof setPlanProductId\n\t| typeof openFocusedLaunch\n\t| typeof closeFocusedLaunch\n\t| typeof unsetPlanProductId\n\t| typeof openSidebar\n\t| typeof closeSidebar\n\t| typeof enableAnchorFm\n\t| typeof setSidebarFullscreen\n\t| typeof unsetSidebarFullscreen\n\t| typeof showSiteTitleStep\n\t| typeof setModalDismissible\n\t| typeof unsetModalDismissible\n\t| typeof showModalTitle\n\t| typeof hideModalTitle\n>;\n","export const STORE_KEY = 'automattic/launch';\nexport const SITE_STORE = 'automattic/site';\nexport const PLANS_STORE = 'automattic/onboard/plans';\n","export const LaunchStep: Record< string, string > = {\n\tName: 'name',\n\tDomain: 'domain',\n\tPlan: 'plan',\n\tFinal: 'final',\n};\n\nexport const LaunchSequence: Array< string > = [\n\tLaunchStep.Name,\n\tLaunchStep.Domain,\n\tLaunchStep.Plan,\n\tLaunchStep.Final,\n];\n","import { plugins, registerStore, use } from '@wordpress/data';\nimport { controls } from '@wordpress/data-controls';\nimport * as actions from './actions';\nimport { STORE_KEY } from './constants';\nimport persistOptions from './persist';\nimport reducer, { State } from './reducer';\nimport * as selectors from './selectors';\nimport type { SelectFromMap, DispatchFromMap } from '../mapped-types';\n\nexport type { State };\nexport type { LaunchStepType } from './types';\nexport { STORE_KEY };\n\nuse( plugins.persistence, persistOptions );\n\nlet isRegistered = false;\n\nexport function register(): typeof STORE_KEY {\n\tif ( ! isRegistered ) {\n\t\tisRegistered = true;\n\t\tregisterStore< State >( STORE_KEY, {\n\t\t\tactions,\n\t\t\tcontrols,\n\t\t\treducer,\n\t\t\tselectors,\n\t\t\tpersist: [\n\t\t\t\t'domain',\n\t\t\t\t'domainSearch',\n\t\t\t\t'planProductId',\n\t\t\t\t'planBillingPeriod',\n\t\t\t\t'confirmedDomainSelection',\n\t\t\t\t'isAnchorFm',\n\t\t\t\t'isSiteTitleStepVisible',\n\t\t\t\t'siteTitle',\n\t\t\t],\n\t\t} );\n\t}\n\treturn STORE_KEY;\n}\n\ndeclare module '@wordpress/data' {\n\tfunction dispatch( key: typeof STORE_KEY ): DispatchFromMap< typeof actions >;\n\tfunction select( key: typeof STORE_KEY ): SelectFromMap< typeof selectors >;\n}\n","import persistenceConfigFactory from '../persistence-config-factory';\n\nexport default persistenceConfigFactory( 'WP_LAUNCH' );\n","import { combineReducers } from '@wordpress/data';\nimport { LaunchStep } from './data';\nimport type { Plans } from '..';\nimport type * as DomainSuggestions from '../domain-suggestions';\nimport type { LaunchAction } from './actions';\nimport type { LaunchStepType } from './types';\nimport type { Reducer } from 'redux';\n\nconst step: Reducer< LaunchStepType, LaunchAction > = ( state = LaunchStep.Name, action ) => {\n\tif ( action.type === 'SET_STEP' ) {\n\t\treturn action.step;\n\t}\n\treturn state;\n};\n\nconst siteTitle: Reducer< string | undefined, LaunchAction > = ( state = undefined, action ) => {\n\tif ( action.type === 'SET_SITE_TITLE' ) {\n\t\treturn action.title;\n\t}\n\treturn state;\n};\n\nconst domain: Reducer< DomainSuggestions.DomainSuggestion | undefined, LaunchAction > = (\n\tstate,\n\taction\n) => {\n\tif ( action.type === 'SET_DOMAIN' ) {\n\t\treturn action.domain;\n\t}\n\tif ( action.type === 'UNSET_DOMAIN' ) {\n\t\treturn undefined;\n\t}\n\treturn state;\n};\n\nconst domainSearch: Reducer< string, LaunchAction > = ( state = '', action ) => {\n\tif ( action.type === 'SET_DOMAIN_SEARCH' ) {\n\t\treturn action.domainSearch;\n\t}\n\treturn state;\n};\n\nconst confirmedDomainSelection: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'CONFIRM_DOMAIN_SELECTION' ) {\n\t\treturn true;\n\t}\n\treturn state;\n};\n\nconst planProductId: Reducer< number | undefined, LaunchAction > = ( state, action ) => {\n\tif ( action.type === 'SET_PLAN_PRODUCT_ID' ) {\n\t\treturn action.planProductId;\n\t}\n\tif ( action.type === 'UNSET_PLAN_PRODUCT_ID' ) {\n\t\treturn undefined;\n\t}\n\treturn state;\n};\n\nconst planBillingPeriod: Reducer< Plans.PlanBillingPeriod, LaunchAction > = (\n\tstate = 'ANNUALLY',\n\taction\n) => {\n\tif ( action.type === 'SET_PLAN_BILLING_PERIOD' ) {\n\t\treturn action.billingPeriod;\n\t}\n\treturn state;\n};\n\n// Check if focused launch modal is open\nconst isFocusedLaunchOpen: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'OPEN_FOCUSED_LAUNCH' ) {\n\t\treturn true;\n\t}\n\n\tif ( action.type === 'CLOSE_FOCUSED_LAUNCH' ) {\n\t\treturn false;\n\t}\n\treturn state;\n};\n\n// Check if step-by-step launch modal is open\nconst isSidebarOpen: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'OPEN_SIDEBAR' ) {\n\t\treturn true;\n\t}\n\n\tif ( action.type === 'CLOSE_SIDEBAR' ) {\n\t\treturn false;\n\t}\n\treturn state;\n};\n\n// Check if step-by-step launch modal is full screen\nconst isSidebarFullscreen: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'SET_SIDEBAR_FULLSCREEN' ) {\n\t\treturn true;\n\t}\n\tif ( action.type === 'UNSET_SIDEBAR_FULLSCREEN' ) {\n\t\treturn false;\n\t}\n\treturn state;\n};\n\nconst isAnchorFm: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'ENABLE_ANCHOR_FM' ) {\n\t\treturn true;\n\t}\n\n\treturn state;\n};\n\n// Check if site title step should be displayed\nconst isSiteTitleStepVisible: Reducer< boolean, LaunchAction > = ( state = false, action ) => {\n\tif ( action.type === 'SHOW_SITE_TITLE_STEP' ) {\n\t\treturn true;\n\t}\n\n\treturn state;\n};\n\n// Check if launch modal can be dismissed\nconst isModalDismissible: Reducer< boolean, LaunchAction > = ( state = true, action ) => {\n\tif ( action.type === 'SET_MODAL_DISMISSIBLE' ) {\n\t\treturn true;\n\t}\n\n\tif ( action.type === 'UNSET_MODAL_DISMISSIBLE' ) {\n\t\treturn false;\n\t}\n\n\treturn state;\n};\n\n// Check if launch modal title should be visible\nconst isModalTitleVisible: Reducer< boolean, LaunchAction > = ( state = true, action ) => {\n\tif ( action.type === 'SHOW_MODAL_TITLE' ) {\n\t\treturn true;\n\t}\n\n\tif ( action.type === 'HIDE_MODAL_TITLE' ) {\n\t\treturn false;\n\t}\n\n\treturn state;\n};\n\nconst reducer = combineReducers( {\n\tstep,\n\tsiteTitle,\n\tdomain,\n\tconfirmedDomainSelection,\n\tdomainSearch,\n\tplanBillingPeriod,\n\tplanProductId,\n\tisSidebarOpen,\n\tisSidebarFullscreen,\n\tisAnchorFm,\n\tisFocusedLaunchOpen,\n\tisSiteTitleStepVisible,\n\tisModalDismissible,\n\tisModalTitleVisible,\n} );\n\nexport type State = ReturnType< typeof reducer >;\n\nexport default reducer;\n","import { select } from '@wordpress/data';\nimport { STORE_KEY as LAUNCH_STORE, PLANS_STORE } from './constants';\nimport { LaunchSequence, LaunchStep } from './data';\nimport type { Plans } from '..';\nimport type * as DomainSuggestions from '../domain-suggestions';\nimport type { State } from './reducer';\nimport type { LaunchStepType } from './types';\n\nexport const getLaunchSequence = (): typeof LaunchSequence => LaunchSequence;\nexport const getLaunchStep = (): typeof LaunchStep => LaunchStep;\n\nexport const getState = ( state: State ): State => state;\nexport const hasPaidDomain = ( state: State ): boolean => {\n\tif ( ! state.domain ) {\n\t\treturn false;\n\t}\n\treturn ! state.domain.is_free; // @TODO: check if we are ever storing a paid domain\n};\nexport const getSelectedDomain = ( state: State ): DomainSuggestions.DomainSuggestion | undefined =>\n\tstate.domain;\nexport const getSelectedPlanProductId = ( state: State ): number | undefined => state.planProductId;\n\n/**\n * This returns the readonly value of the billing period.\n * This value is automatically inferred from the selected paid plan.\n * If the user picks a free plan, this value will remain unchanged and\n * will return the billing period of the previously selected paid plan.\n *\n * @param state the state\n */\nexport const getLastPlanBillingPeriod = ( state: State ): Plans.PlanBillingPeriod =>\n\tstate.planBillingPeriod;\n\nexport const isSelectedPlanPaid = ( state: State ): boolean =>\n\ttypeof state.planProductId !== 'undefined' &&\n\t! select( PLANS_STORE ).isPlanProductFree( state.planProductId );\n\n// Check if a domain has been explicitly selected (including free subdomain)\n/**\n * Check if the user has selected a domain, including explicitly selecting the subdomain\n * This is useful for step/flow completion in the context of highlighting steps or enabling Launch button\n *\n * @param state State\n */\nexport const hasSelectedDomainOrSubdomain = ( state: State ): boolean =>\n\t!! getSelectedDomain( state ) || state.confirmedDomainSelection;\n\n// Completion status of steps is derived from the state of the launch flow\n// Warning: because it's using getEntityRecord it works only inside the editor\nexport const isStepCompleted = ( state: State, step: LaunchStepType ): boolean => {\n\tif ( step === LaunchStep.Plan ) {\n\t\treturn !! getSelectedPlanProductId( state );\n\t}\n\tif ( step === LaunchStep.Name ) {\n\t\tconst site: { title?: string } | undefined = select( 'core' ).getEntityRecord(\n\t\t\t'root',\n\t\t\t'site',\n\t\t\tundefined\n\t\t);\n\t\treturn !! site?.title;\n\t}\n\tif ( step === LaunchStep.Domain ) {\n\t\treturn select( LAUNCH_STORE ).hasSelectedDomainOrSubdomain();\n\t}\n\treturn false;\n};\n\n// Check if all steps are completed except the last one\nexport const isFlowCompleted = ( state: State ): boolean =>\n\tLaunchSequence.slice( 0, LaunchSequence.length - 1 ).every( ( step ) =>\n\t\tisStepCompleted( state, step )\n\t);\n\n// Check if at least one step is completed\nexport const isFlowStarted = ( state: State ): boolean =>\n\tLaunchSequence.some( ( step ) => isStepCompleted( state, step ) );\n\n// Get first incomplete step\nexport const getFirstIncompleteStep = ( state: State ): LaunchStepType | undefined =>\n\tLaunchSequence.find( ( step ) => ! isStepCompleted( state, step ) );\n\nexport const getSiteTitle = ( state: State ): string | undefined => state?.siteTitle;\n\nexport const getCurrentStep = ( state: State ): string => state.step;\n\nexport const getDomainSearch = ( state: State ): string => state.domainSearch;\n","/*\n Defines the options used for the @wp/data persistence plugin, \n which include a persistent storage implementation to add data expiration handling.\n*/\n\n/**\n * Creates a storage config for state persistence\n *\n * @param storageKey Unique key to the storage\n */\nexport default function createPersistenceConfig( storageKey: string ) {\n\tconst PERSISTENCE_INTERVAL = 7 * 24 * 3600000; // days * hours in days * ms in hour\n\tconst STORAGE_KEY = storageKey;\n\tconst STORAGE_TS_KEY = storageKey + '_TS';\n\n\t// A plain object fallback if localStorage is not available\n\tconst objStore: { [ key: string ]: string } = {};\n\n\tconst objStorage: Pick< Storage, 'getItem' | 'setItem' | 'removeItem' > = {\n\t\tgetItem( key ) {\n\t\t\tif ( objStore.hasOwnProperty( key ) ) {\n\t\t\t\treturn objStore[ key ];\n\t\t\t}\n\n\t\t\treturn null;\n\t\t},\n\t\tsetItem( key, value ) {\n\t\t\tobjStore[ key ] = String( value );\n\t\t},\n\t\tremoveItem( key ) {\n\t\t\tdelete objStore[ key ];\n\t\t},\n\t};\n\n\t// Make sure localStorage support exists\n\tconst localStorageSupport = (): boolean => {\n\t\ttry {\n\t\t\twindow.localStorage.setItem( 'WP_ONBOARD_TEST', '1' );\n\t\t\twindow.localStorage.removeItem( 'WP_ONBOARD_TEST' );\n\t\t\treturn true;\n\t\t} catch ( e ) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\t// Choose the right storage implementation\n\tconst storageHandler = localStorageSupport() ? window.localStorage : objStorage;\n\n\t// Persisted data expires after seven days\n\tconst isNotExpired = ( timestampStr: string ): boolean => {\n\t\tconst timestamp = Number( timestampStr );\n\t\treturn Boolean( timestamp ) && timestamp + PERSISTENCE_INTERVAL > Date.now();\n\t};\n\n\t// Check for \"fresh\" query param\n\tconst hasFreshParam = (): boolean => {\n\t\treturn new URLSearchParams( window.location.search ).has( 'fresh' );\n\t};\n\n\t// Handle data expiration by providing a storage object override to the @wp/data persistence plugin.\n\tconst storage: Pick< Storage, 'getItem' | 'setItem' > = {\n\t\tgetItem( key ) {\n\t\t\tconst timestamp = storageHandler.getItem( STORAGE_TS_KEY );\n\n\t\t\tif ( timestamp && isNotExpired( timestamp ) && ! hasFreshParam() ) {\n\t\t\t\treturn storageHandler.getItem( key );\n\t\t\t}\n\n\t\t\tstorageHandler.removeItem( STORAGE_KEY );\n\t\t\tstorageHandler.removeItem( STORAGE_TS_KEY );\n\n\t\t\treturn null;\n\t\t},\n\t\tsetItem( key, value ) {\n\t\t\tstorageHandler.setItem( STORAGE_TS_KEY, JSON.stringify( Date.now() ) );\n\t\t\tstorageHandler.setItem( key, value );\n\t\t},\n\t};\n\n\tconst persistOptions = {\n\t\tstorageKey: STORAGE_KEY,\n\t\tstorage,\n\t};\n\n\treturn persistOptions;\n}\n","import type { Plan, PlanFeature, FeaturesByType, PlanProduct } from './types';\n\ntype setFeaturesAction = {\n\ttype: 'SET_FEATURES';\n\tfeatures: Record< string, PlanFeature >;\n\tlocale: string;\n};\nexport const setFeatures = (\n\tfeatures: Record< string, PlanFeature >,\n\tlocale: string\n): setFeaturesAction => ( {\n\ttype: 'SET_FEATURES' as const,\n\tfeatures,\n\tlocale,\n} );\n\ntype setFeaturesByTypeAction = {\n\ttype: 'SET_FEATURES_BY_TYPE';\n\tfeaturesByType: Array< FeaturesByType >;\n\tlocale: string;\n};\nexport const setFeaturesByType = (\n\tfeaturesByType: Array< FeaturesByType >,\n\tlocale: string\n): setFeaturesByTypeAction => ( {\n\ttype: 'SET_FEATURES_BY_TYPE' as const,\n\tfeaturesByType,\n\tlocale,\n} );\n\ntype setPlansAction = {\n\ttype: 'SET_PLANS';\n\tplans: Plan[];\n\tlocale: string;\n};\nexport const setPlans = ( plans: Plan[], locale: string ): setPlansAction => ( {\n\ttype: 'SET_PLANS' as const,\n\tplans,\n\tlocale,\n} );\n\ntype setPlanProductsAction = {\n\ttype: 'SET_PLAN_PRODUCTS';\n\tproducts: PlanProduct[];\n};\nexport const setPlanProducts = ( products: PlanProduct[] ): setPlanProductsAction => ( {\n\ttype: 'SET_PLAN_PRODUCTS' as const,\n\tproducts,\n} );\n\ntype resetPlanAction = { type: 'RESET_PLAN' };\nexport const resetPlan = (): resetPlanAction => ( {\n\ttype: 'RESET_PLAN' as const,\n} );\n\nexport type PlanAction = ReturnType<\n\t| typeof setFeatures\n\t| typeof setFeaturesByType\n\t| typeof setPlans\n\t| typeof resetPlan\n\t| typeof setPlanProducts\n\t| ( () => { type: 'NOOP' } )\n>;\n","export const STORE_KEY = 'automattic/onboard/plans';\n\nexport const FREE_PLAN_PRODUCT_ID = 1;\n\n// plans constants\nexport const TIMELESS_PLAN_FREE = 'free';\nexport const TIMELESS_PLAN_PERSONAL = 'personal';\nexport const TIMELESS_PLAN_PREMIUM = 'premium';\nexport const TIMELESS_PLAN_BUSINESS = 'business';\nexport const TIMELESS_PLAN_ECOMMERCE = 'ecommerce';\n\nexport const plansSlugs = [\n\tTIMELESS_PLAN_FREE,\n\tTIMELESS_PLAN_PERSONAL,\n\tTIMELESS_PLAN_PREMIUM,\n\tTIMELESS_PLAN_BUSINESS,\n\tTIMELESS_PLAN_ECOMMERCE,\n] as const;\n\n// order of the plans used to determine recommended plan based on features\nexport const plansOrder = plansSlugs;\n\nexport const DEFAULT_PAID_PLAN = TIMELESS_PLAN_PREMIUM;\n\n// plan products constants\nexport const PLAN_FREE = 'free_plan';\nexport const PLAN_PERSONAL = 'personal-bundle';\nexport const PLAN_PREMIUM = 'value_bundle';\nexport const PLAN_BUSINESS = 'business-bundle';\nexport const PLAN_ECOMMERCE = 'ecommerce-bundle';\n\nexport const PLAN_PERSONAL_MONTHLY = 'personal-bundle-monthly';\nexport const PLAN_PREMIUM_MONTHLY = 'value_bundle_monthly';\nexport const PLAN_BUSINESS_MONTHLY = 'business-bundle-monthly';\nexport const PLAN_ECOMMERCE_MONTHLY = 'ecommerce-bundle-monthly';\n\nexport const annualSlugs = [ PLAN_PERSONAL, PLAN_PREMIUM, PLAN_BUSINESS, PLAN_ECOMMERCE ] as const;\n\nexport const monthlySlugs = [\n\tPLAN_PERSONAL_MONTHLY,\n\tPLAN_PREMIUM_MONTHLY,\n\tPLAN_BUSINESS_MONTHLY,\n\tPLAN_ECOMMERCE_MONTHLY,\n] as const;\n\nexport const plansProductSlugs = [ PLAN_FREE, ...annualSlugs, ...monthlySlugs ] as const;\n\nexport const FEATURE_IDS_THAT_REQUIRE_ANNUALLY_BILLED_PLAN = [\n\t'custom-domain',\n\t'support-live',\n\t'priority-support',\n];\n","import { registerStore } from '@wordpress/data';\nimport { controls } from '../wpcom-request-controls';\nimport * as actions from './actions';\nimport { STORE_KEY } from './constants';\nimport reducer, { State } from './reducer';\nimport * as resolvers from './resolvers';\nimport * as selectors from './selectors';\nimport type { SelectFromMap, DispatchFromMap } from '../mapped-types';\n\nexport type { State };\nexport type {\n\tPlan,\n\tPlanSlug,\n\tStorePlanSlug,\n\tPlanProduct,\n\tPlanFeature,\n\tPlanPath,\n\tPlanBillingPeriod,\n\tPlanSimplifiedFeature,\n} from './types';\n\n// plansSlugs is a list with the identifiers for each plan and they are agnostic of billing period; eg: 'free', 'personal'\n// plansSlugs is also used to construct the route that accepts plan slugs like '/free', '/personal', '/business'\n// plansProductSlugs is a list with the identifiers for each plan product (including the billing period); eg: 'personal-bundle', 'personal-bundle-monthly'\n// TIMELESS_* is the slug for each plan\nexport {\n\tplansSlugs,\n\tplansProductSlugs,\n\tTIMELESS_PLAN_FREE,\n\tTIMELESS_PLAN_PERSONAL,\n\tTIMELESS_PLAN_PREMIUM,\n\tTIMELESS_PLAN_BUSINESS,\n\tTIMELESS_PLAN_ECOMMERCE,\n\tFREE_PLAN_PRODUCT_ID,\n} from './constants';\n\nlet isRegistered = false;\n\nexport function register(): typeof STORE_KEY {\n\tif ( ! isRegistered ) {\n\t\tisRegistered = true;\n\t\tregisterStore< State >( STORE_KEY, {\n\t\t\tresolvers,\n\t\t\tactions,\n\t\t\tcontrols: controls as any,\n\t\t\treducer,\n\t\t\tselectors,\n\t\t} );\n\t}\n\treturn STORE_KEY;\n}\n\ndeclare module '@wordpress/data' {\n\tfunction dispatch( key: typeof STORE_KEY ): DispatchFromMap< typeof actions >;\n\tfunction select( key: typeof STORE_KEY ): SelectFromMap< typeof selectors >;\n}\n","import { combineReducers } from '@wordpress/data';\nimport type { PlanAction } from './actions';\nimport type { Plan, PlanFeature, FeaturesByType, PlanProduct } from './types';\nimport type { Reducer } from 'redux';\n\n// create a Locale type just for code readability\ntype Locale = string;\n\nexport const features: Reducer< Record< Locale, Record< string, PlanFeature > >, PlanAction > = (\n\tstate = {},\n\taction\n) => {\n\tswitch ( action.type ) {\n\t\tcase 'SET_FEATURES':\n\t\t\treturn { ...state, [ action.locale ]: action.features };\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n\nexport const featuresByType: Reducer< Record< Locale, Array< FeaturesByType > >, PlanAction > = (\n\tstate = {},\n\taction\n) => {\n\tswitch ( action.type ) {\n\t\tcase 'SET_FEATURES_BY_TYPE':\n\t\t\treturn { ...state, [ action.locale ]: action.featuresByType };\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n\nexport const plans: Reducer< Record< Locale, Plan[] >, PlanAction > = ( state = {}, action ) => {\n\tswitch ( action.type ) {\n\t\tcase 'SET_PLANS':\n\t\t\treturn { ...state, [ action.locale ]: action.plans };\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n\nexport const planProducts: Reducer< PlanProduct[], PlanAction > = ( state = [], action ) => {\n\tswitch ( action.type ) {\n\t\tcase 'SET_PLAN_PRODUCTS':\n\t\t\treturn action.products;\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n\nconst reducer = combineReducers( {\n\tfeatures,\n\tfeaturesByType,\n\tplanProducts,\n\tplans,\n} );\n\nexport type State = ReturnType< typeof reducer >;\n\nexport default reducer;\n","import formatCurrency from '@automattic/format-currency';\nimport { stringify } from 'qs';\nimport { fetchAndParse, wpcomRequest } from '../wpcom-request-controls';\nimport { setFeatures, setFeaturesByType, setPlanProducts, setPlans } from './actions';\nimport {\n\tTIMELESS_PLAN_FREE,\n\tTIMELESS_PLAN_PREMIUM,\n\tplansProductSlugs,\n\tmonthlySlugs,\n\tannualSlugs,\n\tFEATURE_IDS_THAT_REQUIRE_ANNUALLY_BILLED_PLAN,\n} from './constants';\nimport type {\n\tPricedAPIPlan,\n\tAPIPlanDetail,\n\tPlanSimplifiedFeature,\n\tPlan,\n\tDetailsAPIResponse,\n\tPlanFeature,\n\tPlanProduct,\n\tPlanSlug,\n\tDetailsAPIFeature,\n} from './types';\n\nconst MONTHLY_PLAN_BILLING_PERIOD = 31;\n\n/**\n * Calculates the monthly price of a plan\n * Annual plans are only priced yearly\n *\n * @param plan the plan object\n */\nfunction getMonthlyPrice( plan: PricedAPIPlan ) {\n\treturn formatCurrency( plan.raw_price / 12, plan.currency_code, { stripZeros: true } ) as string;\n}\n\n/**\n * Calculates the yearly price of a monthly plan\n *\n * @param plan the plan object\n */\nfunction getAnnualPrice( plan: PricedAPIPlan ) {\n\treturn formatCurrency( plan.raw_price * 12, plan.currency_code, { stripZeros: true } ) as string;\n}\n\n/**\n * Formats the plan price according to 'format-currency' package rules\n * We use this for consistency in prices formats across monthly and annual plans\n *\n * @param plan the plan object\n */\nfunction getFormattedPrice( plan: PricedAPIPlan ) {\n\treturn formatCurrency( plan.raw_price, plan.currency_code, { stripZeros: true } ) as string;\n}\n\nfunction calculateDiscounts( planProducts: PlanProduct[] ) {\n\t// calculate discounts\n\tfor ( let i = 0; i < annualSlugs.length; i++ ) {\n\t\tconst annualPlan = planProducts.find( ( plan ) => plan.storeSlug === annualSlugs[ i ] );\n\t\tconst monthlyPlan = planProducts.find( ( plan ) => plan.storeSlug === monthlySlugs[ i ] );\n\n\t\tif ( annualPlan && monthlyPlan ) {\n\t\t\tconst annualCostIfPaidMonthly = monthlyPlan.rawPrice * 12;\n\t\t\tconst annualCostIfPaidAnnually = annualPlan.rawPrice;\n\t\t\tconst discount = Math.round(\n\t\t\t\t100 * ( 1 - annualCostIfPaidAnnually / annualCostIfPaidMonthly )\n\t\t\t);\n\t\t\tannualPlan.annualDiscount = discount;\n\t\t\tmonthlyPlan.annualDiscount = discount;\n\t\t}\n\t}\n}\n\nfunction processFeatures( features: DetailsAPIFeature[] ) {\n\treturn features.reduce( ( features, feature ) => {\n\t\tfeatures[ feature.id ] = {\n\t\t\tid: feature.id,\n\t\t\tname: feature.name,\n\t\t\tdescription: feature.description,\n\t\t\ttype: 'checkbox',\n\t\t\trequiresAnnuallyBilledPlan:\n\t\t\t\tFEATURE_IDS_THAT_REQUIRE_ANNUALLY_BILLED_PLAN.indexOf( feature.id ) > -1,\n\t\t};\n\t\treturn features;\n\t}, {} as Record< string, PlanFeature > );\n}\n\nfunction featureRequiresAnnual(\n\tfeatureName: string,\n\tallFeaturesData: Record< string, PlanFeature >\n): boolean {\n\tconst matchedFeatureId = Object.keys( allFeaturesData ).find(\n\t\t( featureId ) => allFeaturesData[ featureId ].name === featureName\n\t);\n\n\tif ( matchedFeatureId ) {\n\t\treturn allFeaturesData[ matchedFeatureId ].requiresAnnuallyBilledPlan;\n\t}\n\n\treturn false;\n}\n\nfunction processPlanFeatures(\n\tplanData: APIPlanDetail,\n\tallFeaturesData: Record< string, PlanFeature >\n): PlanSimplifiedFeature[] {\n\tconst features: PlanSimplifiedFeature[] = planData.highlighted_features.map(\n\t\t( featureName ) => ( {\n\t\t\tname: featureName,\n\t\t\trequiresAnnuallyBilledPlan: featureRequiresAnnual( featureName, allFeaturesData ),\n\t\t} )\n\t);\n\n\t// Features requiring an annually billed plan should be first in the array.\n\tfeatures.sort(\n\t\t( a, b ) => Number( b.requiresAnnuallyBilledPlan ) - Number( a.requiresAnnuallyBilledPlan )\n\t);\n\n\treturn features;\n}\n\nfunction normalizePlanProducts(\n\tpricedPlans: PricedAPIPlan[],\n\tperiodAgnosticPlans: Plan[]\n): PlanProduct[] {\n\tconst plansProducts: PlanProduct[] = plansProductSlugs.reduce( ( plans, slug ) => {\n\t\tconst planProduct = pricedPlans.find( ( pricedPlan ) => pricedPlan.product_slug === slug );\n\n\t\tif ( ! planProduct ) {\n\t\t\treturn plans;\n\t\t}\n\n\t\tconst periodAgnosticPlan = periodAgnosticPlans.find(\n\t\t\t( plan ) => plan.productIds.indexOf( planProduct.product_id ) > -1\n\t\t) as Plan;\n\n\t\tplans.push( {\n\t\t\tproductId: planProduct.product_id,\n\t\t\t// This means that free plan is considered \"annually billed\"\n\t\t\tbillingPeriod:\n\t\t\t\tplanProduct.bill_period === MONTHLY_PLAN_BILLING_PERIOD ? 'MONTHLY' : 'ANNUALLY',\n\t\t\tperiodAgnosticSlug: periodAgnosticPlan.periodAgnosticSlug,\n\t\t\tstoreSlug: planProduct.product_slug,\n\t\t\trawPrice: planProduct.raw_price,\n\t\t\t// Not all plans returned from /plans have a `path_slug` (e.g. monthly plans don't have)\n\t\t\tpathSlug: planProduct.path_slug,\n\t\t\tprice:\n\t\t\t\tplanProduct?.bill_period === MONTHLY_PLAN_BILLING_PERIOD || planProduct.raw_price === 0\n\t\t\t\t\t? getFormattedPrice( planProduct )\n\t\t\t\t\t: getMonthlyPrice( planProduct ),\n\t\t\tannualPrice:\n\t\t\t\tplanProduct?.bill_period === MONTHLY_PLAN_BILLING_PERIOD\n\t\t\t\t\t? getAnnualPrice( planProduct )\n\t\t\t\t\t: getFormattedPrice( planProduct ),\n\t\t} );\n\t\treturn plans;\n\t}, [] as PlanProduct[] );\n\tcalculateDiscounts( plansProducts );\n\treturn plansProducts;\n}\n\nexport function* getSupportedPlans( locale = 'en' ) {\n\tconst pricedPlans: PricedAPIPlan[] = yield wpcomRequest( {\n\t\tpath: '/plans',\n\t\tquery: stringify( { locale } ),\n\t\tapiVersion: '1.5',\n\t} );\n\n\tconst { body: plansFeatures } = ( yield fetchAndParse(\n\t\t`https://public-api.wordpress.com/wpcom/v2/plans/details?locale=${ encodeURIComponent(\n\t\t\tlocale\n\t\t) }`,\n\t\t{\n\t\t\tmode: 'cors',\n\t\t\tcredentials: 'omit',\n\t\t}\n\t) ) as { body: DetailsAPIResponse };\n\n\tconst features = processFeatures( plansFeatures.features );\n\n\tconst periodAgnosticPlans: Plan[] = plansFeatures.plans.map( ( plan ) => {\n\t\tconst planSlug = plan.nonlocalized_short_name?.toLowerCase() as PlanSlug;\n\n\t\treturn {\n\t\t\tdescription: plan.tagline,\n\t\t\tfeatures: processPlanFeatures( plan, features ),\n\t\t\tstorage: plan.storage,\n\t\t\ttitle: plan.short_name,\n\t\t\tfeaturesSlugs: plan.features.reduce( ( slugs, slug ) => {\n\t\t\t\tslugs[ slug ] = true;\n\t\t\t\treturn slugs;\n\t\t\t}, {} as Record< string, boolean > ),\n\t\t\tisFree: planSlug === TIMELESS_PLAN_FREE,\n\t\t\tisPopular: planSlug === TIMELESS_PLAN_PREMIUM,\n\t\t\tperiodAgnosticSlug: planSlug,\n\t\t\tproductIds: plan.products.map( ( { plan_id } ) => plan_id ),\n\t\t};\n\t} );\n\n\tconst planProducts = normalizePlanProducts( pricedPlans, periodAgnosticPlans );\n\n\tyield setPlans( periodAgnosticPlans, locale );\n\tyield setPlanProducts( planProducts );\n\tyield setFeatures( features, locale );\n\tyield setFeaturesByType( plansFeatures.features_by_type, locale );\n}\n","import { select } from '@wordpress/data';\nimport deprecate from '@wordpress/deprecated';\nimport {\n\tDEFAULT_PAID_PLAN,\n\tTIMELESS_PLAN_ECOMMERCE,\n\tTIMELESS_PLAN_FREE,\n\tSTORE_KEY,\n\tFREE_PLAN_PRODUCT_ID,\n} from './constants';\nimport type { State } from './reducer';\nimport type {\n\tPlan,\n\tPlanFeature,\n\tFeaturesByType,\n\tPlanProduct,\n\tPlanPath,\n\tPlanSlug,\n\tStorePlanSlug,\n} from './types';\n\n// Some of these selectors require unused parameters because those\n// params are used by the associated resolver.\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\nexport const getFeatures = ( state: State, locale: string ): Record< string, PlanFeature > =>\n\tstate.features[ locale ] ?? {};\n\nexport const getFeaturesByType = ( state: State, locale: string ): Array< FeaturesByType > =>\n\tstate.featuresByType[ locale ] ?? [];\n\nexport const getPlanByProductId = (\n\t_state: State,\n\tproductId: number | undefined,\n\tlocale: string\n): Plan | undefined => {\n\tif ( ! productId ) {\n\t\treturn undefined;\n\t}\n\n\treturn select( STORE_KEY )\n\t\t.getSupportedPlans( locale )\n\t\t.find( ( plan ) => plan.productIds.indexOf( productId ) > -1 );\n};\n\nexport const getPlanProductById = (\n\t_state: State,\n\tproductId: number | undefined\n): PlanProduct | undefined => {\n\tif ( ! productId ) {\n\t\treturn undefined;\n\t}\n\n\treturn select( STORE_KEY )\n\t\t.getPlansProducts()\n\t\t.find( ( product ) => product.productId === productId );\n};\n\nexport const getPlanByPeriodAgnosticSlug = (\n\t_state: State,\n\tslug: PlanSlug | undefined,\n\tlocale: string\n): Plan | undefined => {\n\tif ( ! slug ) {\n\t\treturn undefined;\n\t}\n\treturn select( STORE_KEY )\n\t\t.getSupportedPlans( locale )\n\t\t.find( ( plan ) => plan.periodAgnosticSlug === slug );\n};\n\nexport const getDefaultPaidPlan = ( _: State, locale: string ): Plan | undefined => {\n\treturn select( STORE_KEY )\n\t\t.getSupportedPlans( locale )\n\t\t.find( ( plan ) => plan.periodAgnosticSlug === DEFAULT_PAID_PLAN );\n};\n\nexport const getDefaultFreePlan = ( _: State, locale: string ): Plan | undefined => {\n\treturn select( STORE_KEY )\n\t\t.getSupportedPlans( locale )\n\t\t.find( ( plan ) => plan.periodAgnosticSlug === TIMELESS_PLAN_FREE );\n};\n\nexport const getSupportedPlans = ( state: State, _locale: string ): Plan[] => {\n\treturn state.plans[ _locale ] ?? [];\n};\n\nexport const getPlansProducts = ( state: State ): PlanProduct[] => {\n\treturn state.planProducts;\n};\n\n/**\n * @deprecated getPrices is deprecated, please use plan.price directly\n *\n * @param _state the state\n * @param _locale the locale\n */\nexport const getPrices = ( _state: State, _locale: string ): Record< StorePlanSlug, string > => {\n\tdeprecate( 'getPrices', {\n\t\talternative: 'getPlanProduct().price',\n\t} );\n\treturn select( STORE_KEY )\n\t\t.getPlansProducts()\n\t\t.reduce( ( prices, plan ) => {\n\t\t\tprices[ plan.storeSlug ] = plan.price;\n\t\t\treturn prices;\n\t\t}, {} as Record< StorePlanSlug, string > );\n};\n\nexport const getPlanByPath = (\n\t_state: State,\n\tpath: PlanPath | undefined,\n\tlocale: string\n): Plan | undefined => {\n\tif ( ! path ) {\n\t\treturn undefined;\n\t}\n\n\tconst planProduct = select( STORE_KEY )\n\t\t.getPlansProducts()\n\t\t.find( ( product ) => product.pathSlug === path );\n\n\tif ( ! planProduct ) {\n\t\treturn undefined;\n\t}\n\n\treturn select( STORE_KEY )\n\t\t.getSupportedPlans( locale )\n\t\t.find( ( plan ) => plan.periodAgnosticSlug === planProduct.periodAgnosticSlug );\n};\n\nexport const getPlanProduct = (\n\t_state: State,\n\tperiodAgnosticSlug: string | undefined,\n\tbillingPeriod: PlanProduct[ 'billingPeriod' ] | undefined\n): PlanProduct | undefined => {\n\tif ( ! periodAgnosticSlug || ! billingPeriod ) {\n\t\treturn undefined;\n\t}\n\n\treturn select( STORE_KEY )\n\t\t.getPlansProducts()\n\t\t.find( ( product ) => {\n\t\t\tconst matchesSlug = product.periodAgnosticSlug === periodAgnosticSlug;\n\t\t\t// The billing period doesn't matter when dealing with free plan\n\t\t\tconst matchesBillingPeriod =\n\t\t\t\tperiodAgnosticSlug === TIMELESS_PLAN_FREE || product.billingPeriod === billingPeriod;\n\n\t\t\treturn matchesSlug && matchesBillingPeriod;\n\t\t} );\n};\n\nexport const isPlanEcommerce = ( _: State, planSlug?: PlanSlug ): boolean => {\n\treturn planSlug === TIMELESS_PLAN_ECOMMERCE;\n};\n\nexport const isPlanFree = ( _: State, planSlug?: PlanSlug ): boolean => {\n\treturn planSlug === TIMELESS_PLAN_FREE;\n};\n\nexport const isPlanProductFree = ( _: State, planProductId: number | undefined ): boolean =>\n\tplanProductId === FREE_PLAN_PRODUCT_ID;\n","import { isEnabled } from '@automattic/calypso-config';\nimport { Design } from '@automattic/design-picker/src/types';\nimport { SiteGoal } from '../onboard';\nimport { wpcomRequest } from '../wpcom-request-controls';\nimport {\n\tSiteLaunchError,\n\tAtomicTransferError,\n\tLatestAtomicTransferError,\n\tAtomicSoftwareStatusError,\n\tAtomicSoftwareInstallError,\n\tGlobalStyles,\n} from './types';\nimport type { WpcomClientCredentials } from '../shared-types';\nimport type {\n\tCreateSiteParams,\n\tNewSiteErrorResponse,\n\tNewSiteSuccessResponse,\n\tSiteDetails,\n\tSiteError,\n\tCart,\n\tDomain,\n\tLatestAtomicTransfer,\n\tSiteLaunchError as SiteLaunchErrorType,\n\tAtomicTransferError as AtomicTransferErrorType,\n\tLatestAtomicTransferError as LatestAtomicTransferErrorType,\n\tAtomicSoftwareStatusError as AtomicSoftwareStatusErrorType,\n\tAtomicSoftwareInstallError as AtomicSoftwareInstallErrorType,\n\tAtomicSoftwareStatus,\n\tSiteSettings,\n} from './types';\n\nexport function createActions( clientCreds: WpcomClientCredentials ) {\n\tconst fetchSite = () => ( {\n\t\ttype: 'FETCH_SITE' as const,\n\t} );\n\n\tconst fetchNewSite = () => ( {\n\t\ttype: 'FETCH_NEW_SITE' as const,\n\t} );\n\n\tconst receiveNewSite = ( response: NewSiteSuccessResponse ) => ( {\n\t\ttype: 'RECEIVE_NEW_SITE' as const,\n\t\tresponse,\n\t} );\n\n\tconst receiveNewSiteFailed = ( error: NewSiteErrorResponse ) => ( {\n\t\ttype: 'RECEIVE_NEW_SITE_FAILED' as const,\n\t\terror,\n\t} );\n\n\tfunction* createSite( params: CreateSiteParams ) {\n\t\tyield fetchNewSite();\n\t\ttry {\n\t\t\tconst { authToken, ...providedParams } = params;\n\n\t\t\tconst defaultParams = {\n\t\t\t\tclient_id: clientCreds.client_id,\n\t\t\t\tclient_secret: clientCreds.client_secret,\n\t\t\t\t// will find an available `*.wordpress.com` url based on the `blog_name`\n\t\t\t\tfind_available_url: true,\n\t\t\t\t// Private site is default, but overridable, setting\n\t\t\t\tpublic: -1,\n\t\t\t};\n\n\t\t\tconst mergedParams = {\n\t\t\t\t...defaultParams,\n\t\t\t\t...providedParams,\n\t\t\t\t// Set to false because site validation should be a separate action\n\t\t\t\tvalidate: false,\n\t\t\t};\n\n\t\t\tconst newSite: NewSiteSuccessResponse = yield wpcomRequest( {\n\t\t\t\tpath: '/sites/new',\n\t\t\t\tapiVersion: '1.1',\n\t\t\t\tmethod: 'post',\n\t\t\t\tbody: mergedParams,\n\t\t\t\ttoken: authToken,\n\t\t\t} );\n\n\t\t\tyield receiveNewSite( newSite );\n\t\t\treturn true;\n\t\t} catch ( err ) {\n\t\t\tyield receiveNewSiteFailed( err as NewSiteErrorResponse );\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tconst receiveSite = ( siteId: number, response: SiteDetails | undefined ) => ( {\n\t\ttype: 'RECEIVE_SITE' as const,\n\t\tsiteId,\n\t\tresponse,\n\t} );\n\n\tconst receiveSiteTitle = ( siteId: number, name: string | undefined ) => ( {\n\t\ttype: 'RECEIVE_SITE_TITLE' as const,\n\t\tsiteId,\n\t\tname,\n\t} );\n\n\tconst receiveSiteTagline = ( siteId: number, tagline: string | undefined ) => ( {\n\t\ttype: 'RECEIVE_SITE_TAGLINE' as const,\n\t\tsiteId,\n\t\ttagline,\n\t} );\n\n\tconst receiveSiteVerticalId = ( siteId: number, verticalId: string | undefined ) => ( {\n\t\ttype: 'RECEIVE_SITE_VERTICAL_ID' as const,\n\t\tsiteId,\n\t\tverticalId,\n\t} );\n\n\tconst receiveSiteFailed = ( siteId: number, response: SiteError ) => ( {\n\t\ttype: 'RECEIVE_SITE_FAILED' as const,\n\t\tsiteId,\n\t\tresponse,\n\t} );\n\n\tconst reset = () => ( {\n\t\ttype: 'RESET_SITE_STORE' as const,\n\t} );\n\n\tconst resetNewSiteFailed = () => ( {\n\t\ttype: 'RESET_RECEIVE_NEW_SITE_FAILED' as const,\n\t} );\n\n\tconst launchSiteStart = ( siteId: number ) => ( {\n\t\ttype: 'LAUNCH_SITE_START' as const,\n\t\tsiteId,\n\t} );\n\n\tconst launchSiteSuccess = ( siteId: number ) => ( {\n\t\ttype: 'LAUNCH_SITE_SUCCESS' as const,\n\t\tsiteId,\n\t} );\n\n\tconst launchSiteFailure = ( siteId: number, error: SiteLaunchErrorType ) => ( {\n\t\ttype: 'LAUNCH_SITE_FAILURE' as const,\n\t\tsiteId,\n\t\terror,\n\t} );\n\n\tfunction* launchSite( siteId: number ) {\n\t\tyield launchSiteStart( siteId );\n\t\ttry {\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ siteId }/launch`,\n\t\t\t\tapiVersion: '1.1',\n\t\t\t\tmethod: 'post',\n\t\t\t} );\n\t\t\tyield launchSiteSuccess( siteId );\n\t\t} catch ( _ ) {\n\t\t\tyield launchSiteFailure( siteId, SiteLaunchError.INTERNAL );\n\t\t}\n\t}\n\n\t// TODO: move getCart and setCart to a 'cart' data-store\n\tfunction* getCart( siteId: number ) {\n\t\tconst success: Cart = yield wpcomRequest( {\n\t\t\tpath: '/me/shopping-cart/' + siteId,\n\t\t\tapiVersion: '1.1',\n\t\t\tmethod: 'GET',\n\t\t} );\n\t\treturn success;\n\t}\n\n\tconst receiveSiteDomains = ( siteId: number, domains: Domain[] ) => ( {\n\t\ttype: 'RECEIVE_SITE_DOMAINS' as const,\n\t\tsiteId,\n\t\tdomains,\n\t} );\n\n\tconst receiveSiteSettings = ( siteId: number, settings: SiteSettings ) => ( {\n\t\ttype: 'RECEIVE_SITE_SETTINGS' as const,\n\t\tsiteId,\n\t\tsettings,\n\t} );\n\n\tconst updateSiteSettings = ( siteId: number, settings: SiteSettings ) => ( {\n\t\ttype: 'UPDATE_SITE_SETTINGS' as const,\n\t\tsiteId,\n\t\tsettings,\n\t} );\n\n\tfunction* setCart( siteId: number, cartData: Cart ) {\n\t\tconst success: Cart = yield wpcomRequest( {\n\t\t\tpath: '/me/shopping-cart/' + siteId,\n\t\t\tapiVersion: '1.1',\n\t\t\tmethod: 'POST',\n\t\t\tbody: cartData,\n\t\t} );\n\t\treturn success;\n\t}\n\n\tconst receiveSiteGlobalStyles = ( siteId: number, globalStyles: GlobalStyles ) => ( {\n\t\ttype: 'RECEIVE_SITE_GLOBAL_STYLES' as const,\n\t\tsiteId,\n\t\tglobalStyles,\n\t} );\n\n\tfunction* getGlobalStyles( siteId: number, stylesheet: string ) {\n\t\tconst globalStyles: GlobalStyles = yield wpcomRequest( {\n\t\t\tpath: `/sites/${ siteId }/global-styles/themes/${ stylesheet }`,\n\t\t\tapiNamespace: 'wp/v2',\n\t\t} );\n\n\t\tyield receiveSiteGlobalStyles( siteId, globalStyles );\n\n\t\treturn globalStyles;\n\t}\n\n\tfunction* saveSiteSettings(\n\t\tsiteId: number,\n\t\tsettings: {\n\t\t\tblogname?: string;\n\t\t\tblogdescription?: string;\n\t\t\tsite_vertical_id?: string;\n\t\t\twoocommerce_store_address?: string;\n\t\t\twoocommerce_store_address_2?: string;\n\t\t\twoocommerce_store_city?: string;\n\t\t\twoocommerce_store_postcode?: string;\n\t\t\twoocommerce_defaut_country?: string;\n\t\t\twoocommerce_onboarding_profile?: { [ key: string ]: any };\n\t\t}\n\t) {\n\t\ttry {\n\t\t\t// extract this into its own function as a generic settings setter\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteId ) }/settings`,\n\t\t\t\tapiVersion: '1.4',\n\t\t\t\tbody: settings,\n\t\t\t\tmethod: 'POST',\n\t\t\t} );\n\t\t\tif ( 'blogname' in settings ) {\n\t\t\t\tyield receiveSiteTitle( siteId, settings.blogname );\n\t\t\t}\n\t\t\tif ( 'blogdescription' in settings ) {\n\t\t\t\tyield receiveSiteTagline( siteId, settings.blogdescription );\n\t\t\t}\n\t\t\tif ( 'site_vertical_id' in settings ) {\n\t\t\t\tyield receiveSiteVerticalId( siteId, settings.site_vertical_id );\n\t\t\t}\n\t\t\tyield updateSiteSettings( siteId, settings );\n\t\t} catch ( e ) {}\n\t}\n\n\tfunction* setIntentOnSite( siteSlug: string, intent: string ) {\n\t\ttry {\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteSlug ) }/site-intent`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tbody: { site_intent: intent },\n\t\t\t\tmethod: 'POST',\n\t\t\t} );\n\t\t} catch ( e ) {}\n\t}\n\n\tfunction* setGoalsOnSite( siteSlug: string, goals: SiteGoal[] ) {\n\t\ttry {\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteSlug ) }/site-goals`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tbody: { site_goals: goals },\n\t\t\t\tmethod: 'POST',\n\t\t\t} );\n\t\t} catch ( e ) {}\n\t}\n\n\tfunction* saveSiteTitle( siteId: number, blogname: string | undefined ) {\n\t\tyield saveSiteSettings( siteId, { blogname } );\n\t}\n\n\tfunction* saveSiteTagline( siteId: number, blogdescription: string | undefined ) {\n\t\tyield saveSiteSettings( siteId, { blogdescription } );\n\t}\n\n\tfunction* setThemeOnSite( siteSlug: string, theme: string ) {\n\t\tyield wpcomRequest( {\n\t\t\tpath: `/sites/${ siteSlug }/themes/mine`,\n\t\t\tapiVersion: '1.1',\n\t\t\tbody: { theme: theme, dont_change_homepage: true },\n\t\t\tmethod: 'POST',\n\t\t} );\n\t}\n\n\tfunction* setDesignOnSite( siteSlug: string, selectedDesign: Design, siteVerticalId: string ) {\n\t\tconst { theme, recipe } = selectedDesign;\n\n\t\tyield wpcomRequest( {\n\t\t\tpath: `/sites/${ siteSlug }/themes/mine`,\n\t\t\tapiVersion: '1.1',\n\t\t\tbody: { theme: recipe?.stylesheet?.split( '/' )[ 1 ] || theme, dont_change_homepage: true },\n\t\t\tmethod: 'POST',\n\t\t} );\n\n\t\t/*\n\t\t * Anchor themes are set up directly via Headstart on the server side\n\t\t * so exclude them from theme setup.\n\t\t */\n\t\tconst anchorDesigns = [ 'hannah', 'gilbert', 'riley' ];\n\t\tif ( anchorDesigns.indexOf( selectedDesign.template ) < 0 ) {\n\t\t\t// Send vertical_id only if the current design is generated design or we enabled the v13n of standard themes\n\t\t\tconst vertical_id =\n\t\t\t\tselectedDesign.design_type === 'vertical' || isEnabled( 'signup/standard-theme-v13n' )\n\t\t\t\t\t? siteVerticalId\n\t\t\t\t\t: undefined;\n\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteSlug ) }/theme-setup`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tbody: {\n\t\t\t\t\ttrim_content: true,\n\t\t\t\t\tvertical_id: vertical_id || undefined,\n\t\t\t\t\tpattern_ids: recipe?.pattern_ids,\n\t\t\t\t\theader_pattern_ids: recipe?.header_pattern_ids || [],\n\t\t\t\t\tfooter_pattern_ids: recipe?.footer_pattern_ids || [],\n\t\t\t\t},\n\t\t\t\tmethod: 'POST',\n\t\t\t} );\n\t\t}\n\n\t\tconst data: { is_fse_active: boolean } = yield wpcomRequest( {\n\t\t\tpath: `/sites/${ siteSlug }/block-editor`,\n\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\tmethod: 'GET',\n\t\t} );\n\n\t\treturn data?.is_fse_active ?? false;\n\t}\n\n\tconst setSiteSetupError = ( error: string, message: string ) => ( {\n\t\ttype: 'SET_SITE_SETUP_ERROR',\n\t\terror,\n\t\tmessage,\n\t} );\n\n\tconst clearSiteSetupError = ( siteId: number ) => ( {\n\t\ttype: 'CLEAR_SITE_SETUP_ERROR',\n\t\tsiteId,\n\t} );\n\n\tconst atomicTransferStart = ( siteId: number, softwareSet: string | undefined ) => ( {\n\t\ttype: 'ATOMIC_TRANSFER_START' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t} );\n\n\tconst atomicTransferSuccess = ( siteId: number, softwareSet: string | undefined ) => ( {\n\t\ttype: 'ATOMIC_TRANSFER_SUCCESS' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t} );\n\n\tconst atomicTransferFailure = (\n\t\tsiteId: number,\n\t\tsoftwareSet: string | undefined,\n\t\terror: AtomicTransferErrorType\n\t) => ( {\n\t\ttype: 'ATOMIC_TRANSFER_FAILURE' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t\terror,\n\t} );\n\n\tfunction* initiateAtomicTransfer( siteId: number, softwareSet: string | undefined ) {\n\t\tyield atomicTransferStart( siteId, softwareSet );\n\t\ttry {\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteId ) }/atomic/transfers`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tmethod: 'POST',\n\t\t\t\t...( softwareSet\n\t\t\t\t\t? {\n\t\t\t\t\t\t\tbody: {\n\t\t\t\t\t\t\t\tsoftware_set: encodeURIComponent( softwareSet ),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t }\n\t\t\t\t\t: {} ),\n\t\t\t} );\n\t\t\tyield atomicTransferSuccess( siteId, softwareSet );\n\t\t} catch ( _ ) {\n\t\t\tyield atomicTransferFailure( siteId, softwareSet, AtomicTransferError.INTERNAL );\n\t\t}\n\t}\n\n\tconst latestAtomicTransferStart = ( siteId: number ) => ( {\n\t\ttype: 'LATEST_ATOMIC_TRANSFER_START' as const,\n\t\tsiteId,\n\t} );\n\n\tconst latestAtomicTransferSuccess = ( siteId: number, transfer: LatestAtomicTransfer ) => ( {\n\t\ttype: 'LATEST_ATOMIC_TRANSFER_SUCCESS' as const,\n\t\tsiteId,\n\t\ttransfer,\n\t} );\n\n\tconst latestAtomicTransferFailure = (\n\t\tsiteId: number,\n\t\terror: LatestAtomicTransferErrorType\n\t) => ( {\n\t\ttype: 'LATEST_ATOMIC_TRANSFER_FAILURE' as const,\n\t\tsiteId,\n\t\terror,\n\t} );\n\n\tfunction* requestLatestAtomicTransfer( siteId: number ) {\n\t\tyield latestAtomicTransferStart( siteId );\n\n\t\ttry {\n\t\t\tconst transfer: LatestAtomicTransfer = yield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteId ) }/atomic/transfers/latest`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tmethod: 'GET',\n\t\t\t} );\n\t\t\tyield latestAtomicTransferSuccess( siteId, transfer );\n\t\t} catch ( err ) {\n\t\t\tyield latestAtomicTransferFailure( siteId, err as LatestAtomicTransferError );\n\t\t}\n\t}\n\n\tconst atomicSoftwareStatusStart = ( siteId: number, softwareSet: string ) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_STATUS_START' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t} );\n\n\tconst atomicSoftwareStatusSuccess = (\n\t\tsiteId: number,\n\t\tsoftwareSet: string,\n\t\tstatus: AtomicSoftwareStatus\n\t) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_STATUS_SUCCESS' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t\tstatus,\n\t} );\n\n\tconst atomicSoftwareStatusFailure = (\n\t\tsiteId: number,\n\t\tsoftwareSet: string,\n\t\terror: AtomicSoftwareStatusErrorType\n\t) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_STATUS_FAILURE' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t\terror,\n\t} );\n\n\tfunction* requestAtomicSoftwareStatus( siteId: number, softwareSet: string ) {\n\t\tyield atomicSoftwareStatusStart( siteId, softwareSet );\n\t\ttry {\n\t\t\tconst status: AtomicSoftwareStatus = yield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteId ) }/atomic/software/${ encodeURIComponent(\n\t\t\t\t\tsoftwareSet\n\t\t\t\t) }`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tmethod: 'GET',\n\t\t\t} );\n\t\t\tyield atomicSoftwareStatusSuccess( siteId, softwareSet, status );\n\t\t} catch ( err ) {\n\t\t\tyield atomicSoftwareStatusFailure( siteId, softwareSet, err as AtomicSoftwareStatusError );\n\t\t}\n\t}\n\n\tconst atomicSoftwareInstallStart = ( siteId: number, softwareSet: string ) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_INSTALL_START' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t} );\n\n\tconst atomicSoftwareInstallSuccess = ( siteId: number, softwareSet: string ) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_INSTALL_SUCCESS' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t} );\n\n\tconst atomicSoftwareInstallFailure = (\n\t\tsiteId: number,\n\t\tsoftwareSet: string,\n\t\terror: AtomicSoftwareInstallErrorType\n\t) => ( {\n\t\ttype: 'ATOMIC_SOFTWARE_INSTALL_FAILURE' as const,\n\t\tsiteId,\n\t\tsoftwareSet,\n\t\terror,\n\t} );\n\n\tfunction* initiateSoftwareInstall( siteId: number, softwareSet: string ) {\n\t\tyield atomicSoftwareInstallStart( siteId, softwareSet );\n\t\ttry {\n\t\t\tyield wpcomRequest( {\n\t\t\t\tpath: `/sites/${ encodeURIComponent( siteId ) }/atomic/software/${ encodeURIComponent(\n\t\t\t\t\tsoftwareSet\n\t\t\t\t) }`,\n\t\t\t\tapiNamespace: 'wpcom/v2',\n\t\t\t\tmethod: 'POST',\n\t\t\t\tbody: {},\n\t\t\t} );\n\t\t\tyield atomicSoftwareInstallSuccess( siteId, softwareSet );\n\t\t} catch ( err ) {\n\t\t\tyield atomicSoftwareInstallFailure( siteId, softwareSet, err as AtomicSoftwareInstallError );\n\t\t}\n\t}\n\n\treturn {\n\t\treceiveSiteDomains,\n\t\treceiveSiteSettings,\n\t\tsaveSiteTitle,\n\t\tsaveSiteSettings,\n\t\tsetIntentOnSite,\n\t\tsetGoalsOnSite,\n\t\treceiveSiteTitle,\n\t\tfetchNewSite,\n\t\tfetchSite,\n\t\treceiveNewSite,\n\t\treceiveNewSiteFailed,\n\t\tresetNewSiteFailed,\n\t\tsetThemeOnSite,\n\t\tsetDesignOnSite,\n\t\tcreateSite,\n\t\treceiveSite,\n\t\treceiveSiteFailed,\n\t\treceiveSiteTagline,\n\t\treceiveSiteVerticalId,\n\t\tupdateSiteSettings,\n\t\tsaveSiteTagline,\n\t\treset,\n\t\tlaunchSite,\n\t\tlaunchSiteStart,\n\t\tlaunchSiteSuccess,\n\t\tlaunchSiteFailure,\n\t\tgetCart,\n\t\tsetCart,\n\t\tgetGlobalStyles,\n\t\treceiveSiteGlobalStyles,\n\t\tsetSiteSetupError,\n\t\tclearSiteSetupError,\n\t\tinitiateAtomicTransfer,\n\t\tatomicTransferStart,\n\t\tatomicTransferSuccess,\n\t\tatomicTransferFailure,\n\t\tlatestAtomicTransferStart,\n\t\tlatestAtomicTransferSuccess,\n\t\tlatestAtomicTransferFailure,\n\t\trequestLatestAtomicTransfer,\n\t\tatomicSoftwareStatusStart,\n\t\tatomicSoftwareStatusSuccess,\n\t\tatomicSoftwareStatusFailure,\n\t\trequestAtomicSoftwareStatus,\n\t\tinitiateSoftwareInstall,\n\t\tatomicSoftwareInstallStart,\n\t\tatomicSoftwareInstallSuccess,\n\t\tatomicSoftwareInstallFailure,\n\t};\n}\n\nexport type ActionCreators = ReturnType< typeof createActions >;\n\nexport type Action =\n\t| ReturnType<\n\t\t\t| ActionCreators[ 'fetchNewSite' ]\n\t\t\t| ActionCreators[ 'fetchSite' ]\n\t\t\t| ActionCreators[ 'receiveSiteDomains' ]\n\t\t\t| ActionCreators[ 'receiveSiteSettings' ]\n\t\t\t| ActionCreators[ 'receiveNewSite' ]\n\t\t\t| ActionCreators[ 'receiveSiteTitle' ]\n\t\t\t| ActionCreators[ 'receiveNewSiteFailed' ]\n\t\t\t| ActionCreators[ 'receiveSiteTagline' ]\n\t\t\t| ActionCreators[ 'receiveSiteVerticalId' ]\n\t\t\t| ActionCreators[ 'receiveSite' ]\n\t\t\t| ActionCreators[ 'receiveSiteFailed' ]\n\t\t\t| ActionCreators[ 'updateSiteSettings' ]\n\t\t\t| ActionCreators[ 'receiveSiteGlobalStyles' ]\n\t\t\t| ActionCreators[ 'reset' ]\n\t\t\t| ActionCreators[ 'resetNewSiteFailed' ]\n\t\t\t| ActionCreators[ 'launchSiteStart' ]\n\t\t\t| ActionCreators[ 'launchSiteSuccess' ]\n\t\t\t| ActionCreators[ 'launchSiteFailure' ]\n\t\t\t| ActionCreators[ 'atomicTransferStart' ]\n\t\t\t| ActionCreators[ 'atomicTransferSuccess' ]\n\t\t\t| ActionCreators[ 'atomicTransferFailure' ]\n\t\t\t| ActionCreators[ 'latestAtomicTransferStart' ]\n\t\t\t| ActionCreators[ 'latestAtomicTransferSuccess' ]\n\t\t\t| ActionCreators[ 'latestAtomicTransferFailure' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareStatusStart' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareStatusSuccess' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareStatusFailure' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareInstallStart' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareInstallSuccess' ]\n\t\t\t| ActionCreators[ 'atomicSoftwareInstallFailure' ]\n\t >\n\t// Type added so we can dispatch actions in tests, but has no runtime cost\n\t| { type: 'TEST_ACTION' };\n","export const STORE_KEY = 'automattic/site';\n","import { registerStore } from '@wordpress/data';\nimport { controls } from '../wpcom-request-controls';\nimport { createActions } from './actions';\nimport { STORE_KEY } from './constants';\nimport reducer, { State } from './reducer';\nimport * as resolvers from './resolvers';\nimport * as selectors from './selectors';\nimport type { DispatchFromMap, SelectFromMap } from '../mapped-types';\nimport type { WpcomClientCredentials } from '../shared-types';\n\nexport * from './types';\nexport type { State };\nexport { STORE_KEY };\n\nlet isRegistered = false;\nexport function register( clientCreds: WpcomClientCredentials ): typeof STORE_KEY {\n\tif ( ! isRegistered ) {\n\t\tisRegistered = true;\n\t\tregisterStore< State >( STORE_KEY, {\n\t\t\tactions: createActions( clientCreds ),\n\t\t\tcontrols: controls as any,\n\t\t\treducer,\n\t\t\tresolvers,\n\t\t\tselectors,\n\t\t} );\n\t}\n\treturn STORE_KEY;\n}\n\ndeclare module '@wordpress/data' {\n\tfunction dispatch( key: typeof STORE_KEY ): DispatchFromMap< ReturnType< typeof createActions > >;\n\tfunction select( key: typeof STORE_KEY ): SelectFromMap< typeof selectors >;\n}\n","import { combineReducers } from '@wordpress/data';\nimport {\n\tNewSiteBlogDetails,\n\tNewSiteErrorResponse,\n\tSiteDetails,\n\tSiteError,\n\tDomain,\n\tSiteLaunchState,\n\tSiteLaunchStatus,\n\tSiteSettings,\n\tAtomicTransferStatus,\n\tLatestAtomicTransferStatus,\n\tGlobalStyles,\n} from './types';\nimport {\n\tAtomicTransferState,\n\tLatestAtomicTransferState,\n\tAtomicSoftwareStatusState,\n\tAtomicSoftwareInstallState,\n\tAtomicSoftwareInstallStatus,\n} from '.';\nimport type { Action } from './actions';\nimport type { Reducer } from 'redux';\n\nexport const newSiteData: Reducer< NewSiteBlogDetails | undefined, Action > = ( state, action ) => {\n\tif ( action.type === 'RECEIVE_NEW_SITE' ) {\n\t\tconst { response } = action;\n\t\treturn response.blog_details;\n\t} else if ( action.type === 'RECEIVE_NEW_SITE_FAILED' ) {\n\t\treturn undefined;\n\t} else if ( action.type === 'RESET_SITE_STORE' ) {\n\t\treturn undefined;\n\t}\n\treturn state;\n};\n\nexport const newSiteError: Reducer< NewSiteErrorResponse | undefined, Action > = (\n\tstate,\n\taction\n) => {\n\tswitch ( action.type ) {\n\t\tcase 'FETCH_NEW_SITE':\n\t\tcase 'RECEIVE_NEW_SITE':\n\t\tcase 'RESET_SITE_STORE':\n\t\tcase 'RESET_RECEIVE_NEW_SITE_FAILED':\n\t\t\treturn undefined;\n\t\tcase 'RECEIVE_NEW_SITE_FAILED':\n\t\t\treturn {\n\t\t\t\terror: action.error.error,\n\t\t\t\tstatus: action.error.status,\n\t\t\t\tstatusCode: action.error.statusCode,\n\t\t\t\tname: action.error.name,\n\t\t\t\tmessage: action.error.message,\n\t\t\t};\n\t}\n\treturn state;\n};\n\nexport const isFetchingSite: Reducer< boolean | undefined, Action > = ( state = false, action ) => {\n\tswitch ( action.type ) {\n\t\tcase 'FETCH_NEW_SITE':\n\t\t\treturn true;\n\t\tcase 'RECEIVE_NEW_SITE':\n\t\tcase 'RECEIVE_NEW_SITE_FAILED':\n\t\tcase 'RESET_SITE_STORE':\n\t\tcase 'RESET_RECEIVE_NEW_SITE_FAILED':\n\t\t\treturn false;\n\t}\n\treturn state;\n};\n\nexport const fetchingSiteError: Reducer< SiteError | undefined, Action > = ( state, action ) => {\n\tswitch ( action.type ) {\n\t\tcase 'RECEIVE_SITE_FAILED':\n\t\t\treturn {\n\t\t\t\terror: action.response.error,\n\t\t\t\tmessage: action.response.message,\n\t\t\t};\n\t}\n\treturn state;\n};\n\nexport const isFetchingSiteDetails: Reducer< boolean | undefined, Action > = (\n\tstate = false,\n\taction\n) => {\n\tswitch ( action.type ) {\n\t\tcase 'FETCH_SITE':\n\t\t\treturn true;\n\t\tcase 'RECEIVE_SITE':\n\t\tcase 'RECEIVE_SITE_FAILED':\n\t\t\treturn false;\n\t}\n\treturn state;\n};\n\nexport const sites: Reducer< { [ key: number | string ]: SiteDetails | undefined }, Action > = (\n\tstate = {},\n\taction\n) => {\n\tif ( action.type === 'RECEIVE_SITE' ) {\n\t\tif ( action.response ) {\n\t\t\treturn { ...state, [ action.response.ID ]: action.response };\n\t\t}\n\t\treturn state;\n\t} else if ( action.type === 'RECEIVE_SITE_FAILED' ) {\n\t\tconst { [ action.siteId ]: idToBeRemoved, ...remainingState } = state;\n\t\treturn { ...remainingState };\n\t} else if ( action.type === 'RESET_SITE_STORE' ) {\n\t\treturn {};\n\t} else if ( action.type === 'RECEIVE_SITE_TITLE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: { ...( state[ action.siteId ] as SiteDetails ), name: action.name },\n\t\t};\n\t} else if ( action.type === 'RECEIVE_SITE_TAGLINE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t...( state[ action.siteId ] as SiteDetails ),\n\t\t\t\tdescription: action.tagline ?? '',\n\t\t\t},\n\t\t};\n\t} else if ( action.type === 'RECEIVE_SITE_VERTICAL_ID' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t...( state[ action.siteId ] as SiteDetails ),\n\t\t\t\toptions: {\n\t\t\t\t\t...state[ action.siteId ]?.options,\n\t\t\t\t\tsite_vertical_id: action.verticalId,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nexport const sitesDomains: Reducer< { [ key: number ]: Domain[] }, Action > = (\n\tstate = {},\n\taction\n) => {\n\tif ( action.type === 'RECEIVE_SITE_DOMAINS' ) {\n\t\treturn { ...state, [ action.siteId ]: action.domains };\n\t}\n\treturn state;\n};\n\nexport const sitesSettings: Reducer< { [ key: number ]: SiteSettings }, Action > = (\n\tstate = {},\n\taction\n) => {\n\tif ( action.type === 'RECEIVE_SITE_SETTINGS' ) {\n\t\treturn { ...state, [ action.siteId ]: action.settings };\n\t}\n\tif ( action.type === 'UPDATE_SITE_SETTINGS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t...state?.[ action.siteId ],\n\t\t\t\t...action.settings,\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nexport const sitesGlobalStyles: Reducer< { [ key: number ]: GlobalStyles }, Action > = (\n\tstate = {},\n\taction\n) => {\n\tif ( action.type === 'RECEIVE_SITE_GLOBAL_STYLES' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t...state?.[ action.siteId ],\n\t\t\t\t...action.globalStyles,\n\t\t\t},\n\t\t};\n\t}\n\n\treturn state;\n};\n\nexport const launchStatus: Reducer< { [ key: number ]: SiteLaunchState }, Action > = (\n\tstate = {},\n\taction\n) => {\n\tif ( action.type === 'LAUNCH_SITE_START' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: { status: SiteLaunchStatus.IN_PROGRESS, errorCode: undefined },\n\t\t};\n\t}\n\tif ( action.type === 'LAUNCH_SITE_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: { status: SiteLaunchStatus.SUCCESS, errorCode: undefined },\n\t\t};\n\t}\n\tif ( action.type === 'LAUNCH_SITE_FAILURE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: SiteLaunchStatus.FAILURE,\n\t\t\t\terrorCode: action.error,\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nexport const siteSetupErrors: Reducer<\n\t{\n\t\terror?: string;\n\t\tmessage?: string;\n\t},\n\t{\n\t\ttype: string;\n\t\terror?: string;\n\t\tmessage?: string;\n\t}\n> = ( state = {}, action ) => {\n\tif ( action.type === 'SET_SITE_SETUP_ERROR' ) {\n\t\tconst { error, message } = action;\n\n\t\treturn {\n\t\t\terror,\n\t\t\tmessage,\n\t\t};\n\t}\n\n\tif ( action.type === 'CLEAR_SITE_SETUP_ERROR' ) {\n\t\treturn {};\n\t}\n\n\treturn state;\n};\n\nexport const atomicTransferStatus: Reducer< { [ key: number ]: AtomicTransferState }, Action > = (\n\tstate = {},\n\taction\n) => {\n\tif ( action.type === 'ATOMIC_TRANSFER_START' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: AtomicTransferStatus.IN_PROGRESS,\n\t\t\t\tsoftwareSet: action.softwareSet,\n\t\t\t\terrorCode: undefined,\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_TRANSFER_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: AtomicTransferStatus.SUCCESS,\n\t\t\t\tsoftwareSet: action.softwareSet,\n\t\t\t\terrorCode: undefined,\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_TRANSFER_FAILURE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: AtomicTransferStatus.FAILURE,\n\t\t\t\tsoftwareSet: action.softwareSet,\n\t\t\t\terrorCode: action.error,\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nexport const latestAtomicTransferStatus: Reducer<\n\t{ [ key: number ]: LatestAtomicTransferState },\n\tAction\n> = ( state = {}, action ) => {\n\tif ( action.type === 'LATEST_ATOMIC_TRANSFER_START' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: LatestAtomicTransferStatus.IN_PROGRESS,\n\t\t\t\ttransfer: undefined,\n\t\t\t\terrorCode: undefined,\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'LATEST_ATOMIC_TRANSFER_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: LatestAtomicTransferStatus.SUCCESS,\n\t\t\t\ttransfer: action.transfer,\n\t\t\t\terrorCode: undefined,\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'LATEST_ATOMIC_TRANSFER_FAILURE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\tstatus: LatestAtomicTransferStatus.FAILURE,\n\t\t\t\ttransfer: undefined,\n\t\t\t\terrorCode: action.error,\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nexport const atomicSoftwareStatus: Reducer<\n\t{ [ key: number ]: AtomicSoftwareStatusState },\n\tAction\n> = ( state = {}, action ) => {\n\tif ( action.type === 'ATOMIC_SOFTWARE_STATUS_START' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: undefined,\n\t\t\t\t\terror: undefined,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_SOFTWARE_STATUS_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: action.status,\n\t\t\t\t\terror: undefined,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_SOFTWARE_STATUS_FAILURE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: undefined,\n\t\t\t\t\terror: action.error,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nexport const atomicSoftwareInstallStatus: Reducer<\n\t{ [ key: number ]: AtomicSoftwareInstallState },\n\tAction\n> = ( state = {}, action ) => {\n\tif ( action.type === 'ATOMIC_SOFTWARE_INSTALL_START' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: AtomicSoftwareInstallStatus.IN_PROGRESS,\n\t\t\t\t\terror: undefined,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_SOFTWARE_INSTALL_SUCCESS' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: AtomicSoftwareInstallStatus.SUCCESS,\n\t\t\t\t\terror: undefined,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\tif ( action.type === 'ATOMIC_SOFTWARE_INSTALL_FAILURE' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.siteId ]: {\n\t\t\t\t[ action.softwareSet ]: {\n\t\t\t\t\tstatus: AtomicSoftwareInstallStatus.FAILURE,\n\t\t\t\t\terror: action.error,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\treturn state;\n};\n\nconst newSite = combineReducers( {\n\tdata: newSiteData,\n\terror: newSiteError,\n\tisFetching: isFetchingSite,\n} );\n\nconst reducer = combineReducers( {\n\tisFetchingSiteDetails,\n\tnewSite,\n\tfetchingSiteError,\n\tsites,\n\tlaunchStatus,\n\tsitesDomains,\n\tsitesSettings,\n\tsitesGlobalStyles,\n\tsiteSetupErrors,\n\tatomicTransferStatus,\n\tlatestAtomicTransferStatus,\n\tatomicSoftwareStatus,\n\tatomicSoftwareInstallStatus,\n} );\n\nexport type State = ReturnType< typeof reducer >;\n\nexport default reducer;\n","// wpcomRequest is a temporary rename while we're working on migrating generators to thunks\nimport wpcomRequest from 'wpcom-proxy-request';\nimport type { SiteDetails, Domain, SiteSettings, Dispatch, NewSiteErrorResponse } from './types';\n\n/**\n * Attempt to find a site based on its id, and if not return undefined.\n * We are currently ignoring error messages and silently failing if we can't find a\n * site. This could be extended in the future by retrieving the `error` and\n * `message` strings returned by the API.\n *\n * @param siteId {number}\tThe site to look up\n */\nexport const getSite =\n\t( siteId: number ) =>\n\tasync ( { dispatch }: Dispatch ) => {\n\t\tdispatch.fetchSite();\n\t\ttry {\n\t\t\tconst existingSite: SiteDetails | undefined = await wpcomRequest( {\n\t\t\t\tpath: '/sites/' + encodeURIComponent( siteId ),\n\t\t\t\tapiVersion: '1.1',\n\t\t\t} );\n\t\t\tdispatch.receiveSite( siteId, existingSite );\n\t\t} catch ( err ) {\n\t\t\tdispatch.receiveSiteFailed( siteId, err as NewSiteErrorResponse );\n\t\t}\n\t};\n\n/**\n * Get all site domains\n *\n * @param siteId {number} The site id\n */\nexport const getSiteDomains =\n\t( siteId: number ) =>\n\tasync ( { dispatch }: Dispatch ) => {\n\t\tconst result: { domains: Domain[] } = await wpcomRequest( {\n\t\t\tpath: '/sites/' + encodeURIComponent( siteId ) + '/domains',\n\t\t\tapiVersion: '1.2',\n\t\t} );\n\t\tdispatch.receiveSiteDomains( siteId, result?.domains );\n\t};\n\n/**\n * Get all site settings\n *\n * @param siteId {number} The site id\n */\nexport const getSiteSettings =\n\t( siteId: number ) =>\n\tasync ( { dispatch }: Dispatch ) => {\n\t\tconst result: { settings: SiteSettings } = await wpcomRequest( {\n\t\t\tpath: '/sites/' + encodeURIComponent( siteId ) + '/settings',\n\t\t\tapiVersion: '1.4',\n\t\t} );\n\n\t\tdispatch.receiveSiteSettings( siteId, result?.settings );\n\t};\n","import { select } from '@wordpress/data';\nimport { STORE_KEY } from './constants';\nimport { SiteLaunchStatus, SiteOption } from './types';\nimport type { State } from './reducer';\n\nexport const getState = ( state: State ) => state;\nexport const getNewSite = ( state: State ) => state.newSite.data;\nexport const getNewSiteError = ( state: State ) => state.newSite.error;\nexport const isFetchingSite = ( state: State ) => state.newSite.isFetching;\nexport const getFetchingSiteError = ( state: State ) => state.fetchingSiteError;\nexport const isFetchingSiteDetails = ( state: State ) => state.isFetchingSiteDetails;\nexport const isNewSite = ( state: State ) => !! state.newSite.data;\n\n/**\n * Get a site matched by id. This selector has a matching\n * resolver that uses the `siteId` parameter to fetch an existing site. If the\n * site cannot be found, invalidate the resolution cache.\n *\n * @param state {State}\t\tstate object\n * @param siteId {number}\tid of the site to look up\n */\nexport const getSite = ( state: State, siteId: number | string ) => {\n\treturn (\n\t\tstate.sites[ siteId ] ||\n\t\tObject.values( state.sites ).find( ( site ) => site && new URL( site.URL ).host === siteId )\n\t);\n};\n\nexport const getSiteIdBySlug = ( _: State, slug: string ) => {\n\treturn select( STORE_KEY ).getSite( slug )?.ID;\n};\n\nexport const getSiteTitle = ( _: State, siteId: number ) =>\n\tselect( STORE_KEY ).getSite( siteId )?.name;\n\nexport const getSiteVerticalId = ( _: State, siteId: number ) =>\n\tselect( STORE_KEY ).getSite( siteId )?.options?.site_vertical_id;\n\n// @TODO: Return LaunchStatus instead of a boolean\nexport const isSiteLaunched = ( state: State, siteId: number ) => {\n\treturn state.launchStatus[ siteId ]?.status === SiteLaunchStatus.SUCCESS;\n};\n\n// @TODO: Return LaunchStatus instead of a boolean\nexport const isSiteLaunching = ( state: State, siteId: number ) => {\n\treturn state.launchStatus[ siteId ]?.status === SiteLaunchStatus.IN_PROGRESS;\n};\n\nexport const isSiteAtomic = ( state: State, siteId: number | string ) => {\n\treturn select( STORE_KEY ).getSite( siteId )?.options?.is_wpcom_atomic === true;\n};\n\nexport const isSiteWPForTeams = ( state: State, siteId: number | string ) => {\n\treturn select( STORE_KEY ).getSite( siteId )?.options?.is_wpforteams_site === true;\n};\n\nexport const getSiteDomains = ( state: State, siteId: number ) => {\n\treturn state.sitesDomains[ siteId ];\n};\n\nexport const getSiteSettings = ( state: State, siteId: number ) => {\n\treturn state.sitesSettings[ siteId ];\n};\n\nexport const getSiteGlobalStyles = ( state: State, siteId: number ) => {\n\treturn state.sitesGlobalStyles[ siteId ];\n};\n\nexport const getSiteSetupError = ( state: State ) => {\n\treturn state.siteSetupErrors;\n};\n\nexport const getSiteOptions = ( state: State, siteId: number ) => {\n\treturn state.sites[ siteId ]?.options;\n};\n\nexport const getSiteOption = ( state: State, siteId: number, optionName: SiteOption ) => {\n\treturn state.sites[ siteId ]?.options?.[ optionName ];\n};\n\nexport const getPrimarySiteDomain = ( _: State, siteId: number ) =>\n\tselect( STORE_KEY )\n\t\t.getSiteDomains( siteId )\n\t\t?.find( ( domain ) => domain.primary_domain );\n\nexport const getSiteSubdomain = ( _: State, siteId: number ) =>\n\tselect( STORE_KEY )\n\t\t.getSiteDomains( siteId )\n\t\t?.find( ( domain ) => domain.is_subdomain );\n\nexport const getSiteLatestAtomicTransfer = ( state: State, siteId: number ) => {\n\treturn state.latestAtomicTransferStatus[ siteId ]?.transfer;\n};\n\nexport const getSiteLatestAtomicTransferError = ( state: State, siteId: number ) => {\n\treturn state.latestAtomicTransferStatus[ siteId ]?.errorCode;\n};\n\nexport const getAtomicSoftwareStatus = ( state: State, siteId: number, softwareSet: string ) => {\n\treturn state.atomicSoftwareStatus[ siteId ]?.[ softwareSet ]?.status;\n};\n\nexport const getAtomicSoftwareError = ( state: State, siteId: number, softwareSet: string ) => {\n\treturn state.atomicSoftwareStatus[ siteId ]?.[ softwareSet ]?.error;\n};\n\nexport const getAtomicSoftwareInstallError = (\n\tstate: State,\n\tsiteId: number,\n\tsoftwareSet: string\n) => {\n\treturn state.atomicSoftwareInstallStatus[ siteId ]?.[ softwareSet ]?.error;\n};\n\nexport const siteHasFeature = (\n\t_: State,\n\tsiteId: number | undefined,\n\tfeatureKey: string\n): boolean => {\n\treturn Boolean(\n\t\tsiteId && select( STORE_KEY ).getSite( siteId )?.plan?.features.active.includes( featureKey )\n\t);\n};\n\nexport const requiresUpgrade = ( state: State, siteId: number | null ) => {\n\treturn siteId && ! select( STORE_KEY ).siteHasFeature( siteId, 'woop' );\n};\n\nexport function isJetpackSite( state: State, siteId?: number ): boolean {\n\treturn Boolean( siteId && select( STORE_KEY ).getSite( siteId )?.jetpack );\n}\n\nexport function isEligibleForProPlan( state: State, siteId?: number ): boolean {\n\tif ( ! siteId ) {\n\t\treturn false;\n\t}\n\n\tif (\n\t\t( isJetpackSite( state, siteId ) && ! isSiteAtomic( state, siteId ) ) ||\n\t\tisSiteWPForTeams( state, siteId )\n\t) {\n\t\treturn false;\n\t}\n\n\treturn true;\n}\n","import type { DispatchFromMap } from '../mapped-types';\nimport type { FeatureId } from '../wpcom-features';\nimport type { ActionCreators } from './actions';\n\nexport interface Dispatch {\n\tdispatch: DispatchFromMap< ActionCreators >;\n}\n\nexport interface NewSiteBlogDetails {\n\turl: string;\n\tblogid: number;\n\tblogname: string;\n\tsite_slug?: string;\n\txmlrpc: string;\n}\n\nexport interface NewSiteSuccessResponse {\n\tsuccess: boolean;\n\tblog_details: NewSiteBlogDetails;\n\tis_signup_sandbox?: boolean;\n}\n\nexport interface NewSiteErrorResponse {\n\terror: string;\n\tstatus: number;\n\tstatusCode: number;\n\tname: string;\n\tmessage: string;\n}\n\nexport interface NewSiteErrorCreateBlog {\n\t// This has to be `any` as sites/new will return whatever value is passed to it as `$blog_id` if create blog fails.\n\tblog_id?: any; // eslint-disable-line @typescript-eslint/no-explicit-any\n}\n\nexport type NewSiteResponse =\n\t| NewSiteSuccessResponse\n\t| NewSiteErrorResponse\n\t| NewSiteErrorCreateBlog;\n\nexport enum Visibility {\n\tPublicIndexed = 1,\n\tPublicNotIndexed = 0,\n\tPrivate = -1,\n}\n\nexport interface CreateSiteParams {\n\tblog_name: string;\n\tblog_title?: string;\n\tauthToken?: string;\n\tpublic?: Visibility;\n\toptions?: {\n\t\tsite_vertical?: string;\n\t\tsite_vertical_name?: string;\n\t\tsite_vertical_slug?: string;\n\t\tsite_information?: {\n\t\t\ttitle?: string;\n\t\t};\n\t\tlang_id?: number;\n\t\tsite_creation_flow?: string;\n\t\tenable_fse?: boolean;\n\t\ttheme?: string;\n\t\ttemplate?: string;\n\t\ttimezone_string?: string;\n\t\tfont_headings?: string;\n\t\tfont_base?: string;\n\t\tuse_patterns?: boolean;\n\t\tselected_features?: FeatureId[];\n\t\twpcom_public_coming_soon?: number;\n\t\tanchor_fm_podcast_id?: string;\n\t\tis_blank_canvas?: boolean;\n\t};\n}\n\nexport interface SiteDetailsPlan {\n\tproduct_id: number;\n\tproduct_slug: string;\n\tproduct_name: string;\n\tproduct_name_short: string;\n\texpired: boolean;\n\tbilling_period: string;\n\tuser_is_owner: boolean;\n\tis_free: boolean;\n\tfeatures: {\n\t\tactive: string[];\n\t\tavailable: Record< string, string[] >;\n\t};\n}\n\nexport interface DifmLiteSiteOptions {\n\tsite_category?: string;\n\tis_website_content_submitted?: boolean;\n\tselected_page_titles: string[];\n}\n\nexport interface SiteDetails {\n\tID: number;\n\tname: string | undefined;\n\tdescription: string;\n\tURL: string;\n\tlaunch_status: string;\n\tjetpack: boolean;\n\tis_fse_eligible: boolean;\n\tis_fse_active: boolean;\n\tlogo: { id: string; sizes: string[]; url: string };\n\toptions: {\n\t\tadmin_url?: string;\n\t\tadvanced_seo_front_page_description?: string;\n\t\tadvanced_seo_title_formats?: string[];\n\t\tak_vp_bundle_enabled?: boolean;\n\t\tallowed_file_types?: string[];\n\t\tanchor_podcast?: boolean;\n\t\tbackground_color?: boolean;\n\t\tblog_public?: number;\n\t\tcreated_at?: Date;\n\t\tdefault_category?: number;\n\t\tdefault_comment_status?: boolean;\n\t\tdefault_likes_enabled?: boolean;\n\t\tdefault_ping_status?: boolean;\n\t\tdefault_post_format?: string;\n\t\tdefault_sharing_status?: boolean;\n\t\tdesign_type?: string;\n\t\tdifm_lite_site_options?: DifmLiteSiteOptions;\n\t\tediting_toolkit_is_active?: boolean;\n\t\tfeatured_images_enabled?: boolean;\n\t\tframe_nonce?: string;\n\t\tgmt_offset?: number;\n\t\theader_image?: boolean;\n\t\theadstart_is_fresh?: boolean;\n\t\theadstart?: boolean;\n\t\timage_default_link_type?: string;\n\t\timage_large_height?: number;\n\t\timage_large_width?: number;\n\t\timage_medium_height?: number;\n\t\timage_medium_width?: number;\n\t\timage_thumbnail_crop?: number;\n\t\timage_thumbnail_height?: number;\n\t\timage_thumbnail_width?: number;\n\t\timport_engine?: string;\n\t\tis_automated_transfer?: boolean;\n\t\tis_cloud_eligible?: boolean;\n\t\tis_difm_lite_in_progress?: boolean;\n\t\tis_domain_only?: boolean;\n\t\tis_mapped_domain?: boolean;\n\t\tis_pending_plan?: boolean;\n\t\tis_redirect?: boolean;\n\t\tis_wpcom_atomic?: boolean;\n\t\tis_wpcom_store?: boolean;\n\t\tis_wpforteams_site?: boolean;\n\t\tjetpack_frame_nonce?: string;\n\t\tlogin_url?: string;\n\t\tp2_hub_blog_id?: number;\n\t\tpage_for_posts?: number;\n\t\tpage_on_front?: number;\n\t\tpermalink_structure?: string;\n\t\tpodcasting_archive?: boolean;\n\t\tpost_formats?: string[];\n\t\tpublicize_permanently_disabled?: boolean;\n\t\tshow_on_front?: string;\n\t\tsite_intent?: string;\n\t\tsite_segment?: string;\n\t\tsite_vertical_id?: string;\n\t\tsoftware_version?: string;\n\t\tselected_features?: FeatureId[];\n\t\ttheme_slug?: string;\n\t\ttimezone?: string;\n\t\tunmapped_url?: string;\n\t\tupgraded_filetypes_enabled?: boolean;\n\t\tverification_services_codes?: string;\n\t\tvideopress_enabled?: boolean;\n\t\tvideopress_storage_used?: number;\n\t\twas_created_with_blank_canvas_design?: boolean;\n\t\twoocommerce_is_active?: boolean;\n\t\twordads?: boolean;\n\t};\n\tplan?: SiteDetailsPlan;\n\tcapabilities: {\n\t\tedit_pages: boolean;\n\t\tedit_posts: boolean;\n\t\tedit_others_posts: boolean;\n\t\tedit_others_pages: boolean;\n\t\tdelete_posts: boolean;\n\t\tdelete_others_posts: boolean;\n\t\tedit_theme_options: boolean;\n\t\tedit_users: boolean;\n\t\tlist_users: boolean;\n\t\tmanage_categories: boolean;\n\t\tmanage_options: boolean;\n\t\tmoderate_comments: boolean;\n\t\tactivate_wordads: boolean;\n\t\tpromote_users: boolean;\n\t\tpublish_posts: boolean;\n\t\tupload_files: boolean;\n\t\tdelete_users: boolean;\n\t\tremove_users: boolean;\n\t\town_site: boolean;\n\t\tview_hosting: boolean;\n\t\tview_stats: boolean;\n\t\tactivate_plugins: boolean;\n\t};\n}\n\nexport type SiteOption = keyof SiteDetails[ 'options' ];\n\nexport interface SiteError {\n\terror: string;\n\tmessage: string;\n}\n\nexport type SiteResponse = SiteDetails | SiteError;\n\nexport interface Cart {\n\tblog_id: number;\n\tcart_key: number;\n\tcoupon: string;\n\tcoupon_discounts: unknown[];\n\tcoupon_discounts_integer: unknown[];\n\tis_coupon_applied: boolean;\n\thas_bundle_credit: boolean;\n\tnext_domain_is_free: boolean;\n\tnext_domain_condition: string;\n\tproducts: unknown[];\n\ttotal_cost: number;\n\tcurrency: string;\n\ttotal_cost_display: string;\n\ttotal_cost_integer: number;\n\ttemporary: boolean;\n\ttax: unknown;\n\tsub_total: number;\n\tsub_total_display: string;\n\tsub_total_integer: number;\n\ttotal_tax: number;\n\ttotal_tax_display: string;\n\ttotal_tax_integer: number;\n\tcredits: number;\n\tcredits_display: string;\n\tcredits_integer: number;\n\tallowed_payment_methods: unknown[];\n\tcreate_new_blog: boolean;\n\tmessages: Record< 'errors' | 'success', unknown >;\n}\n\nexport interface Domain {\n\ta_records_required_for_mapping?: string[];\n\tprimary_domain: boolean;\n\tblog_id: number;\n\tconnection_mode?: string;\n\tsubscription_id?: any;\n\tcurrent_user_can_manage: boolean;\n\tcan_set_as_primary: boolean;\n\tdomain: string;\n\tsupports_domain_connect?: any;\n\temail_forwards_count: number;\n\texpiry: boolean;\n\texpiry_soon: boolean;\n\texpired: boolean;\n\tauto_renewing: boolean;\n\tpending_registration: boolean;\n\tpending_registration_time: string;\n\thas_registration: boolean;\n\tpoints_to_wpcom: boolean;\n\tprivacy_available: boolean;\n\tprivate_domain: boolean;\n\tpartner_domain: boolean;\n\twpcom_domain: boolean;\n\thas_zone: boolean;\n\tis_renewable: boolean;\n\tis_redeemable: boolean;\n\tis_subdomain: boolean;\n\tis_eligible_for_inbound_transfer: boolean;\n\tis_locked: boolean;\n\tis_wpcom_staging_domain: boolean;\n\ttransfer_away_eligible_at?: any;\n\ttype: string;\n\tregistration_date: string;\n\tauto_renewal_date: string;\n\tgoogle_apps_subscription?: unknown[];\n\ttitan_mail_subscription?: unknown[];\n\tpending_whois_update: boolean;\n\ttld_maintenance_end_time?: any;\n\tssl_status?: any;\n\tsubdomain_part?: string;\n\tsupports_gdpr_consent_management: boolean;\n\tsupports_transfer_approval: boolean;\n\tdomain_registration_agreement_url: string;\n\tcontact_info_disclosure_available: boolean;\n\tcontact_info_disclosed: boolean;\n\trenewable_until?: any;\n\tredeemable_until?: any;\n\tbundled_plan_subscription_id?: any;\n\tproduct_slug?: any;\n\towner: string;\n}\n\nexport interface SiteSettings {\n\t[ key: string ]: any;\n}\n\nexport interface SiteLaunchState {\n\tstatus: SiteLaunchStatus;\n\terrorCode: SiteLaunchError | undefined;\n}\n\nexport enum SiteLaunchError {\n\tINTERNAL = 'internal',\n}\n\nexport enum SiteLaunchStatus {\n\tUNINITIALIZED = 'unintialized',\n\tIN_PROGRESS = 'in_progress',\n\tSUCCESS = 'success',\n\tFAILURE = 'failure',\n}\n\nexport interface AtomicTransferState {\n\tstatus: AtomicTransferStatus;\n\terrorCode: AtomicTransferError | undefined;\n}\n\nexport enum AtomicTransferStatus {\n\tUNINITIALIZED = 'unintialized',\n\tIN_PROGRESS = 'in_progress',\n\tSUCCESS = 'success',\n\tFAILURE = 'failure',\n}\n\nexport enum AtomicTransferError {\n\tINTERNAL = 'internal',\n}\n\nexport interface LatestAtomicTransfer {\n\tatomic_transfer_id: number;\n\tblog_id: number;\n\tstatus: string;\n\tcreated_at: string;\n\tis_stuck: boolean;\n\tis_stuck_reset: boolean;\n\tin_lossless_revert: boolean;\n}\n\nexport interface LatestAtomicTransferState {\n\tstatus: LatestAtomicTransferStatus;\n\ttransfer: LatestAtomicTransfer | undefined;\n\terrorCode: LatestAtomicTransferError | undefined;\n}\n\nexport enum LatestAtomicTransferStatus {\n\tUNINITIALIZED = 'unintialized',\n\tIN_PROGRESS = 'in_progress',\n\tSUCCESS = 'success',\n\tFAILURE = 'failure',\n}\n\nexport interface LatestAtomicTransferError {\n\tname: string; // \"NotFoundError\"\n\tstatus: number; // 404\n\tmessage: string; // \"Transfer not found\"\n\tcode: string; // \"no_transfer_record\"\n}\n\nexport interface AtomicSoftwareStatus {\n\tblog_id: number;\n\tsoftware_set: Record< string, { path: string; state: string } >;\n\tapplied: boolean;\n}\n\nexport interface AtomicSoftwareStatusError {\n\tname: string; // \"NotFoundError\"\n\tstatus: number; // 404\n\tmessage: string; // \"Transfer not found\"\n\tcode: string; // \"no_transfer_record\"\n}\n\nexport type AtomicSoftwareStatusState = Record<\n\tstring,\n\t{\n\t\tstatus: AtomicSoftwareStatus | undefined;\n\t\terror: AtomicSoftwareStatusError | undefined;\n\t}\n>;\n\nexport enum AtomicSoftwareInstallStatus {\n\tUNINITIALIZED = 'unintialized',\n\tIN_PROGRESS = 'in_progress',\n\tSUCCESS = 'success',\n\tFAILURE = 'failure',\n}\nexport type AtomicSoftwareInstallState = Record<\n\tstring,\n\t{\n\t\tstatus: AtomicSoftwareInstallStatus | undefined;\n\t\terror: AtomicSoftwareInstallError | undefined;\n\t}\n>;\nexport interface AtomicSoftwareInstallError {\n\tname: string;\n\tstatus: number;\n\tmessage: string;\n\tcode: string;\n}\n\ninterface PaletteColor {\n\tslug: string;\n\tcolor: string;\n\tname: string;\n\tdefault: string;\n}\n\nexport interface GlobalStyles {\n\tsettings: {\n\t\tcolor: {\n\t\t\tpalette: {\n\t\t\t\tdefault: PaletteColor[];\n\t\t\t\ttheme: PaletteColor[];\n\t\t\t};\n\t\t};\n\t};\n}\n","export const STORE_KEY = 'automattic/wpcom-features';\n","import * as Plans from '../plans';\nimport type { FeatureId, Feature } from './types';\n\nconst {\n\tTIMELESS_PLAN_PERSONAL,\n\tTIMELESS_PLAN_PREMIUM,\n\tTIMELESS_PLAN_BUSINESS,\n\tTIMELESS_PLAN_ECOMMERCE,\n} = Plans;\n\nexport const featuresList: Record< FeatureId, Feature > = {\n\tdomain: {\n\t\tid: 'domain',\n\t\tminSupportedPlan: TIMELESS_PLAN_PERSONAL,\n\t},\n\tstore: {\n\t\tid: 'store',\n\t\tminSupportedPlan: TIMELESS_PLAN_ECOMMERCE,\n\t},\n\tseo: {\n\t\tid: 'seo',\n\t\tminSupportedPlan: TIMELESS_PLAN_BUSINESS,\n\t},\n\tplugins: {\n\t\tid: 'plugins',\n\t\tminSupportedPlan: TIMELESS_PLAN_BUSINESS,\n\t},\n\t'ad-free': {\n\t\tid: 'ad-free',\n\t\tminSupportedPlan: TIMELESS_PLAN_PERSONAL,\n\t},\n\t'image-storage': {\n\t\tid: 'image-storage',\n\t\tminSupportedPlan: TIMELESS_PLAN_PREMIUM,\n\t},\n\t'video-storage': {\n\t\tid: 'video-storage',\n\t\tminSupportedPlan: TIMELESS_PLAN_PREMIUM,\n\t},\n\tsupport: {\n\t\tid: 'support',\n\t\tminSupportedPlan: TIMELESS_PLAN_BUSINESS,\n\t},\n};\n","import { registerStore } from '@wordpress/data';\nimport { controls } from '@wordpress/data-controls';\nimport { STORE_KEY } from './constants';\nimport reducer, { State } from './reducer';\nimport * as selectors from './selectors';\nimport type { SelectFromMap } from '../mapped-types';\nimport type { Reducer, AnyAction } from 'redux';\n\nexport type { State };\nexport type { FeatureId, Feature } from './types';\n\nexport { featuresList } from './features-data';\n\nlet isRegistered = false;\n\nexport function register(): typeof STORE_KEY {\n\tif ( ! isRegistered ) {\n\t\tisRegistered = true;\n\t\tregisterStore< State >( STORE_KEY, {\n\t\t\tcontrols,\n\t\t\treducer: reducer as Reducer< State, AnyAction >,\n\t\t\tselectors,\n\t\t} );\n\t}\n\treturn STORE_KEY;\n}\n\ndeclare module '@wordpress/data' {\n\tfunction select( key: typeof STORE_KEY ): SelectFromMap< typeof selectors >;\n}\n","import { featuresList } from './features-data';\nimport type { Feature, FeatureId } from './types';\nimport type { AnyAction, Reducer } from 'redux';\n\nexport type State = Record< FeatureId, Feature >;\n\nconst reducer: Reducer< State, AnyAction > = ( state = featuresList ) => {\n\treturn state;\n};\n\nexport default reducer;\n","import { plansOrder } from '../plans/constants';\nimport type { PlanSlug } from '../plans';\nimport type { State } from './reducer';\nimport type { FeatureId } from './types';\n\nexport const getAllFeatures = ( state: State ) => state;\n\nexport const getRecommendedPlanSlug = (\n\tstate: State,\n\tselectedFeatures: FeatureId[]\n): PlanSlug | undefined => {\n\tconst allFeatures = getAllFeatures( state );\n\n\tif ( ! selectedFeatures.length ) return undefined;\n\n\treturn selectedFeatures.reduce( ( currentMinSupportedPlan, featureId ) => {\n\t\tconst featureMinSupportedPlan = allFeatures[ featureId ].minSupportedPlan;\n\n\t\treturn plansOrder.indexOf( featureMinSupportedPlan as never ) >\n\t\t\tplansOrder.indexOf( currentMinSupportedPlan as never )\n\t\t\t? featureMinSupportedPlan\n\t\t\t: currentMinSupportedPlan;\n\t}, allFeatures[ selectedFeatures[ 0 ] ].minSupportedPlan );\n};\n","import wpcomProxyRequest, {\n\treloadProxy as triggerReloadProxy,\n\trequestAllBlogsAccess as triggerRequestAllBlogsAccess,\n} from 'wpcom-proxy-request';\n\ntype WpcomProxyRequestOptions = Parameters< typeof wpcomProxyRequest >[ 0 ];\n\nexport const wpcomRequest = (\n\trequest: WpcomProxyRequestOptions\n): { type: 'WPCOM_REQUEST'; request: WpcomProxyRequestOptions } =>\n\t( { type: 'WPCOM_REQUEST', request } as const );\n\n/**\n * Action for performing a fetching using `window.fetch()` and parsing the response body.\n * It's different from `apiFetch()` from\n * `@wordpress/data-controls` in that it doesn't use any middleware to add extra parameters.\n *\n * @param resource the resource you wish to fetch\n * @param options request options\n */\nexport const fetchAndParse = (\n\tresource: Parameters< Window[ 'fetch' ] >[ 0 ],\n\toptions?: Parameters< Window[ 'fetch' ] >[ 1 ]\n) =>\n\t( {\n\t\ttype: 'FETCH_AND_PARSE',\n\t\tresource,\n\t\toptions,\n\t} as const );\n\nexport const reloadProxy = () =>\n\t( {\n\t\ttype: 'RELOAD_PROXY',\n\t} as const );\n\nexport const requestAllBlogsAccess = () =>\n\t( {\n\t\ttype: 'REQUEST_ALL_BLOGS_ACCESS',\n\t} as const );\n\nexport const wait = ( ms: number ) => ( { type: 'WAIT', ms } as const );\n\nexport const controls = {\n\tWPCOM_REQUEST: ( { request }: ReturnType< typeof wpcomRequest > ) => wpcomProxyRequest( request ),\n\tFETCH_AND_PARSE: async ( { resource, options }: ReturnType< typeof fetchAndParse > ) => {\n\t\tconst response = await window.fetch( resource, options );\n\n\t\treturn {\n\t\t\tok: response.ok,\n\t\t\tbody: await response.json(),\n\t\t};\n\t},\n\tRELOAD_PROXY: () => {\n\t\ttriggerReloadProxy();\n\t},\n\tREQUEST_ALL_BLOGS_ACCESS: () => triggerRequestAllBlogsAccess(),\n\tWAIT: ( { ms }: ReturnType< typeof wait > ) =>\n\t\tnew Promise( ( resolve ) => setTimeout( resolve, ms ) ),\n} as const;\n","import { CurrencyDefinition, CurrenciesDictionary } from './types';\n\nexport const CURRENCIES: CurrenciesDictionary = {\n\tAED: {\n\t\tsymbol: 'د.إ.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tAFN: {\n\t\tsymbol: '؋',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tALL: {\n\t\tsymbol: 'Lek',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tAMD: {\n\t\tsymbol: '֏',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tANG: {\n\t\tsymbol: 'ƒ',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tAOA: {\n\t\tsymbol: 'Kz',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tARS: {\n\t\tsymbol: '$',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tAUD: {\n\t\tsymbol: 'A$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tAWG: {\n\t\tsymbol: 'ƒ',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tAZN: {\n\t\tsymbol: '₼',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBAM: {\n\t\tsymbol: 'КМ',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBBD: {\n\t\tsymbol: 'Bds$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tBDT: {\n\t\tsymbol: '৳',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tBGN: {\n\t\tsymbol: 'лв.',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBHD: {\n\t\tsymbol: 'د.ب.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tBIF: {\n\t\tsymbol: 'FBu',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tBMD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tBND: {\n\t\tsymbol: '$',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 0,\n\t},\n\tBOB: {\n\t\tsymbol: 'Bs',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBRL: {\n\t\tsymbol: 'R$',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBSD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tBTC: {\n\t\tsymbol: 'Ƀ',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tBTN: {\n\t\tsymbol: 'Nu.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 1,\n\t},\n\tBWP: {\n\t\tsymbol: 'P',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tBYR: {\n\t\tsymbol: 'р.',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tBZD: {\n\t\tsymbol: 'BZ$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCAD: {\n\t\tsymbol: 'C$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCDF: {\n\t\tsymbol: 'FC',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCHF: {\n\t\tsymbol: 'CHF',\n\t\tgrouping: \"'\",\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCLP: {\n\t\tsymbol: '$',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tCNY: {\n\t\tsymbol: '¥',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCOP: {\n\t\tsymbol: '$',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tCRC: {\n\t\tsymbol: '₡',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tCUC: {\n\t\tsymbol: 'CUC',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCUP: {\n\t\tsymbol: '$MN',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCVE: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tCZK: {\n\t\tsymbol: 'Kč',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tDJF: {\n\t\tsymbol: 'Fdj',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tDKK: {\n\t\tsymbol: 'kr.',\n\t\tgrouping: '',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tDOP: {\n\t\tsymbol: 'RD$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tDZD: {\n\t\tsymbol: 'د.ج.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tEGP: {\n\t\tsymbol: 'ج.م.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tERN: {\n\t\tsymbol: 'Nfk',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tETB: {\n\t\tsymbol: 'ETB',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tEUR: {\n\t\tsymbol: '€',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tFJD: {\n\t\tsymbol: 'FJ$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tFKP: {\n\t\tsymbol: '£',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGBP: {\n\t\tsymbol: '£',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGEL: {\n\t\tsymbol: 'Lari',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tGHS: {\n\t\tsymbol: '₵',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGIP: {\n\t\tsymbol: '£',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGMD: {\n\t\tsymbol: 'D',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGNF: {\n\t\tsymbol: 'FG',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tGTQ: {\n\t\tsymbol: 'Q',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tGYD: {\n\t\tsymbol: 'G$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tHKD: {\n\t\tsymbol: 'HK$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tHNL: {\n\t\tsymbol: 'L.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tHRK: {\n\t\tsymbol: 'kn',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tHTG: {\n\t\tsymbol: 'G',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tHUF: {\n\t\tsymbol: 'Ft',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 0,\n\t},\n\tIDR: {\n\t\tsymbol: 'Rp',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 0,\n\t},\n\tILS: {\n\t\tsymbol: '₪',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tINR: {\n\t\tsymbol: '₹',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tIQD: {\n\t\tsymbol: 'د.ع.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tIRR: {\n\t\tsymbol: '﷼',\n\t\tgrouping: ',',\n\t\tdecimal: '/',\n\t\tprecision: 2,\n\t},\n\tISK: {\n\t\tsymbol: 'kr.',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 0,\n\t},\n\tJMD: {\n\t\tsymbol: 'J$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tJOD: {\n\t\tsymbol: 'د.ا.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tJPY: {\n\t\tsymbol: '¥',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tKES: {\n\t\tsymbol: 'S',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tKGS: {\n\t\tsymbol: 'сом',\n\t\tgrouping: ' ',\n\t\tdecimal: '-',\n\t\tprecision: 2,\n\t},\n\tKHR: {\n\t\tsymbol: '៛',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tKMF: {\n\t\tsymbol: 'CF',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tKPW: {\n\t\tsymbol: '₩',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tKRW: {\n\t\tsymbol: '₩',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tKWD: {\n\t\tsymbol: 'د.ك.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tKYD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tKZT: {\n\t\tsymbol: '₸',\n\t\tgrouping: ' ',\n\t\tdecimal: '-',\n\t\tprecision: 2,\n\t},\n\tLAK: {\n\t\tsymbol: '₭',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tLBP: {\n\t\tsymbol: 'ل.ل.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tLKR: {\n\t\tsymbol: '₨',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tLRD: {\n\t\tsymbol: 'L$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tLSL: {\n\t\tsymbol: 'M',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tLYD: {\n\t\tsymbol: 'د.ل.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tMAD: {\n\t\tsymbol: 'د.م.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMDL: {\n\t\tsymbol: 'lei',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMGA: {\n\t\tsymbol: 'Ar',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tMKD: {\n\t\tsymbol: 'ден.',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tMMK: {\n\t\tsymbol: 'K',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMNT: {\n\t\tsymbol: '₮',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tMOP: {\n\t\tsymbol: 'MOP$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMRO: {\n\t\tsymbol: 'UM',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMTL: {\n\t\tsymbol: '₤',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMUR: {\n\t\tsymbol: '₨',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMVR: {\n\t\tsymbol: 'MVR',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 1,\n\t},\n\tMWK: {\n\t\tsymbol: 'MK',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMXN: {\n\t\tsymbol: 'MX$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMYR: {\n\t\tsymbol: 'RM',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tMZN: {\n\t\tsymbol: 'MT',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tNAD: {\n\t\tsymbol: 'N$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tNGN: {\n\t\tsymbol: '₦',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tNIO: {\n\t\tsymbol: 'C$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tNOK: {\n\t\tsymbol: 'kr',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tNPR: {\n\t\tsymbol: '₨',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tNZD: {\n\t\tsymbol: 'NZ$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tOMR: {\n\t\tsymbol: '﷼',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tPAB: {\n\t\tsymbol: 'B/.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tPEN: {\n\t\tsymbol: 'S/.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tPGK: {\n\t\tsymbol: 'K',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tPHP: {\n\t\tsymbol: '₱',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tPKR: {\n\t\tsymbol: '₨',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tPLN: {\n\t\tsymbol: 'zł',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tPYG: {\n\t\tsymbol: '₲',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tQAR: {\n\t\tsymbol: '﷼',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tRON: {\n\t\tsymbol: 'lei',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tRSD: {\n\t\tsymbol: 'Дин.',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tRUB: {\n\t\tsymbol: '₽',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tRWF: {\n\t\tsymbol: 'RWF',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tSAR: {\n\t\tsymbol: '﷼',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSBD: {\n\t\tsymbol: 'S$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSCR: {\n\t\tsymbol: '₨',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSDD: {\n\t\tsymbol: 'LSd',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSDG: {\n\t\tsymbol: '£',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSEK: {\n\t\tsymbol: 'kr',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSGD: {\n\t\tsymbol: 'S$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSHP: {\n\t\tsymbol: '£',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSLL: {\n\t\tsymbol: 'Le',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSOS: {\n\t\tsymbol: 'S',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSRD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSTD: {\n\t\tsymbol: 'Db',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSVC: {\n\t\tsymbol: '₡',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSYP: {\n\t\tsymbol: '£',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tSZL: {\n\t\tsymbol: 'E',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTHB: {\n\t\tsymbol: '฿',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTJS: {\n\t\tsymbol: 'TJS',\n\t\tgrouping: ' ',\n\t\tdecimal: ';',\n\t\tprecision: 2,\n\t},\n\tTMT: {\n\t\tsymbol: 'm',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 0,\n\t},\n\tTND: {\n\t\tsymbol: 'د.ت.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 3,\n\t},\n\tTOP: {\n\t\tsymbol: 'T$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTRY: {\n\t\tsymbol: 'TL',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tTTD: {\n\t\tsymbol: 'TT$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTVD: {\n\t\tsymbol: '$T',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTWD: {\n\t\tsymbol: 'NT$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tTZS: {\n\t\tsymbol: 'TSh',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tUAH: {\n\t\tsymbol: '₴',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tUGX: {\n\t\tsymbol: 'USh',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tUSD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tUYU: {\n\t\tsymbol: '$U',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tUZS: {\n\t\tsymbol: 'сўм',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tVEB: {\n\t\tsymbol: 'Bs.',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tVEF: {\n\t\tsymbol: 'Bs. F.',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tVND: {\n\t\tsymbol: '₫',\n\t\tgrouping: '.',\n\t\tdecimal: ',',\n\t\tprecision: 1,\n\t},\n\tVUV: {\n\t\tsymbol: 'VT',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 0,\n\t},\n\tWST: {\n\t\tsymbol: 'WS$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tXAF: {\n\t\tsymbol: 'F',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tXCD: {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tXOF: {\n\t\tsymbol: 'F',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tXPF: {\n\t\tsymbol: 'F',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tYER: {\n\t\tsymbol: '﷼',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tZAR: {\n\t\tsymbol: 'R',\n\t\tgrouping: ' ',\n\t\tdecimal: ',',\n\t\tprecision: 2,\n\t},\n\tZMW: {\n\t\tsymbol: 'ZK',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n\tWON: {\n\t\tsymbol: '₩',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t},\n};\n\n/**\n * Returns currency defaults.\n *\n * @param {string} code currency code\n * @returns {?object} currency defaults\n */\nexport function getCurrencyDefaults( code: string ): CurrencyDefinition {\n\tconst defaultCurrency = {\n\t\tsymbol: '$',\n\t\tgrouping: ',',\n\t\tdecimal: '.',\n\t\tprecision: 2,\n\t};\n\n\treturn CURRENCIES[ code ] || defaultCurrency;\n}\n","import { getCurrencyDefaults } from './currencies';\nimport numberFormat from './number-format';\nimport { FormatCurrencyOptions, CurrencyObject } from './types';\n\nexport { getCurrencyDefaults };\n\nexport { CURRENCIES } from './currencies';\n\n/**\n * Formats money with a given currency code\n *\n * @param {number} number number to format\n * @param {string} code currency code e.g. 'USD'\n * @param {object} options options object\n * @param {string} options.decimal decimal symbol e.g. ','\n * @param {string} options.grouping thousands separator\n * @param {number} options.precision decimal digits\n * @param {string} options.symbol currency symbol e.g. 'A$'\n * @param {boolean} options.stripZeros whether to remove trailing zero cents\n * @returns {?string} A formatted string.\n */\nexport default function formatCurrency(\n\tnumber: number,\n\tcode: string,\n\toptions: FormatCurrencyOptions = {}\n): string | null {\n\tconst currencyDefaults = getCurrencyDefaults( code );\n\tif ( ! currencyDefaults || isNaN( number ) ) {\n\t\treturn null;\n\t}\n\tconst { decimal, grouping, precision, symbol } = { ...currencyDefaults, ...options };\n\tconst sign = number < 0 ? '-' : '';\n\tlet value = numberFormat( Math.abs( number ), precision, decimal, grouping );\n\n\tif ( options.stripZeros ) {\n\t\tvalue = stripZeros( value, decimal );\n\t}\n\n\treturn `${ sign }${ symbol }${ value }`;\n}\n\n/**\n * Returns a formatted price object.\n *\n * @param {number} number number to format\n * @param {string} code currency code e.g. 'USD'\n * @param {object} options options object\n * @param {string} options.decimal decimal symbol e.g. ','\n * @param {string} options.grouping thousands separator\n * @param {number} options.precision decimal digits\n * @param {string} options.symbol currency symbol e.g. 'A$'\n * @returns {?CurrencyObject} A formatted string e.g. { symbol:'$', integer: '$99', fraction: '.99', sign: '-' }\n */\nexport function getCurrencyObject(\n\tnumber: number,\n\tcode: string,\n\toptions: FormatCurrencyOptions = {}\n): CurrencyObject | null {\n\tconst currencyDefaults = getCurrencyDefaults( code );\n\tif ( ! currencyDefaults || isNaN( number ) ) {\n\t\treturn null;\n\t}\n\tconst { decimal, grouping, precision, symbol } = { ...currencyDefaults, ...options };\n\tconst sign = number < 0 ? '-' : '';\n\tconst absNumber = Math.abs( number );\n\tconst rawInteger = Math.floor( absNumber );\n\tconst integer = numberFormat( absNumber, precision, decimal, grouping ).split( decimal )[ 0 ];\n\tconst fraction =\n\t\tprecision > 0\n\t\t\t? numberFormat( absNumber - rawInteger, precision, decimal, grouping ).slice( 1 )\n\t\t\t: '';\n\treturn {\n\t\tsign,\n\t\tsymbol,\n\t\tinteger,\n\t\tfraction,\n\t};\n}\n\n/**\n * Remove trailing zero cents\n *\n * @param {string} number formatted number\n * @param {string} decimal decimal symbol\n * @returns {string}\n */\n\nfunction stripZeros( number: string, decimal: string ): string {\n\tconst regex = new RegExp( `\\\\${ decimal }0+$` );\n\treturn number.replace( regex, '' );\n}\n","/*\n * Exposes number format capability\n *\n * @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).\n * @license See CREDITS.md\n * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js\n */\nfunction toFixedFix( n: number, prec: number ) {\n\tconst k = Math.pow( 10, prec );\n\treturn '' + ( Math.round( n * k ) / k ).toFixed( prec );\n}\n\nexport default function number_format(\n\t_number: number | string,\n\tdecimals = 0,\n\tdec_point = '.',\n\tthousands_sep = ','\n) {\n\tconst number = ( _number + '' ).replace( /[^0-9+\\-Ee.]/g, '' );\n\tconst n = ! isFinite( +number ) ? 0 : +number;\n\tconst prec = ! isFinite( +decimals ) ? 0 : Math.abs( decimals );\n\t// Fix for IE parseFloat(0.55).toFixed(0) = 0;\n\tconst s = ( prec ? toFixedFix( n, prec ) : '' + Math.round( n ) ).split( '.' );\n\tif ( s[ 0 ].length > 3 ) {\n\t\ts[ 0 ] = s[ 0 ].replace( /\\B(?=(?:\\d{3})+(?!\\d))/g, thousands_sep );\n\t}\n\tif ( ( s[ 1 ] || '' ).length < prec ) {\n\t\ts[ 1 ] = s[ 1 ] || '';\n\t\ts[ 1 ] += new Array( prec - s[ 1 ].length + 1 ).join( '0' );\n\t}\n\treturn s.join( dec_point );\n}\n","import I18N from './i18n';\n\nexport default new I18N();\n","import { EventEmitter } from 'events';\nimport interpolateComponents from '@automattic/interpolate-components';\nimport sprintf from '@tannin/sprintf';\nimport debugFactory from 'debug';\nimport sha1 from 'hash.js/lib/hash/sha/1';\nimport LRU from 'lru';\nimport Tannin from 'tannin';\nimport numberFormat from './number-format';\n\n/**\n * Module variables\n */\nconst debug = debugFactory( 'i18n-calypso' );\n\n/**\n * Constants\n */\nconst decimal_point_translation_key = 'number_format_decimals';\nconst thousands_sep_translation_key = 'number_format_thousands_sep';\nconst domain_key = 'messages';\n\nconst translationLookup = [\n\t// By default don't modify the options when looking up translations.\n\tfunction ( options ) {\n\t\treturn options;\n\t},\n];\n\nconst hashCache = {};\n\n// raise a console warning\nfunction warn() {\n\tif ( ! I18N.throwErrors ) {\n\t\treturn;\n\t}\n\tif ( 'undefined' !== typeof window && window.console && window.console.warn ) {\n\t\twindow.console.warn.apply( window.console, arguments );\n\t}\n}\n\n// turns Function.arguments into an array\nfunction simpleArguments( args ) {\n\treturn Array.prototype.slice.call( args );\n}\n\n/**\n * Coerce the possible arguments and normalize to a single object.\n *\n * @param {any} args - arguments passed in from `translate()`\n * @returns {object} - a single object describing translation needs\n */\nfunction normalizeTranslateArguments( args ) {\n\tconst original = args[ 0 ];\n\n\t// warn about older deprecated syntax\n\tif (\n\t\ttypeof original !== 'string' ||\n\t\targs.length > 3 ||\n\t\t( args.length > 2 && typeof args[ 1 ] === 'object' && typeof args[ 2 ] === 'object' )\n\t) {\n\t\twarn(\n\t\t\t'Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:',\n\t\t\tsimpleArguments( args ),\n\t\t\t'. See https://github.com/Automattic/i18n-calypso#translate-method'\n\t\t);\n\t}\n\tif ( args.length === 2 && typeof original === 'string' && typeof args[ 1 ] === 'string' ) {\n\t\twarn(\n\t\t\t'Invalid Invocation: `translate()` requires an options object for plural translations, but passed:',\n\t\t\tsimpleArguments( args )\n\t\t);\n\t}\n\n\t// options could be in position 0, 1, or 2\n\t// sending options as the first object is deprecated and will raise a warning\n\tlet options = {};\n\tfor ( let i = 0; i < args.length; i++ ) {\n\t\tif ( typeof args[ i ] === 'object' ) {\n\t\t\toptions = args[ i ];\n\t\t}\n\t}\n\n\t// `original` can be passed as first parameter or as part of the options object\n\t// though passing original as part of the options is a deprecated approach and will be removed\n\tif ( typeof original === 'string' ) {\n\t\toptions.original = original;\n\t} else if ( typeof options.original === 'object' ) {\n\t\toptions.plural = options.original.plural;\n\t\toptions.count = options.original.count;\n\t\toptions.original = options.original.single;\n\t}\n\tif ( typeof args[ 1 ] === 'string' ) {\n\t\toptions.plural = args[ 1 ];\n\t}\n\n\tif ( typeof options.original === 'undefined' ) {\n\t\tthrow new Error( 'Translate called without a `string` value as first argument.' );\n\t}\n\n\treturn options;\n}\n\n/**\n * Takes translate options object and coerces to a Tannin request to retrieve translation.\n *\n * @param {object} tannin - tannin data object\n * @param {object} options - object describing translation\n * @returns {string} - the returned translation from Tannin\n */\nfunction getTranslationFromTannin( tannin, options ) {\n\treturn tannin.dcnpgettext(\n\t\tdomain_key,\n\t\toptions.context,\n\t\toptions.original,\n\t\toptions.plural,\n\t\toptions.count\n\t);\n}\n\nfunction getTranslation( i18n, options ) {\n\tfor ( let i = translationLookup.length - 1; i >= 0; i-- ) {\n\t\tconst lookup = translationLookup[ i ]( Object.assign( {}, options ) );\n\t\tconst key = lookup.context ? lookup.context + '\\u0004' + lookup.original : lookup.original;\n\n\t\t// Only get the translation from tannin if it exists.\n\t\tif ( i18n.state.locale[ key ] ) {\n\t\t\treturn getTranslationFromTannin( i18n.state.tannin, lookup );\n\t\t}\n\t}\n\n\treturn null;\n}\n\nfunction I18N() {\n\tif ( ! ( this instanceof I18N ) ) {\n\t\treturn new I18N();\n\t}\n\tthis.defaultLocaleSlug = 'en';\n\t// Tannin always needs a plural form definition, or it fails when dealing with plurals.\n\tthis.defaultPluralForms = ( n ) => ( n === 1 ? 0 : 1 );\n\tthis.state = {\n\t\tnumberFormatSettings: {},\n\t\ttannin: undefined,\n\t\tlocale: undefined,\n\t\tlocaleSlug: undefined,\n\t\tlocaleVariant: undefined,\n\t\ttextDirection: undefined,\n\t\ttranslations: LRU( { max: 100 } ),\n\t};\n\tthis.componentUpdateHooks = [];\n\tthis.translateHooks = [];\n\tthis.stateObserver = new EventEmitter();\n\t// Because the higher-order component can wrap a ton of React components,\n\t// we need to bump the number of listeners to infinity and beyond\n\t// FIXME: still valid?\n\tthis.stateObserver.setMaxListeners( 0 );\n\t// default configuration\n\tthis.configure();\n}\n\nI18N.throwErrors = false;\n\nI18N.prototype.on = function ( ...args ) {\n\tthis.stateObserver.on( ...args );\n};\n\nI18N.prototype.off = function ( ...args ) {\n\tthis.stateObserver.off( ...args );\n};\n\nI18N.prototype.emit = function ( ...args ) {\n\tthis.stateObserver.emit( ...args );\n};\n\n/**\n * Formats numbers using locale settings and/or passed options.\n *\n * @param {string|number} number to format (required)\n * @param {number|object} options Number of decimal places or options object (optional)\n * @returns {string} Formatted number as string\n */\nI18N.prototype.numberFormat = function ( number, options = {} ) {\n\tconst decimals = typeof options === 'number' ? options : options.decimals || 0;\n\tconst decPoint = options.decPoint || this.state.numberFormatSettings.decimal_point || '.';\n\tconst thousandsSep = options.thousandsSep || this.state.numberFormatSettings.thousands_sep || ',';\n\n\treturn numberFormat( number, decimals, decPoint, thousandsSep );\n};\n\nI18N.prototype.configure = function ( options ) {\n\tObject.assign( this, options || {} );\n\tthis.setLocale();\n};\n\nI18N.prototype.setLocale = function ( localeData ) {\n\tif ( localeData && localeData[ '' ] && localeData[ '' ][ 'key-hash' ] ) {\n\t\tconst keyHash = localeData[ '' ][ 'key-hash' ];\n\n\t\tconst transform = function ( string, hashLength ) {\n\t\t\tconst lookupPrefix = hashLength === false ? '' : String( hashLength );\n\t\t\tif ( typeof hashCache[ lookupPrefix + string ] !== 'undefined' ) {\n\t\t\t\treturn hashCache[ lookupPrefix + string ];\n\t\t\t}\n\t\t\tconst hash = sha1().update( string ).digest( 'hex' );\n\n\t\t\tif ( hashLength ) {\n\t\t\t\treturn ( hashCache[ lookupPrefix + string ] = hash.substr( 0, hashLength ) );\n\t\t\t}\n\n\t\t\treturn ( hashCache[ lookupPrefix + string ] = hash );\n\t\t};\n\n\t\tconst generateLookup = function ( hashLength ) {\n\t\t\treturn function ( options ) {\n\t\t\t\tif ( options.context ) {\n\t\t\t\t\toptions.original = transform(\n\t\t\t\t\t\toptions.context + String.fromCharCode( 4 ) + options.original,\n\t\t\t\t\t\thashLength\n\t\t\t\t\t);\n\t\t\t\t\tdelete options.context;\n\t\t\t\t} else {\n\t\t\t\t\toptions.original = transform( options.original, hashLength );\n\t\t\t\t}\n\n\t\t\t\treturn options;\n\t\t\t};\n\t\t};\n\n\t\tif ( keyHash.substr( 0, 4 ) === 'sha1' ) {\n\t\t\tif ( keyHash.length === 4 ) {\n\t\t\t\ttranslationLookup.push( generateLookup( false ) );\n\t\t\t} else {\n\t\t\t\tconst variableHashLengthPos = keyHash.substr( 5 ).indexOf( '-' );\n\t\t\t\tif ( variableHashLengthPos < 0 ) {\n\t\t\t\t\tconst hashLength = Number( keyHash.substr( 5 ) );\n\t\t\t\t\ttranslationLookup.push( generateLookup( hashLength ) );\n\t\t\t\t} else {\n\t\t\t\t\tconst minHashLength = Number( keyHash.substr( 5, variableHashLengthPos ) );\n\t\t\t\t\tconst maxHashLength = Number( keyHash.substr( 6 + variableHashLengthPos ) );\n\n\t\t\t\t\tfor ( let hashLength = minHashLength; hashLength <= maxHashLength; hashLength++ ) {\n\t\t\t\t\t\ttranslationLookup.push( generateLookup( hashLength ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// if localeData is not given, assumes default locale and reset\n\tif ( ! localeData || ! localeData[ '' ].localeSlug ) {\n\t\tthis.state.locale = {\n\t\t\t'': { localeSlug: this.defaultLocaleSlug, plural_forms: this.defaultPluralForms },\n\t\t};\n\t} else if ( localeData[ '' ].localeSlug === this.state.localeSlug ) {\n\t\t// Exit if same data as current (comparing references only)\n\t\tif ( localeData === this.state.locale ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// merge new data into existing one\n\t\tObject.assign( this.state.locale, localeData );\n\t} else {\n\t\tthis.state.locale = Object.assign( {}, localeData );\n\t}\n\n\tthis.state.localeSlug = this.state.locale[ '' ].localeSlug;\n\tthis.state.localeVariant = this.state.locale[ '' ].localeVariant;\n\n\t// extract the `textDirection` info (LTR or RTL) from either:\n\t// - the translation for the special string \"ltr\" (standard in Core, not present in Calypso)\n\t// - or the `momentjs_locale.textDirection` property present in Calypso translation files\n\tthis.state.textDirection =\n\t\tthis.state.locale[ 'text direction\\u0004ltr' ]?.[ 0 ] ||\n\t\tthis.state.locale[ '' ]?.momentjs_locale?.textDirection;\n\n\tthis.state.tannin = new Tannin( { [ domain_key ]: this.state.locale } );\n\n\t// Updates numberFormat preferences with settings from translations\n\tthis.state.numberFormatSettings.decimal_point = getTranslationFromTannin(\n\t\tthis.state.tannin,\n\t\tnormalizeTranslateArguments( [ decimal_point_translation_key ] )\n\t);\n\tthis.state.numberFormatSettings.thousands_sep = getTranslationFromTannin(\n\t\tthis.state.tannin,\n\t\tnormalizeTranslateArguments( [ thousands_sep_translation_key ] )\n\t);\n\n\t// If translation isn't set, define defaults.\n\tif ( this.state.numberFormatSettings.decimal_point === decimal_point_translation_key ) {\n\t\tthis.state.numberFormatSettings.decimal_point = '.';\n\t}\n\n\tif ( this.state.numberFormatSettings.thousands_sep === thousands_sep_translation_key ) {\n\t\tthis.state.numberFormatSettings.thousands_sep = ',';\n\t}\n\n\tthis.stateObserver.emit( 'change' );\n};\n\nI18N.prototype.getLocale = function () {\n\treturn this.state.locale;\n};\n\n/**\n * Get the current locale slug.\n *\n * @returns {string} The string representing the currently loaded locale\n */\nI18N.prototype.getLocaleSlug = function () {\n\treturn this.state.localeSlug;\n};\n\n/**\n * Get the current locale variant. That's set for some special locales that don't have a\n * standard ISO code, like `de_formal` or `sr_latin`.\n *\n * @returns {string|undefined} The string representing the currently loaded locale's variant\n */\nI18N.prototype.getLocaleVariant = function () {\n\treturn this.state.localeVariant;\n};\n\n/**\n * Get the current text direction, left-to-right (LTR) or right-to-left (RTL).\n *\n * @returns {boolean} `true` in case the current locale has RTL text direction\n */\nI18N.prototype.isRtl = function () {\n\treturn this.state.textDirection === 'rtl';\n};\n\n/**\n * Adds new translations to the locale data, overwriting any existing translations with a matching key.\n *\n * @param {object} localeData Locale data\n */\nI18N.prototype.addTranslations = function ( localeData ) {\n\tfor ( const prop in localeData ) {\n\t\tif ( prop !== '' ) {\n\t\t\tthis.state.tannin.data.messages[ prop ] = localeData[ prop ];\n\t\t}\n\t}\n\n\tthis.stateObserver.emit( 'change' );\n};\n\n/**\n * Checks whether the given original has a translation.\n *\n * @returns {boolean} whether a translation exists\n */\nI18N.prototype.hasTranslation = function () {\n\treturn !! getTranslation( this, normalizeTranslateArguments( arguments ) );\n};\n\n/**\n * Exposes single translation method.\n * See sibling README\n *\n * @returns {string|object} translated text or an object containing React children that can be inserted into a parent component\n */\nI18N.prototype.translate = function () {\n\tconst options = normalizeTranslateArguments( arguments );\n\n\tlet translation = getTranslation( this, options );\n\tif ( ! translation ) {\n\t\t// This purposefully calls tannin for a case where there is no translation,\n\t\t// so that tannin gives us the expected object with English text.\n\t\ttranslation = getTranslationFromTannin( this.state.tannin, options );\n\t}\n\n\t// handle any string substitution\n\tif ( options.args ) {\n\t\tconst sprintfArgs = Array.isArray( options.args ) ? options.args.slice( 0 ) : [ options.args ];\n\t\tsprintfArgs.unshift( translation );\n\t\ttry {\n\t\t\ttranslation = sprintf( ...sprintfArgs );\n\t\t} catch ( error ) {\n\t\t\tif ( ! window || ! window.console ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst errorMethod = this.throwErrors ? 'error' : 'warn';\n\t\t\tif ( typeof error !== 'string' ) {\n\t\t\t\twindow.console[ errorMethod ]( error );\n\t\t\t} else {\n\t\t\t\twindow.console[ errorMethod ]( 'i18n sprintf error:', sprintfArgs );\n\t\t\t}\n\t\t}\n\t}\n\n\t// interpolate any components\n\tif ( options.components ) {\n\t\ttranslation = interpolateComponents( {\n\t\t\tmixedString: translation,\n\t\t\tcomponents: options.components,\n\t\t\tthrowErrors: this.throwErrors,\n\t\t} );\n\t}\n\n\t// run any necessary hooks\n\tthis.translateHooks.forEach( function ( hook ) {\n\t\ttranslation = hook( translation, options );\n\t} );\n\n\treturn translation;\n};\n\n/**\n * Causes i18n to re-render all translations.\n *\n * This can be necessary if an extension makes changes that i18n is unaware of\n * and needs those changes manifested immediately (e.g. adding an important\n * translation hook, or modifying the behaviour of an existing hook).\n *\n * If at all possible, react components should try to use the more local\n * updateTranslation() function inherited from the mixin.\n */\nI18N.prototype.reRenderTranslations = function () {\n\tdebug( 'Re-rendering all translations due to external request' );\n\tthis.stateObserver.emit( 'change' );\n};\n\nI18N.prototype.registerComponentUpdateHook = function ( callback ) {\n\tthis.componentUpdateHooks.push( callback );\n};\n\nI18N.prototype.registerTranslateHook = function ( callback ) {\n\tthis.translateHooks.push( callback );\n};\n\nexport default I18N;\n","import I18NContext from './context';\nimport i18n from './default-i18n';\nimport I18N from './i18n';\nimport localize from './localize';\nimport { useRtl, withRtl } from './rtl';\nimport useTranslate from './use-translate';\n\nexport { I18N, I18NContext, localize, useRtl, withRtl, useTranslate };\nexport default i18n;\n\n// Export the default instance's properties and bound methods for convenience\n// These should be deprecated eventually, exposing only the default `i18n` instance\nexport const numberFormat = i18n.numberFormat.bind( i18n );\nexport const translate = i18n.translate.bind( i18n );\nexport const configure = i18n.configure.bind( i18n );\nexport const setLocale = i18n.setLocale.bind( i18n );\nexport const getLocale = i18n.getLocale.bind( i18n );\nexport const getLocaleSlug = i18n.getLocaleSlug.bind( i18n );\nexport const getLocaleVariant = i18n.getLocaleVariant.bind( i18n );\nexport const isRtl = i18n.isRtl.bind( i18n );\nexport const addTranslations = i18n.addTranslations.bind( i18n );\nexport const reRenderTranslations = i18n.reRenderTranslations.bind( i18n );\nexport const registerComponentUpdateHook = i18n.registerComponentUpdateHook.bind( i18n );\nexport const registerTranslateHook = i18n.registerTranslateHook.bind( i18n );\nexport const state = i18n.state;\nexport const stateObserver = i18n.stateObserver;\nexport const on = i18n.on.bind( i18n );\nexport const off = i18n.off.bind( i18n );\nexport const emit = i18n.emit.bind( i18n );\n","/*\n * Exposes number format capability\n *\n * @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).\n * @license See CREDITS.md\n * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js\n */\nfunction toFixedFix( n, prec ) {\n\tconst k = Math.pow( 10, prec );\n\treturn '' + ( Math.round( n * k ) / k ).toFixed( prec );\n}\n\nexport default function number_format( number, decimals, dec_point, thousands_sep ) {\n\tnumber = ( number + '' ).replace( /[^0-9+\\-Ee.]/g, '' );\n\tconst n = ! isFinite( +number ) ? 0 : +number;\n\tconst prec = ! isFinite( +decimals ) ? 0 : Math.abs( decimals );\n\tconst sep = typeof thousands_sep === 'undefined' ? ',' : thousands_sep;\n\tconst dec = typeof dec_point === 'undefined' ? '.' : dec_point;\n\tlet s = '';\n\t// Fix for IE parseFloat(0.55).toFixed(0) = 0;\n\ts = ( prec ? toFixedFix( n, prec ) : '' + Math.round( n ) ).split( '.' );\n\tif ( s[ 0 ].length > 3 ) {\n\t\ts[ 0 ] = s[ 0 ].replace( /\\B(?=(?:\\d{3})+(?!\\d))/g, sep );\n\t}\n\tif ( ( s[ 1 ] || '' ).length < prec ) {\n\t\ts[ 1 ] = s[ 1 ] || '';\n\t\ts[ 1 ] += new Array( prec - s[ 1 ].length + 1 ).join( '0' );\n\t}\n\treturn s.join( dec );\n}\n","import { cloneElement, createElement, Fragment } from 'react';\nimport tokenize from './tokenize';\n\nfunction getCloseIndex( openIndex, tokens ) {\n\tconst openToken = tokens[ openIndex ];\n\tlet nestLevel = 0;\n\tfor ( let i = openIndex + 1; i < tokens.length; i++ ) {\n\t\tconst token = tokens[ i ];\n\t\tif ( token.value === openToken.value ) {\n\t\t\tif ( token.type === 'componentOpen' ) {\n\t\t\t\tnestLevel++;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif ( token.type === 'componentClose' ) {\n\t\t\t\tif ( nestLevel === 0 ) {\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t\tnestLevel--;\n\t\t\t}\n\t\t}\n\t}\n\t// if we get this far, there was no matching close token\n\tthrow new Error( 'Missing closing component token `' + openToken.value + '`' );\n}\n\nfunction buildChildren( tokens, components ) {\n\tlet children = [];\n\tlet openComponent;\n\tlet openIndex;\n\n\tfor ( let i = 0; i < tokens.length; i++ ) {\n\t\tconst token = tokens[ i ];\n\t\tif ( token.type === 'string' ) {\n\t\t\tchildren.push( token.value );\n\t\t\tcontinue;\n\t\t}\n\t\t// component node should at least be set\n\t\tif ( components[ token.value ] === undefined ) {\n\t\t\tthrow new Error( `Invalid interpolation, missing component node: \\`${ token.value }\\`` );\n\t\t}\n\t\t// should be either ReactElement or null (both type \"object\"), all other types deprecated\n\t\tif ( typeof components[ token.value ] !== 'object' ) {\n\t\t\tthrow new Error(\n\t\t\t\t`Invalid interpolation, component node must be a ReactElement or null: \\`${ token.value }\\``\n\t\t\t);\n\t\t}\n\t\t// we should never see a componentClose token in this loop\n\t\tif ( token.type === 'componentClose' ) {\n\t\t\tthrow new Error( `Missing opening component token: \\`${ token.value }\\`` );\n\t\t}\n\t\tif ( token.type === 'componentOpen' ) {\n\t\t\topenComponent = components[ token.value ];\n\t\t\topenIndex = i;\n\t\t\tbreak;\n\t\t}\n\t\t// componentSelfClosing token\n\t\tchildren.push( components[ token.value ] );\n\t\tcontinue;\n\t}\n\n\tif ( openComponent ) {\n\t\tconst closeIndex = getCloseIndex( openIndex, tokens );\n\t\tconst grandChildTokens = tokens.slice( openIndex + 1, closeIndex );\n\t\tconst grandChildren = buildChildren( grandChildTokens, components );\n\t\tconst clonedOpenComponent = cloneElement( openComponent, {}, grandChildren );\n\t\tchildren.push( clonedOpenComponent );\n\n\t\tif ( closeIndex < tokens.length - 1 ) {\n\t\t\tconst siblingTokens = tokens.slice( closeIndex + 1 );\n\t\t\tconst siblings = buildChildren( siblingTokens, components );\n\t\t\tchildren = children.concat( siblings );\n\t\t}\n\t}\n\n\tchildren = children.filter( Boolean );\n\n\tif ( children.length === 0 ) {\n\t\treturn null;\n\t}\n\n\tif ( children.length === 1 ) {\n\t\treturn children[ 0 ];\n\t}\n\n\treturn createElement( Fragment, null, ...children );\n}\n\nexport default function interpolate( options ) {\n\tconst { mixedString, components, throwErrors } = options;\n\n\tif ( ! components ) {\n\t\treturn mixedString;\n\t}\n\n\tif ( typeof components !== 'object' ) {\n\t\tif ( throwErrors ) {\n\t\t\tthrow new Error(\n\t\t\t\t`Interpolation Error: unable to process \\`${ mixedString }\\` because components is not an object`\n\t\t\t);\n\t\t}\n\n\t\treturn mixedString;\n\t}\n\n\tconst tokens = tokenize( mixedString );\n\n\ttry {\n\t\treturn buildChildren( tokens, components );\n\t} catch ( error ) {\n\t\tif ( throwErrors ) {\n\t\t\tthrow new Error(\n\t\t\t\t`Interpolation Error: unable to process \\`${ mixedString }\\` because of error \\`${ error.message }\\``\n\t\t\t);\n\t\t}\n\n\t\treturn mixedString;\n\t}\n}\n","function identifyToken( item ) {\n\t// {{/example}}\n\tif ( item.startsWith( '{{/' ) ) {\n\t\treturn {\n\t\t\ttype: 'componentClose',\n\t\t\tvalue: item.replace( /\\W/g, '' ),\n\t\t};\n\t}\n\t// {{example /}}\n\tif ( item.endsWith( '/}}' ) ) {\n\t\treturn {\n\t\t\ttype: 'componentSelfClosing',\n\t\t\tvalue: item.replace( /\\W/g, '' ),\n\t\t};\n\t}\n\t// {{example}}\n\tif ( item.startsWith( '{{' ) ) {\n\t\treturn {\n\t\t\ttype: 'componentOpen',\n\t\t\tvalue: item.replace( /\\W/g, '' ),\n\t\t};\n\t}\n\treturn {\n\t\ttype: 'string',\n\t\tvalue: item,\n\t};\n}\n\nexport default function tokenize( mixedString ) {\n\tconst tokenStrings = mixedString.split( /(\\{\\{\\/?\\s*\\w+\\s*\\/?\\}\\})/g ); // split to components and strings\n\treturn tokenStrings.map( identifyToken );\n}\n","import debugFactory from 'debug';\nimport ProgressEvent from 'progress-event';\nimport { v4 as uuidv4 } from 'uuid';\nimport WPError from 'wp-error';\n\n/**\n * debug instance\n */\nconst debug = debugFactory( 'wpcom-proxy-request' );\n\n/**\n * WordPress.com REST API base endpoint.\n */\nconst proxyOrigin = 'https://public-api.wordpress.com';\n\n/**\n * \"Origin\" of the current HTML page.\n */\nconst origin = window.location.protocol + '//' + window.location.host;\n\nlet onStreamRecord = null;\n\n/**\n * Detecting support for the structured clone algorithm. IE8 and 9, and Firefox\n * 6.0 and below only support strings as postMessage's message. This browsers\n * will try to use the toString method.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage\n * https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/The_structured_clone_algorithm\n * https://github.com/Modernizr/Modernizr/issues/388#issuecomment-31127462\n */\nconst postStrings = ( () => {\n\tlet r = false;\n\ttry {\n\t\twindow.postMessage(\n\t\t\t{\n\t\t\t\ttoString: function () {\n\t\t\t\t\tr = true;\n\t\t\t\t},\n\t\t\t},\n\t\t\t'*'\n\t\t);\n\t} catch ( e ) {\n\t\t/* empty */\n\t}\n\treturn r;\n} )();\n\n/**\n * Test if the browser supports constructing a new `File` object. Not present on Edge and IE.\n */\nconst supportsFileConstructor = ( () => {\n\ttry {\n\t\t// eslint-disable-next-line no-new\n\t\tnew window.File( [ 'a' ], 'test.jpg', { type: 'image/jpeg' } );\n\t\treturn true;\n\t} catch ( e ) {\n\t\treturn false;\n\t}\n} )();\n\n/**\n * Reference to the <iframe> DOM element.\n * Gets set in the install() function.\n */\nlet iframe = null;\n\n/**\n * Set to `true` upon the iframe's \"load\" event.\n */\nlet loaded = false;\n\n/**\n * Array of buffered API requests. Added to when API requests are done before the\n * proxy <iframe> is \"loaded\", and fulfilled once the \"load\" DOM event on the\n * iframe occurs.\n */\nlet buffered;\n\n/**\n * In-flight API request XMLHttpRequest dummy \"proxy\" instances.\n */\nconst requests = {};\n\n/**\n * Are HTML5 XMLHttpRequest2 \"progress\" events supported?\n * See: http://goo.gl/xxYf6D\n */\nconst supportsProgress = !! window.ProgressEvent && !! window.FormData;\n\ndebug( 'using \"origin\": %o', origin );\n\n/**\n * Performs a \"proxied REST API request\". This happens by calling\n * `iframe.postMessage()` on the proxy iframe instance, which from there\n * takes care of WordPress.com user authentication (via the currently\n * logged-in user's cookies).\n *\n * @param {object} originalParams - request parameters\n * @param {Function} [fn] - callback response\n * @returns {window.XMLHttpRequest} XMLHttpRequest instance\n */\nconst makeRequest = ( originalParams, fn ) => {\n\tconst params = Object.assign( {}, originalParams );\n\n\tdebug( 'request(%o)', params );\n\n\t// inject the <iframe> upon the first proxied API request\n\tif ( ! iframe ) {\n\t\tinstall();\n\t}\n\n\t// generate a uuid for this API request\n\tconst id = uuidv4();\n\tparams.callback = id;\n\tparams.supports_args = true; // supports receiving variable amount of arguments\n\tparams.supports_error_obj = true; // better Error object info\n\tparams.supports_progress = supportsProgress; // supports receiving XHR \"progress\" events\n\n\t// force uppercase \"method\" since that's what the <iframe> is expecting\n\tparams.method = String( params.method || 'GET' ).toUpperCase();\n\n\tdebug( 'params object: %o', params );\n\n\tconst xhr = new window.XMLHttpRequest();\n\txhr.params = params;\n\n\t// store the `XMLHttpRequest` instance so that \"onmessage\" can access it again\n\trequests[ id ] = xhr;\n\n\tif ( 'function' === typeof fn ) {\n\t\t// a callback function was provided\n\t\tlet called = false;\n\t\tconst xhrOnLoad = ( e ) => {\n\t\t\tif ( called ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcalled = true;\n\t\t\tconst body = e.response || xhr.response;\n\t\t\tdebug( 'body: ', body );\n\t\t\tdebug( 'headers: ', e.headers );\n\t\t\tfn( null, body, e.headers );\n\t\t};\n\t\tconst xhrOnError = ( e ) => {\n\t\t\tif ( called ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcalled = true;\n\t\t\tconst error = e.error || e.err || e;\n\t\t\tdebug( 'error: ', error );\n\t\t\tdebug( 'headers: ', e.headers );\n\t\t\tfn( error, null, e.headers );\n\t\t};\n\n\t\txhr.addEventListener( 'load', xhrOnLoad );\n\t\txhr.addEventListener( 'abort', xhrOnError );\n\t\txhr.addEventListener( 'error', xhrOnError );\n\t}\n\n\tif ( 'function' === typeof params.onStreamRecord ) {\n\t\t// remove onStreamRecord param, which can’t be cloned\n\t\tonStreamRecord = params.onStreamRecord;\n\t\tdelete params.onStreamRecord;\n\n\t\t// FIXME @azabani implement stream mode processing\n\t\t// Hint: port the algorithm from wpcom-xhr-request@1.2.0 to /public.api/rest-proxy/provider-\n\t\t// v2.0.js in rWP, then plumb stream records from onmessage below to onStreamRecord (or add\n\t\t// the XMLHttpRequest#response to ondownloadprogress there, then parse the chunks here).\n\t}\n\n\tif ( loaded ) {\n\t\tsubmitRequest( params );\n\t} else {\n\t\tdebug( 'buffering API request since proxying <iframe> is not yet loaded' );\n\t\tbuffered.push( params );\n\t}\n\n\treturn xhr;\n};\n\n/**\n * Performs a \"proxied REST API request\". This happens by calling\n * `iframe.postMessage()` on the proxy iframe instance, which from there\n * takes care of WordPress.com user authentication (via the currently\n * logged-in user's cookies).\n *\n * If no function is specified as second parameter, a promise is returned.\n *\n * @param {object} originalParams - request parameters\n * @param {Function} [fn] - callback response\n * @returns {window.XMLHttpRequest|Promise} XMLHttpRequest instance or Promise\n */\nconst request = ( originalParams, fn ) => {\n\t// if callback is provided, behave traditionally\n\tif ( 'function' === typeof fn ) {\n\t\t// request method\n\t\treturn makeRequest( originalParams, fn );\n\t}\n\n\t// but if not, return a Promise\n\treturn new Promise( ( res, rej ) => {\n\t\tmakeRequest( originalParams, ( err, response ) => {\n\t\t\terr ? rej( err ) : res( response );\n\t\t} );\n\t} );\n};\n\n/**\n * Set proxy to \"access all users' blogs\" mode.\n */\nexport function requestAllBlogsAccess() {\n\treturn request( { metaAPI: { accessAllUsersBlogs: true } } );\n}\n\n/**\n * Calls the `postMessage()` function on the <iframe>.\n *\n * @param {object} params\n */\n\nfunction submitRequest( params ) {\n\tdebug( 'sending API request to proxy <iframe> %o', params );\n\n\t// `formData` needs to be patched if it contains `File` objects to work around\n\t// a Chrome bug. See `patchFileObjects` description for more details.\n\tif ( params.formData ) {\n\t\tpatchFileObjects( params.formData );\n\t}\n\n\tiframe.contentWindow.postMessage( postStrings ? JSON.stringify( params ) : params, proxyOrigin );\n}\n\n/**\n * Returns `true` if `v` is a DOM File instance, `false` otherwise.\n *\n * @param {any} v - instance to analyze\n * @returns {boolean} `true` if `v` is a DOM File instance\n */\nfunction isFile( v ) {\n\treturn v && Object.prototype.toString.call( v ) === '[object File]';\n}\n\n/*\n * Find a `File` object in a form data value. It can be either the value itself, or\n * in a `fileContents` property of the value.\n */\nfunction getFileValue( v ) {\n\tif ( isFile( v ) ) {\n\t\treturn v;\n\t}\n\n\tif ( typeof v === 'object' && isFile( v.fileContents ) ) {\n\t\treturn v.fileContents;\n\t}\n\n\treturn null;\n}\n\n/**\n * Finds all `File` instances in `formData` and creates a new `File` instance whose storage is\n * forced to be a `Blob` instead of being backed by a file on disk. That works around a bug in\n * Chrome where `File` instances with `has_backing_file` flag cannot be sent over a process\n * boundary when site isolation is on.\n *\n * @see https://bugs.chromium.org/p/chromium/issues/detail?id=866805\n * @see https://bugs.chromium.org/p/chromium/issues/detail?id=631877\n * @param {Array} formData Form data to patch\n */\nfunction patchFileObjects( formData ) {\n\t// There are several landmines to avoid when making file uploads work on all browsers:\n\t// - the `new File()` constructor trick breaks file uploads on Safari 10 in a way that's\n\t// impossible to detect: it will send empty files in the multipart/form-data body.\n\t// Therefore we need to detect Chrome.\n\t// - IE11 and Edge don't support the `new File()` constructor at all. It will throw exception,\n\t// so it's detectable by the `supportsFileConstructor` code.\n\t// - `window.chrome` exists also on Edge (!), `window.chrome.webstore` is only in Chrome and\n\t// not in other Chromium based browsers (which have the site isolation bug, too).\n\tif ( ! window.chrome || ! supportsFileConstructor ) {\n\t\treturn;\n\t}\n\n\tfor ( let i = 0; i < formData.length; i++ ) {\n\t\tconst val = getFileValue( formData[ i ][ 1 ] );\n\t\tif ( val ) {\n\t\t\tformData[ i ][ 1 ] = new window.File( [ val ], val.name, { type: val.type } );\n\t\t}\n\t}\n}\n\n/**\n * Injects the proxy <iframe> instance in the <body> of the current\n * HTML page.\n */\n\nfunction install() {\n\tdebug( 'install()' );\n\tif ( iframe ) {\n\t\tuninstall();\n\t}\n\n\tbuffered = [];\n\n\t// listen to messages sent to `window`\n\twindow.addEventListener( 'message', onmessage );\n\n\t// create the <iframe>\n\tiframe = document.createElement( 'iframe' );\n\n\t// set `src` and hide the iframe\n\tiframe.src = proxyOrigin + '/wp-admin/rest-proxy/?v=2.0#' + origin;\n\tiframe.style.display = 'none';\n\n\t// inject the <iframe> into the <body>\n\tdocument.body.appendChild( iframe );\n}\n\n/**\n * Reloads the proxy iframe.\n */\nconst reloadProxy = () => {\n\tinstall();\n};\n\n/**\n * Removes the <iframe> proxy instance from the <body> of the page.\n */\nfunction uninstall() {\n\tdebug( 'uninstall()' );\n\twindow.removeEventListener( 'message', onmessage );\n\tdocument.body.removeChild( iframe );\n\tloaded = false;\n\tiframe = null;\n}\n\n/**\n * The proxy <iframe> instance's \"load\" event callback function.\n */\n\nfunction onload() {\n\tdebug( 'proxy <iframe> \"load\" event' );\n\tloaded = true;\n\n\t// flush any buffered API calls\n\tif ( buffered ) {\n\t\tfor ( let i = 0; i < buffered.length; i++ ) {\n\t\t\tsubmitRequest( buffered[ i ] );\n\t\t}\n\t\tbuffered = null;\n\t}\n}\n\n/**\n * The main `window` object's \"message\" event callback function.\n *\n * @param {window.Event} e\n */\n\nfunction onmessage( e ) {\n\tdebug( 'onmessage' );\n\n\t// Filter out messages from different origins\n\tif ( e.origin !== proxyOrigin ) {\n\t\tdebug( 'ignoring message... %o !== %o', e.origin, proxyOrigin );\n\t\treturn;\n\t}\n\n\t// Filter out messages from different iframes\n\tif ( e.source !== iframe.contentWindow ) {\n\t\tdebug( 'ignoring message... iframe elements do not match' );\n\t\treturn;\n\t}\n\n\tlet { data } = e;\n\tif ( ! data ) {\n\t\treturn debug( 'no `data`, bailing' );\n\t}\n\n\t// Once the iframe is loaded, we can start using it.\n\tif ( data === 'ready' ) {\n\t\tonload();\n\t\treturn;\n\t}\n\n\tif ( postStrings && 'string' === typeof data ) {\n\t\tdata = JSON.parse( data );\n\t}\n\n\t// check if we're receiving a \"progress\" event\n\tif ( data.upload || data.download ) {\n\t\treturn onprogress( data );\n\t}\n\n\tif ( ! data.length ) {\n\t\treturn debug( \"`e.data` doesn't appear to be an Array, bailing...\" );\n\t}\n\n\t// first get the `xhr` instance that we're interested in\n\tconst id = data[ data.length - 1 ];\n\tif ( ! ( id in requests ) ) {\n\t\treturn debug( 'bailing, no matching request with callback: %o', id );\n\t}\n\n\tconst xhr = requests[ id ];\n\n\t// Build `error` and `body` object from the `data` object\n\tconst { params } = xhr;\n\n\tconst body = data[ 0 ];\n\tlet statusCode = data[ 1 ];\n\tconst headers = data[ 2 ];\n\n\t// We don't want to delete requests while we're processing stream messages\n\tif ( statusCode === 207 ) {\n\t\t// 207 is a signal from rest-proxy. It means, \"this isn't the final\n\t\t// response to the query.\" The proxy supports WebSocket connections\n\t\t// by invoking the original success callback for each message received.\n\t} else {\n\t\t// this is the final response to this query\n\t\tdelete requests[ id ];\n\t}\n\n\tif ( ! params.metaAPI ) {\n\t\tdebug( 'got %o status code for URL: %o', statusCode, params.path );\n\t} else {\n\t\tstatusCode = body === 'metaAPIupdated' ? 200 : 500;\n\t}\n\n\tif ( typeof headers === 'object' ) {\n\t\t// add statusCode into headers object\n\t\theaders.status = statusCode;\n\n\t\tif ( shouldProcessInStreamMode( headers[ 'Content-Type' ] ) ) {\n\t\t\tif ( statusCode === 207 ) {\n\t\t\t\tonStreamRecord( body );\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( statusCode && 2 === Math.floor( statusCode / 100 ) ) {\n\t\t// 2xx status code, success\n\t\tresolve( xhr, body, headers );\n\t} else {\n\t\t// any other status code is a failure\n\t\tconst wpe = WPError( params, statusCode, body );\n\t\treject( xhr, wpe, headers );\n\t}\n}\n\n/**\n * Returns true iff stream mode processing is required (see wpcom-xhr-request@1.2.0).\n *\n * @param {string} contentType response Content-Type header value\n */\nfunction shouldProcessInStreamMode( contentType ) {\n\treturn /^application[/]x-ndjson($|;)/.test( contentType );\n}\n\n/**\n * Handles a \"progress\" event being proxied back from the iframe page.\n *\n * @param {object} data\n */\n\nfunction onprogress( data ) {\n\tdebug( 'got \"progress\" event: %o', data );\n\tconst xhr = requests[ data.callbackId ];\n\tif ( xhr ) {\n\t\tconst prog = new ProgressEvent( 'progress', data );\n\t\tconst target = data.upload ? xhr.upload : xhr;\n\t\ttarget.dispatchEvent( prog );\n\t}\n}\n\n/**\n * Emits the \"load\" event on the `xhr`.\n *\n * @param {window.XMLHttpRequest} xhr\n * @param {object} body\n */\n\nfunction resolve( xhr, body, headers ) {\n\tconst e = new ProgressEvent( 'load' );\n\te.data = e.body = e.response = body;\n\te.headers = headers;\n\txhr.dispatchEvent( e );\n}\n\n/**\n * Emits the \"error\" event on the `xhr`.\n *\n * @param {window.XMLHttpRequest} xhr\n * @param {Error} err\n */\n\nfunction reject( xhr, err, headers ) {\n\tconst e = new ProgressEvent( 'error' );\n\te.error = e.err = err;\n\te.headers = headers;\n\txhr.dispatchEvent( e );\n}\n\n/**\n * Export `request` function.\n */\nexport default request;\nexport { reloadProxy };\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","'use strict';\nvar camelCase = require('camelcase');\n\nmodule.exports = function () {\n\tvar cased = camelCase.apply(camelCase, arguments);\n\treturn cased.charAt(0).toUpperCase() + cased.slice(1);\n};\n","'use strict';\nmodule.exports = function () {\n\tvar str = [].map.call(arguments, function (str) {\n\t\treturn str.trim();\n\t}).filter(function (str) {\n\t\treturn str.length;\n\t}).join('-');\n\n\tif (!str.length) {\n\t\treturn '';\n\t}\n\n\tif (str.length === 1 || !(/[_.\\- ]+/).test(str) ) {\n\t\tif (str[0] === str[0].toLowerCase() && str.slice(1) !== str.slice(1).toLowerCase()) {\n\t\t\treturn str;\n\t\t}\n\n\t\treturn str.toLowerCase();\n\t}\n\n\treturn str\n\t.replace(/^[_.\\- ]+/, '')\n\t.toLowerCase()\n\t.replace(/[_.\\- ]+(\\w|$)/g, function (m, p1) {\n\t\treturn p1.toUpperCase();\n\t});\n};\n","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n // find the complete implementation of crypto (msCrypto) on IE11.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _toDate = _interopRequireDefault(require(\"./lib/toDate\"));\n\nvar _toFloat = _interopRequireDefault(require(\"./lib/toFloat\"));\n\nvar _toInt = _interopRequireDefault(require(\"./lib/toInt\"));\n\nvar _toBoolean = _interopRequireDefault(require(\"./lib/toBoolean\"));\n\nvar _equals = _interopRequireDefault(require(\"./lib/equals\"));\n\nvar _contains = _interopRequireDefault(require(\"./lib/contains\"));\n\nvar _matches = _interopRequireDefault(require(\"./lib/matches\"));\n\nvar _isEmail = _interopRequireDefault(require(\"./lib/isEmail\"));\n\nvar _isURL = _interopRequireDefault(require(\"./lib/isURL\"));\n\nvar _isMACAddress = _interopRequireDefault(require(\"./lib/isMACAddress\"));\n\nvar _isIP = _interopRequireDefault(require(\"./lib/isIP\"));\n\nvar _isIPRange = _interopRequireDefault(require(\"./lib/isIPRange\"));\n\nvar _isFQDN = _interopRequireDefault(require(\"./lib/isFQDN\"));\n\nvar _isDate = _interopRequireDefault(require(\"./lib/isDate\"));\n\nvar _isBoolean = _interopRequireDefault(require(\"./lib/isBoolean\"));\n\nvar _isLocale = _interopRequireDefault(require(\"./lib/isLocale\"));\n\nvar _isAlpha = _interopRequireWildcard(require(\"./lib/isAlpha\"));\n\nvar _isAlphanumeric = _interopRequireWildcard(require(\"./lib/isAlphanumeric\"));\n\nvar _isNumeric = _interopRequireDefault(require(\"./lib/isNumeric\"));\n\nvar _isPassportNumber = _interopRequireDefault(require(\"./lib/isPassportNumber\"));\n\nvar _isPort = _interopRequireDefault(require(\"./lib/isPort\"));\n\nvar _isLowercase = _interopRequireDefault(require(\"./lib/isLowercase\"));\n\nvar _isUppercase = _interopRequireDefault(require(\"./lib/isUppercase\"));\n\nvar _isIMEI = _interopRequireDefault(require(\"./lib/isIMEI\"));\n\nvar _isAscii = _interopRequireDefault(require(\"./lib/isAscii\"));\n\nvar _isFullWidth = _interopRequireDefault(require(\"./lib/isFullWidth\"));\n\nvar _isHalfWidth = _interopRequireDefault(require(\"./lib/isHalfWidth\"));\n\nvar _isVariableWidth = _interopRequireDefault(require(\"./lib/isVariableWidth\"));\n\nvar _isMultibyte = _interopRequireDefault(require(\"./lib/isMultibyte\"));\n\nvar _isSemVer = _interopRequireDefault(require(\"./lib/isSemVer\"));\n\nvar _isSurrogatePair = _interopRequireDefault(require(\"./lib/isSurrogatePair\"));\n\nvar _isInt = _interopRequireDefault(require(\"./lib/isInt\"));\n\nvar _isFloat = _interopRequireWildcard(require(\"./lib/isFloat\"));\n\nvar _isDecimal = _interopRequireDefault(require(\"./lib/isDecimal\"));\n\nvar _isHexadecimal = _interopRequireDefault(require(\"./lib/isHexadecimal\"));\n\nvar _isOctal = _interopRequireDefault(require(\"./lib/isOctal\"));\n\nvar _isDivisibleBy = _interopRequireDefault(require(\"./lib/isDivisibleBy\"));\n\nvar _isHexColor = _interopRequireDefault(require(\"./lib/isHexColor\"));\n\nvar _isRgbColor = _interopRequireDefault(require(\"./lib/isRgbColor\"));\n\nvar _isHSL = _interopRequireDefault(require(\"./lib/isHSL\"));\n\nvar _isISRC = _interopRequireDefault(require(\"./lib/isISRC\"));\n\nvar _isIBAN = _interopRequireDefault(require(\"./lib/isIBAN\"));\n\nvar _isBIC = _interopRequireDefault(require(\"./lib/isBIC\"));\n\nvar _isMD = _interopRequireDefault(require(\"./lib/isMD5\"));\n\nvar _isHash = _interopRequireDefault(require(\"./lib/isHash\"));\n\nvar _isJWT = _interopRequireDefault(require(\"./lib/isJWT\"));\n\nvar _isJSON = _interopRequireDefault(require(\"./lib/isJSON\"));\n\nvar _isEmpty = _interopRequireDefault(require(\"./lib/isEmpty\"));\n\nvar _isLength = _interopRequireDefault(require(\"./lib/isLength\"));\n\nvar _isByteLength = _interopRequireDefault(require(\"./lib/isByteLength\"));\n\nvar _isUUID = _interopRequireDefault(require(\"./lib/isUUID\"));\n\nvar _isMongoId = _interopRequireDefault(require(\"./lib/isMongoId\"));\n\nvar _isAfter = _interopRequireDefault(require(\"./lib/isAfter\"));\n\nvar _isBefore = _interopRequireDefault(require(\"./lib/isBefore\"));\n\nvar _isIn = _interopRequireDefault(require(\"./lib/isIn\"));\n\nvar _isCreditCard = _interopRequireDefault(require(\"./lib/isCreditCard\"));\n\nvar _isIdentityCard = _interopRequireDefault(require(\"./lib/isIdentityCard\"));\n\nvar _isEAN = _interopRequireDefault(require(\"./lib/isEAN\"));\n\nvar _isISIN = _interopRequireDefault(require(\"./lib/isISIN\"));\n\nvar _isISBN = _interopRequireDefault(require(\"./lib/isISBN\"));\n\nvar _isISSN = _interopRequireDefault(require(\"./lib/isISSN\"));\n\nvar _isTaxID = _interopRequireDefault(require(\"./lib/isTaxID\"));\n\nvar _isMobilePhone = _interopRequireWildcard(require(\"./lib/isMobilePhone\"));\n\nvar _isEthereumAddress = _interopRequireDefault(require(\"./lib/isEthereumAddress\"));\n\nvar _isCurrency = _interopRequireDefault(require(\"./lib/isCurrency\"));\n\nvar _isBtcAddress = _interopRequireDefault(require(\"./lib/isBtcAddress\"));\n\nvar _isISO = _interopRequireDefault(require(\"./lib/isISO8601\"));\n\nvar _isRFC = _interopRequireDefault(require(\"./lib/isRFC3339\"));\n\nvar _isISO31661Alpha = _interopRequireDefault(require(\"./lib/isISO31661Alpha2\"));\n\nvar _isISO31661Alpha2 = _interopRequireDefault(require(\"./lib/isISO31661Alpha3\"));\n\nvar _isBase = _interopRequireDefault(require(\"./lib/isBase32\"));\n\nvar _isBase2 = _interopRequireDefault(require(\"./lib/isBase58\"));\n\nvar _isBase3 = _interopRequireDefault(require(\"./lib/isBase64\"));\n\nvar _isDataURI = _interopRequireDefault(require(\"./lib/isDataURI\"));\n\nvar _isMagnetURI = _interopRequireDefault(require(\"./lib/isMagnetURI\"));\n\nvar _isMimeType = _interopRequireDefault(require(\"./lib/isMimeType\"));\n\nvar _isLatLong = _interopRequireDefault(require(\"./lib/isLatLong\"));\n\nvar _isPostalCode = _interopRequireWildcard(require(\"./lib/isPostalCode\"));\n\nvar _ltrim = _interopRequireDefault(require(\"./lib/ltrim\"));\n\nvar _rtrim = _interopRequireDefault(require(\"./lib/rtrim\"));\n\nvar _trim = _interopRequireDefault(require(\"./lib/trim\"));\n\nvar _escape = _interopRequireDefault(require(\"./lib/escape\"));\n\nvar _unescape = _interopRequireDefault(require(\"./lib/unescape\"));\n\nvar _stripLow = _interopRequireDefault(require(\"./lib/stripLow\"));\n\nvar _whitelist = _interopRequireDefault(require(\"./lib/whitelist\"));\n\nvar _blacklist = _interopRequireDefault(require(\"./lib/blacklist\"));\n\nvar _isWhitelisted = _interopRequireDefault(require(\"./lib/isWhitelisted\"));\n\nvar _normalizeEmail = _interopRequireDefault(require(\"./lib/normalizeEmail\"));\n\nvar _isSlug = _interopRequireDefault(require(\"./lib/isSlug\"));\n\nvar _isStrongPassword = _interopRequireDefault(require(\"./lib/isStrongPassword\"));\n\nvar _isVAT = _interopRequireDefault(require(\"./lib/isVAT\"));\n\nfunction _getRequireWildcardCache() { if (typeof WeakMap !== \"function\") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar version = '13.5.2';\nvar validator = {\n version: version,\n toDate: _toDate.default,\n toFloat: _toFloat.default,\n toInt: _toInt.default,\n toBoolean: _toBoolean.default,\n equals: _equals.default,\n contains: _contains.default,\n matches: _matches.default,\n isEmail: _isEmail.default,\n isURL: _isURL.default,\n isMACAddress: _isMACAddress.default,\n isIP: _isIP.default,\n isIPRange: _isIPRange.default,\n isFQDN: _isFQDN.default,\n isBoolean: _isBoolean.default,\n isIBAN: _isIBAN.default,\n isBIC: _isBIC.default,\n isAlpha: _isAlpha.default,\n isAlphaLocales: _isAlpha.locales,\n isAlphanumeric: _isAlphanumeric.default,\n isAlphanumericLocales: _isAlphanumeric.locales,\n isNumeric: _isNumeric.default,\n isPassportNumber: _isPassportNumber.default,\n isPort: _isPort.default,\n isLowercase: _isLowercase.default,\n isUppercase: _isUppercase.default,\n isAscii: _isAscii.default,\n isFullWidth: _isFullWidth.default,\n isHalfWidth: _isHalfWidth.default,\n isVariableWidth: _isVariableWidth.default,\n isMultibyte: _isMultibyte.default,\n isSemVer: _isSemVer.default,\n isSurrogatePair: _isSurrogatePair.default,\n isInt: _isInt.default,\n isIMEI: _isIMEI.default,\n isFloat: _isFloat.default,\n isFloatLocales: _isFloat.locales,\n isDecimal: _isDecimal.default,\n isHexadecimal: _isHexadecimal.default,\n isOctal: _isOctal.default,\n isDivisibleBy: _isDivisibleBy.default,\n isHexColor: _isHexColor.default,\n isRgbColor: _isRgbColor.default,\n isHSL: _isHSL.default,\n isISRC: _isISRC.default,\n isMD5: _isMD.default,\n isHash: _isHash.default,\n isJWT: _isJWT.default,\n isJSON: _isJSON.default,\n isEmpty: _isEmpty.default,\n isLength: _isLength.default,\n isLocale: _isLocale.default,\n isByteLength: _isByteLength.default,\n isUUID: _isUUID.default,\n isMongoId: _isMongoId.default,\n isAfter: _isAfter.default,\n isBefore: _isBefore.default,\n isIn: _isIn.default,\n isCreditCard: _isCreditCard.default,\n isIdentityCard: _isIdentityCard.default,\n isEAN: _isEAN.default,\n isISIN: _isISIN.default,\n isISBN: _isISBN.default,\n isISSN: _isISSN.default,\n isMobilePhone: _isMobilePhone.default,\n isMobilePhoneLocales: _isMobilePhone.locales,\n isPostalCode: _isPostalCode.default,\n isPostalCodeLocales: _isPostalCode.locales,\n isEthereumAddress: _isEthereumAddress.default,\n isCurrency: _isCurrency.default,\n isBtcAddress: _isBtcAddress.default,\n isISO8601: _isISO.default,\n isRFC3339: _isRFC.default,\n isISO31661Alpha2: _isISO31661Alpha.default,\n isISO31661Alpha3: _isISO31661Alpha2.default,\n isBase32: _isBase.default,\n isBase58: _isBase2.default,\n isBase64: _isBase3.default,\n isDataURI: _isDataURI.default,\n isMagnetURI: _isMagnetURI.default,\n isMimeType: _isMimeType.default,\n isLatLong: _isLatLong.default,\n ltrim: _ltrim.default,\n rtrim: _rtrim.default,\n trim: _trim.default,\n escape: _escape.default,\n unescape: _unescape.default,\n stripLow: _stripLow.default,\n whitelist: _whitelist.default,\n blacklist: _blacklist.default,\n isWhitelisted: _isWhitelisted.default,\n normalizeEmail: _normalizeEmail.default,\n toString: toString,\n isSlug: _isSlug.default,\n isStrongPassword: _isStrongPassword.default,\n isTaxID: _isTaxID.default,\n isDate: _isDate.default,\n isVAT: _isVAT.default\n};\nvar _default = validator;\nexports.default = _default;\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.commaDecimal = exports.dotDecimal = exports.farsiLocales = exports.arabicLocales = exports.englishLocales = exports.decimal = exports.alphanumeric = exports.alpha = void 0;\nvar alpha = {\n 'en-US': /^[A-Z]+$/i,\n 'az-AZ': /^[A-VXYZÇƏĞİıÖŞÜ]+$/i,\n 'bg-BG': /^[А-Я]+$/i,\n 'cs-CZ': /^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,\n 'da-DK': /^[A-ZÆØÅ]+$/i,\n 'de-DE': /^[A-ZÄÖÜß]+$/i,\n 'el-GR': /^[Α-ώ]+$/i,\n 'es-ES': /^[A-ZÁÉÍÑÓÚÜ]+$/i,\n 'fa-IR': /^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,\n 'fr-FR': /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,\n 'it-IT': /^[A-ZÀÉÈÌÎÓÒÙ]+$/i,\n 'nb-NO': /^[A-ZÆØÅ]+$/i,\n 'nl-NL': /^[A-ZÁÉËÏÓÖÜÚ]+$/i,\n 'nn-NO': /^[A-ZÆØÅ]+$/i,\n 'hu-HU': /^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,\n 'pl-PL': /^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,\n 'pt-PT': /^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,\n 'ru-RU': /^[А-ЯЁ]+$/i,\n 'sl-SI': /^[A-ZČĆĐŠŽ]+$/i,\n 'sk-SK': /^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,\n 'sr-RS@latin': /^[A-ZČĆŽŠĐ]+$/i,\n 'sr-RS': /^[А-ЯЂЈЉЊЋЏ]+$/i,\n 'sv-SE': /^[A-ZÅÄÖ]+$/i,\n 'th-TH': /^[ก-๐\\s]+$/i,\n 'tr-TR': /^[A-ZÇĞİıÖŞÜ]+$/i,\n 'uk-UA': /^[А-ЩЬЮЯЄIЇҐі]+$/i,\n 'vi-VN': /^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,\n 'ku-IQ': /^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,\n ar: /^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,\n he: /^[א-ת]+$/,\n fa: /^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i\n};\nexports.alpha = alpha;\nvar alphanumeric = {\n 'en-US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شعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,\n 'vi-VN': /^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,\n ar: /^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,\n he: /^[0-9א-ת]+$/,\n fa: /^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i\n};\nexports.alphanumeric = alphanumeric;\nvar decimal = {\n 'en-US': '.',\n ar: '٫'\n};\nexports.decimal = decimal;\nvar englishLocales = ['AU', 'GB', 'HK', 'IN', 'NZ', 'ZA', 'ZM'];\nexports.englishLocales = englishLocales;\n\nfor (var locale, i = 0; i < englishLocales.length; i++) {\n locale = \"en-\".concat(englishLocales[i]);\n alpha[locale] = alpha['en-US'];\n alphanumeric[locale] = alphanumeric['en-US'];\n decimal[locale] = decimal['en-US'];\n} // Source: http://www.localeplanet.com/java/\n\n\nvar arabicLocales = ['AE', 'BH', 'DZ', 'EG', 'IQ', 'JO', 'KW', 'LB', 'LY', 'MA', 'QM', 'QA', 'SA', 'SD', 'SY', 'TN', 'YE'];\nexports.arabicLocales = arabicLocales;\n\nfor (var _locale, _i = 0; _i < arabicLocales.length; _i++) {\n _locale = \"ar-\".concat(arabicLocales[_i]);\n alpha[_locale] = alpha.ar;\n alphanumeric[_locale] = alphanumeric.ar;\n decimal[_locale] = decimal.ar;\n}\n\nvar farsiLocales = ['IR', 'AF'];\nexports.farsiLocales = farsiLocales;\n\nfor (var _locale2, _i2 = 0; _i2 < farsiLocales.length; _i2++) {\n _locale2 = \"fa-\".concat(farsiLocales[_i2]);\n alphanumeric[_locale2] = alphanumeric.fa;\n decimal[_locale2] = decimal.ar;\n} // Source: https://en.wikipedia.org/wiki/Decimal_mark\n\n\nvar dotDecimal = ['ar-EG', 'ar-LB', 'ar-LY'];\nexports.dotDecimal = dotDecimal;\nvar commaDecimal = ['bg-BG', 'cs-CZ', 'da-DK', 'de-DE', 'el-GR', 'en-ZM', 'es-ES', 'fr-CA', 'fr-FR', 'id-ID', 'it-IT', 'ku-IQ', 'hu-HU', 'nb-NO', 'nn-NO', 'nl-NL', 'pl-PL', 'pt-PT', 'ru-RU', 'sl-SI', 'sr-RS@latin', 'sr-RS', 'sv-SE', 'tr-TR', 'uk-UA', 'vi-VN'];\nexports.commaDecimal = commaDecimal;\n\nfor (var _i3 = 0; _i3 < dotDecimal.length; _i3++) {\n decimal[dotDecimal[_i3]] = decimal['en-US'];\n}\n\nfor (var _i4 = 0; _i4 < commaDecimal.length; _i4++) {\n decimal[commaDecimal[_i4]] = ',';\n}\n\nalpha['fr-CA'] = alpha['fr-FR'];\nalphanumeric['fr-CA'] = alphanumeric['fr-FR'];\nalpha['pt-BR'] = alpha['pt-PT'];\nalphanumeric['pt-BR'] = alphanumeric['pt-PT'];\ndecimal['pt-BR'] = decimal['pt-PT']; // see #862\n\nalpha['pl-Pl'] = alpha['pl-PL'];\nalphanumeric['pl-Pl'] = alphanumeric['pl-PL'];\ndecimal['pl-Pl'] = decimal['pl-PL']; // see #1455\n\nalpha['fa-AF'] = alpha.fa;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = blacklist;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction blacklist(str, chars) {\n (0, _assertString.default)(str);\n return str.replace(new RegExp(\"[\".concat(chars, \"]+\"), 'g'), '');\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = contains;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _toString = _interopRequireDefault(require(\"./util/toString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar defaulContainsOptions = {\n ignoreCase: false\n};\n\nfunction contains(str, elem, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, defaulContainsOptions);\n return options.ignoreCase ? str.toLowerCase().indexOf((0, _toString.default)(elem).toLowerCase()) >= 0 : str.indexOf((0, _toString.default)(elem)) >= 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = equals;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction equals(str, comparison) {\n (0, _assertString.default)(str);\n return str === comparison;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = escape;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction escape(str) {\n (0, _assertString.default)(str);\n return str.replace(/&/g, '&').replace(/\"/g, '"').replace(/'/g, ''').replace(/</g, '<').replace(/>/g, '>').replace(/\\//g, '/').replace(/\\\\/g, '\').replace(/`/g, '`');\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isAfter;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _toDate = _interopRequireDefault(require(\"./toDate\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isAfter(str) {\n var date = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : String(new Date());\n (0, _assertString.default)(str);\n var comparison = (0, _toDate.default)(date);\n var original = (0, _toDate.default)(str);\n return !!(original && comparison && original > comparison);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isAlpha;\nexports.locales = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _alpha = require(\"./alpha\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isAlpha(_str) {\n var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en-US';\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n (0, _assertString.default)(_str);\n var str = _str;\n var ignore = options.ignore;\n\n if (ignore) {\n if (ignore instanceof RegExp) {\n str = str.replace(ignore, '');\n } else if (typeof ignore === 'string') {\n str = str.replace(new RegExp(\"[\".concat(ignore.replace(/[-[\\]{}()*+?.,\\\\^$|#\\\\s]/g, '\\\\$&'), \"]\"), 'g'), ''); // escape regex for ignore\n } else {\n throw new Error('ignore should be instance of a String or RegExp');\n }\n }\n\n if (locale in _alpha.alpha) {\n return _alpha.alpha[locale].test(str);\n }\n\n throw new Error(\"Invalid locale '\".concat(locale, \"'\"));\n}\n\nvar locales = Object.keys(_alpha.alpha);\nexports.locales = locales;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isAlphanumeric;\nexports.locales = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _alpha = require(\"./alpha\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isAlphanumeric(str) {\n var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en-US';\n (0, _assertString.default)(str);\n\n if (locale in _alpha.alphanumeric) {\n return _alpha.alphanumeric[locale].test(str);\n }\n\n throw new Error(\"Invalid locale '\".concat(locale, \"'\"));\n}\n\nvar locales = Object.keys(_alpha.alphanumeric);\nexports.locales = locales;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isAscii;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* eslint-disable no-control-regex */\nvar ascii = /^[\\x00-\\x7F]+$/;\n/* eslint-enable no-control-regex */\n\nfunction isAscii(str) {\n (0, _assertString.default)(str);\n return ascii.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBIC;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isBICReg = /^[A-z]{4}[A-z]{2}\\w{2}(\\w{3})?$/;\n\nfunction isBIC(str) {\n (0, _assertString.default)(str);\n return isBICReg.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBase32;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar base32 = /^[A-Z2-7]+=*$/;\n\nfunction isBase32(str) {\n (0, _assertString.default)(str);\n var len = str.length;\n\n if (len % 8 === 0 && base32.test(str)) {\n return true;\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBase58;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Accepted chars - 123456789ABCDEFGH JKLMN PQRSTUVWXYZabcdefghijk mnopqrstuvwxyz\nvar base58Reg = /^[A-HJ-NP-Za-km-z1-9]*$/;\n\nfunction isBase58(str) {\n (0, _assertString.default)(str);\n\n if (base58Reg.test(str)) {\n return true;\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBase64;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar notBase64 = /[^A-Z0-9+\\/=]/i;\nvar urlSafeBase64 = /^[A-Z0-9_\\-]*$/i;\nvar defaultBase64Options = {\n urlSafe: false\n};\n\nfunction isBase64(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, defaultBase64Options);\n var len = str.length;\n\n if (options.urlSafe) {\n return urlSafeBase64.test(str);\n }\n\n if (len % 4 !== 0 || notBase64.test(str)) {\n return false;\n }\n\n var firstPaddingChar = str.indexOf('=');\n return firstPaddingChar === -1 || firstPaddingChar === len - 1 || firstPaddingChar === len - 2 && str[len - 1] === '=';\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBefore;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _toDate = _interopRequireDefault(require(\"./toDate\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isBefore(str) {\n var date = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : String(new Date());\n (0, _assertString.default)(str);\n var comparison = (0, _toDate.default)(date);\n var original = (0, _toDate.default)(str);\n return !!(original && comparison && original < comparison);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBoolean;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isBoolean(str) {\n (0, _assertString.default)(str);\n return ['true', 'false', '1', '0'].indexOf(str) >= 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isBtcAddress;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// supports Bech32 addresses\nvar btc = /^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$/;\n\nfunction isBtcAddress(str) {\n (0, _assertString.default)(str);\n return btc.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isByteLength;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/* eslint-disable prefer-rest-params */\nfunction isByteLength(str, options) {\n (0, _assertString.default)(str);\n var min;\n var max;\n\n if (_typeof(options) === 'object') {\n min = options.min || 0;\n max = options.max;\n } else {\n // backwards compatibility: isByteLength(str, min [, max])\n min = arguments[1];\n max = arguments[2];\n }\n\n var len = encodeURI(str).split(/%..|./).length - 1;\n return len >= min && (typeof max === 'undefined' || len <= max);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isCreditCard;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* eslint-disable max-len */\nvar creditCard = /^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11}|6[27][0-9]{14})$/;\n/* eslint-enable max-len */\n\nfunction isCreditCard(str) {\n (0, _assertString.default)(str);\n var sanitized = str.replace(/[- ]+/g, '');\n\n if (!creditCard.test(sanitized)) {\n return false;\n }\n\n var sum = 0;\n var digit;\n var tmpNum;\n var shouldDouble;\n\n for (var i = sanitized.length - 1; i >= 0; i--) {\n digit = sanitized.substring(i, i + 1);\n tmpNum = parseInt(digit, 10);\n\n if (shouldDouble) {\n tmpNum *= 2;\n\n if (tmpNum >= 10) {\n sum += tmpNum % 10 + 1;\n } else {\n sum += tmpNum;\n }\n } else {\n sum += tmpNum;\n }\n\n shouldDouble = !shouldDouble;\n }\n\n return !!(sum % 10 === 0 ? sanitized : false);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isCurrency;\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction currencyRegex(options) {\n var decimal_digits = \"\\\\d{\".concat(options.digits_after_decimal[0], \"}\");\n options.digits_after_decimal.forEach(function (digit, index) {\n if (index !== 0) decimal_digits = \"\".concat(decimal_digits, \"|\\\\d{\").concat(digit, \"}\");\n });\n var symbol = \"(\".concat(options.symbol.replace(/\\W/, function (m) {\n return \"\\\\\".concat(m);\n }), \")\").concat(options.require_symbol ? '' : '?'),\n negative = '-?',\n whole_dollar_amount_without_sep = '[1-9]\\\\d*',\n whole_dollar_amount_with_sep = \"[1-9]\\\\d{0,2}(\\\\\".concat(options.thousands_separator, \"\\\\d{3})*\"),\n valid_whole_dollar_amounts = ['0', whole_dollar_amount_without_sep, whole_dollar_amount_with_sep],\n whole_dollar_amount = \"(\".concat(valid_whole_dollar_amounts.join('|'), \")?\"),\n decimal_amount = \"(\\\\\".concat(options.decimal_separator, \"(\").concat(decimal_digits, \"))\").concat(options.require_decimal ? '' : '?');\n var pattern = whole_dollar_amount + (options.allow_decimal || options.require_decimal ? decimal_amount : ''); // default is negative sign before symbol, but there are two other options (besides parens)\n\n if (options.allow_negatives && !options.parens_for_negatives) {\n if (options.negative_sign_after_digits) {\n pattern += negative;\n } else if (options.negative_sign_before_digits) {\n pattern = negative + pattern;\n }\n } // South African Rand, for example, uses R 123 (space) and R-123 (no space)\n\n\n if (options.allow_negative_sign_placeholder) {\n pattern = \"( (?!\\\\-))?\".concat(pattern);\n } else if (options.allow_space_after_symbol) {\n pattern = \" ?\".concat(pattern);\n } else if (options.allow_space_after_digits) {\n pattern += '( (?!$))?';\n }\n\n if (options.symbol_after_digits) {\n pattern += symbol;\n } else {\n pattern = symbol + pattern;\n }\n\n if (options.allow_negatives) {\n if (options.parens_for_negatives) {\n pattern = \"(\\\\(\".concat(pattern, \"\\\\)|\").concat(pattern, \")\");\n } else if (!(options.negative_sign_before_digits || options.negative_sign_after_digits)) {\n pattern = negative + pattern;\n }\n } // ensure there's a dollar and/or decimal amount, and that\n // it doesn't start with a space or a negative sign followed by a space\n\n\n return new RegExp(\"^(?!-? )(?=.*\\\\d)\".concat(pattern, \"$\"));\n}\n\nvar default_currency_options = {\n symbol: '$',\n require_symbol: false,\n allow_space_after_symbol: false,\n symbol_after_digits: false,\n allow_negatives: true,\n parens_for_negatives: false,\n negative_sign_before_digits: false,\n negative_sign_after_digits: false,\n allow_negative_sign_placeholder: false,\n thousands_separator: ',',\n decimal_separator: '.',\n allow_decimal: true,\n require_decimal: false,\n digits_after_decimal: [2],\n allow_space_after_digits: false\n};\n\nfunction isCurrency(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, default_currency_options);\n return currencyRegex(options).test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isDataURI;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar validMediaType = /^[a-z]+\\/[a-z0-9\\-\\+]+$/i;\nvar validAttribute = /^[a-z\\-]+=[a-z0-9\\-]+$/i;\nvar validData = /^[a-z0-9!\\$&'\\(\\)\\*\\+,;=\\-\\._~:@\\/\\?%\\s]*$/i;\n\nfunction isDataURI(str) {\n (0, _assertString.default)(str);\n var data = str.split(',');\n\n if (data.length < 2) {\n return false;\n }\n\n var attributes = data.shift().trim().split(';');\n var schemeAndMediaType = attributes.shift();\n\n if (schemeAndMediaType.substr(0, 5) !== 'data:') {\n return false;\n }\n\n var mediaType = schemeAndMediaType.substr(5);\n\n if (mediaType !== '' && !validMediaType.test(mediaType)) {\n return false;\n }\n\n for (var i = 0; i < attributes.length; i++) {\n if (i === attributes.length - 1 && attributes[i].toLowerCase() === 'base64') {// ok\n } else if (!validAttribute.test(attributes[i])) {\n return false;\n }\n }\n\n for (var _i = 0; _i < data.length; _i++) {\n if (!validData.test(data[_i])) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isDate;\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArrayLimit(arr, i) { if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nvar default_date_options = {\n format: 'YYYY/MM/DD',\n delimiters: ['/', '-'],\n strictMode: false\n};\n\nfunction isValidFormat(format) {\n return /(^(y{4}|y{2})[\\/-](m{1,2})[\\/-](d{1,2})$)|(^(m{1,2})[\\/-](d{1,2})[\\/-]((y{4}|y{2})$))|(^(d{1,2})[\\/-](m{1,2})[\\/-]((y{4}|y{2})$))/gi.test(format);\n}\n\nfunction zip(date, format) {\n var zippedArr = [],\n len = Math.min(date.length, format.length);\n\n for (var i = 0; i < len; i++) {\n zippedArr.push([date[i], format[i]]);\n }\n\n return zippedArr;\n}\n\nfunction isDate(input, options) {\n if (typeof options === 'string') {\n // Allow backward compatbility for old format isDate(input [, format])\n options = (0, _merge.default)({\n format: options\n }, default_date_options);\n } else {\n options = (0, _merge.default)(options, default_date_options);\n }\n\n if (typeof input === 'string' && isValidFormat(options.format)) {\n var formatDelimiter = options.delimiters.find(function (delimiter) {\n return options.format.indexOf(delimiter) !== -1;\n });\n var dateDelimiter = options.strictMode ? formatDelimiter : options.delimiters.find(function (delimiter) {\n return input.indexOf(delimiter) !== -1;\n });\n var dateAndFormat = zip(input.split(dateDelimiter), options.format.toLowerCase().split(formatDelimiter));\n var dateObj = {};\n\n var _iterator = _createForOfIteratorHelper(dateAndFormat),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _step$value = _slicedToArray(_step.value, 2),\n dateWord = _step$value[0],\n formatWord = _step$value[1];\n\n if (dateWord.length !== formatWord.length) {\n return false;\n }\n\n dateObj[formatWord.charAt(0)] = dateWord;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return new Date(\"\".concat(dateObj.m, \"/\").concat(dateObj.d, \"/\").concat(dateObj.y)).getDate() === +dateObj.d;\n }\n\n if (!options.strictMode) {\n return Object.prototype.toString.call(input) === '[object Date]' && isFinite(input);\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isDecimal;\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _includes = _interopRequireDefault(require(\"./util/includes\"));\n\nvar _alpha = require(\"./alpha\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction decimalRegExp(options) {\n var regExp = new RegExp(\"^[-+]?([0-9]+)?(\\\\\".concat(_alpha.decimal[options.locale], \"[0-9]{\").concat(options.decimal_digits, \"})\").concat(options.force_decimal ? '' : '?', \"$\"));\n return regExp;\n}\n\nvar default_decimal_options = {\n force_decimal: false,\n decimal_digits: '1,',\n locale: 'en-US'\n};\nvar blacklist = ['', '-', '+'];\n\nfunction isDecimal(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, default_decimal_options);\n\n if (options.locale in _alpha.decimal) {\n return !(0, _includes.default)(blacklist, str.replace(/ /g, '')) && decimalRegExp(options).test(str);\n }\n\n throw new Error(\"Invalid locale '\".concat(options.locale, \"'\"));\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isDivisibleBy;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _toFloat = _interopRequireDefault(require(\"./toFloat\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isDivisibleBy(str, num) {\n (0, _assertString.default)(str);\n return (0, _toFloat.default)(str) % parseInt(num, 10) === 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isEAN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The most commonly used EAN standard is\n * the thirteen-digit EAN-13, while the\n * less commonly used 8-digit EAN-8 barcode was\n * introduced for use on small packages.\n * EAN consists of:\n * GS1 prefix, manufacturer code, product code and check digit\n * Reference: https://en.wikipedia.org/wiki/International_Article_Number\n */\n\n/**\n * Define EAN Lenghts; 8 for EAN-8; 13 for EAN-13\n * and Regular Expression for valid EANs (EAN-8, EAN-13),\n * with exact numberic matching of 8 or 13 digits [0-9]\n */\nvar LENGTH_EAN_8 = 8;\nvar validEanRegex = /^(\\d{8}|\\d{13})$/;\n/**\n * Get position weight given:\n * EAN length and digit index/position\n *\n * @param {number} length\n * @param {number} index\n * @return {number}\n */\n\nfunction getPositionWeightThroughLengthAndIndex(length, index) {\n if (length === LENGTH_EAN_8) {\n return index % 2 === 0 ? 3 : 1;\n }\n\n return index % 2 === 0 ? 1 : 3;\n}\n/**\n * Calculate EAN Check Digit\n * Reference: https://en.wikipedia.org/wiki/International_Article_Number#Calculation_of_checksum_digit\n *\n * @param {string} ean\n * @return {number}\n */\n\n\nfunction calculateCheckDigit(ean) {\n var checksum = ean.slice(0, -1).split('').map(function (char, index) {\n return Number(char) * getPositionWeightThroughLengthAndIndex(ean.length, index);\n }).reduce(function (acc, partialSum) {\n return acc + partialSum;\n }, 0);\n var remainder = 10 - checksum % 10;\n return remainder < 10 ? remainder : 0;\n}\n/**\n * Check if string is valid EAN:\n * Matches EAN-8/EAN-13 regex\n * Has valid check digit.\n *\n * @param {string} str\n * @return {boolean}\n */\n\n\nfunction isEAN(str) {\n (0, _assertString.default)(str);\n var actualCheckDigit = Number(str.slice(-1));\n return validEanRegex.test(str) && actualCheckDigit === calculateCheckDigit(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isEmail;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nvar _isByteLength = _interopRequireDefault(require(\"./isByteLength\"));\n\nvar _isFQDN = _interopRequireDefault(require(\"./isFQDN\"));\n\nvar _isIP = _interopRequireDefault(require(\"./isIP\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar default_email_options = {\n allow_display_name: false,\n require_display_name: false,\n allow_utf8_local_part: true,\n require_tld: true,\n blacklisted_chars: '',\n ignore_max_length: false\n};\n/* eslint-disable max-len */\n\n/* eslint-disable no-control-regex */\n\nvar splitNameAddress = /^([^\\x00-\\x1F\\x7F-\\x9F\\cX]+)<(.+)>$/i;\nvar emailUserPart = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]+$/i;\nvar gmailUserPart = /^[a-z\\d]+$/;\nvar quotedEmailUser = /^([\\s\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f\\x21\\x23-\\x5b\\x5d-\\x7e]|(\\\\[\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]))*$/i;\nvar emailUserUtf8Part = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+$/i;\nvar quotedEmailUserUtf8 = /^([\\s\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f\\x21\\x23-\\x5b\\x5d-\\x7e\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]|(\\\\[\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))*$/i;\nvar defaultMaxEmailLength = 254;\n/* eslint-enable max-len */\n\n/* eslint-enable no-control-regex */\n\n/**\n * Validate display name according to the RFC2822: https://tools.ietf.org/html/rfc2822#appendix-A.1.2\n * @param {String} display_name\n */\n\nfunction validateDisplayName(display_name) {\n var trim_quotes = display_name.match(/^\"(.+)\"$/i);\n var display_name_without_quotes = trim_quotes ? trim_quotes[1] : display_name; // display name with only spaces is not valid\n\n if (!display_name_without_quotes.trim()) {\n return false;\n } // check whether display name contains illegal character\n\n\n var contains_illegal = /[\\.\";<>]/.test(display_name_without_quotes);\n\n if (contains_illegal) {\n // if contains illegal characters,\n // must to be enclosed in double-quotes, otherwise it's not a valid display name\n if (!trim_quotes) {\n return false;\n } // the quotes in display name must start with character symbol \\\n\n\n var all_start_with_back_slash = display_name_without_quotes.split('\"').length === display_name_without_quotes.split('\\\\\"').length;\n\n if (!all_start_with_back_slash) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction isEmail(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, default_email_options);\n\n if (options.require_display_name || options.allow_display_name) {\n var display_email = str.match(splitNameAddress);\n\n if (display_email) {\n var display_name;\n\n var _display_email = _slicedToArray(display_email, 3);\n\n display_name = _display_email[1];\n str = _display_email[2];\n\n // sometimes need to trim the last space to get the display name\n // because there may be a space between display name and email address\n // eg. myname <address@gmail.com>\n // the display name is `myname` instead of `myname `, so need to trim the last space\n if (display_name.endsWith(' ')) {\n display_name = display_name.substr(0, display_name.length - 1);\n }\n\n if (!validateDisplayName(display_name)) {\n return false;\n }\n } else if (options.require_display_name) {\n return false;\n }\n }\n\n if (!options.ignore_max_length && str.length > defaultMaxEmailLength) {\n return false;\n }\n\n var parts = str.split('@');\n var domain = parts.pop();\n var user = parts.join('@');\n var lower_domain = domain.toLowerCase();\n\n if (options.domain_specific_validation && (lower_domain === 'gmail.com' || lower_domain === 'googlemail.com')) {\n /*\n Previously we removed dots for gmail addresses before validating.\n This was removed because it allows `multiple..dots@gmail.com`\n to be reported as valid, but it is not.\n Gmail only normalizes single dots, removing them from here is pointless,\n should be done in normalizeEmail\n */\n user = user.toLowerCase(); // Removing sub-address from username before gmail validation\n\n var username = user.split('+')[0]; // Dots are not included in gmail length restriction\n\n if (!(0, _isByteLength.default)(username.replace('.', ''), {\n min: 6,\n max: 30\n })) {\n return false;\n }\n\n var _user_parts = username.split('.');\n\n for (var i = 0; i < _user_parts.length; i++) {\n if (!gmailUserPart.test(_user_parts[i])) {\n return false;\n }\n }\n }\n\n if (options.ignore_max_length === false && (!(0, _isByteLength.default)(user, {\n max: 64\n }) || !(0, _isByteLength.default)(domain, {\n max: 254\n }))) {\n return false;\n }\n\n if (!(0, _isFQDN.default)(domain, {\n require_tld: options.require_tld\n })) {\n if (!options.allow_ip_domain) {\n return false;\n }\n\n if (!(0, _isIP.default)(domain)) {\n if (!domain.startsWith('[') || !domain.endsWith(']')) {\n return false;\n }\n\n var noBracketdomain = domain.substr(1, domain.length - 2);\n\n if (noBracketdomain.length === 0 || !(0, _isIP.default)(noBracketdomain)) {\n return false;\n }\n }\n }\n\n if (user[0] === '\"') {\n user = user.slice(1, user.length - 1);\n return options.allow_utf8_local_part ? quotedEmailUserUtf8.test(user) : quotedEmailUser.test(user);\n }\n\n var pattern = options.allow_utf8_local_part ? emailUserUtf8Part : emailUserPart;\n var user_parts = user.split('.');\n\n for (var _i2 = 0; _i2 < user_parts.length; _i2++) {\n if (!pattern.test(user_parts[_i2])) {\n return false;\n }\n }\n\n if (options.blacklisted_chars) {\n if (user.search(new RegExp(\"[\".concat(options.blacklisted_chars, \"]+\"), 'g')) !== -1) return false;\n }\n\n return true;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isEmpty;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar default_is_empty_options = {\n ignore_whitespace: false\n};\n\nfunction isEmpty(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, default_is_empty_options);\n return (options.ignore_whitespace ? str.trim().length : str.length) === 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isEthereumAddress;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar eth = /^(0x)[0-9a-f]{40}$/i;\n\nfunction isEthereumAddress(str) {\n (0, _assertString.default)(str);\n return eth.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isFQDN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar default_fqdn_options = {\n require_tld: true,\n allow_underscores: false,\n allow_trailing_dot: false,\n allow_numeric_tld: false\n};\n\nfunction isFQDN(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, default_fqdn_options);\n /* Remove the optional trailing dot before checking validity */\n\n if (options.allow_trailing_dot && str[str.length - 1] === '.') {\n str = str.substring(0, str.length - 1);\n }\n\n var parts = str.split('.');\n var tld = parts[parts.length - 1];\n\n if (options.require_tld) {\n // disallow fqdns without tld\n if (parts.length < 2) {\n return false;\n }\n\n if (!/^([a-z\\u00a1-\\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) {\n return false;\n } // disallow spaces && special characers\n\n\n if (/[\\s\\u2002-\\u200B\\u202F\\u205F\\u3000\\uFEFF\\uDB40\\uDC20\\u00A9\\uFFFD]/.test(tld)) {\n return false;\n }\n } // reject numeric TLDs\n\n\n if (!options.allow_numeric_tld && /^\\d+$/.test(tld)) {\n return false;\n }\n\n return parts.every(function (part) {\n if (part.length > 63) {\n return false;\n }\n\n if (!/^[a-z_\\u00a1-\\uffff0-9-]+$/i.test(part)) {\n return false;\n } // disallow full-width chars\n\n\n if (/[\\uff01-\\uff5e]/.test(part)) {\n return false;\n } // disallow parts starting or ending with hyphen\n\n\n if (/^-|-$/.test(part)) {\n return false;\n }\n\n if (!options.allow_underscores && /_/.test(part)) {\n return false;\n }\n\n return true;\n });\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isFloat;\nexports.locales = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _alpha = require(\"./alpha\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isFloat(str, options) {\n (0, _assertString.default)(str);\n options = options || {};\n var float = new RegExp(\"^(?:[-+])?(?:[0-9]+)?(?:\\\\\".concat(options.locale ? _alpha.decimal[options.locale] : '.', \"[0-9]*)?(?:[eE][\\\\+\\\\-]?(?:[0-9]+))?$\"));\n\n if (str === '' || str === '.' || str === '-' || str === '+') {\n return false;\n }\n\n var value = parseFloat(str.replace(',', '.'));\n return float.test(str) && (!options.hasOwnProperty('min') || value >= options.min) && (!options.hasOwnProperty('max') || value <= options.max) && (!options.hasOwnProperty('lt') || value < options.lt) && (!options.hasOwnProperty('gt') || value > options.gt);\n}\n\nvar locales = Object.keys(_alpha.decimal);\nexports.locales = locales;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isFullWidth;\nexports.fullWidth = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar fullWidth = /[^\\u0020-\\u007E\\uFF61-\\uFF9F\\uFFA0-\\uFFDC\\uFFE8-\\uFFEE0-9a-zA-Z]/;\nexports.fullWidth = fullWidth;\n\nfunction isFullWidth(str) {\n (0, _assertString.default)(str);\n return fullWidth.test(str);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isHSL;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar hslcomma = /^(hsl)a?\\(\\s*((\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?))(deg|grad|rad|turn|\\s*)(\\s*,\\s*(\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?)%){2}\\s*(,\\s*((\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?)%?)\\s*)?\\)$/i;\nvar hslspace = /^(hsl)a?\\(\\s*((\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?))(deg|grad|rad|turn|\\s)(\\s*(\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?)%){2}\\s*(\\/\\s*((\\+|\\-)?([0-9]+(\\.[0-9]+)?(e(\\+|\\-)?[0-9]+)?|\\.[0-9]+(e(\\+|\\-)?[0-9]+)?)%?)\\s*)?\\)$/i;\n\nfunction isHSL(str) {\n (0, _assertString.default)(str);\n return hslcomma.test(str) || hslspace.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isHalfWidth;\nexports.halfWidth = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar halfWidth = /[\\u0020-\\u007E\\uFF61-\\uFF9F\\uFFA0-\\uFFDC\\uFFE8-\\uFFEE0-9a-zA-Z]/;\nexports.halfWidth = halfWidth;\n\nfunction isHalfWidth(str) {\n (0, _assertString.default)(str);\n return halfWidth.test(str);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isHash;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar lengths = {\n md5: 32,\n md4: 32,\n sha1: 40,\n sha256: 64,\n sha384: 96,\n sha512: 128,\n ripemd128: 32,\n ripemd160: 40,\n tiger128: 32,\n tiger160: 40,\n tiger192: 48,\n crc32: 8,\n crc32b: 8\n};\n\nfunction isHash(str, algorithm) {\n (0, _assertString.default)(str);\n var hash = new RegExp(\"^[a-fA-F0-9]{\".concat(lengths[algorithm], \"}$\"));\n return hash.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isHexColor;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar hexcolor = /^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;\n\nfunction isHexColor(str) {\n (0, _assertString.default)(str);\n return hexcolor.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isHexadecimal;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar hexadecimal = /^(0x|0h)?[0-9A-F]+$/i;\n\nfunction isHexadecimal(str) {\n (0, _assertString.default)(str);\n return hexadecimal.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIBAN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * List of country codes with\n * corresponding IBAN regular expression\n * Reference: https://en.wikipedia.org/wiki/International_Bank_Account_Number\n */\nvar ibanRegexThroughCountryCode = {\n AD: /^(AD[0-9]{2})\\d{8}[A-Z0-9]{12}$/,\n AE: /^(AE[0-9]{2})\\d{3}\\d{16}$/,\n AL: /^(AL[0-9]{2})\\d{8}[A-Z0-9]{16}$/,\n AT: /^(AT[0-9]{2})\\d{16}$/,\n AZ: /^(AZ[0-9]{2})[A-Z0-9]{4}\\d{20}$/,\n BA: /^(BA[0-9]{2})\\d{16}$/,\n BE: /^(BE[0-9]{2})\\d{12}$/,\n BG: /^(BG[0-9]{2})[A-Z]{4}\\d{6}[A-Z0-9]{8}$/,\n BH: /^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,\n BR: /^(BR[0-9]{2})\\d{23}[A-Z]{1}[A-Z0-9]{1}$/,\n BY: /^(BY[0-9]{2})[A-Z0-9]{4}\\d{20}$/,\n CH: /^(CH[0-9]{2})\\d{5}[A-Z0-9]{12}$/,\n CR: /^(CR[0-9]{2})\\d{18}$/,\n CY: /^(CY[0-9]{2})\\d{8}[A-Z0-9]{16}$/,\n CZ: /^(CZ[0-9]{2})\\d{20}$/,\n DE: /^(DE[0-9]{2})\\d{18}$/,\n DK: /^(DK[0-9]{2})\\d{14}$/,\n DO: /^(DO[0-9]{2})[A-Z]{4}\\d{20}$/,\n EE: /^(EE[0-9]{2})\\d{16}$/,\n EG: /^(EG[0-9]{2})\\d{25}$/,\n ES: /^(ES[0-9]{2})\\d{20}$/,\n FI: /^(FI[0-9]{2})\\d{14}$/,\n FO: /^(FO[0-9]{2})\\d{14}$/,\n FR: /^(FR[0-9]{2})\\d{10}[A-Z0-9]{11}\\d{2}$/,\n GB: /^(GB[0-9]{2})[A-Z]{4}\\d{14}$/,\n GE: /^(GE[0-9]{2})[A-Z0-9]{2}\\d{16}$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d{19}[A-Z]{3}$/,\n NL: /^(NL[0-9]{2})[A-Z]{4}\\d{10}$/,\n NO: /^(NO[0-9]{2})\\d{11}$/,\n PK: /^(PK[0-9]{2})[A-Z0-9]{4}\\d{16}$/,\n PL: /^(PL[0-9]{2})\\d{24}$/,\n PS: /^(PS[0-9]{2})[A-Z0-9]{4}\\d{21}$/,\n PT: /^(PT[0-9]{2})\\d{21}$/,\n QA: /^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,\n RO: /^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,\n RS: /^(RS[0-9]{2})\\d{18}$/,\n SA: /^(SA[0-9]{2})\\d{2}[A-Z0-9]{18}$/,\n SC: /^(SC[0-9]{2})[A-Z]{4}\\d{20}[A-Z]{3}$/,\n SE: /^(SE[0-9]{2})\\d{20}$/,\n SI: /^(SI[0-9]{2})\\d{15}$/,\n SK: /^(SK[0-9]{2})\\d{20}$/,\n SM: /^(SM[0-9]{2})[A-Z]{1}\\d{10}[A-Z0-9]{12}$/,\n SV: /^(SV[0-9]{2})[A-Z0-9]{4}\\d{20}$/,\n TL: /^(TL[0-9]{2})\\d{19}$/,\n TN: /^(TN[0-9]{2})\\d{20}$/,\n TR: /^(TR[0-9]{2})\\d{5}[A-Z0-9]{17}$/,\n UA: /^(UA[0-9]{2})\\d{6}[A-Z0-9]{19}$/,\n VA: /^(VA[0-9]{2})\\d{18}$/,\n VG: /^(VG[0-9]{2})[A-Z0-9]{4}\\d{16}$/,\n XK: /^(XK[0-9]{2})\\d{16}$/\n};\n/**\n * Check whether string has correct universal IBAN format\n * The IBAN consists of up to 34 alphanumeric characters, as follows:\n * Country Code using ISO 3166-1 alpha-2, two letters\n * check digits, two digits and\n * Basic Bank Account Number (BBAN), up to 30 alphanumeric characters.\n * NOTE: Permitted IBAN characters are: digits [0-9] and the 26 latin alphabetic [A-Z]\n *\n * @param {string} str - string under validation\n * @return {boolean}\n */\n\nfunction hasValidIbanFormat(str) {\n // Strip white spaces and hyphens\n var strippedStr = str.replace(/[\\s\\-]+/gi, '').toUpperCase();\n var isoCountryCode = strippedStr.slice(0, 2).toUpperCase();\n return isoCountryCode in ibanRegexThroughCountryCode && ibanRegexThroughCountryCode[isoCountryCode].test(strippedStr);\n}\n/**\n * Check whether string has valid IBAN Checksum\n * by performing basic mod-97 operation and\n * the remainder should equal 1\n * -- Start by rearranging the IBAN by moving the four initial characters to the end of the string\n * -- Replace each letter in the string with two digits, A -> 10, B = 11, Z = 35\n * -- Interpret the string as a decimal integer and\n * -- compute the remainder on division by 97 (mod 97)\n * Reference: https://en.wikipedia.org/wiki/International_Bank_Account_Number\n *\n * @param {string} str\n * @return {boolean}\n */\n\n\nfunction hasValidIbanChecksum(str) {\n var strippedStr = str.replace(/[^A-Z0-9]+/gi, '').toUpperCase(); // Keep only digits and A-Z latin alphabetic\n\n var rearranged = strippedStr.slice(4) + strippedStr.slice(0, 4);\n var alphaCapsReplacedWithDigits = rearranged.replace(/[A-Z]/g, function (char) {\n return char.charCodeAt(0) - 55;\n });\n var remainder = alphaCapsReplacedWithDigits.match(/\\d{1,7}/g).reduce(function (acc, value) {\n return Number(acc + value) % 97;\n }, '');\n return remainder === 1;\n}\n\nfunction isIBAN(str) {\n (0, _assertString.default)(str);\n return hasValidIbanFormat(str) && hasValidIbanChecksum(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIMEI;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar imeiRegexWithoutHypens = /^[0-9]{15}$/;\nvar imeiRegexWithHypens = /^\\d{2}-\\d{6}-\\d{6}-\\d{1}$/;\n\nfunction isIMEI(str, options) {\n (0, _assertString.default)(str);\n options = options || {}; // default regex for checking imei is the one without hyphens\n\n var imeiRegex = imeiRegexWithoutHypens;\n\n if (options.allow_hyphens) {\n imeiRegex = imeiRegexWithHypens;\n }\n\n if (!imeiRegex.test(str)) {\n return false;\n }\n\n str = str.replace(/-/g, '');\n var sum = 0,\n mul = 2,\n l = 14;\n\n for (var i = 0; i < l; i++) {\n var digit = str.substring(l - i - 1, l - i);\n var tp = parseInt(digit, 10) * mul;\n\n if (tp >= 10) {\n sum += tp % 10 + 1;\n } else {\n sum += tp;\n }\n\n if (mul === 1) {\n mul += 1;\n } else {\n mul -= 1;\n }\n }\n\n var chk = (10 - sum % 10) % 10;\n\n if (chk !== parseInt(str.substring(14, 15), 10)) {\n return false;\n }\n\n return true;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIP;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n11.3. Examples\n\n The following addresses\n\n fe80::1234 (on the 1st link of the node)\n ff02::5678 (on the 5th link of the node)\n ff08::9abc (on the 10th organization of the node)\n\n would be represented as follows:\n\n fe80::1234%1\n ff02::5678%5\n ff08::9abc%10\n\n (Here we assume a natural translation from a zone index to the\n <zone_id> part, where the Nth zone of any scope is translated into\n \"N\".)\n\n If we use interface names as <zone_id>, those addresses could also be\n represented as follows:\n\n fe80::1234%ne0\n ff02::5678%pvc1.3\n ff08::9abc%interface10\n\n where the interface \"ne0\" belongs to the 1st link, \"pvc1.3\" belongs\n to the 5th link, and \"interface10\" belongs to the 10th organization.\n * * */\nvar ipv4Maybe = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/;\nvar ipv6Block = /^[0-9A-F]{1,4}$/i;\n\nfunction isIP(str) {\n var version = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n (0, _assertString.default)(str);\n version = String(version);\n\n if (!version) {\n return isIP(str, 4) || isIP(str, 6);\n } else if (version === '4') {\n if (!ipv4Maybe.test(str)) {\n return false;\n }\n\n var parts = str.split('.').sort(function (a, b) {\n return a - b;\n });\n return parts[3] <= 255;\n } else if (version === '6') {\n var addressAndZone = [str]; // ipv6 addresses could have scoped architecture\n // according to https://tools.ietf.org/html/rfc4007#section-11\n\n if (str.includes('%')) {\n addressAndZone = str.split('%');\n\n if (addressAndZone.length !== 2) {\n // it must be just two parts\n return false;\n }\n\n if (!addressAndZone[0].includes(':')) {\n // the first part must be the address\n return false;\n }\n\n if (addressAndZone[1] === '') {\n // the second part must not be empty\n return false;\n }\n }\n\n var blocks = addressAndZone[0].split(':');\n var foundOmissionBlock = false; // marker to indicate ::\n // At least some OS accept the last 32 bits of an IPv6 address\n // (i.e. 2 of the blocks) in IPv4 notation, and RFC 3493 says\n // that '::ffff:a.b.c.d' is valid for IPv4-mapped IPv6 addresses,\n // and '::a.b.c.d' is deprecated, but also valid.\n\n var foundIPv4TransitionBlock = isIP(blocks[blocks.length - 1], 4);\n var expectedNumberOfBlocks = foundIPv4TransitionBlock ? 7 : 8;\n\n if (blocks.length > expectedNumberOfBlocks) {\n return false;\n } // initial or final ::\n\n\n if (str === '::') {\n return true;\n } else if (str.substr(0, 2) === '::') {\n blocks.shift();\n blocks.shift();\n foundOmissionBlock = true;\n } else if (str.substr(str.length - 2) === '::') {\n blocks.pop();\n blocks.pop();\n foundOmissionBlock = true;\n }\n\n for (var i = 0; i < blocks.length; ++i) {\n // test for a :: which can not be at the string start/end\n // since those cases have been handled above\n if (blocks[i] === '' && i > 0 && i < blocks.length - 1) {\n if (foundOmissionBlock) {\n return false; // multiple :: in address\n }\n\n foundOmissionBlock = true;\n } else if (foundIPv4TransitionBlock && i === blocks.length - 1) {// it has been checked before that the last\n // block is a valid IPv4 address\n } else if (!ipv6Block.test(blocks[i])) {\n return false;\n }\n }\n\n if (foundOmissionBlock) {\n return blocks.length >= 1;\n }\n\n return blocks.length === expectedNumberOfBlocks;\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIPRange;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _isIP = _interopRequireDefault(require(\"./isIP\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar subnetMaybe = /^\\d{1,2}$/;\n\nfunction isIPRange(str) {\n (0, _assertString.default)(str);\n var parts = str.split('/'); // parts[0] -> ip, parts[1] -> subnet\n\n if (parts.length !== 2) {\n return false;\n }\n\n if (!subnetMaybe.test(parts[1])) {\n return false;\n } // Disallow preceding 0 i.e. 01, 02, ...\n\n\n if (parts[1].length > 1 && parts[1].startsWith('0')) {\n return false;\n }\n\n return (0, _isIP.default)(parts[0], 4) && parts[1] <= 32 && parts[1] >= 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISBN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isbn10Maybe = /^(?:[0-9]{9}X|[0-9]{10})$/;\nvar isbn13Maybe = /^(?:[0-9]{13})$/;\nvar factor = [1, 3];\n\nfunction isISBN(str) {\n var version = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n (0, _assertString.default)(str);\n version = String(version);\n\n if (!version) {\n return isISBN(str, 10) || isISBN(str, 13);\n }\n\n var sanitized = str.replace(/[\\s-]+/g, '');\n var checksum = 0;\n var i;\n\n if (version === '10') {\n if (!isbn10Maybe.test(sanitized)) {\n return false;\n }\n\n for (i = 0; i < 9; i++) {\n checksum += (i + 1) * sanitized.charAt(i);\n }\n\n if (sanitized.charAt(9) === 'X') {\n checksum += 10 * 10;\n } else {\n checksum += 10 * sanitized.charAt(9);\n }\n\n if (checksum % 11 === 0) {\n return !!sanitized;\n }\n } else if (version === '13') {\n if (!isbn13Maybe.test(sanitized)) {\n return false;\n }\n\n for (i = 0; i < 12; i++) {\n checksum += factor[i % 2] * sanitized.charAt(i);\n }\n\n if (sanitized.charAt(12) - (10 - checksum % 10) % 10 === 0) {\n return !!sanitized;\n }\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISIN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isin = /^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;\n\nfunction isISIN(str) {\n (0, _assertString.default)(str);\n\n if (!isin.test(str)) {\n return false;\n }\n\n var checksumStr = str.replace(/[A-Z]/g, function (character) {\n return parseInt(character, 36);\n });\n var sum = 0;\n var digit;\n var tmpNum;\n var shouldDouble = true;\n\n for (var i = checksumStr.length - 2; i >= 0; i--) {\n digit = checksumStr.substring(i, i + 1);\n tmpNum = parseInt(digit, 10);\n\n if (shouldDouble) {\n tmpNum *= 2;\n\n if (tmpNum >= 10) {\n sum += tmpNum + 1;\n } else {\n sum += tmpNum;\n }\n } else {\n sum += tmpNum;\n }\n\n shouldDouble = !shouldDouble;\n }\n\n return parseInt(str.substr(str.length - 1), 10) === (10000 - sum) % 10;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISO31661Alpha2;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _includes = _interopRequireDefault(require(\"./util/includes\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// from https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\nvar validISO31661Alpha2CountriesCodes = ['AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE', 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU', 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'RE', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WS', 'YE', 'YT', 'ZA', 'ZM', 'ZW'];\n\nfunction isISO31661Alpha2(str) {\n (0, _assertString.default)(str);\n return (0, _includes.default)(validISO31661Alpha2CountriesCodes, str.toUpperCase());\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISO31661Alpha3;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _includes = _interopRequireDefault(require(\"./util/includes\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// from https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3\nvar validISO31661Alpha3CountriesCodes = ['AFG', 'ALA', 'ALB', 'DZA', 'ASM', 'AND', 'AGO', 'AIA', 'ATA', 'ATG', 'ARG', 'ARM', 'ABW', 'AUS', 'AUT', 'AZE', 'BHS', 'BHR', 'BGD', 'BRB', 'BLR', 'BEL', 'BLZ', 'BEN', 'BMU', 'BTN', 'BOL', 'BES', 'BIH', 'BWA', 'BVT', 'BRA', 'IOT', 'BRN', 'BGR', 'BFA', 'BDI', 'KHM', 'CMR', 'CAN', 'CPV', 'CYM', 'CAF', 'TCD', 'CHL', 'CHN', 'CXR', 'CCK', 'COL', 'COM', 'COG', 'COD', 'COK', 'CRI', 'CIV', 'HRV', 'CUB', 'CUW', 'CYP', 'CZE', 'DNK', 'DJI', 'DMA', 'DOM', 'ECU', 'EGY', 'SLV', 'GNQ', 'ERI', 'EST', 'ETH', 'FLK', 'FRO', 'FJI', 'FIN', 'FRA', 'GUF', 'PYF', 'ATF', 'GAB', 'GMB', 'GEO', 'DEU', 'GHA', 'GIB', 'GRC', 'GRL', 'GRD', 'GLP', 'GUM', 'GTM', 'GGY', 'GIN', 'GNB', 'GUY', 'HTI', 'HMD', 'VAT', 'HND', 'HKG', 'HUN', 'ISL', 'IND', 'IDN', 'IRN', 'IRQ', 'IRL', 'IMN', 'ISR', 'ITA', 'JAM', 'JPN', 'JEY', 'JOR', 'KAZ', 'KEN', 'KIR', 'PRK', 'KOR', 'KWT', 'KGZ', 'LAO', 'LVA', 'LBN', 'LSO', 'LBR', 'LBY', 'LIE', 'LTU', 'LUX', 'MAC', 'MKD', 'MDG', 'MWI', 'MYS', 'MDV', 'MLI', 'MLT', 'MHL', 'MTQ', 'MRT', 'MUS', 'MYT', 'MEX', 'FSM', 'MDA', 'MCO', 'MNG', 'MNE', 'MSR', 'MAR', 'MOZ', 'MMR', 'NAM', 'NRU', 'NPL', 'NLD', 'NCL', 'NZL', 'NIC', 'NER', 'NGA', 'NIU', 'NFK', 'MNP', 'NOR', 'OMN', 'PAK', 'PLW', 'PSE', 'PAN', 'PNG', 'PRY', 'PER', 'PHL', 'PCN', 'POL', 'PRT', 'PRI', 'QAT', 'REU', 'ROU', 'RUS', 'RWA', 'BLM', 'SHN', 'KNA', 'LCA', 'MAF', 'SPM', 'VCT', 'WSM', 'SMR', 'STP', 'SAU', 'SEN', 'SRB', 'SYC', 'SLE', 'SGP', 'SXM', 'SVK', 'SVN', 'SLB', 'SOM', 'ZAF', 'SGS', 'SSD', 'ESP', 'LKA', 'SDN', 'SUR', 'SJM', 'SWZ', 'SWE', 'CHE', 'SYR', 'TWN', 'TJK', 'TZA', 'THA', 'TLS', 'TGO', 'TKL', 'TON', 'TTO', 'TUN', 'TUR', 'TKM', 'TCA', 'TUV', 'UGA', 'UKR', 'ARE', 'GBR', 'USA', 'UMI', 'URY', 'UZB', 'VUT', 'VEN', 'VNM', 'VGB', 'VIR', 'WLF', 'ESH', 'YEM', 'ZMB', 'ZWE'];\n\nfunction isISO31661Alpha3(str) {\n (0, _assertString.default)(str);\n return (0, _includes.default)(validISO31661Alpha3CountriesCodes, str.toUpperCase());\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISO8601;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* eslint-disable max-len */\n// from http://goo.gl/0ejHHW\nvar iso8601 = /^([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$/; // same as above, except with a strict 'T' separator between date and time\n\nvar iso8601StrictSeparator = /^([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$/;\n/* eslint-enable max-len */\n\nvar isValidDate = function isValidDate(str) {\n // str must have passed the ISO8601 check\n // this check is meant to catch invalid dates\n // like 2009-02-31\n // first check for ordinal dates\n var ordinalMatch = str.match(/^(\\d{4})-?(\\d{3})([ T]{1}\\.*|$)/);\n\n if (ordinalMatch) {\n var oYear = Number(ordinalMatch[1]);\n var oDay = Number(ordinalMatch[2]); // if is leap year\n\n if (oYear % 4 === 0 && oYear % 100 !== 0 || oYear % 400 === 0) return oDay <= 366;\n return oDay <= 365;\n }\n\n var match = str.match(/(\\d{4})-?(\\d{0,2})-?(\\d*)/).map(Number);\n var year = match[1];\n var month = match[2];\n var day = match[3];\n var monthString = month ? \"0\".concat(month).slice(-2) : month;\n var dayString = day ? \"0\".concat(day).slice(-2) : day; // create a date object and compare\n\n var d = new Date(\"\".concat(year, \"-\").concat(monthString || '01', \"-\").concat(dayString || '01'));\n\n if (month && day) {\n return d.getUTCFullYear() === year && d.getUTCMonth() + 1 === month && d.getUTCDate() === day;\n }\n\n return true;\n};\n\nfunction isISO8601(str) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n (0, _assertString.default)(str);\n var check = options.strictSeparator ? iso8601StrictSeparator.test(str) : iso8601.test(str);\n if (check && options.strict) return isValidDate(str);\n return check;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISRC;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// see http://isrc.ifpi.org/en/isrc-standard/code-syntax\nvar isrc = /^[A-Z]{2}[0-9A-Z]{3}\\d{2}\\d{5}$/;\n\nfunction isISRC(str) {\n (0, _assertString.default)(str);\n return isrc.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isISSN;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar issn = '^\\\\d{4}-?\\\\d{3}[\\\\dX]$';\n\nfunction isISSN(str) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n (0, _assertString.default)(str);\n var testIssn = issn;\n testIssn = options.require_hyphen ? testIssn.replace('?', '') : testIssn;\n testIssn = options.case_sensitive ? new RegExp(testIssn) : new RegExp(testIssn, 'i');\n\n if (!testIssn.test(str)) {\n return false;\n }\n\n var digits = str.replace('-', '').toUpperCase();\n var checksum = 0;\n\n for (var i = 0; i < digits.length; i++) {\n var digit = digits[i];\n checksum += (digit === 'X' ? 10 : +digit) * (8 - i);\n }\n\n return checksum % 11 === 0;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIdentityCard;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar validators = {\n ES: function ES(str) {\n (0, _assertString.default)(str);\n var DNI = /^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/;\n var charsValue = {\n X: 0,\n Y: 1,\n Z: 2\n };\n var controlDigits = ['T', 'R', 'W', 'A', 'G', 'M', 'Y', 'F', 'P', 'D', 'X', 'B', 'N', 'J', 'Z', 'S', 'Q', 'V', 'H', 'L', 'C', 'K', 'E']; // sanitize user input\n\n var sanitized = str.trim().toUpperCase(); // validate the data structure\n\n if (!DNI.test(sanitized)) {\n return false;\n } // validate the control digit\n\n\n var number = sanitized.slice(0, -1).replace(/[X,Y,Z]/g, function (char) {\n return charsValue[char];\n });\n return sanitized.endsWith(controlDigits[number % 23]);\n },\n IN: function IN(str) {\n var DNI = /^[1-9]\\d{3}\\s?\\d{4}\\s?\\d{4}$/; // multiplication table\n\n var d = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 0, 6, 7, 8, 9, 5], [2, 3, 4, 0, 1, 7, 8, 9, 5, 6], [3, 4, 0, 1, 2, 8, 9, 5, 6, 7], [4, 0, 1, 2, 3, 9, 5, 6, 7, 8], [5, 9, 8, 7, 6, 0, 4, 3, 2, 1], [6, 5, 9, 8, 7, 1, 0, 4, 3, 2], [7, 6, 5, 9, 8, 2, 1, 0, 4, 3], [8, 7, 6, 5, 9, 3, 2, 1, 0, 4], [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]]; // permutation table\n\n var p = [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 5, 7, 6, 2, 8, 3, 0, 9, 4], [5, 8, 0, 3, 7, 9, 6, 1, 4, 2], [8, 9, 1, 6, 0, 4, 3, 5, 2, 7], [9, 4, 5, 3, 1, 2, 6, 8, 7, 0], [4, 2, 8, 6, 5, 7, 3, 9, 0, 1], [2, 7, 9, 3, 8, 0, 6, 4, 1, 5], [7, 0, 4, 6, 9, 1, 3, 2, 5, 8]]; // sanitize user input\n\n var sanitized = str.trim(); // validate the data structure\n\n if (!DNI.test(sanitized)) {\n return false;\n }\n\n var c = 0;\n var invertedArray = sanitized.replace(/\\s/g, '').split('').map(Number).reverse();\n invertedArray.forEach(function (val, i) {\n c = d[c][p[i % 8][val]];\n });\n return c === 0;\n },\n IT: function IT(str) {\n if (str.length !== 9) return false;\n if (str === 'CA00000AA') return false; // https://it.wikipedia.org/wiki/Carta_d%27identit%C3%A0_elettronica_italiana\n\n return str.search(/C[A-Z][0-9]{5}[A-Z]{2}/i) > -1;\n },\n NO: function NO(str) {\n var sanitized = str.trim();\n if (isNaN(Number(sanitized))) return false;\n if (sanitized.length !== 11) return false;\n if (sanitized === '00000000000') return false; // https://no.wikipedia.org/wiki/F%C3%B8dselsnummer\n\n var f = sanitized.split('').map(Number);\n var k1 = (11 - (3 * f[0] + 7 * f[1] + 6 * f[2] + 1 * f[3] + 8 * f[4] + 9 * f[5] + 4 * f[6] + 5 * f[7] + 2 * f[8]) % 11) % 11;\n var k2 = (11 - (5 * f[0] + 4 * f[1] + 3 * f[2] + 2 * f[3] + 7 * f[4] + 6 * f[5] + 5 * f[6] + 4 * f[7] + 3 * f[8] + 2 * k1) % 11) % 11;\n if (k1 !== f[9] || k2 !== f[10]) return false;\n return true;\n },\n 'he-IL': function heIL(str) {\n var DNI = /^\\d{9}$/; // sanitize user input\n\n var sanitized = str.trim(); // validate the data structure\n\n if (!DNI.test(sanitized)) {\n return false;\n }\n\n var id = sanitized;\n var sum = 0,\n incNum;\n\n for (var i = 0; i < id.length; i++) {\n incNum = Number(id[i]) * (i % 2 + 1); // Multiply number by 1 or 2\n\n sum += incNum > 9 ? incNum - 9 : incNum; // Sum the digits up and add to total\n }\n\n return sum % 10 === 0;\n },\n 'ar-TN': function arTN(str) {\n var DNI = /^\\d{8}$/; // sanitize user input\n\n var sanitized = str.trim(); // validate the data structure\n\n if (!DNI.test(sanitized)) {\n return false;\n }\n\n return true;\n },\n 'zh-CN': function zhCN(str) {\n var provincesAndCities = ['11', // 北京\n '12', // 天津\n '13', // 河北\n '14', // 山西\n '15', // 内蒙古\n '21', // 辽宁\n '22', // 吉林\n '23', // 黑龙江\n '31', // 上海\n '32', // 江苏\n '33', // 浙江\n '34', // 安徽\n '35', // 福建\n '36', // 江西\n '37', // 山东\n '41', // 河南\n '42', // 湖北\n '43', // 湖南\n '44', // 广东\n '45', // 广西\n '46', // 海南\n '50', // 重庆\n '51', // 四川\n '52', // 贵州\n '53', // 云南\n '54', // 西藏\n '61', // 陕西\n '62', // 甘肃\n '63', // 青海\n '64', // 宁夏\n '65', // 新疆\n '71', // 台湾\n '81', // 香港\n '82', // 澳门\n '91' // 国外\n ];\n var powers = ['7', '9', '10', '5', '8', '4', '2', '1', '6', '3', '7', '9', '10', '5', '8', '4', '2'];\n var parityBit = ['1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2'];\n\n var checkAddressCode = function checkAddressCode(addressCode) {\n return provincesAndCities.includes(addressCode);\n };\n\n var checkBirthDayCode = function checkBirthDayCode(birDayCode) {\n var yyyy = parseInt(birDayCode.substring(0, 4), 10);\n var mm = parseInt(birDayCode.substring(4, 6), 10);\n var dd = parseInt(birDayCode.substring(6), 10);\n var xdata = new Date(yyyy, mm - 1, dd);\n\n if (xdata > new Date()) {\n return false; // eslint-disable-next-line max-len\n } else if (xdata.getFullYear() === yyyy && xdata.getMonth() === mm - 1 && xdata.getDate() === dd) {\n return true;\n }\n\n return false;\n };\n\n var getParityBit = function getParityBit(idCardNo) {\n var id17 = idCardNo.substring(0, 17);\n var power = 0;\n\n for (var i = 0; i < 17; i++) {\n power += parseInt(id17.charAt(i), 10) * parseInt(powers[i], 10);\n }\n\n var mod = power % 11;\n return parityBit[mod];\n };\n\n var checkParityBit = function checkParityBit(idCardNo) {\n return getParityBit(idCardNo) === idCardNo.charAt(17).toUpperCase();\n };\n\n var check15IdCardNo = function check15IdCardNo(idCardNo) {\n var check = /^[1-9]\\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\\d{3}$/.test(idCardNo);\n if (!check) return false;\n var addressCode = idCardNo.substring(0, 2);\n check = checkAddressCode(addressCode);\n if (!check) return false;\n var birDayCode = \"19\".concat(idCardNo.substring(6, 12));\n check = checkBirthDayCode(birDayCode);\n if (!check) return false;\n return true;\n };\n\n var check18IdCardNo = function check18IdCardNo(idCardNo) {\n var check = /^[1-9]\\d{5}[1-9]\\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\\d{3}(\\d|x|X)$/.test(idCardNo);\n if (!check) return false;\n var addressCode = idCardNo.substring(0, 2);\n check = checkAddressCode(addressCode);\n if (!check) return false;\n var birDayCode = idCardNo.substring(6, 14);\n check = checkBirthDayCode(birDayCode);\n if (!check) return false;\n return checkParityBit(idCardNo);\n };\n\n var checkIdCardNo = function checkIdCardNo(idCardNo) {\n var check = /^\\d{15}|(\\d{17}(\\d|x|X))$/.test(idCardNo);\n if (!check) return false;\n\n if (idCardNo.length === 15) {\n return check15IdCardNo(idCardNo);\n }\n\n return check18IdCardNo(idCardNo);\n };\n\n return checkIdCardNo(str);\n },\n 'zh-TW': function zhTW(str) {\n var ALPHABET_CODES = {\n A: 10,\n B: 11,\n C: 12,\n D: 13,\n E: 14,\n F: 15,\n G: 16,\n H: 17,\n I: 34,\n J: 18,\n K: 19,\n L: 20,\n M: 21,\n N: 22,\n O: 35,\n P: 23,\n Q: 24,\n R: 25,\n S: 26,\n T: 27,\n U: 28,\n V: 29,\n W: 32,\n X: 30,\n Y: 31,\n Z: 33\n };\n var sanitized = str.trim().toUpperCase();\n if (!/^[A-Z][0-9]{9}$/.test(sanitized)) return false;\n return Array.from(sanitized).reduce(function (sum, number, index) {\n if (index === 0) {\n var code = ALPHABET_CODES[number];\n return code % 10 * 9 + Math.floor(code / 10);\n }\n\n if (index === 9) {\n return (10 - sum % 10 - Number(number)) % 10 === 0;\n }\n\n return sum + Number(number) * (9 - index);\n }, 0);\n }\n};\n\nfunction isIdentityCard(str, locale) {\n (0, _assertString.default)(str);\n\n if (locale in validators) {\n return validators[locale](str);\n } else if (locale === 'any') {\n for (var key in validators) {\n // https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md#ignoring-code-for-coverage-purposes\n // istanbul ignore else\n if (validators.hasOwnProperty(key)) {\n var validator = validators[key];\n\n if (validator(str)) {\n return true;\n }\n }\n }\n\n return false;\n }\n\n throw new Error(\"Invalid locale '\".concat(locale, \"'\"));\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isIn;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _toString = _interopRequireDefault(require(\"./util/toString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction isIn(str, options) {\n (0, _assertString.default)(str);\n var i;\n\n if (Object.prototype.toString.call(options) === '[object Array]') {\n var array = [];\n\n for (i in options) {\n // https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md#ignoring-code-for-coverage-purposes\n // istanbul ignore else\n if ({}.hasOwnProperty.call(options, i)) {\n array[i] = (0, _toString.default)(options[i]);\n }\n }\n\n return array.indexOf(str) >= 0;\n } else if (_typeof(options) === 'object') {\n return options.hasOwnProperty(str);\n } else if (options && typeof options.indexOf === 'function') {\n return options.indexOf(str) >= 0;\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isInt;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar int = /^(?:[-+]?(?:0|[1-9][0-9]*))$/;\nvar intLeadingZeroes = /^[-+]?[0-9]+$/;\n\nfunction isInt(str, options) {\n (0, _assertString.default)(str);\n options = options || {}; // Get the regex to use for testing, based on whether\n // leading zeroes are allowed or not.\n\n var regex = options.hasOwnProperty('allow_leading_zeroes') && !options.allow_leading_zeroes ? int : intLeadingZeroes; // Check min/max/lt/gt\n\n var minCheckPassed = !options.hasOwnProperty('min') || str >= options.min;\n var maxCheckPassed = !options.hasOwnProperty('max') || str <= options.max;\n var ltCheckPassed = !options.hasOwnProperty('lt') || str < options.lt;\n var gtCheckPassed = !options.hasOwnProperty('gt') || str > options.gt;\n return regex.test(str) && minCheckPassed && maxCheckPassed && ltCheckPassed && gtCheckPassed;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isJSON;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar default_json_options = {\n allow_primitives: false\n};\n\nfunction isJSON(str, options) {\n (0, _assertString.default)(str);\n\n try {\n options = (0, _merge.default)(options, default_json_options);\n var primitives = [];\n\n if (options.allow_primitives) {\n primitives = [null, false, true];\n }\n\n var obj = JSON.parse(str);\n return primitives.includes(obj) || !!obj && _typeof(obj) === 'object';\n } catch (e) {\n /* ignore */\n }\n\n return false;\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isJWT;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _isBase = _interopRequireDefault(require(\"./isBase64\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isJWT(str) {\n (0, _assertString.default)(str);\n var dotSplit = str.split('.');\n var len = dotSplit.length;\n\n if (len > 3 || len < 2) {\n return false;\n }\n\n return dotSplit.reduce(function (acc, currElem) {\n return acc && (0, _isBase.default)(currElem, {\n urlSafe: true\n });\n }, true);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isLatLong;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nvar _merge = _interopRequireDefault(require(\"./util/merge\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar lat = /^\\(?[+-]?(90(\\.0+)?|[1-8]?\\d(\\.\\d+)?)$/;\nvar long = /^\\s?[+-]?(180(\\.0+)?|1[0-7]\\d(\\.\\d+)?|\\d{1,2}(\\.\\d+)?)\\)?$/;\nvar latDMS = /^(([1-8]?\\d)\\D+([1-5]?\\d|60)\\D+([1-5]?\\d|60)(\\.\\d+)?|90\\D+0\\D+0)\\D+[NSns]?$/i;\nvar longDMS = /^\\s*([1-7]?\\d{1,2}\\D+([1-5]?\\d|60)\\D+([1-5]?\\d|60)(\\.\\d+)?|180\\D+0\\D+0)\\D+[EWew]?$/i;\nvar defaultLatLongOptions = {\n checkDMS: false\n};\n\nfunction isLatLong(str, options) {\n (0, _assertString.default)(str);\n options = (0, _merge.default)(options, defaultLatLongOptions);\n if (!str.includes(',')) return false;\n var pair = str.split(',');\n if (pair[0].startsWith('(') && !pair[1].endsWith(')') || pair[1].endsWith(')') && !pair[0].startsWith('(')) return false;\n\n if (options.checkDMS) {\n return latDMS.test(pair[0]) && longDMS.test(pair[1]);\n }\n\n return lat.test(pair[0]) && long.test(pair[1]);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isLength;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/* eslint-disable prefer-rest-params */\nfunction isLength(str, options) {\n (0, _assertString.default)(str);\n var min;\n var max;\n\n if (_typeof(options) === 'object') {\n min = options.min || 0;\n max = options.max;\n } else {\n // backwards compatibility: isLength(str, min [, max])\n min = arguments[1] || 0;\n max = arguments[2];\n }\n\n var surrogatePairs = str.match(/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g) || [];\n var len = str.length - surrogatePairs.length;\n return len >= min && (typeof max === 'undefined' || len <= max);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isLocale;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar localeReg = /^[A-z]{2,4}([_-]([A-z]{4}|[\\d]{3}))?([_-]([A-z]{2}|[\\d]{3}))?$/;\n\nfunction isLocale(str) {\n (0, _assertString.default)(str);\n\n if (str === 'en_US_POSIX' || str === 'ca_ES_VALENCIA') {\n return true;\n }\n\n return localeReg.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isLowercase;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction isLowercase(str) {\n (0, _assertString.default)(str);\n return str === str.toLowerCase();\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMACAddress;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar macAddress = /^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/;\nvar macAddressNoColons = /^([0-9a-fA-F]){12}$/;\nvar macAddressWithHyphen = /^([0-9a-fA-F][0-9a-fA-F]-){5}([0-9a-fA-F][0-9a-fA-F])$/;\nvar macAddressWithSpaces = /^([0-9a-fA-F][0-9a-fA-F]\\s){5}([0-9a-fA-F][0-9a-fA-F])$/;\nvar macAddressWithDots = /^([0-9a-fA-F]{4}).([0-9a-fA-F]{4}).([0-9a-fA-F]{4})$/;\n\nfunction isMACAddress(str, options) {\n (0, _assertString.default)(str);\n\n if (options && options.no_colons) {\n return macAddressNoColons.test(str);\n }\n\n return macAddress.test(str) || macAddressWithHyphen.test(str) || macAddressWithSpaces.test(str) || macAddressWithDots.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMD5;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar md5 = /^[a-f0-9]{32}$/;\n\nfunction isMD5(str) {\n (0, _assertString.default)(str);\n return md5.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMagnetURI;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar magnetURI = /^magnet:\\?xt=urn:[a-z0-9]+:[a-z0-9]{32,40}&dn=.+&tr=.+$/i;\n\nfunction isMagnetURI(url) {\n (0, _assertString.default)(url);\n return magnetURI.test(url.trim());\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMimeType;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/*\n Checks if the provided string matches to a correct Media type format (MIME type)\n\n This function only checks is the string format follows the\n etablished rules by the according RFC specifications.\n This function supports 'charset' in textual media types\n (https://tools.ietf.org/html/rfc6657).\n\n This function does not check against all the media types listed\n by the IANA (https://www.iana.org/assignments/media-types/media-types.xhtml)\n because of lightness purposes : it would require to include\n all these MIME types in this librairy, which would weigh it\n significantly. This kind of effort maybe is not worth for the use that\n this function has in this entire librairy.\n\n More informations in the RFC specifications :\n - https://tools.ietf.org/html/rfc2045\n - https://tools.ietf.org/html/rfc2046\n - https://tools.ietf.org/html/rfc7231#section-3.1.1.1\n - https://tools.ietf.org/html/rfc7231#section-3.1.1.5\n*/\n// Match simple MIME types\n// NB :\n// Subtype length must not exceed 100 characters.\n// This rule does not comply to the RFC specs (what is the max length ?).\nvar mimeTypeSimple = /^(application|audio|font|image|message|model|multipart|text|video)\\/[a-zA-Z0-9\\.\\-\\+]{1,100}$/i; // eslint-disable-line max-len\n// Handle \"charset\" in \"text/*\"\n\nvar mimeTypeText = /^text\\/[a-zA-Z0-9\\.\\-\\+]{1,100};\\s?charset=(\"[a-zA-Z0-9\\.\\-\\+\\s]{0,70}\"|[a-zA-Z0-9\\.\\-\\+]{0,70})(\\s?\\([a-zA-Z0-9\\.\\-\\+\\s]{1,20}\\))?$/i; // eslint-disable-line max-len\n// Handle \"boundary\" in \"multipart/*\"\n\nvar mimeTypeMultipart = /^multipart\\/[a-zA-Z0-9\\.\\-\\+]{1,100}(;\\s?(boundary|charset)=(\"[a-zA-Z0-9\\.\\-\\+\\s]{0,70}\"|[a-zA-Z0-9\\.\\-\\+]{0,70})(\\s?\\([a-zA-Z0-9\\.\\-\\+\\s]{1,20}\\))?){0,2}$/i; // eslint-disable-line max-len\n\nfunction isMimeType(str) {\n (0, _assertString.default)(str);\n return mimeTypeSimple.test(str) || mimeTypeText.test(str) || mimeTypeMultipart.test(str);\n}\n\nmodule.exports = exports.default;\nmodule.exports.default = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isMobilePhone;\nexports.locales = void 0;\n\nvar _assertString = _interopRequireDefault(require(\"./util/assertString\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule
|
|