From 06931d4c37e81e7287cea174c8fa89837becb139 Mon Sep 17 00:00:00 2001 From: Alexis Horde Date: Wed, 11 Sep 2024 10:45:04 +0200 Subject: [PATCH] =?UTF-8?q?Update=20buildCqlFilter.js=20multi=20crit=C3=A8?= =?UTF-8?q?res?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/geoportal-wfs-client.js | 1102 +++++++++++++++++------------- dist/geoportal-wfs-client.min.js | 10 +- src/internal/buildCqlFilter.js | 25 +- 3 files changed, 631 insertions(+), 506 deletions(-) diff --git a/dist/geoportal-wfs-client.js b/dist/geoportal-wfs-client.js index 8f46e36..2c8efed 100644 --- a/dist/geoportal-wfs-client.js +++ b/dist/geoportal-wfs-client.js @@ -11,7 +11,7 @@ return /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 2167: +/***/ 4582: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -222,15 +222,15 @@ exports.NAMESPACE = NAMESPACE; /***/ }), -/***/ 6129: +/***/ 5752: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { var __webpack_unused_export__; -/* provided dependency */ var console = __webpack_require__(5108); -var conventions = __webpack_require__(2167); -var dom = __webpack_require__(1146) -var entities = __webpack_require__(1045); -var sax = __webpack_require__(6925); +/* provided dependency */ var console = __webpack_require__(6763); +var conventions = __webpack_require__(4582); +var dom = __webpack_require__(4722) +var entities = __webpack_require__(6559); +var sax = __webpack_require__(4466); var DOMImplementation = dom.DOMImplementation; @@ -553,11 +553,11 @@ exports.DOMParser = DOMParser; /***/ }), -/***/ 1146: +/***/ 4722: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { -/* provided dependency */ var console = __webpack_require__(5108); -var conventions = __webpack_require__(2167); +/* provided dependency */ var console = __webpack_require__(6763); +var conventions = __webpack_require__(4582); var find = conventions.find; var NAMESPACE = conventions.NAMESPACE; @@ -2401,13 +2401,13 @@ try{ /***/ }), -/***/ 1045: +/***/ 6559: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; -var freeze = (__webpack_require__(2167).freeze); +var freeze = (__webpack_require__(4582).freeze); /** * The entities that are predefined in every XML document. @@ -4575,22 +4575,22 @@ exports.entityMap = exports.HTML_ENTITIES; /***/ }), -/***/ 3969: +/***/ 8978: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { var __webpack_unused_export__; -var dom = __webpack_require__(1146) +var dom = __webpack_require__(4722) __webpack_unused_export__ = dom.DOMImplementation __webpack_unused_export__ = dom.XMLSerializer -exports.DOMParser = __webpack_require__(6129).DOMParser +exports.DOMParser = __webpack_require__(5752).DOMParser /***/ }), -/***/ 6925: +/***/ 4466: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { -var NAMESPACE = (__webpack_require__(2167).NAMESPACE); +var NAMESPACE = (__webpack_require__(4582).NAMESPACE); //[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF] //[4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040] @@ -5256,11 +5256,11 @@ exports.ParseError = ParseError; /***/ }), -/***/ 3701: +/***/ 544: /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; -/* provided dependency */ var Buffer = __webpack_require__(8764)["Buffer"]; +/* provided dependency */ var Buffer = __webpack_require__(8287)["Buffer"]; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; @@ -5287,8 +5287,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.req = exports.json = exports.toBuffer = void 0; -const http = __importStar(__webpack_require__(8501)); -const https = __importStar(__webpack_require__(9267)); +const http = __importStar(__webpack_require__(1568)); +const https = __importStar(__webpack_require__(1083)); async function toBuffer(stream) { let length = 0; const chunks = []; @@ -5330,7 +5330,7 @@ exports.req = req; /***/ }), -/***/ 2917: +/***/ 917: /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; @@ -5363,8 +5363,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.Agent = void 0; -const http = __importStar(__webpack_require__(8501)); -__exportStar(__webpack_require__(3701), exports); +const http = __importStar(__webpack_require__(1568)); +__exportStar(__webpack_require__(544), exports); const INTERNAL = Symbol('AgentBaseInternalState'); class Agent extends http.Agent { constructor(opts) { @@ -5449,12 +5449,12 @@ exports.Agent = Agent; /***/ }), -/***/ 9282: +/***/ 4148: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -/* provided dependency */ var process = __webpack_require__(4155); -/* provided dependency */ var console = __webpack_require__(5108); +/* provided dependency */ var process = __webpack_require__(5606); +/* provided dependency */ var console = __webpack_require__(6763); // Currently in sync with Node.js lib/assert.js // https://github.com/nodejs/node/commit/2a51ae424a513ec9a6aa3466baa0cc1d55dd4f3b @@ -5486,22 +5486,22 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -var _require = __webpack_require__(2136), +var _require = __webpack_require__(9597), _require$codes = _require.codes, ERR_AMBIGUOUS_ARGUMENT = _require$codes.ERR_AMBIGUOUS_ARGUMENT, ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, ERR_INVALID_ARG_VALUE = _require$codes.ERR_INVALID_ARG_VALUE, ERR_INVALID_RETURN_VALUE = _require$codes.ERR_INVALID_RETURN_VALUE, ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS; -var AssertionError = __webpack_require__(5961); -var _require2 = __webpack_require__(9539), +var AssertionError = __webpack_require__(3918); +var _require2 = __webpack_require__(537), inspect = _require2.inspect; -var _require$types = (__webpack_require__(9539).types), +var _require$types = (__webpack_require__(537).types), isPromise = _require$types.isPromise, isRegExp = _require$types.isRegExp; -var objectAssign = __webpack_require__(8162)(); -var objectIs = __webpack_require__(5624)(); -var RegExpPrototypeTest = __webpack_require__(1924)('RegExp.prototype.test'); +var objectAssign = __webpack_require__(1514)(); +var objectIs = __webpack_require__(9394)(); +var RegExpPrototypeTest = __webpack_require__(8075)('RegExp.prototype.test'); var errorCache = new Map(); var isDeepEqual; var isDeepStrictEqual; @@ -5509,7 +5509,7 @@ var parseExpressionAt; var findNodeAround; var decoder; function lazyLoadComparison() { - var comparison = __webpack_require__(9158); + var comparison = __webpack_require__(2299); isDeepEqual = comparison.isDeepEqual; isDeepStrictEqual = comparison.isDeepStrictEqual; } @@ -6048,11 +6048,11 @@ assert.strict.strict = assert.strict; /***/ }), -/***/ 5961: +/***/ 3918: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -/* provided dependency */ var process = __webpack_require__(4155); +/* provided dependency */ var process = __webpack_require__(5606); // Currently in sync with Node.js lib/internal/assert/assertion_error.js // https://github.com/nodejs/node/commit/0817840f775032169ddd70c85ac059f18ffcc81c @@ -6077,9 +6077,9 @@ function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[nat function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } -var _require = __webpack_require__(9539), +var _require = __webpack_require__(537), inspect = _require.inspect; -var _require2 = __webpack_require__(2136), +var _require2 = __webpack_require__(9597), ERR_INVALID_ARG_TYPE = _require2.codes.ERR_INVALID_ARG_TYPE; // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith @@ -6501,7 +6501,7 @@ module.exports = AssertionError; /***/ }), -/***/ 2136: +/***/ 9597: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -6608,7 +6608,7 @@ function includes(str, search, start) { } createErrorType('ERR_AMBIGUOUS_ARGUMENT', 'The "%s" argument is ambiguous. %s', TypeError); createErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) { - if (assert === undefined) assert = __webpack_require__(9282); + if (assert === undefined) assert = __webpack_require__(4148); assert(typeof name === 'string', "'name' must be a string"); // determiner: 'must be' or 'must not be' @@ -6634,7 +6634,7 @@ createErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) { }, TypeError); createErrorType('ERR_INVALID_ARG_VALUE', function (name, value) { var reason = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'is invalid'; - if (util === undefined) util = __webpack_require__(9539); + if (util === undefined) util = __webpack_require__(537); var inspected = util.inspect(value); if (inspected.length > 128) { inspected = "".concat(inspected.slice(0, 128), "..."); @@ -6654,7 +6654,7 @@ createErrorType('ERR_MISSING_ARGS', function () { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } - if (assert === undefined) assert = __webpack_require__(9282); + if (assert === undefined) assert = __webpack_require__(4148); assert(args.length > 0, 'At least one arg needs to be specified'); var msg = 'The '; var len = args.length; @@ -6679,7 +6679,7 @@ module.exports.codes = codes; /***/ }), -/***/ 9158: +/***/ 2299: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -6710,18 +6710,18 @@ var arrayFromMap = function arrayFromMap(map) { }); return array; }; -var objectIs = Object.is ? Object.is : __webpack_require__(609); +var objectIs = Object.is ? Object.is : __webpack_require__(7653); var objectGetOwnPropertySymbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols : function () { return []; }; -var numberIsNaN = Number.isNaN ? Number.isNaN : __webpack_require__(360); +var numberIsNaN = Number.isNaN ? Number.isNaN : __webpack_require__(4133); function uncurryThis(f) { return f.call.bind(f); } var hasOwnProperty = uncurryThis(Object.prototype.hasOwnProperty); var propertyIsEnumerable = uncurryThis(Object.prototype.propertyIsEnumerable); var objectToString = uncurryThis(Object.prototype.toString); -var _require$types = (__webpack_require__(9539).types), +var _require$types = (__webpack_require__(537).types), isAnyArrayBuffer = _require$types.isAnyArrayBuffer, isArrayBufferView = _require$types.isArrayBufferView, isDate = _require$types.isDate, @@ -7261,7 +7261,7 @@ module.exports = { /***/ }), -/***/ 9742: +/***/ 7526: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -7419,11 +7419,11 @@ function fromByteArray (uint8) { /***/ }), -/***/ 8764: +/***/ 8287: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; -/* provided dependency */ var console = __webpack_require__(5108); +/* provided dependency */ var console = __webpack_require__(6763); /*! * The buffer module from node.js, for the browser. * @@ -7434,8 +7434,8 @@ function fromByteArray (uint8) { -const base64 = __webpack_require__(9742) -const ieee754 = __webpack_require__(645) +const base64 = __webpack_require__(7526) +const ieee754 = __webpack_require__(251) const customInspectSymbol = (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation @@ -9534,7 +9534,7 @@ function BufferBigIntNotDefined () { /***/ }), -/***/ 584: +/***/ 6866: /***/ ((module) => { module.exports = { @@ -9605,15 +9605,15 @@ module.exports = { /***/ }), -/***/ 1924: +/***/ 8075: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var GetIntrinsic = __webpack_require__(210); +var GetIntrinsic = __webpack_require__(453); -var callBind = __webpack_require__(5559); +var callBind = __webpack_require__(487); var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); @@ -9628,15 +9628,15 @@ module.exports = function callBoundIntrinsic(name, allowMissing) { /***/ }), -/***/ 5559: +/***/ 487: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var bind = __webpack_require__(8612); -var GetIntrinsic = __webpack_require__(210); -var setFunctionLength = __webpack_require__(7771); +var bind = __webpack_require__(6743); +var GetIntrinsic = __webpack_require__(453); +var setFunctionLength = __webpack_require__(6897); var $TypeError = GetIntrinsic('%TypeError%'); var $apply = GetIntrinsic('%Function.prototype.apply%'); @@ -9680,12 +9680,12 @@ if ($defineProperty) { /***/ }), -/***/ 5108: +/***/ 6763: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { /*global window, global*/ -var util = __webpack_require__(9539) -var assert = __webpack_require__(9282) +var util = __webpack_require__(537) +var assert = __webpack_require__(4148) function now() { return new Date().getTime() } var slice = Array.prototype.slice @@ -9774,11 +9774,11 @@ function consoleAssert(expression) { /***/ }), -/***/ 1227: +/***/ 7833: /***/ ((module, exports, __webpack_require__) => { -/* provided dependency */ var console = __webpack_require__(5108); -/* provided dependency */ var process = __webpack_require__(4155); +/* provided dependency */ var console = __webpack_require__(6763); +/* provided dependency */ var process = __webpack_require__(5606); /* eslint-env browser */ /** @@ -10033,7 +10033,7 @@ function localstorage() { } } -module.exports = __webpack_require__(2447)(exports); +module.exports = __webpack_require__(736)(exports); const {formatters} = module.exports; @@ -10052,10 +10052,10 @@ formatters.j = function (v) { /***/ }), -/***/ 2447: +/***/ 736: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/* provided dependency */ var console = __webpack_require__(5108); +/* provided dependency */ var console = __webpack_require__(6763); /** * This is the common logic for both the Node.js and web browser @@ -10069,7 +10069,7 @@ function setup(env) { createDebug.disable = disable; createDebug.enable = enable; createDebug.enabled = enabled; - createDebug.humanize = __webpack_require__(7824); + createDebug.humanize = __webpack_require__(6585); createDebug.destroy = destroy; Object.keys(env).forEach(key => { @@ -10334,15 +10334,15 @@ module.exports = setup; /***/ }), -/***/ 2296: +/***/ 41: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var hasPropertyDescriptors = __webpack_require__(1044)(); +var hasPropertyDescriptors = __webpack_require__(592)(); -var GetIntrinsic = __webpack_require__(210); +var GetIntrinsic = __webpack_require__(453); var $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true); if ($defineProperty) { @@ -10357,7 +10357,7 @@ if ($defineProperty) { var $SyntaxError = GetIntrinsic('%SyntaxError%'); var $TypeError = GetIntrinsic('%TypeError%'); -var gopd = __webpack_require__(7296); +var gopd = __webpack_require__(5795); /** @type {(obj: Record, property: PropertyKey, value: unknown, nonEnumerable?: boolean | null, nonWritable?: boolean | null, nonConfigurable?: boolean | null, loose?: boolean) => void} */ module.exports = function defineDataProperty( @@ -10410,13 +10410,13 @@ module.exports = function defineDataProperty( /***/ }), -/***/ 4289: +/***/ 8452: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var keys = __webpack_require__(2215); +var keys = __webpack_require__(1189); var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; var toStr = Object.prototype.toString; @@ -10427,7 +10427,7 @@ var isFunction = function (fn) { return typeof fn === 'function' && toStr.call(fn) === '[object Function]'; }; -var hasPropertyDescriptors = __webpack_require__(1044)(); +var hasPropertyDescriptors = __webpack_require__(592)(); var supportsDescriptors = origDefineProperty && hasPropertyDescriptors; @@ -10465,11 +10465,11 @@ module.exports = defineProperties; /***/ }), -/***/ 7187: +/***/ 7007: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -/* provided dependency */ var console = __webpack_require__(5108); +/* provided dependency */ var console = __webpack_require__(6763); // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -10971,13 +10971,13 @@ function eventTargetAgnosticAddListener(emitter, name, listener, flags) { /***/ }), -/***/ 4029: +/***/ 2682: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var isCallable = __webpack_require__(5320); +var isCallable = __webpack_require__(9600); var toStr = Object.prototype.toString; var hasOwnProperty = Object.prototype.hasOwnProperty; @@ -11041,7 +11041,7 @@ module.exports = forEach; /***/ }), -/***/ 7648: +/***/ 9353: /***/ ((module) => { "use strict"; @@ -11133,20 +11133,20 @@ module.exports = function bind(that) { /***/ }), -/***/ 8612: +/***/ 6743: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var implementation = __webpack_require__(7648); +var implementation = __webpack_require__(9353); module.exports = Function.prototype.bind || implementation; /***/ }), -/***/ 210: +/***/ 453: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -11194,8 +11194,8 @@ var ThrowTypeError = $gOPD }()) : throwTypeError; -var hasSymbols = __webpack_require__(1405)(); -var hasProto = __webpack_require__(8185)(); +var hasSymbols = __webpack_require__(4039)(); +var hasProto = __webpack_require__(24)(); var getProto = Object.getPrototypeOf || ( hasProto @@ -11365,8 +11365,8 @@ var LEGACY_ALIASES = { '%WeakSetPrototype%': ['WeakSet', 'prototype'] }; -var bind = __webpack_require__(8612); -var hasOwn = __webpack_require__(8824); +var bind = __webpack_require__(6743); +var hasOwn = __webpack_require__(9957); var $concat = bind.call(Function.call, Array.prototype.concat); var $spliceApply = bind.call(Function.apply, Array.prototype.splice); var $replace = bind.call(Function.call, String.prototype.replace); @@ -11505,13 +11505,13 @@ module.exports = function GetIntrinsic(name, allowMissing) { /***/ }), -/***/ 7296: +/***/ 5795: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var GetIntrinsic = __webpack_require__(210); +var GetIntrinsic = __webpack_require__(453); var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); @@ -11529,13 +11529,13 @@ module.exports = $gOPD; /***/ }), -/***/ 1044: +/***/ 592: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var GetIntrinsic = __webpack_require__(210); +var GetIntrinsic = __webpack_require__(453); var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); @@ -11570,7 +11570,7 @@ module.exports = hasPropertyDescriptors; /***/ }), -/***/ 8185: +/***/ 24: /***/ ((module) => { "use strict"; @@ -11589,14 +11589,14 @@ module.exports = function hasProto() { /***/ }), -/***/ 1405: +/***/ 4039: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var origSymbol = typeof Symbol !== 'undefined' && Symbol; -var hasSymbolSham = __webpack_require__(5419); +var hasSymbolSham = __webpack_require__(1333); module.exports = function hasNativeSymbols() { if (typeof origSymbol !== 'function') { return false; } @@ -11610,7 +11610,7 @@ module.exports = function hasNativeSymbols() { /***/ }), -/***/ 5419: +/***/ 1333: /***/ ((module) => { "use strict"; @@ -11660,13 +11660,13 @@ module.exports = function hasSymbols() { /***/ }), -/***/ 6410: +/***/ 9092: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var hasSymbols = __webpack_require__(5419); +var hasSymbols = __webpack_require__(1333); module.exports = function hasToStringTagShams() { return hasSymbols() && !!Symbol.toStringTag; @@ -11675,7 +11675,7 @@ module.exports = function hasToStringTagShams() { /***/ }), -/***/ 8824: +/***/ 9957: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -11683,7 +11683,7 @@ module.exports = function hasToStringTagShams() { var call = Function.prototype.call; var $hasOwn = Object.prototype.hasOwnProperty; -var bind = __webpack_require__(8612); +var bind = __webpack_require__(6743); /** @type {(o: {}, p: PropertyKey) => p is keyof o} */ module.exports = bind.call(call, $hasOwn); @@ -11691,11 +11691,11 @@ module.exports = bind.call(call, $hasOwn); /***/ }), -/***/ 9201: +/***/ 6645: /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; -/* provided dependency */ var Buffer = __webpack_require__(8764)["Buffer"]; +/* provided dependency */ var Buffer = __webpack_require__(8287)["Buffer"]; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; @@ -11725,11 +11725,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.HttpProxyAgent = void 0; -const net = __importStar(__webpack_require__(5456)); -const tls = __importStar(__webpack_require__(8760)); -const debug_1 = __importDefault(__webpack_require__(1227)); -const events_1 = __webpack_require__(7187); -const agent_base_1 = __webpack_require__(2917); +const net = __importStar(__webpack_require__(1320)); +const tls = __importStar(__webpack_require__(2150)); +const debug_1 = __importDefault(__webpack_require__(7833)); +const events_1 = __webpack_require__(7007); +const agent_base_1 = __webpack_require__(917); const debug = (0, debug_1.default)('http-proxy-agent'); /** * The `HttpProxyAgent` implements an HTTP Agent subclass that connects @@ -11846,11 +11846,11 @@ function omit(obj, ...keys) { /***/ }), -/***/ 9267: +/***/ 1083: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var http = __webpack_require__(8501) -var url = __webpack_require__(8575) +var http = __webpack_require__(1568) +var url = __webpack_require__(8835) var https = module.exports @@ -11884,11 +11884,11 @@ function validateParams (params) { /***/ }), -/***/ 6018: +/***/ 2288: /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; -/* provided dependency */ var Buffer = __webpack_require__(8764)["Buffer"]; +/* provided dependency */ var Buffer = __webpack_require__(8287)["Buffer"]; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; @@ -11918,12 +11918,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.HttpsProxyAgent = void 0; -const net = __importStar(__webpack_require__(5456)); -const tls = __importStar(__webpack_require__(8760)); -const assert_1 = __importDefault(__webpack_require__(9282)); -const debug_1 = __importDefault(__webpack_require__(1227)); -const agent_base_1 = __webpack_require__(2917); -const parse_proxy_response_1 = __webpack_require__(9829); +const net = __importStar(__webpack_require__(1320)); +const tls = __importStar(__webpack_require__(2150)); +const assert_1 = __importDefault(__webpack_require__(4148)); +const debug_1 = __importDefault(__webpack_require__(7833)); +const agent_base_1 = __webpack_require__(917); +const parse_proxy_response_1 = __webpack_require__(3868); const debug = (0, debug_1.default)('https-proxy-agent'); /** * The `HttpsProxyAgent` implements an HTTP Agent subclass that connects to @@ -12066,18 +12066,18 @@ function omit(obj, ...keys) { /***/ }), -/***/ 9829: +/***/ 3868: /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; -/* provided dependency */ var Buffer = __webpack_require__(8764)["Buffer"]; +/* provided dependency */ var Buffer = __webpack_require__(8287)["Buffer"]; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.parseProxyResponse = void 0; -const debug_1 = __importDefault(__webpack_require__(1227)); +const debug_1 = __importDefault(__webpack_require__(7833)); const debug = (0, debug_1.default)('https-proxy-agent:parse-proxy-response'); function parseProxyResponse(socket) { return new Promise((resolve, reject) => { @@ -12175,7 +12175,7 @@ exports.parseProxyResponse = parseProxyResponse; /***/ }), -/***/ 645: +/***/ 251: /***/ ((__unused_webpack_module, exports) => { /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ @@ -12267,7 +12267,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { /***/ }), -/***/ 5717: +/***/ 6698: /***/ ((module) => { if (typeof Object.create === 'function') { @@ -12301,14 +12301,14 @@ if (typeof Object.create === 'function') { /***/ }), -/***/ 2584: +/***/ 7244: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var hasToStringTag = __webpack_require__(6410)(); -var callBound = __webpack_require__(1924); +var hasToStringTag = __webpack_require__(9092)(); +var callBound = __webpack_require__(8075); var $toString = callBound('Object.prototype.toString'); @@ -12342,7 +12342,7 @@ module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArgum /***/ }), -/***/ 5320: +/***/ 9600: /***/ ((module) => { "use strict"; @@ -12451,7 +12451,7 @@ module.exports = reflectApply /***/ }), -/***/ 8662: +/***/ 8184: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -12460,7 +12460,7 @@ module.exports = reflectApply var toStr = Object.prototype.toString; var fnToStr = Function.prototype.toString; var isFnRegex = /^\s*(?:function)?\*/; -var hasToStringTag = __webpack_require__(6410)(); +var hasToStringTag = __webpack_require__(9092)(); var getProto = Object.getPrototypeOf; var getGeneratorFunc = function () { // eslint-disable-line consistent-return if (!hasToStringTag) { @@ -12497,7 +12497,7 @@ module.exports = function isGeneratorFunction(fn) { /***/ }), -/***/ 8611: +/***/ 3003: /***/ ((module) => { "use strict"; @@ -12512,18 +12512,18 @@ module.exports = function isNaN(value) { /***/ }), -/***/ 360: +/***/ 4133: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var callBind = __webpack_require__(5559); -var define = __webpack_require__(4289); +var callBind = __webpack_require__(487); +var define = __webpack_require__(8452); -var implementation = __webpack_require__(8611); -var getPolyfill = __webpack_require__(9415); -var shim = __webpack_require__(3194); +var implementation = __webpack_require__(3003); +var getPolyfill = __webpack_require__(6642); +var shim = __webpack_require__(2464); var polyfill = callBind(getPolyfill(), Number); @@ -12540,13 +12540,13 @@ module.exports = polyfill; /***/ }), -/***/ 9415: +/***/ 6642: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var implementation = __webpack_require__(8611); +var implementation = __webpack_require__(3003); module.exports = function getPolyfill() { if (Number.isNaN && Number.isNaN(NaN) && !Number.isNaN('a')) { @@ -12558,14 +12558,14 @@ module.exports = function getPolyfill() { /***/ }), -/***/ 3194: +/***/ 2464: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var define = __webpack_require__(4289); -var getPolyfill = __webpack_require__(9415); +var define = __webpack_require__(8452); +var getPolyfill = __webpack_require__(6642); /* http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan */ @@ -12582,13 +12582,13 @@ module.exports = function shimNumberIsNaN() { /***/ }), -/***/ 5692: +/***/ 5680: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var whichTypedArray = __webpack_require__(6430); +var whichTypedArray = __webpack_require__(5767); module.exports = function isTypedArray(value) { return !!whichTypedArray(value); @@ -12597,7 +12597,7 @@ module.exports = function isTypedArray(value) { /***/ }), -/***/ 7824: +/***/ 6585: /***/ ((module) => { /** @@ -12766,7 +12766,7 @@ function plural(ms, msAbs, n, name) { /***/ }), -/***/ 5456: +/***/ 1320: /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { /* @@ -12793,7 +12793,7 @@ IN THE SOFTWARE. // yes, I know this seems stupid, but I have my reasons. -var net = __webpack_require__(5456) +var net = __webpack_require__(1320) for(k in net) __webpack_require__.g[k] = net[k] @@ -12801,7 +12801,7 @@ for(k in net) /***/ }), -/***/ 631: +/***/ 8859: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var hasMap = typeof Map === 'function' && Map.prototype; @@ -12871,7 +12871,7 @@ function addNumericSeparator(num, str) { return $replace.call(str, sepRegex, '$&_'); } -var utilInspect = __webpack_require__(4654); +var utilInspect = __webpack_require__(2634); var inspectCustom = utilInspect.custom; var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null; @@ -13332,7 +13332,7 @@ function arrObjKeys(obj, inspect) { /***/ }), -/***/ 4244: +/***/ 9211: /***/ ((module) => { "use strict"; @@ -13359,18 +13359,18 @@ module.exports = function is(a, b) { /***/ }), -/***/ 609: +/***/ 7653: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var define = __webpack_require__(4289); -var callBind = __webpack_require__(5559); +var define = __webpack_require__(8452); +var callBind = __webpack_require__(487); -var implementation = __webpack_require__(4244); -var getPolyfill = __webpack_require__(5624); -var shim = __webpack_require__(2281); +var implementation = __webpack_require__(9211); +var getPolyfill = __webpack_require__(9394); +var shim = __webpack_require__(6576); var polyfill = callBind(getPolyfill(), Object); @@ -13385,13 +13385,13 @@ module.exports = polyfill; /***/ }), -/***/ 5624: +/***/ 9394: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var implementation = __webpack_require__(4244); +var implementation = __webpack_require__(9211); module.exports = function getPolyfill() { return typeof Object.is === 'function' ? Object.is : implementation; @@ -13400,14 +13400,14 @@ module.exports = function getPolyfill() { /***/ }), -/***/ 2281: +/***/ 6576: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var getPolyfill = __webpack_require__(5624); -var define = __webpack_require__(4289); +var getPolyfill = __webpack_require__(9394); +var define = __webpack_require__(8452); module.exports = function shimObjectIs() { var polyfill = getPolyfill(); @@ -13422,7 +13422,7 @@ module.exports = function shimObjectIs() { /***/ }), -/***/ 8987: +/***/ 8875: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -13433,7 +13433,7 @@ if (!Object.keys) { // modified from https://github.com/es-shims/es5-shim var has = Object.prototype.hasOwnProperty; var toStr = Object.prototype.toString; - var isArgs = __webpack_require__(1414); // eslint-disable-line global-require + var isArgs = __webpack_require__(1093); // eslint-disable-line global-require var isEnumerable = Object.prototype.propertyIsEnumerable; var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); @@ -13552,17 +13552,17 @@ module.exports = keysShim; /***/ }), -/***/ 2215: +/***/ 1189: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var slice = Array.prototype.slice; -var isArgs = __webpack_require__(1414); +var isArgs = __webpack_require__(1093); var origKeys = Object.keys; -var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(8987); +var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(8875); var originalKeys = Object.keys; @@ -13592,7 +13592,7 @@ module.exports = keysShim; /***/ }), -/***/ 1414: +/***/ 1093: /***/ ((module) => { "use strict"; @@ -13617,16 +13617,16 @@ module.exports = function isArguments(value) { /***/ }), -/***/ 2837: +/***/ 8403: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; // modified from https://github.com/es-shims/es6-shim -var objectKeys = __webpack_require__(2215); -var hasSymbols = __webpack_require__(5419)(); -var callBound = __webpack_require__(1924); +var objectKeys = __webpack_require__(1189); +var hasSymbols = __webpack_require__(1333)(); +var callBound = __webpack_require__(8075); var toObject = Object; var $push = callBound('Array.prototype.push'); var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable'); @@ -13671,13 +13671,13 @@ module.exports = function assign(target, source1) { /***/ }), -/***/ 8162: +/***/ 1514: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var implementation = __webpack_require__(2837); +var implementation = __webpack_require__(8403); var lacksProperEnumerationOrder = function () { if (!Object.assign) { @@ -13734,7 +13734,7 @@ module.exports = function getPolyfill() { /***/ }), -/***/ 4155: +/***/ 5606: /***/ ((module) => { // shim for using process in browser @@ -13925,12 +13925,12 @@ process.umask = function() { return 0; }; /***/ }), -/***/ 9509: +/***/ 2861: /***/ ((module, exports, __webpack_require__) => { /*! safe-buffer. MIT License. Feross Aboukhadijeh */ /* eslint-disable node/no-deprecated-api */ -var buffer = __webpack_require__(8764) +var buffer = __webpack_require__(8287) var Buffer = buffer.Buffer // alternative to using Object.keys for old browsers @@ -13997,16 +13997,16 @@ SafeBuffer.allocUnsafeSlow = function (size) { /***/ }), -/***/ 7771: +/***/ 6897: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var GetIntrinsic = __webpack_require__(210); -var define = __webpack_require__(2296); -var hasDescriptors = __webpack_require__(1044)(); -var gOPD = __webpack_require__(7296); +var GetIntrinsic = __webpack_require__(453); +var define = __webpack_require__(41); +var hasDescriptors = __webpack_require__(592)(); +var gOPD = __webpack_require__(5795); var $TypeError = GetIntrinsic('%TypeError%'); var $floor = GetIntrinsic('%Math.floor%'); @@ -14046,15 +14046,15 @@ module.exports = function setFunctionLength(fn, length) { /***/ }), -/***/ 7478: +/***/ 920: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var GetIntrinsic = __webpack_require__(210); -var callBound = __webpack_require__(1924); -var inspect = __webpack_require__(631); +var GetIntrinsic = __webpack_require__(453); +var callBound = __webpack_require__(8075); +var inspect = __webpack_require__(8859); var $TypeError = GetIntrinsic('%TypeError%'); var $WeakMap = GetIntrinsic('%WeakMap%', true); @@ -14178,14 +14178,14 @@ module.exports = function getSideChannel() { /***/ }), -/***/ 8501: +/***/ 1568: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { -var ClientRequest = __webpack_require__(1989) -var response = __webpack_require__(5676) -var extend = __webpack_require__(7529) -var statusCodes = __webpack_require__(584) -var url = __webpack_require__(8575) +var ClientRequest = __webpack_require__(5537) +var response = __webpack_require__(6917) +var extend = __webpack_require__(7510) +var statusCodes = __webpack_require__(6866) +var url = __webpack_require__(8835) var http = exports @@ -14269,7 +14269,7 @@ http.METHODS = [ /***/ }), -/***/ 8725: +/***/ 6688: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { exports.fetch = isFunction(__webpack_require__.g.fetch) && isFunction(__webpack_require__.g.ReadableStream) @@ -14335,15 +14335,15 @@ xhr = null // Help gc /***/ }), -/***/ 1989: +/***/ 5537: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/* provided dependency */ var Buffer = __webpack_require__(8764)["Buffer"]; -/* provided dependency */ var process = __webpack_require__(4155); -var capability = __webpack_require__(8725) -var inherits = __webpack_require__(5717) -var response = __webpack_require__(5676) -var stream = __webpack_require__(925) +/* provided dependency */ var Buffer = __webpack_require__(8287)["Buffer"]; +/* provided dependency */ var process = __webpack_require__(5606); +var capability = __webpack_require__(6688) +var inherits = __webpack_require__(6698) +var response = __webpack_require__(6917) +var stream = __webpack_require__(3242) var IncomingMessage = response.IncomingMessage var rStates = response.readyStates @@ -14696,14 +14696,14 @@ var unsafeHeaders = [ /***/ }), -/***/ 5676: +/***/ 6917: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { -/* provided dependency */ var process = __webpack_require__(4155); -/* provided dependency */ var Buffer = __webpack_require__(8764)["Buffer"]; -var capability = __webpack_require__(8725) -var inherits = __webpack_require__(5717) -var stream = __webpack_require__(925) +/* provided dependency */ var process = __webpack_require__(5606); +/* provided dependency */ var Buffer = __webpack_require__(8287)["Buffer"]; +var capability = __webpack_require__(6688) +var inherits = __webpack_require__(6698) +var stream = __webpack_require__(3242) var rStates = exports.readyStates = { UNSENT: 0, @@ -14916,7 +14916,7 @@ IncomingMessage.prototype._onXHRProgress = function (resetTimers) { /***/ }), -/***/ 7303: +/***/ 3157: /***/ ((module) => { "use strict"; @@ -15046,16 +15046,16 @@ createErrorType('ERR_UNKNOWN_ENCODING', function (arg) { return 'Unknown encoding: ' + arg; }, TypeError); createErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event'); -module.exports.q = codes; +module.exports.F = codes; /***/ }), -/***/ 9560: +/***/ 3527: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -/* provided dependency */ var process = __webpack_require__(4155); +/* provided dependency */ var process = __webpack_require__(5606); // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -15093,9 +15093,9 @@ var objectKeys = Object.keys || function (obj) { /**/ module.exports = Duplex; -var Readable = __webpack_require__(4002); -var Writable = __webpack_require__(3313); -__webpack_require__(5717)(Duplex, Readable); +var Readable = __webpack_require__(2341); +var Writable = __webpack_require__(9573); +__webpack_require__(6698)(Duplex, Readable); { // Allow the keys array to be GC'ed. var keys = objectKeys(Writable.prototype); @@ -15185,7 +15185,7 @@ Object.defineProperty(Duplex.prototype, 'destroyed', { /***/ }), -/***/ 4842: +/***/ 2571: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -15217,8 +15217,8 @@ Object.defineProperty(Duplex.prototype, 'destroyed', { module.exports = PassThrough; -var Transform = __webpack_require__(1846); -__webpack_require__(5717)(PassThrough, Transform); +var Transform = __webpack_require__(5689); +__webpack_require__(6698)(PassThrough, Transform); function PassThrough(options) { if (!(this instanceof PassThrough)) return new PassThrough(options); Transform.call(this, options); @@ -15229,11 +15229,11 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) { /***/ }), -/***/ 4002: +/***/ 2341: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -/* provided dependency */ var process = __webpack_require__(4155); +/* provided dependency */ var process = __webpack_require__(5606); // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -15266,17 +15266,17 @@ var Duplex; Readable.ReadableState = ReadableState; /**/ -var EE = (__webpack_require__(7187).EventEmitter); +var EE = (__webpack_require__(7007).EventEmitter); var EElistenerCount = function EElistenerCount(emitter, type) { return emitter.listeners(type).length; }; /**/ /**/ -var Stream = __webpack_require__(1463); +var Stream = __webpack_require__(1914); /**/ -var Buffer = (__webpack_require__(8764).Buffer); +var Buffer = (__webpack_require__(8287).Buffer); var OurUint8Array = (typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {}; function _uint8ArrayToBuffer(chunk) { return Buffer.from(chunk); @@ -15286,7 +15286,7 @@ function _isUint8Array(obj) { } /**/ -var debugUtil = __webpack_require__(3646); +var debugUtil = __webpack_require__(6833); var debug; if (debugUtil && debugUtil.debuglog) { debug = debugUtil.debuglog('stream'); @@ -15295,11 +15295,11 @@ if (debugUtil && debugUtil.debuglog) { } /**/ -var BufferList = __webpack_require__(6641); -var destroyImpl = __webpack_require__(3369); -var _require = __webpack_require__(624), +var BufferList = __webpack_require__(272); +var destroyImpl = __webpack_require__(6057); +var _require = __webpack_require__(1922), getHighWaterMark = _require.getHighWaterMark; -var _require$codes = (__webpack_require__(7303)/* .codes */ .q), +var _require$codes = (__webpack_require__(3157)/* .codes */ .F), ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF, ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, @@ -15309,7 +15309,7 @@ var _require$codes = (__webpack_require__(7303)/* .codes */ .q), var StringDecoder; var createReadableStreamAsyncIterator; var from; -__webpack_require__(5717)(Readable, Stream); +__webpack_require__(6698)(Readable, Stream); var errorOrDestroy = destroyImpl.errorOrDestroy; var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume']; function prependListener(emitter, event, fn) { @@ -15324,7 +15324,7 @@ function prependListener(emitter, event, fn) { if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]]; } function ReadableState(options, stream, isDuplex) { - Duplex = Duplex || __webpack_require__(9560); + Duplex = Duplex || __webpack_require__(3527); options = options || {}; // Duplex streams are both readable and writable, but share @@ -15391,13 +15391,13 @@ function ReadableState(options, stream, isDuplex) { this.decoder = null; this.encoding = null; if (options.encoding) { - if (!StringDecoder) StringDecoder = (__webpack_require__(2553)/* .StringDecoder */ .s); + if (!StringDecoder) StringDecoder = (__webpack_require__(3141)/* .StringDecoder */ .I); this.decoder = new StringDecoder(options.encoding); this.encoding = options.encoding; } } function Readable(options) { - Duplex = Duplex || __webpack_require__(9560); + Duplex = Duplex || __webpack_require__(3527); if (!(this instanceof Readable)) return new Readable(options); // Checking for a Stream.Duplex instance is faster here instead of inside @@ -15534,7 +15534,7 @@ Readable.prototype.isPaused = function () { // backwards compatibility. Readable.prototype.setEncoding = function (enc) { - if (!StringDecoder) StringDecoder = (__webpack_require__(2553)/* .StringDecoder */ .s); + if (!StringDecoder) StringDecoder = (__webpack_require__(3141)/* .StringDecoder */ .I); var decoder = new StringDecoder(enc); this._readableState.decoder = decoder; // If setEncoding(null), decoder.encoding equals utf8 @@ -16153,7 +16153,7 @@ Readable.prototype.wrap = function (stream) { if (typeof Symbol === 'function') { Readable.prototype[Symbol.asyncIterator] = function () { if (createReadableStreamAsyncIterator === undefined) { - createReadableStreamAsyncIterator = __webpack_require__(6819); + createReadableStreamAsyncIterator = __webpack_require__(7356); } return createReadableStreamAsyncIterator(this); }; @@ -16250,7 +16250,7 @@ function endReadableNT(state, stream) { if (typeof Symbol === 'function') { Readable.from = function (iterable, opts) { if (from === undefined) { - from = __webpack_require__(8869); + from = __webpack_require__(6314); } return from(Readable, iterable, opts); }; @@ -16264,7 +16264,7 @@ function indexOf(xs, x) { /***/ }), -/***/ 1846: +/***/ 5689: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -16334,13 +16334,13 @@ function indexOf(xs, x) { module.exports = Transform; -var _require$codes = (__webpack_require__(7303)/* .codes */ .q), +var _require$codes = (__webpack_require__(3157)/* .codes */ .F), ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK, ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING, ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0; -var Duplex = __webpack_require__(9560); -__webpack_require__(5717)(Transform, Duplex); +var Duplex = __webpack_require__(3527); +__webpack_require__(6698)(Transform, Duplex); function afterTransform(er, data) { var ts = this._transformState; ts.transforming = false; @@ -16461,11 +16461,11 @@ function done(stream, er, data) { /***/ }), -/***/ 3313: +/***/ 9573: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -/* provided dependency */ var process = __webpack_require__(4155); +/* provided dependency */ var process = __webpack_require__(5606); // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -16523,15 +16523,15 @@ Writable.WritableState = WritableState; /**/ var internalUtil = { - deprecate: __webpack_require__(4927) + deprecate: __webpack_require__(4643) }; /**/ /**/ -var Stream = __webpack_require__(1463); +var Stream = __webpack_require__(1914); /**/ -var Buffer = (__webpack_require__(8764).Buffer); +var Buffer = (__webpack_require__(8287).Buffer); var OurUint8Array = (typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {}; function _uint8ArrayToBuffer(chunk) { return Buffer.from(chunk); @@ -16539,10 +16539,10 @@ function _uint8ArrayToBuffer(chunk) { function _isUint8Array(obj) { return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; } -var destroyImpl = __webpack_require__(3369); -var _require = __webpack_require__(624), +var destroyImpl = __webpack_require__(6057); +var _require = __webpack_require__(1922), getHighWaterMark = _require.getHighWaterMark; -var _require$codes = (__webpack_require__(7303)/* .codes */ .q), +var _require$codes = (__webpack_require__(3157)/* .codes */ .F), ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK, @@ -16552,10 +16552,10 @@ var _require$codes = (__webpack_require__(7303)/* .codes */ .q), ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END, ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING; var errorOrDestroy = destroyImpl.errorOrDestroy; -__webpack_require__(5717)(Writable, Stream); +__webpack_require__(6698)(Writable, Stream); function nop() {} function WritableState(options, stream, isDuplex) { - Duplex = Duplex || __webpack_require__(9560); + Duplex = Duplex || __webpack_require__(3527); options = options || {}; // Duplex streams are both readable and writable, but share @@ -16697,7 +16697,7 @@ if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.protot }; } function Writable(options) { - Duplex = Duplex || __webpack_require__(9560); + Duplex = Duplex || __webpack_require__(3527); // Writable ctor is applied to Duplexes, too. // `realHasInstance` is necessary because using plain `instanceof` @@ -17110,18 +17110,18 @@ Writable.prototype._destroy = function (err, cb) { /***/ }), -/***/ 6819: +/***/ 7356: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -/* provided dependency */ var process = __webpack_require__(4155); +/* provided dependency */ var process = __webpack_require__(5606); var _Object$setPrototypeO; function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } -var finished = __webpack_require__(5467); +var finished = __webpack_require__(9959); var kLastResolve = Symbol('lastResolve'); var kLastReject = Symbol('lastReject'); var kError = Symbol('error'); @@ -17298,7 +17298,7 @@ module.exports = createReadableStreamAsyncIterator; /***/ }), -/***/ 6641: +/***/ 272: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -17312,9 +17312,9 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } -var _require = __webpack_require__(8764), +var _require = __webpack_require__(8287), Buffer = _require.Buffer; -var _require2 = __webpack_require__(1408), +var _require2 = __webpack_require__(9169), inspect = _require2.inspect; var custom = inspect && inspect.custom || 'inspect'; function copyBuffer(src, target, offset) { @@ -17488,11 +17488,11 @@ module.exports = /*#__PURE__*/function () { /***/ }), -/***/ 3369: +/***/ 6057: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -/* provided dependency */ var process = __webpack_require__(4155); +/* provided dependency */ var process = __webpack_require__(5606); // undocumented cb() API, needed for core, not for public API @@ -17592,7 +17592,7 @@ module.exports = { /***/ }), -/***/ 5467: +/***/ 9959: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -17601,7 +17601,7 @@ module.exports = { -var ERR_STREAM_PREMATURE_CLOSE = (__webpack_require__(7303)/* .codes */ .q).ERR_STREAM_PREMATURE_CLOSE; +var ERR_STREAM_PREMATURE_CLOSE = (__webpack_require__(3157)/* .codes */ .F).ERR_STREAM_PREMATURE_CLOSE; function once(callback) { var called = false; return function () { @@ -17685,7 +17685,7 @@ module.exports = eos; /***/ }), -/***/ 8869: +/***/ 6314: /***/ ((module) => { module.exports = function () { @@ -17695,7 +17695,7 @@ module.exports = function () { /***/ }), -/***/ 9689: +/***/ 7413: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -17713,7 +17713,7 @@ function once(callback) { callback.apply(void 0, arguments); }; } -var _require$codes = (__webpack_require__(7303)/* .codes */ .q), +var _require$codes = (__webpack_require__(3157)/* .codes */ .F), ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS, ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED; function noop(err) { @@ -17729,7 +17729,7 @@ function destroyer(stream, reading, writing, callback) { stream.on('close', function () { closed = true; }); - if (eos === undefined) eos = __webpack_require__(5467); + if (eos === undefined) eos = __webpack_require__(9959); eos(stream, { readable: reading, writable: writing @@ -17788,13 +17788,13 @@ module.exports = pipeline; /***/ }), -/***/ 624: +/***/ 1922: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var ERR_INVALID_OPT_VALUE = (__webpack_require__(7303)/* .codes */ .q).ERR_INVALID_OPT_VALUE; +var ERR_INVALID_OPT_VALUE = (__webpack_require__(3157)/* .codes */ .F).ERR_INVALID_OPT_VALUE; function highWaterMarkFrom(options, isDuplex, duplexKey) { return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null; } @@ -17817,31 +17817,31 @@ module.exports = { /***/ }), -/***/ 1463: +/***/ 1914: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = __webpack_require__(7187).EventEmitter; +module.exports = __webpack_require__(7007).EventEmitter; /***/ }), -/***/ 925: +/***/ 3242: /***/ ((module, exports, __webpack_require__) => { -exports = module.exports = __webpack_require__(4002); +exports = module.exports = __webpack_require__(2341); exports.Stream = exports; exports.Readable = exports; -exports.Writable = __webpack_require__(3313); -exports.Duplex = __webpack_require__(9560); -exports.Transform = __webpack_require__(1846); -exports.PassThrough = __webpack_require__(4842); -exports.finished = __webpack_require__(5467); -exports.pipeline = __webpack_require__(9689); +exports.Writable = __webpack_require__(9573); +exports.Duplex = __webpack_require__(3527); +exports.Transform = __webpack_require__(5689); +exports.PassThrough = __webpack_require__(2571); +exports.finished = __webpack_require__(9959); +exports.pipeline = __webpack_require__(7413); /***/ }), -/***/ 2553: +/***/ 3141: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -17870,7 +17870,7 @@ exports.pipeline = __webpack_require__(9689); /**/ -var Buffer = (__webpack_require__(9509).Buffer); +var Buffer = (__webpack_require__(2861).Buffer); /**/ var isEncoding = Buffer.isEncoding || function (encoding) { @@ -17922,7 +17922,7 @@ function normalizeEncoding(enc) { // StringDecoder provides an interface for efficiently splitting a series of // buffers into a series of JS strings without breaking apart multi-byte // characters. -exports.s = StringDecoder; +exports.I = StringDecoder; function StringDecoder(encoding) { this.encoding = normalizeEncoding(encoding); var nb; @@ -18144,14 +18144,14 @@ function simpleEnd(buf) { /***/ }), -/***/ 4935: +/***/ 3337: /***/ (function(module, exports, __webpack_require__) { (function (root, factory) { // Node. if( true && typeof module.exports === 'object') { - exports = module.exports = factory(__webpack_require__(2257)); + exports = module.exports = factory(__webpack_require__(7375)); } else if(typeof navigator === "object") { // Browser Global. if (!root.Terraformer){ @@ -18917,10 +18917,10 @@ return new Parser; /***/ }), -/***/ 2257: +/***/ 7375: /***/ (function(module, exports, __webpack_require__) { -/* provided dependency */ var console = __webpack_require__(5108); +/* provided dependency */ var console = __webpack_require__(6763); (function (root, factory) { // Node. @@ -20345,7 +20345,7 @@ return new Parser; /***/ }), -/***/ 8760: +/***/ 2150: /***/ ((__unused_webpack_module, exports) => { var bind = Function.prototype.bind, @@ -20571,7 +20571,7 @@ exports.toArray = function (object, begin, end) { /***/ }), -/***/ 2511: +/***/ 1270: /***/ (function(module, exports, __webpack_require__) { /* module decorator */ module = __webpack_require__.nmd(module); @@ -21098,7 +21098,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathia /***/ }), -/***/ 9532: +/***/ 5902: /***/ ((module) => { "use strict"; @@ -21129,15 +21129,15 @@ module.exports = { /***/ }), -/***/ 5984: +/***/ 3098: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var stringify = __webpack_require__(4730); -var parse = __webpack_require__(7325); -var formats = __webpack_require__(9532); +var stringify = __webpack_require__(1207); +var parse = __webpack_require__(969); +var formats = __webpack_require__(5902); module.exports = { formats: formats, @@ -21148,13 +21148,13 @@ module.exports = { /***/ }), -/***/ 7325: +/***/ 969: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var utils = __webpack_require__(9368); +var utils = __webpack_require__(2795); var has = Object.prototype.hasOwnProperty; var isArray = Array.isArray; @@ -21420,15 +21420,15 @@ module.exports = function (str, opts) { /***/ }), -/***/ 4730: +/***/ 1207: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var getSideChannel = __webpack_require__(7478); -var utils = __webpack_require__(9368); -var formats = __webpack_require__(9532); +var getSideChannel = __webpack_require__(920); +var utils = __webpack_require__(2795); +var formats = __webpack_require__(5902); var has = Object.prototype.hasOwnProperty; var arrayPrefixGenerators = { @@ -21748,13 +21748,13 @@ module.exports = function (object, opts) { /***/ }), -/***/ 9368: +/***/ 2795: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var formats = __webpack_require__(9532); +var formats = __webpack_require__(5902); var has = Object.prototype.hasOwnProperty; var isArray = Array.isArray; @@ -22008,7 +22008,7 @@ module.exports = { /***/ }), -/***/ 8575: +/***/ 8835: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -22037,7 +22037,7 @@ module.exports = { -var punycode = __webpack_require__(2511); +var punycode = __webpack_require__(1270); function Url() { this.protocol = null; @@ -22119,7 +22119,7 @@ var protocolPattern = /^([a-z0-9.+-]+:)/i, 'gopher:': true, 'file:': true }, - querystring = __webpack_require__(5984); + querystring = __webpack_require__(3098); function urlParse(url, parseQueryString, slashesDenoteHost) { if (url && typeof url === 'object' && url instanceof Url) { return url; } @@ -22792,10 +22792,10 @@ exports.Url = Url; /***/ }), -/***/ 4927: +/***/ 4643: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/* provided dependency */ var console = __webpack_require__(5108); +/* provided dependency */ var console = __webpack_require__(6763); /** * Module exports. @@ -22867,7 +22867,7 @@ function config (name) { /***/ }), -/***/ 384: +/***/ 1135: /***/ ((module) => { module.exports = function isBuffer(arg) { @@ -22879,7 +22879,7 @@ module.exports = function isBuffer(arg) { /***/ }), -/***/ 5955: +/***/ 9032: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; @@ -22888,10 +22888,10 @@ module.exports = function isBuffer(arg) { -var isArgumentsObject = __webpack_require__(2584); -var isGeneratorFunction = __webpack_require__(8662); -var whichTypedArray = __webpack_require__(6430); -var isTypedArray = __webpack_require__(5692); +var isArgumentsObject = __webpack_require__(7244); +var isGeneratorFunction = __webpack_require__(8184); +var whichTypedArray = __webpack_require__(5767); +var isTypedArray = __webpack_require__(5680); function uncurryThis(f) { return f.call.bind(f); @@ -23221,11 +23221,11 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer; /***/ }), -/***/ 9539: +/***/ 537: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { -/* provided dependency */ var process = __webpack_require__(4155); -/* provided dependency */ var console = __webpack_require__(5108); +/* provided dependency */ var process = __webpack_require__(5606); +/* provided dependency */ var console = __webpack_require__(6763); // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -23692,7 +23692,7 @@ function reduceToSingleString(output, base, braces) { // NOTE: These type checking functions intentionally don't use `instanceof` // because it is fragile and can be easily faked with `Object.create()`. -exports.types = __webpack_require__(5955); +exports.types = __webpack_require__(9032); function isArray(ar) { return Array.isArray(ar); @@ -23773,7 +23773,7 @@ function isPrimitive(arg) { } exports.isPrimitive = isPrimitive; -exports.isBuffer = __webpack_require__(384); +exports.isBuffer = __webpack_require__(1135); function objectToString(o) { return Object.prototype.toString.call(o); @@ -23817,7 +23817,7 @@ exports.log = function() { * prototype. * @param {function} superCtor Constructor function to inherit prototype from. */ -exports.inherits = __webpack_require__(5717); +exports.inherits = __webpack_require__(6698); exports._extend = function(origin, add) { // Don't do anything if add isn't an object @@ -23945,20 +23945,20 @@ exports.callbackify = callbackify; /***/ }), -/***/ 6430: +/***/ 5767: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var forEach = __webpack_require__(4029); -var availableTypedArrays = __webpack_require__(3083); -var callBind = __webpack_require__(5559); -var callBound = __webpack_require__(1924); -var gOPD = __webpack_require__(7296); +var forEach = __webpack_require__(2682); +var availableTypedArrays = __webpack_require__(9209); +var callBind = __webpack_require__(487); +var callBound = __webpack_require__(8075); +var gOPD = __webpack_require__(5795); var $toString = callBound('Object.prototype.toString'); -var hasToStringTag = __webpack_require__(6410)(); +var hasToStringTag = __webpack_require__(9092)(); var g = typeof globalThis === 'undefined' ? __webpack_require__.g : globalThis; var typedArrays = availableTypedArrays(); @@ -24045,10 +24045,10 @@ module.exports = function whichTypedArray(value) { /***/ }), -/***/ 7691: +/***/ 3631: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { -/* provided dependency */ var console = __webpack_require__(5108); +/* provided dependency */ var console = __webpack_require__(6763); /* * xpath.js * @@ -28900,7 +28900,7 @@ var xpath = ( false) ? 0 : exports; /***/ }), -/***/ 7529: +/***/ 7510: /***/ ((module) => { module.exports = extend @@ -28926,28 +28926,28 @@ function extend() { /***/ }), -/***/ 4654: +/***/ 2634: /***/ (() => { /* (ignored) */ /***/ }), -/***/ 1408: +/***/ 9169: /***/ (() => { /* (ignored) */ /***/ }), -/***/ 3646: +/***/ 6833: /***/ (() => { /* (ignored) */ /***/ }), -/***/ 3083: +/***/ 9209: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; @@ -29079,6 +29079,7 @@ __webpack_require__.d(common_utils_namespaceObject, { hasBrowserEnv: () => (hasBrowserEnv), hasStandardBrowserEnv: () => (hasStandardBrowserEnv), hasStandardBrowserWebWorkerEnv: () => (hasStandardBrowserWebWorkerEnv), + navigator: () => (_navigator), origin: () => (origin) }); @@ -29092,6 +29093,7 @@ function bind(fn, thisArg) { } ;// CONCATENATED MODULE: ./node_modules/axios/lib/utils.js +/* provided dependency */ var process = __webpack_require__(5606); @@ -29763,6 +29765,36 @@ const isAsyncFn = kindOfTest('AsyncFunction'); const isThenable = (thing) => thing && (utils_isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch); +// original code +// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34 + +const _setImmediate = ((setImmediateSupported, postMessageSupported) => { + if (setImmediateSupported) { + return setImmediate; + } + + return postMessageSupported ? ((token, callbacks) => { + _global.addEventListener("message", ({source, data}) => { + if (source === _global && data === token) { + callbacks.length && callbacks.shift()(); + } + }, false); + + return (cb) => { + callbacks.push(cb); + _global.postMessage(token, "*"); + } + })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb); +})( + typeof setImmediate === 'function', + isFunction(_global.postMessage) +); + +const asap = typeof queueMicrotask !== 'undefined' ? + queueMicrotask.bind(_global) : ( typeof process !== 'undefined' && process.nextTick || _setImmediate); + +// ********************* + /* harmony default export */ const utils = ({ isArray, isArrayBuffer, @@ -29818,7 +29850,9 @@ const isThenable = (thing) => isSpecCompliantForm, toJSONObject, isAsyncFn, - isThenable + isThenable, + setImmediate: _setImmediate, + asap }); ;// CONCATENATED MODULE: ./node_modules/axios/lib/core/AxiosError.js @@ -29851,7 +29885,10 @@ function AxiosError(message, code, config, request, response) { code && (this.code = code); config && (this.config = config); request && (this.request = request); - response && (this.response = response); + if (response) { + this.response = response; + this.status = response.status ? response.status : null; + } } utils.inherits(AxiosError, Error, { @@ -29871,7 +29908,7 @@ utils.inherits(AxiosError, Error, { // Axios config: utils.toJSONObject(this.config), code: this.code, - status: this.response && this.response.status ? this.response.status : null + status: this.status }; } }); @@ -29928,7 +29965,7 @@ AxiosError.from = (error, code, config, request, response, customProps) => { /* harmony default export */ const helpers_null = (null); ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/toFormData.js -/* provided dependency */ var Buffer = __webpack_require__(8764)["Buffer"]; +/* provided dependency */ var Buffer = __webpack_require__(8287)["Buffer"]; @@ -30390,6 +30427,8 @@ class InterceptorManager { ;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/common/utils.js const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined'; +const _navigator = typeof navigator === 'object' && navigator || undefined; + /** * Determine if we're running in a standard browser environment * @@ -30407,10 +30446,8 @@ const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'unde * * @returns {boolean} */ -const hasStandardBrowserEnv = ( - (product) => { - return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0 - })(typeof navigator !== 'undefined' && navigator.product); +const hasStandardBrowserEnv = hasBrowserEnv && + (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0); /** * Determine if we're running in a standard browser webWorker environment @@ -31243,8 +31280,6 @@ function speedometer(samplesCount, min) { /* harmony default export */ const helpers_speedometer = (speedometer); ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/throttle.js - - /** * Throttle decorator * @param {Function} fn @@ -31253,28 +31288,39 @@ function speedometer(samplesCount, min) { */ function throttle(fn, freq) { let timestamp = 0; - const threshold = 1000 / freq; - let timer = null; - return function throttled() { - const force = this === true; + let threshold = 1000 / freq; + let lastArgs; + let timer; + + const invoke = (args, now = Date.now()) => { + timestamp = now; + lastArgs = null; + if (timer) { + clearTimeout(timer); + timer = null; + } + fn.apply(null, args); + } + const throttled = (...args) => { const now = Date.now(); - if (force || now - timestamp > threshold) { - if (timer) { - clearTimeout(timer); - timer = null; + const passed = now - timestamp; + if ( passed >= threshold) { + invoke(args, now); + } else { + lastArgs = args; + if (!timer) { + timer = setTimeout(() => { + timer = null; + invoke(lastArgs) + }, threshold - passed); } - timestamp = now; - return fn.apply(null, arguments); } - if (!timer) { - timer = setTimeout(() => { - timer = null; - timestamp = Date.now(); - return fn.apply(null, arguments); - }, threshold - (now - timestamp)); - } - }; + } + + const flush = () => lastArgs && invoke(lastArgs); + + return [throttled, flush]; } /* harmony default export */ const helpers_throttle = (throttle); @@ -31283,7 +31329,8 @@ function throttle(fn, freq) { -/* harmony default export */ const progressEventReducer = ((listener, isDownloadStream, freq = 3) => { + +const progressEventReducer = (listener, isDownloadStream, freq = 3) => { let bytesNotified = 0; const _speedometer = helpers_speedometer(50, 250); @@ -31304,14 +31351,25 @@ function throttle(fn, freq) { rate: rate ? rate : undefined, estimated: rate && total && inRange ? (total - loaded) / rate : undefined, event: e, - lengthComputable: total != null + lengthComputable: total != null, + [isDownloadStream ? 'download' : 'upload']: true }; - data[isDownloadStream ? 'download' : 'upload'] = true; - listener(data); }, freq); -}); +} + +const progressEventDecorator = (total, throttled) => { + const lengthComputable = total != null; + + return [(loaded) => throttled[0]({ + lengthComputable, + total, + loaded + }), throttled[1]]; +} + +const asyncDecorator = (fn) => (...args) => utils.asap(() => fn(...args)); ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/isURLSameOrigin.js @@ -31324,7 +31382,7 @@ function throttle(fn, freq) { // Standard browser envs have full support of the APIs needed to test // whether the request URL is of the same origin as current location. (function standardBrowserEnv() { - const msie = /(msie|trident)/i.test(navigator.userAgent); + const msie = platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent); const urlParsingNode = document.createElement('a'); let originURL; @@ -31669,16 +31727,18 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; const _config = resolveConfig(config); let requestData = _config.data; const requestHeaders = core_AxiosHeaders.from(_config.headers).normalize(); - let {responseType} = _config; + let {responseType, onUploadProgress, onDownloadProgress} = _config; let onCanceled; + let uploadThrottled, downloadThrottled; + let flushUpload, flushDownload; + function done() { - if (_config.cancelToken) { - _config.cancelToken.unsubscribe(onCanceled); - } + flushUpload && flushUpload(); // flush events + flushDownload && flushDownload(); // flush events - if (_config.signal) { - _config.signal.removeEventListener('abort', onCanceled); - } + _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled); + + _config.signal && _config.signal.removeEventListener('abort', onCanceled); } let request = new XMLHttpRequest(); @@ -31748,7 +31808,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; return; } - reject(new core_AxiosError('Request aborted', core_AxiosError.ECONNABORTED, _config, request)); + reject(new core_AxiosError('Request aborted', core_AxiosError.ECONNABORTED, config, request)); // Clean up request request = null; @@ -31758,7 +31818,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; request.onerror = function handleError() { // Real errors are hidden from us by the browser // onerror should only fire if it's a network error - reject(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, _config, request)); + reject(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request)); // Clean up request request = null; @@ -31774,7 +31834,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; reject(new core_AxiosError( timeoutErrorMessage, transitional.clarifyTimeoutError ? core_AxiosError.ETIMEDOUT : core_AxiosError.ECONNABORTED, - _config, + config, request)); // Clean up request @@ -31802,13 +31862,18 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; } // Handle progress if needed - if (typeof _config.onDownloadProgress === 'function') { - request.addEventListener('progress', progressEventReducer(_config.onDownloadProgress, true)); + if (onDownloadProgress) { + ([downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true)); + request.addEventListener('progress', downloadThrottled); } // Not all browsers support upload events - if (typeof _config.onUploadProgress === 'function' && request.upload) { - request.upload.addEventListener('progress', progressEventReducer(_config.onUploadProgress)); + if (onUploadProgress && request.upload) { + ([uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress)); + + request.upload.addEventListener('progress', uploadThrottled); + + request.upload.addEventListener('loadend', flushUpload); } if (_config.cancelToken || _config.signal) { @@ -31846,53 +31911,54 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined'; + const composeSignals = (signals, timeout) => { - let controller = new AbortController(); + const {length} = (signals = signals ? signals.filter(Boolean) : []); - let aborted; + if (timeout || length) { + let controller = new AbortController(); - const onabort = function (cancel) { - if (!aborted) { - aborted = true; - unsubscribe(); - const err = cancel instanceof Error ? cancel : this.reason; - controller.abort(err instanceof core_AxiosError ? err : new cancel_CanceledError(err instanceof Error ? err.message : err)); - } - } + let aborted; - let timer = timeout && setTimeout(() => { - onabort(new core_AxiosError(`timeout ${timeout} of ms exceeded`, core_AxiosError.ETIMEDOUT)) - }, timeout) + const onabort = function (reason) { + if (!aborted) { + aborted = true; + unsubscribe(); + const err = reason instanceof Error ? reason : this.reason; + controller.abort(err instanceof core_AxiosError ? err : new cancel_CanceledError(err instanceof Error ? err.message : err)); + } + } - const unsubscribe = () => { - if (signals) { - timer && clearTimeout(timer); + let timer = timeout && setTimeout(() => { timer = null; - signals.forEach(signal => { - signal && - (signal.removeEventListener ? signal.removeEventListener('abort', onabort) : signal.unsubscribe(onabort)); - }); - signals = null; + onabort(new core_AxiosError(`timeout ${timeout} of ms exceeded`, core_AxiosError.ETIMEDOUT)) + }, timeout) + + const unsubscribe = () => { + if (signals) { + timer && clearTimeout(timer); + timer = null; + signals.forEach(signal => { + signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort); + }); + signals = null; + } } - } - signals.forEach((signal) => signal && signal.addEventListener && signal.addEventListener('abort', onabort)); + signals.forEach((signal) => signal.addEventListener('abort', onabort)); - const {signal} = controller; + const {signal} = controller; - signal.unsubscribe = unsubscribe; + signal.unsubscribe = () => utils.asap(unsubscribe); - return [signal, () => { - timer && clearTimeout(timer); - timer = null; - }]; + return signal; + } } /* harmony default export */ const helpers_composeSignals = (composeSignals); ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/trackStream.js - const streamChunk = function* (chunk, chunkSize) { let len = chunk.byteLength; @@ -31911,35 +31977,68 @@ const streamChunk = function* (chunk, chunkSize) { } } -const readBytes = async function* (iterable, chunkSize, encode) { - for await (const chunk of iterable) { - yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : (await encode(String(chunk))), chunkSize); +const readBytes = async function* (iterable, chunkSize) { + for await (const chunk of readStream(iterable)) { + yield* streamChunk(chunk, chunkSize); + } +} + +const readStream = async function* (stream) { + if (stream[Symbol.asyncIterator]) { + yield* stream; + return; + } + + const reader = stream.getReader(); + try { + for (;;) { + const {done, value} = await reader.read(); + if (done) { + break; + } + yield value; + } + } finally { + await reader.cancel(); } } -const trackStream = (stream, chunkSize, onProgress, onFinish, encode) => { - const iterator = readBytes(stream, chunkSize, encode); +const trackStream = (stream, chunkSize, onProgress, onFinish) => { + const iterator = readBytes(stream, chunkSize); let bytes = 0; + let done; + let _onFinish = (e) => { + if (!done) { + done = true; + onFinish && onFinish(e); + } + } return new ReadableStream({ - type: 'bytes', - async pull(controller) { - const {done, value} = await iterator.next(); + try { + const {done, value} = await iterator.next(); - if (done) { - controller.close(); - onFinish(); - return; - } + if (done) { + _onFinish(); + controller.close(); + return; + } - let len = value.byteLength; - onProgress && onProgress(bytes += len); - controller.enqueue(new Uint8Array(value)); + let len = value.byteLength; + if (onProgress) { + let loadedBytes = bytes += len; + onProgress(loadedBytes); + } + controller.enqueue(new Uint8Array(value)); + } catch (err) { + _onFinish(err); + throw err; + } }, cancel(reason) { - onFinish(reason); + _onFinish(reason); return iterator.return(); } }, { @@ -31958,15 +32057,6 @@ const trackStream = (stream, chunkSize, onProgress, onFinish, encode) => { -const fetchProgressDecorator = (total, fn) => { - const lengthComputable = total != null; - return (loaded) => setTimeout(() => fn({ - lengthComputable, - total, - loaded - })); -} - const isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function'; const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function'; @@ -31976,7 +32066,15 @@ const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? async (str) => new Uint8Array(await new Response(str).arrayBuffer()) ); -const supportsRequestStream = isReadableStreamSupported && (() => { +const test = (fn, ...args) => { + try { + return !!fn(...args); + } catch (e) { + return false + } +} + +const supportsRequestStream = isReadableStreamSupported && test(() => { let duplexAccessed = false; const hasContentType = new Request(platform.origin, { @@ -31989,17 +32087,13 @@ const supportsRequestStream = isReadableStreamSupported && (() => { }).headers.has('Content-Type'); return duplexAccessed && !hasContentType; -})(); +}); const DEFAULT_CHUNK_SIZE = 64 * 1024; -const supportsResponseStream = isReadableStreamSupported && !!(()=> { - try { - return utils.isReadableStream(new Response('').body); - } catch(err) { - // return undefined - } -})(); +const supportsResponseStream = isReadableStreamSupported && + test(() => utils.isReadableStream(new Response('').body)); + const resolvers = { stream: supportsResponseStream && ((res) => res.body) @@ -32024,10 +32118,14 @@ const getBodyLength = async (body) => { } if(utils.isSpecCompliantForm(body)) { - return (await new Request(body).arrayBuffer()).byteLength; + const _request = new Request(platform.origin, { + method: 'POST', + body, + }); + return (await _request.arrayBuffer()).byteLength; } - if(utils.isArrayBufferView(body)) { + if(utils.isArrayBufferView(body) || utils.isArrayBuffer(body)) { return body.byteLength; } @@ -32064,18 +32162,13 @@ const resolveBodyLength = async (headers, body) => { responseType = responseType ? (responseType + '').toLowerCase() : 'text'; - let [composedSignal, stopTimeout] = (signal || cancelToken || timeout) ? - helpers_composeSignals([signal, cancelToken], timeout) : []; + let composedSignal = helpers_composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout); - let finished, request; + let request; - const onFinish = () => { - !finished && setTimeout(() => { - composedSignal && composedSignal.unsubscribe(); - }); - - finished = true; - } + const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => { + composedSignal.unsubscribe(); + }); let requestContentLength; @@ -32097,17 +32190,22 @@ const resolveBodyLength = async (headers, body) => { } if (_request.body) { - data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, fetchProgressDecorator( + const [onProgress, flush] = progressEventDecorator( requestContentLength, - progressEventReducer(onUploadProgress) - ), null, encodeText); + progressEventReducer(asyncDecorator(onUploadProgress)) + ); + + data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush); } } if (!utils.isString(withCredentials)) { - withCredentials = withCredentials ? 'cors' : 'omit'; + withCredentials = withCredentials ? 'include' : 'omit'; } + // Cloudflare Workers throws when credentials are defined + // see https://github.com/cloudflare/workerd/issues/902 + const isCredentialsSupported = "credentials" in Request.prototype; request = new Request(url, { ...fetchOptions, signal: composedSignal, @@ -32115,14 +32213,14 @@ const resolveBodyLength = async (headers, body) => { headers: headers.normalize().toJSON(), body: data, duplex: "half", - withCredentials + credentials: isCredentialsSupported ? withCredentials : undefined }); let response = await fetch(request); const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response'); - if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) { + if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) { const options = {}; ['status', 'statusText', 'headers'].forEach(prop => { @@ -32131,11 +32229,16 @@ const resolveBodyLength = async (headers, body) => { const responseContentLength = utils.toFiniteNumber(response.headers.get('content-length')); + const [onProgress, flush] = onDownloadProgress && progressEventDecorator( + responseContentLength, + progressEventReducer(asyncDecorator(onDownloadProgress), true) + ) || []; + response = new Response( - trackStream(response.body, DEFAULT_CHUNK_SIZE, onDownloadProgress && fetchProgressDecorator( - responseContentLength, - progressEventReducer(onDownloadProgress, true) - ), isStreamResponse && onFinish, encodeText), + trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => { + flush && flush(); + unsubscribe && unsubscribe(); + }), options ); } @@ -32144,9 +32247,7 @@ const resolveBodyLength = async (headers, body) => { let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](response, config); - !isStreamResponse && onFinish(); - - stopTimeout && stopTimeout(); + !isStreamResponse && unsubscribe && unsubscribe(); return await new Promise((resolve, reject) => { settle(resolve, reject, { @@ -32159,7 +32260,7 @@ const resolveBodyLength = async (headers, body) => { }) }) } catch (err) { - onFinish(); + unsubscribe && unsubscribe(); if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) { throw Object.assign( @@ -32341,9 +32442,9 @@ function dispatchRequest(config) { } ;// CONCATENATED MODULE: ./node_modules/axios/lib/env/data.js -const VERSION = "1.7.2"; +const VERSION = "1.7.7"; ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/validator.js -/* provided dependency */ var console = __webpack_require__(5108); +/* provided dependency */ var console = __webpack_require__(6763); @@ -32771,6 +32872,20 @@ class CancelToken { } } + toAbortSignal() { + const controller = new AbortController(); + + const abort = (err) => { + controller.abort(err); + }; + + this.subscribe(abort); + + controller.signal.unsubscribe = () => this.unsubscribe(abort); + + return controller.signal; + } + /** * Returns an object that contains a new `CancelToken` and a function that, when called, * cancels the `CancelToken`. @@ -33000,11 +33115,11 @@ axios.default = axios; /* harmony default export */ const lib_axios = (axios); // EXTERNAL MODULE: ./node_modules/http-proxy-agent/dist/index.js -var dist = __webpack_require__(9201); +var dist = __webpack_require__(6645); // EXTERNAL MODULE: ./node_modules/https-proxy-agent/dist/index.js -var https_proxy_agent_dist = __webpack_require__(6018); +var https_proxy_agent_dist = __webpack_require__(2288); ;// CONCATENATED MODULE: ./src/internal/httpClient.js -/* provided dependency */ var process = __webpack_require__(4155); +/* provided dependency */ var httpClient_process = __webpack_require__(5606); @@ -33016,11 +33131,11 @@ const axiosGlobalConfig = {}; * (fixes https://github.com/IGNF/geoportal-wfs-client/issues/5) */ if ('undefined' === typeof window ){ - if ( process.env.HTTP_PROXY ){ - axiosGlobalConfig.httpAgent = new dist.HttpProxyAgent(process.env.HTTP_PROXY); + if ( httpClient_process.env.HTTP_PROXY ){ + axiosGlobalConfig.httpAgent = new dist.HttpProxyAgent(httpClient_process.env.HTTP_PROXY); } - if ( process.env.HTTPS_PROXY ){ - axiosGlobalConfig.httpsAgent = new https_proxy_agent_dist.HttpsProxyAgent(process.env.HTTPS_PROXY); + if ( httpClient_process.env.HTTPS_PROXY ){ + axiosGlobalConfig.httpsAgent = new https_proxy_agent_dist.HttpsProxyAgent(httpClient_process.env.HTTPS_PROXY); } axiosGlobalConfig.proxy = false; } @@ -33030,9 +33145,9 @@ const httpClient = lib_axios.create(axiosGlobalConfig); /* harmony default export */ const internal_httpClient = (httpClient); // EXTERNAL MODULE: ./node_modules/xpath/xpath.js -var xpath = __webpack_require__(7691); +var xpath = __webpack_require__(3631); // EXTERNAL MODULE: ./node_modules/@xmldom/xmldom/lib/index.js -var lib = __webpack_require__(3969); +var lib = __webpack_require__(8978); ;// CONCATENATED MODULE: ./src/internal/getTypeNamesFromCapabilities.js @@ -33054,7 +33169,7 @@ var getTypeNamesFromCapabilities = function (xml) { /* harmony default export */ const internal_getTypeNamesFromCapabilities = (getTypeNamesFromCapabilities); // EXTERNAL MODULE: ./node_modules/terraformer-wkt-parser/terraformer-wkt-parser.js -var terraformer_wkt_parser = __webpack_require__(4935); +var terraformer_wkt_parser = __webpack_require__(3337); ;// CONCATENATED MODULE: ./node_modules/@turf/helpers/dist/es/index.js /** * @module helpers @@ -36085,7 +36200,7 @@ function cleanWKT(wkt) { } ;// CONCATENATED MODULE: ./node_modules/proj4/lib/defs.js -/* provided dependency */ var defs_console = __webpack_require__(5108); +/* provided dependency */ var defs_console = __webpack_require__(6763); @@ -36390,7 +36505,7 @@ var longlat_names = ["longlat", "identity"]; }); ;// CONCATENATED MODULE: ./node_modules/proj4/lib/projections.js -/* provided dependency */ var projections_console = __webpack_require__(5108); +/* provided dependency */ var projections_console = __webpack_require__(6763); var projs = [merc, longlat]; @@ -36889,7 +37004,7 @@ function datum(datumCode, datum_params, a, b, es, ep2, nadgrids) { /* harmony default export */ const lib_datum = (datum); ;// CONCATENATED MODULE: ./node_modules/proj4/lib/nadgrid.js -/* provided dependency */ var nadgrid_console = __webpack_require__(5108); +/* provided dependency */ var nadgrid_console = __webpack_require__(6763); /** * Resources for details of NTv2 file formats: * - https://web.archive.org/web/20140127204822if_/http://www.mgs.gov.on.ca:80/stdprodconsume/groups/content/@mgs/@iandit/documents/resourcelist/stel02_047447.pdf @@ -37357,7 +37472,7 @@ function geocentricFromWgs84(p, datum_type, datum_params) { } ;// CONCATENATED MODULE: ./node_modules/proj4/lib/datum_transform.js -/* provided dependency */ var datum_transform_console = __webpack_require__(5108); +/* provided dependency */ var datum_transform_console = __webpack_require__(6763); @@ -38567,7 +38682,7 @@ function getMinNorthing(zoneLetter) { } ;// CONCATENATED MODULE: ./node_modules/proj4/lib/Point.js -/* provided dependency */ var Point_console = __webpack_require__(5108); +/* provided dependency */ var Point_console = __webpack_require__(6763); function Point(x, y, z) { @@ -43081,9 +43196,9 @@ proj4_projs(core); -proj4_lib.defs('EPSG:4326','+proj=longlat +datum=WGS84 +no_defs'); -proj4_lib.defs('EPSG:2154','+proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs'); -proj4_lib.defs('EPSG:3857','+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs'); +proj4_lib.defs('EPSG:4326', '+proj=longlat +datum=WGS84 +no_defs'); +proj4_lib.defs('EPSG:2154', '+proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs'); +proj4_lib.defs('EPSG:3857', '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs'); /* @@ -43129,7 +43244,7 @@ function bboxToFilter(bbox, geomFieldName) { * @param {string} [geomDefaultCRS=constants.defaultCRS="urn:ogc:def:crs:EPSG::4326"] default data CRS (required in cql_filter) * @returns {string} */ -function buildCqlFilter(params, geomFieldName,geomDefaultCRS) { +function buildCqlFilter(params, geomFieldName, geomDefaultCRS) { geomFieldName = geomFieldName || constants.defaultGeomFieldName; geomDefaultCRS = geomDefaultCRS || constants.defaultCRS; @@ -43147,17 +43262,17 @@ function buildCqlFilter(params, geomFieldName,geomDefaultCRS) { if ('object' !== typeof geom) { geom = JSON.parse(geom); } - if(geomDefaultCRS != constants.defaultCRS) { + if (geomDefaultCRS != constants.defaultCRS) { const input = geom; - const transform = proj4_lib('EPSG:4326',geomDefaultCRS); + const transform = proj4_lib('EPSG:4326', geomDefaultCRS); - coordEach(input,function(c){ + coordEach(input, function (c) { let newC = transform.forward(c); c[0] = newC[0]; c[1] = newC[1]; }); - geom=input; + geom = input; } // flip coordinate as EPSG:4326 is lat,lon for GeoServer if (geomDefaultCRS == constants.defaultCRS) { @@ -43166,7 +43281,12 @@ function buildCqlFilter(params, geomFieldName,geomDefaultCRS) { let wkt = terraformer_wkt_parser.convert(geom); parts.push('INTERSECTS(' + geomFieldName + ',' + wkt + ')'); } else { - parts.push(name + '=\'' + params[name] + '\''); + if (Array.isArray(params[name])) { + parts.push(name + ' IN (\'' + params[name].join('\',\'') + '\')'); + } else { + parts.push(name + '=\'' + params[name] + '\''); + + } } } if (0 === parts.length) { diff --git a/dist/geoportal-wfs-client.min.js b/dist/geoportal-wfs-client.min.js index ff71b3c..4d927e6 100644 --- a/dist/geoportal-wfs-client.min.js +++ b/dist/geoportal-wfs-client.min.js @@ -1,17 +1,17 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.GeoportalWfsClient=e():t.GeoportalWfsClient=e()}(this,(()=>(()=>{var t={2167:(t,e)=>{"use strict";function r(t,e){return void 0===e&&(e=Object),e&&"function"==typeof e.freeze?e.freeze(t):t}var n=r({HTML:"text/html",isHTML:function(t){return t===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(t){return t===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});e.assign=function(t,e){if(null===t||"object"!=typeof t)throw new TypeError("target is not an object");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},e.find=function(t,e,r){if(void 0===r&&(r=Array.prototype),t&&"function"==typeof r.find)return r.find.call(t,e);for(var n=0;n{var n=r(5108),i=r(2167),o=r(1146),s=r(1045),a=r(6925),u=o.DOMImplementation,c=i.NAMESPACE,l=a.ParseError,h=a.XMLReader;function f(t){return t.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function p(t){this.options=t||{locator:{}}}function d(){this.cdata=!1}function y(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function g(t){if(t)return"\n@"+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function m(t,e,r){return"string"==typeof t?t.substr(e,r):t.length>=e+r||e?new java.lang.String(t,e,r)+"":t}function b(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}p.prototype.parseFromString=function(t,e){var r=this.options,n=new h,i=r.domBuilder||new d,o=r.errorHandler,a=r.locator,u=r.xmlns||{},l=/\/x?html?$/.test(e),p=l?s.HTML_ENTITIES:s.XML_ENTITIES;a&&i.setDocumentLocator(a),n.errorHandler=function(t,e,r){if(!t){if(e instanceof d)return e;t=e}var n={},i=t instanceof Function;function o(e){var o=t[e];!o&&i&&(o=2==t.length?function(r){t(e,r)}:t),n[e]=o&&function(t){o("[xmldom "+e+"]\t"+t+g(r))}||function(){}}return r=r||{},o("warning"),o("error"),o("fatalError"),n}(o,i,a),n.domBuilder=r.domBuilder||i,l&&(u[""]=c.HTML),u.xml=u.xml||c.XML;var y=r.normalizeLineEndings||f;return t&&"string"==typeof t?n.parse(y(t),u,p):n.errorHandler.error("invalid doc source"),i.doc},d.prototype={startDocument:function(){this.doc=(new u).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var i=this.doc,o=i.createElementNS(t,r||e),s=n.length;b(this,o),this.currentElement=o,this.locator&&y(this.locator,o);for(var a=0;a{var n=r(5108),i=r(2167),o=i.find,s=i.NAMESPACE;function a(t){return""!==t}function u(t,e){return t.hasOwnProperty(e)||(t[e]=!0),t}function c(t){if(!t)return[];var e=function(t){return t?t.split(/[\t\n\f\r ]+/).filter(a):[]}(t);return Object.keys(e.reduce(u,{}))}function l(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function h(t,e){var r=t.prototype;if(!(r instanceof e)){function i(){}i.prototype=e.prototype,l(r,i=new i),t.prototype=r=i}r.constructor!=t&&("function"!=typeof t&&n.error("unknown Class:"+t),r.constructor=t)}var f={},p=f.ELEMENT_NODE=1,d=f.ATTRIBUTE_NODE=2,y=f.TEXT_NODE=3,g=f.CDATA_SECTION_NODE=4,m=f.ENTITY_REFERENCE_NODE=5,b=f.ENTITY_NODE=6,v=f.PROCESSING_INSTRUCTION_NODE=7,w=f.COMMENT_NODE=8,E=f.DOCUMENT_NODE=9,_=f.DOCUMENT_TYPE_NODE=10,M=f.DOCUMENT_FRAGMENT_NODE=11,S=f.NOTATION_NODE=12,x={},N={},A=(x.INDEX_SIZE_ERR=(N[1]="Index size error",1),x.DOMSTRING_SIZE_ERR=(N[2]="DOMString size error",2),x.HIERARCHY_REQUEST_ERR=(N[3]="Hierarchy request error",3)),O=(x.WRONG_DOCUMENT_ERR=(N[4]="Wrong document",4),x.INVALID_CHARACTER_ERR=(N[5]="Invalid character",5),x.NO_DATA_ALLOWED_ERR=(N[6]="No data allowed",6),x.NO_MODIFICATION_ALLOWED_ERR=(N[7]="No modification allowed",7),x.NOT_FOUND_ERR=(N[8]="Not found",8)),T=(x.NOT_SUPPORTED_ERR=(N[9]="Not supported",9),x.INUSE_ATTRIBUTE_ERR=(N[10]="Attribute in use",10));x.INVALID_STATE_ERR=(N[11]="Invalid state",11),x.SYNTAX_ERR=(N[12]="Syntax error",12),x.INVALID_MODIFICATION_ERR=(N[13]="Invalid modification",13),x.NAMESPACE_ERR=(N[14]="Invalid namespace",14),x.INVALID_ACCESS_ERR=(N[15]="Invalid access",15);function R(t,e){if(e instanceof Error)var r=e;else r=this,Error.call(this,N[t]),this.message=N[t],Error.captureStackTrace&&Error.captureStackTrace(this,R);return r.code=t,e&&(this.message=this.message+": "+e),r}function P(){}function C(t,e){this._node=t,this._refresh=e,j(this)}function j(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!==e){var r=t._refresh(t._node);if(wt(t,"length",r.length),!t.$$length||r.length=0))throw new R(O,new Error(t.tagName+"@"+r));for(var i=e.length-1;n"==t&&">")||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function B(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(B(t,e))return!0}while(t=t.nextSibling)}function G(){this.ownerDocument=this}function H(t,e,r,n){t&&t._inc++,r.namespaceURI===s.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function V(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var i=e.firstChild,o=0;i;)n[o++]=i,i=i.nextSibling;n.length=o,delete n[n.length]}}}function z(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,V(t.ownerDocument,t),e}function W(t){return t&&t.nodeType===F.DOCUMENT_TYPE_NODE}function $(t){return t&&t.nodeType===F.ELEMENT_NODE}function J(t){return t&&t.nodeType===F.TEXT_NODE}function Y(t,e){var r=t.childNodes||[];if(o(r,$)||W(e))return!1;var n=o(r,W);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function X(t,e){var r=t.childNodes||[];if(o(r,(function(t){return $(t)&&t!==e})))return!1;var n=o(r,W);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function Q(t,e,r){if(!function(t){return t&&(t.nodeType===F.DOCUMENT_NODE||t.nodeType===F.DOCUMENT_FRAGMENT_NODE||t.nodeType===F.ELEMENT_NODE)}(t))throw new R(A,"Unexpected parent node type "+t.nodeType);if(r&&r.parentNode!==t)throw new R(O,"child not in parent");if(!function(t){return t&&($(t)||J(t)||W(t)||t.nodeType===F.DOCUMENT_FRAGMENT_NODE||t.nodeType===F.COMMENT_NODE||t.nodeType===F.PROCESSING_INSTRUCTION_NODE)}(e)||W(e)&&t.nodeType!==F.DOCUMENT_NODE)throw new R(A,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType)}function K(t,e,r){var n=t.childNodes||[],i=e.childNodes||[];if(e.nodeType===F.DOCUMENT_FRAGMENT_NODE){var s=i.filter($);if(s.length>1||o(i,J))throw new R(A,"More than one element or text in fragment");if(1===s.length&&!Y(t,r))throw new R(A,"Element in fragment can not be inserted before doctype")}if($(e)&&!Y(t,r))throw new R(A,"Only one element can be added and only after doctype");if(W(e)){if(o(n,W))throw new R(A,"Only one doctype is allowed");var a=o(n,$);if(r&&n.indexOf(a)1||o(i,J))throw new R(A,"More than one element or text in fragment");if(1===s.length&&!X(t,r))throw new R(A,"Element in fragment can not be inserted before doctype")}if($(e)&&!X(t,r))throw new R(A,"Only one element can be added and only after doctype");if(W(e)){if(o(n,(function(t){return W(t)&&t!==r})))throw new R(A,"Only one doctype is allowed");var a=o(n,$);if(r&&n.indexOf(a)=0;b--){if(""===(S=i[b]).prefix&&S.namespace===t.namespaceURI){h=S.namespace;break}}if(h!==t.namespaceURI)for(b=i.length-1;b>=0;b--){var S;if((S=i[b]).namespace===t.namespaceURI){S.prefix&&(l=S.prefix+":"+c);break}}}e.push("<",l);for(var x=0;x"),r&&/^script$/i.test(c))for(;u;)u.data?e.push(u.data):mt(u,e,r,n,i.slice()),u=u.nextSibling;else for(;u;)mt(u,e,r,n,i.slice()),u=u.nextSibling;e.push("")}else e.push("/>");return;case E:case M:for(u=t.firstChild;u;)mt(u,e,r,n,i.slice()),u=u.nextSibling;return;case d:return gt(e,t.name,t.value);case y:return e.push(t.data.replace(/[<&>]/g,U));case g:return e.push("");case w:return e.push("\x3c!--",t.data,"--\x3e");case _:var T=t.publicId,R=t.systemId;if(e.push("");else if(R&&"."!=R)e.push(" SYSTEM ",R,">");else{var P=t.internalSubset;P&&e.push(" [",P,"]"),e.push(">")}return;case v:return e.push("");case m:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function bt(t,e,r){var n;switch(e.nodeType){case p:(n=e.cloneNode(!1)).ownerDocument=t;case M:break;case d:r=!0}if(n||(n=e.cloneNode(!1)),n.ownerDocument=t,n.parentNode=null,r)for(var i=e.firstChild;i;)n.appendChild(bt(t,i,r)),i=i.nextSibling;return n}function vt(t,e,r){var n=new e.constructor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=e[i];"object"!=typeof o&&o!=n[i]&&(n[i]=o)}switch(e.childNodes&&(n.childNodes=new P),n.ownerDocument=t,n.nodeType){case p:var s=e.attributes,a=n.attributes=new I,u=s.length;a._ownerElement=n;for(var c=0;c=0&&t0},lookupPrefix:function(t){for(var e=this;e;){var r=e._nsMap;if(r)for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===t)return n;e=e.nodeType==d?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var r=e._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,t))return r[t];e=e.nodeType==d?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},l(f,F),l(f,F.prototype),G.prototype={nodeName:"#document",nodeType:E,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==M){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return tt(this,t,e),t.ownerDocument=this,null===this.documentElement&&t.nodeType===p&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),z(this,t)},replaceChild:function(t,e){tt(this,t,e,Z),t.ownerDocument=this,e&&this.removeChild(e),$(t)&&(this.documentElement=t)},importNode:function(t,e){return bt(this,t,e)},getElementById:function(t){var e=null;return B(this.documentElement,(function(r){if(r.nodeType==p&&r.getAttribute("id")==t)return e=r,!0})),e},getElementsByClassName:function(t){var e=c(t);return new C(this,(function(r){var n=[];return e.length>0&&B(r.documentElement,(function(i){if(i!==r&&i.nodeType===p){var o=i.getAttribute("class");if(o){var s=t===o;if(!s){var a=c(o);s=e.every((u=a,function(t){return u&&-1!==u.indexOf(t)}))}s&&n.push(i)}}var u})),n}))},createElement:function(t){var e=new et;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new P,(e.attributes=new I)._ownerElement=e,e},createDocumentFragment:function(){var t=new ht;return t.ownerDocument=this,t.childNodes=new P,t},createTextNode:function(t){var e=new it;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new ot;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new st;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new ft;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new rt;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new lt;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new et,n=e.split(":"),i=r.attributes=new I;return r.childNodes=new P,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,i._ownerElement=r,r},createAttributeNS:function(t,e){var r=new rt,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},h(G,F),et.prototype={nodeType:p,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===M?this.insertBefore(t,null):function(t,e){return e.parentNode&&e.parentNode.removeChild(e),e.parentNode=t,e.previousSibling=t.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:t.firstChild=e,t.lastChild=e,V(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new C(this,(function(e){var r=[];return B(e,(function(n){n===e||n.nodeType!=p||"*"!==t&&n.tagName!=t||r.push(n)})),r}))},getElementsByTagNameNS:function(t,e){return new C(this,(function(r){var n=[];return B(r,(function(i){i===r||i.nodeType!==p||"*"!==t&&i.namespaceURI!==t||"*"!==e&&i.localName!=e||n.push(i)})),n}))}},G.prototype.getElementsByTagName=et.prototype.getElementsByTagName,G.prototype.getElementsByTagNameNS=et.prototype.getElementsByTagNameNS,h(et,F),rt.prototype.nodeType=d,h(rt,F),nt.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(N[A])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,r){r=this.data.substring(0,t)+r+this.data.substring(t+e),this.nodeValue=this.data=r,this.length=r.length}},h(nt,F),it.prototype={nodeName:"#text",nodeType:y,splitText:function(t){var e=this.data,r=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},h(it,nt),ot.prototype={nodeName:"#comment",nodeType:w},h(ot,nt),st.prototype={nodeName:"#cdata-section",nodeType:g},h(st,nt),at.prototype.nodeType=_,h(at,F),ut.prototype.nodeType=S,h(ut,F),ct.prototype.nodeType=b,h(ct,F),lt.prototype.nodeType=m,h(lt,F),ht.prototype.nodeName="#document-fragment",ht.prototype.nodeType=M,h(ht,F),ft.prototype.nodeType=v,h(ft,F),pt.prototype.serializeToString=function(t,e,r){return dt.call(t,e,r)},F.prototype.toString=dt;try{if(Object.defineProperty){function Et(t){switch(t.nodeType){case p:case M:var e=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&e.push(Et(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}Object.defineProperty(C.prototype,"length",{get:function(){return j(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return Et(this)},set:function(t){switch(this.nodeType){case p:case M:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),wt=function(t,e,r){t["$$"+e]=r}}}catch(_t){}e.DocumentType=at,e.DOMException=R,e.DOMImplementation=q,e.Element=et,e.Node=F,e.NodeList=P,e.XMLSerializer=pt},1045:(t,e,r)=>{"use strict";var n=r(2167).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=n({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),e.entityMap=e.HTML_ENTITIES},3969:(t,e,r)=>{var n=r(1146);n.DOMImplementation,n.XMLSerializer,e.DOMParser=r(6129).DOMParser},6925:(t,e,r)=>{var n=r(2167).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$"),a=0,u=1,c=2,l=3,h=4,f=5,p=6,d=7;function y(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,y)}function g(){}function m(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function b(t,e,r,i,o,s){function y(t,e,n){r.attributeNames.hasOwnProperty(t)&&s.fatalError("Attribute "+t+" redefined"),r.addValue(t,e.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),n)}for(var g,m=++e,b=a;;){var v=t.charAt(m);switch(v){case"=":if(b===u)g=t.slice(e,m),b=l;else{if(b!==c)throw new Error("attribute equal must after attrName");b=l}break;case"'":case'"':if(b===l||b===u){if(b===u&&(s.warning('attribute value must after "="'),g=t.slice(e,m)),e=m+1,!((m=t.indexOf(v,e))>0))throw new Error("attribute value no end '"+v+"' match");y(g,w=t.slice(e,m),e-1),b=f}else{if(b!=h)throw new Error('attribute value must after "="');y(g,w=t.slice(e,m),e),s.warning('attribute "'+g+'" missed start quot('+v+")!!"),e=m+1,b=f}break;case"/":switch(b){case a:r.setTagName(t.slice(e,m));case f:case p:case d:b=d,r.closed=!0;case h:case u:break;case c:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),b==a&&r.setTagName(t.slice(e,m)),m;case">":switch(b){case a:r.setTagName(t.slice(e,m));case f:case p:case d:break;case h:case u:"/"===(w=t.slice(e,m)).slice(-1)&&(r.closed=!0,w=w.slice(0,-1));case c:b===c&&(w=g),b==h?(s.warning('attribute "'+w+'" missed quot(")!'),y(g,w,e)):(n.isHTML(i[""])&&w.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+w+'" missed value!! "'+w+'" instead!!'),y(w,w,e));break;case l:throw new Error("attribute value missed!!")}return m;case"€":v=" ";default:if(v<=" ")switch(b){case a:r.setTagName(t.slice(e,m)),b=p;break;case u:g=t.slice(e,m),b=c;break;case h:var w=t.slice(e,m);s.warning('attribute "'+w+'" missed quot(")!!'),y(g,w,e);case f:b=p}else switch(b){case c:r.tagName;n.isHTML(i[""])&&g.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+g+'" missed value!! "'+g+'" instead2!!'),y(g,g,e),e=m,b=u;break;case f:s.warning('attribute space is required"'+g+'"!!');case p:b=u,e=m;break;case l:b=h,e=m;break;case d:throw new Error("elements closed character '/' and '>' must be connected to")}}m++}}function v(t,e,r){for(var i=t.tagName,o=null,s=t.length;s--;){var a=t[s],u=a.qName,c=a.value;if((p=u.indexOf(":"))>0)var l=a.prefix=u.slice(0,p),h=u.slice(p+1),f="xmlns"===l&&h;else h=u,l=null,f="xmlns"===u&&"";a.localName=h,!1!==f&&(null==o&&(o={},_(r,r={})),r[f]=o[f]=c,a.uri=n.XMLNS,e.startPrefixMapping(f,c))}for(s=t.length;s--;){(l=(a=t[s]).prefix)&&("xml"===l&&(a.uri=n.XML),"xmlns"!==l&&(a.uri=r[l||""]))}var p;(p=i.indexOf(":"))>0?(l=t.prefix=i.slice(0,p),h=t.localName=i.slice(p+1)):(l=null,h=t.localName=i);var d=t.uri=r[l||""];if(e.startElement(d,h,i,t),!t.closed)return t.currentNSMap=r,t.localNSMap=o,!0;if(e.endElement(d,h,i),o)for(l in o)Object.prototype.hasOwnProperty.call(o,l)&&e.endPrefixMapping(l)}function w(t,e,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var o=t.indexOf("",e),s=t.substring(e+1,o);if(/[&<]/.test(s))return/^script$/i.test(r)?(i.characters(s,0,s.length),o):(s=s.replace(/&#?\w+;/g,n),i.characters(s,0,s.length),o)}return e+1}function E(t,e,r,n){var i=n[r];return null==i&&((i=t.lastIndexOf(""))e?(r.comment(t,e+4,i-e-4),i+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==t.substr(e+3,6)){var i=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,i-e-9),r.endCDATA(),i+3}var o=function(t,e){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=e,i.exec(t);for(;r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),s=o.length;if(s>1&&/!doctype/i.test(o[0][0])){var a=o[1][0],u=!1,c=!1;s>3&&(/^public$/i.test(o[2][0])?(u=o[3][0],c=s>4&&o[4][0]):/^system$/i.test(o[2][0])&&(c=o[3][0]));var l=o[s-1];return r.startDTD(a,u,c),r.endDTD(),l.index+l[0].length}return-1}function S(t,e,r){var n=t.indexOf("?>",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return r.processingInstruction(i[1],i[2]),n+2}return-1}return-1}function x(){this.attributeNames={}}y.prototype=new Error,y.prototype.name=y.name,g.prototype={parse:function(t,e,r){var i=this.domBuilder;i.startDocument(),_(e,e={}),function(t,e,r,i,o){function s(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}function a(t){var e=t.slice(1,-1);return Object.hasOwnProperty.call(r,e)?r[e]:"#"===e.charAt(0)?s(parseInt(e.substr(1).replace("x","0x"))):(o.error("entity not found:"+t),t)}function u(e){if(e>_){var r=t.substring(_,e).replace(/&#?\w+;/g,a);p&&c(_),i.characters(r,0,e-_),_=e}}function c(e,r){for(;e>=h&&(r=f.exec(t));)l=r.index,h=l+r[0].length,p.lineNumber++;p.columnNumber=e-l+1}var l=0,h=0,f=/.*(?:\r\n?|\n)|.*$/g,p=i.locator,d=[{currentNSMap:e}],g={},_=0;for(;;){try{var N=t.indexOf("<",_);if(N<0){if(!t.substr(_).match(/^\s*$/)){var A=i.doc,O=A.createTextNode(t.substr(_));A.appendChild(O),i.currentElement=O}return}switch(N>_&&u(N),t.charAt(N+1)){case"/":var T=t.indexOf(">",N+3),R=t.substring(N+2,T).replace(/[ \t\n\r]+$/g,""),P=d.pop();T<0?(R=t.substring(N+2).replace(/[\s<].*/,""),o.error("end tag name: "+R+" is not complete:"+P.tagName),T=N+1+R.length):R.match(/\s_?_=T:u(Math.max(N,_)+1)}}(t,e,r,i,this.errorHandler),i.endDocument()}},x.prototype={setTagName:function(t){if(!s.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!s.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=g,e.ParseError=y},3701:function(t,e,r){"use strict";var n=r(8764).Buffer,i=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.req=e.json=e.toBuffer=void 0;const a=s(r(8501)),u=s(r(9267));async function c(t){let e=0;const r=[];for await(const n of t)e+=n.length,r.push(n);return n.concat(r,e)}e.toBuffer=c,e.json=async function(t){const e=(await c(t)).toString("utf8");try{return JSON.parse(e)}catch(t){const r=t;throw r.message+=` (input: ${e})`,r}},e.req=function(t,e={}){const r=(("string"==typeof t?t:t.href).startsWith("https:")?u:a).request(t,e),n=new Promise(((t,e)=>{r.once("response",t).once("error",e).end()}));return r.then=n.then.bind(n),r}},2917:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&n(e,t,r);return i(e,t),e},s=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.Agent=void 0;const a=o(r(8501));s(r(3701),e);const u=Symbol("AgentBaseInternalState");class c extends a.Agent{constructor(t){super(t),this[u]={}}isSecureEndpoint(t){if(t){if("boolean"==typeof t.secureEndpoint)return t.secureEndpoint;if("string"==typeof t.protocol)return"https:"===t.protocol}const{stack:e}=new Error;return"string"==typeof e&&e.split("\n").some((t=>-1!==t.indexOf("(https.js:")||-1!==t.indexOf("node:https:")))}createSocket(t,e,r){const n={...e,secureEndpoint:this.isSecureEndpoint(e)};Promise.resolve().then((()=>this.connect(t,n))).then((i=>{if(i instanceof a.Agent)return i.addRequest(t,n);this[u].currentSocket=i,super.createSocket(t,e,r)}),r)}createConnection(){const t=this[u].currentSocket;if(this[u].currentSocket=void 0,!t)throw new Error("No socket was returned in the `connect()` function");return t}get defaultPort(){return this[u].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(t){this[u]&&(this[u].defaultPort=t)}get protocol(){return this[u].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(t){this[u]&&(this[u].protocol=t)}}e.Agent=c},9282:(t,e,r)=>{"use strict";var n=r(4155),i=r(5108);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function s(t,e){for(var r=0;r1?r-1:0),i=1;i1?r-1:0),i=1;i1?r-1:0),i=1;i1?r-1:0),i=1;i{"use strict";var n=r(4155);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;et.length)&&(r=t.length),t.substring(r-e.length,r)===e}var w="",E="",_="",M="",S={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function x(t){var e=Object.keys(t),r=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){r[e]=t[e]})),Object.defineProperty(r,"message",{value:t.message}),r}function N(t){return m(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function A(t,e,r){var i="",o="",s=0,a="",u=!1,c=N(t),l=c.split("\n"),h=N(e).split("\n"),f=0,p="";if("strictEqual"===r&&"object"===g(t)&&"object"===g(e)&&null!==t&&null!==e&&(r="strictEqualObject"),1===l.length&&1===h.length&&l[0]!==h[0]){var d=l[0].length+h[0].length;if(d<=10){if(!("object"===g(t)&&null!==t||"object"===g(e)&&null!==e||0===t&&0===e))return"".concat(S[r],"\n\n")+"".concat(l[0]," !== ").concat(h[0],"\n")}else if("strictEqualObject"!==r){if(d<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;l[0][f]===h[0][f];)f++;f>2&&(p="\n ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var r=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,r-t.length)}(" ",f),"^"),f=0)}}}for(var y=l[l.length-1],m=h[h.length-1];y===m&&(f++<2?a="\n ".concat(y).concat(a):i=y,l.pop(),h.pop(),0!==l.length&&0!==h.length);)y=l[l.length-1],m=h[h.length-1];var b=Math.max(l.length,h.length);if(0===b){var x=c.split("\n");if(x.length>30)for(x[26]="".concat(w,"...").concat(M);x.length>27;)x.pop();return"".concat(S.notIdentical,"\n\n").concat(x.join("\n"),"\n")}f>3&&(a="\n".concat(w,"...").concat(M).concat(a),u=!0),""!==i&&(a="\n ".concat(i).concat(a),i="");var A=0,O=S[r]+"\n".concat(E,"+ actual").concat(M," ").concat(_,"- expected").concat(M),T=" ".concat(w,"...").concat(M," Lines skipped");for(f=0;f1&&f>2&&(R>4?(o+="\n".concat(w,"...").concat(M),u=!0):R>3&&(o+="\n ".concat(h[f-2]),A++),o+="\n ".concat(h[f-1]),A++),s=f,i+="\n".concat(_,"-").concat(M," ").concat(h[f]),A++;else if(h.length1&&f>2&&(R>4?(o+="\n".concat(w,"...").concat(M),u=!0):R>3&&(o+="\n ".concat(l[f-2]),A++),o+="\n ".concat(l[f-1]),A++),s=f,o+="\n".concat(E,"+").concat(M," ").concat(l[f]),A++;else{var P=h[f],C=l[f],j=C!==P&&(!v(C,",")||C.slice(0,-1)!==P);j&&v(P,",")&&P.slice(0,-1)===C&&(j=!1,C+=","),j?(R>1&&f>2&&(R>4?(o+="\n".concat(w,"...").concat(M),u=!0):R>3&&(o+="\n ".concat(l[f-2]),A++),o+="\n ".concat(l[f-1]),A++),s=f,o+="\n".concat(E,"+").concat(M," ").concat(C),i+="\n".concat(_,"-").concat(M," ").concat(P),A+=2):(o+=i,i="",1!==R&&0!==f||(o+="\n ".concat(C),A++))}if(A>20&&f30)for(p[26]="".concat(w,"...").concat(M);p.length>27;)p.pop();e=1===p.length?f.call(this,"".concat(h," ").concat(p[0])):f.call(this,"".concat(h,"\n\n").concat(p.join("\n"),"\n"))}else{var d=N(s),y="",m=S[i];"notDeepEqual"===i||"notEqual"===i?(d="".concat(S[i],"\n\n").concat(d)).length>1024&&(d="".concat(d.slice(0,1021),"...")):(y="".concat(N(a)),d.length>512&&(d="".concat(d.slice(0,509),"...")),y.length>512&&(y="".concat(y.slice(0,509),"...")),"deepEqual"===i||"equal"===i?d="".concat(m,"\n\n").concat(d,"\n\nshould equal\n\n"):y=" ".concat(i," ").concat(y)),e=f.call(this,"".concat(d).concat(y))}return Error.stackTraceLimit=u,e.generatedMessage=!r,Object.defineProperty(l(e),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),e.code="ERR_ASSERTION",e.actual=s,e.expected=a,e.operator=i,Error.captureStackTrace&&Error.captureStackTrace(l(e),o),e.stack,e.name="AssertionError",c(e)}return s=v,(u=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:e,value:function(t,e){return m(this,o(o({},e),{},{customInspect:!1,depth:0}))}}])&&a(s.prototype,u),h&&a(s,h),Object.defineProperty(s,"prototype",{writable:!1}),v}(h(Error),m.custom);t.exports=O},2136:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t,e){for(var r=0;r2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}h("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),h("ERR_INVALID_ARG_TYPE",(function(t,e,i){var o,s,a,c;if(void 0===u&&(u=r(9282)),u("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(s="not ",e.substr(!a||a<0?0:+a,s.length)===s)?(o="must not be",e=e.replace(/^not /,"")):o="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))c="The ".concat(t," ").concat(o," ").concat(f(e,"type"));else{var l=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";c='The "'.concat(t,'" ').concat(l," ").concat(o," ").concat(f(e,"type"))}return c+=". Received type ".concat(n(i))}),TypeError),h("ERR_INVALID_ARG_VALUE",(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=r(9539));var i=c.inspect(e);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(i)}),TypeError,RangeError),h("ERR_INVALID_RETURN_VALUE",(function(t,e,r){var i;return i=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(i,".")}),TypeError),h("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),n=0;n0,"At least one arg needs to be specified");var i="The ",o=e.length;switch(e=e.map((function(t){return'"'.concat(t,'"')})),o){case 1:i+="".concat(e[0]," argument");break;case 2:i+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:i+=e.slice(0,o-1).join(", "),i+=", and ".concat(e[o-1]," arguments")}return"".concat(i," must be specified")}),TypeError),t.exports.codes=l},9158:(t,e,r)=>{"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,s,a=[],u=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(a.push(n.value),a.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r10)return!0;for(var e=0;e57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function j(t){return Object.keys(t).filter(C).concat(l(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))} +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.GeoportalWfsClient=e():t.GeoportalWfsClient=e()}(this,(()=>(()=>{var t={4582:(t,e)=>{"use strict";function r(t,e){return void 0===e&&(e=Object),e&&"function"==typeof e.freeze?e.freeze(t):t}var n=r({HTML:"text/html",isHTML:function(t){return t===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(t){return t===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});e.assign=function(t,e){if(null===t||"object"!=typeof t)throw new TypeError("target is not an object");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},e.find=function(t,e,r){if(void 0===r&&(r=Array.prototype),t&&"function"==typeof r.find)return r.find.call(t,e);for(var n=0;n{var n=r(6763),i=r(4582),o=r(4722),s=r(6559),a=r(4466),u=o.DOMImplementation,c=i.NAMESPACE,l=a.ParseError,h=a.XMLReader;function f(t){return t.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function p(t){this.options=t||{locator:{}}}function d(){this.cdata=!1}function y(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function g(t){if(t)return"\n@"+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function m(t,e,r){return"string"==typeof t?t.substr(e,r):t.length>=e+r||e?new java.lang.String(t,e,r)+"":t}function b(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}p.prototype.parseFromString=function(t,e){var r=this.options,n=new h,i=r.domBuilder||new d,o=r.errorHandler,a=r.locator,u=r.xmlns||{},l=/\/x?html?$/.test(e),p=l?s.HTML_ENTITIES:s.XML_ENTITIES;a&&i.setDocumentLocator(a),n.errorHandler=function(t,e,r){if(!t){if(e instanceof d)return e;t=e}var n={},i=t instanceof Function;function o(e){var o=t[e];!o&&i&&(o=2==t.length?function(r){t(e,r)}:t),n[e]=o&&function(t){o("[xmldom "+e+"]\t"+t+g(r))}||function(){}}return r=r||{},o("warning"),o("error"),o("fatalError"),n}(o,i,a),n.domBuilder=r.domBuilder||i,l&&(u[""]=c.HTML),u.xml=u.xml||c.XML;var y=r.normalizeLineEndings||f;return t&&"string"==typeof t?n.parse(y(t),u,p):n.errorHandler.error("invalid doc source"),i.doc},d.prototype={startDocument:function(){this.doc=(new u).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var i=this.doc,o=i.createElementNS(t,r||e),s=n.length;b(this,o),this.currentElement=o,this.locator&&y(this.locator,o);for(var a=0;a{var n=r(6763),i=r(4582),o=i.find,s=i.NAMESPACE;function a(t){return""!==t}function u(t,e){return t.hasOwnProperty(e)||(t[e]=!0),t}function c(t){if(!t)return[];var e=function(t){return t?t.split(/[\t\n\f\r ]+/).filter(a):[]}(t);return Object.keys(e.reduce(u,{}))}function l(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function h(t,e){var r=t.prototype;if(!(r instanceof e)){function i(){}i.prototype=e.prototype,l(r,i=new i),t.prototype=r=i}r.constructor!=t&&("function"!=typeof t&&n.error("unknown Class:"+t),r.constructor=t)}var f={},p=f.ELEMENT_NODE=1,d=f.ATTRIBUTE_NODE=2,y=f.TEXT_NODE=3,g=f.CDATA_SECTION_NODE=4,m=f.ENTITY_REFERENCE_NODE=5,b=f.ENTITY_NODE=6,v=f.PROCESSING_INSTRUCTION_NODE=7,w=f.COMMENT_NODE=8,E=f.DOCUMENT_NODE=9,_=f.DOCUMENT_TYPE_NODE=10,M=f.DOCUMENT_FRAGMENT_NODE=11,S=f.NOTATION_NODE=12,x={},N={},A=(x.INDEX_SIZE_ERR=(N[1]="Index size error",1),x.DOMSTRING_SIZE_ERR=(N[2]="DOMString size error",2),x.HIERARCHY_REQUEST_ERR=(N[3]="Hierarchy request error",3)),O=(x.WRONG_DOCUMENT_ERR=(N[4]="Wrong document",4),x.INVALID_CHARACTER_ERR=(N[5]="Invalid character",5),x.NO_DATA_ALLOWED_ERR=(N[6]="No data allowed",6),x.NO_MODIFICATION_ALLOWED_ERR=(N[7]="No modification allowed",7),x.NOT_FOUND_ERR=(N[8]="Not found",8)),T=(x.NOT_SUPPORTED_ERR=(N[9]="Not supported",9),x.INUSE_ATTRIBUTE_ERR=(N[10]="Attribute in use",10));x.INVALID_STATE_ERR=(N[11]="Invalid state",11),x.SYNTAX_ERR=(N[12]="Syntax error",12),x.INVALID_MODIFICATION_ERR=(N[13]="Invalid modification",13),x.NAMESPACE_ERR=(N[14]="Invalid namespace",14),x.INVALID_ACCESS_ERR=(N[15]="Invalid access",15);function R(t,e){if(e instanceof Error)var r=e;else r=this,Error.call(this,N[t]),this.message=N[t],Error.captureStackTrace&&Error.captureStackTrace(this,R);return r.code=t,e&&(this.message=this.message+": "+e),r}function P(){}function C(t,e){this._node=t,this._refresh=e,j(this)}function j(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!==e){var r=t._refresh(t._node);if(wt(t,"length",r.length),!t.$$length||r.length=0))throw new R(O,new Error(t.tagName+"@"+r));for(var i=e.length-1;n"==t&&">")||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function B(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(B(t,e))return!0}while(t=t.nextSibling)}function G(){this.ownerDocument=this}function H(t,e,r,n){t&&t._inc++,r.namespaceURI===s.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function V(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var i=e.firstChild,o=0;i;)n[o++]=i,i=i.nextSibling;n.length=o,delete n[n.length]}}}function z(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,V(t.ownerDocument,t),e}function W(t){return t&&t.nodeType===F.DOCUMENT_TYPE_NODE}function $(t){return t&&t.nodeType===F.ELEMENT_NODE}function J(t){return t&&t.nodeType===F.TEXT_NODE}function Y(t,e){var r=t.childNodes||[];if(o(r,$)||W(e))return!1;var n=o(r,W);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function X(t,e){var r=t.childNodes||[];if(o(r,(function(t){return $(t)&&t!==e})))return!1;var n=o(r,W);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function Q(t,e,r){if(!function(t){return t&&(t.nodeType===F.DOCUMENT_NODE||t.nodeType===F.DOCUMENT_FRAGMENT_NODE||t.nodeType===F.ELEMENT_NODE)}(t))throw new R(A,"Unexpected parent node type "+t.nodeType);if(r&&r.parentNode!==t)throw new R(O,"child not in parent");if(!function(t){return t&&($(t)||J(t)||W(t)||t.nodeType===F.DOCUMENT_FRAGMENT_NODE||t.nodeType===F.COMMENT_NODE||t.nodeType===F.PROCESSING_INSTRUCTION_NODE)}(e)||W(e)&&t.nodeType!==F.DOCUMENT_NODE)throw new R(A,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType)}function K(t,e,r){var n=t.childNodes||[],i=e.childNodes||[];if(e.nodeType===F.DOCUMENT_FRAGMENT_NODE){var s=i.filter($);if(s.length>1||o(i,J))throw new R(A,"More than one element or text in fragment");if(1===s.length&&!Y(t,r))throw new R(A,"Element in fragment can not be inserted before doctype")}if($(e)&&!Y(t,r))throw new R(A,"Only one element can be added and only after doctype");if(W(e)){if(o(n,W))throw new R(A,"Only one doctype is allowed");var a=o(n,$);if(r&&n.indexOf(a)1||o(i,J))throw new R(A,"More than one element or text in fragment");if(1===s.length&&!X(t,r))throw new R(A,"Element in fragment can not be inserted before doctype")}if($(e)&&!X(t,r))throw new R(A,"Only one element can be added and only after doctype");if(W(e)){if(o(n,(function(t){return W(t)&&t!==r})))throw new R(A,"Only one doctype is allowed");var a=o(n,$);if(r&&n.indexOf(a)=0;b--){if(""===(S=i[b]).prefix&&S.namespace===t.namespaceURI){h=S.namespace;break}}if(h!==t.namespaceURI)for(b=i.length-1;b>=0;b--){var S;if((S=i[b]).namespace===t.namespaceURI){S.prefix&&(l=S.prefix+":"+c);break}}}e.push("<",l);for(var x=0;x"),r&&/^script$/i.test(c))for(;u;)u.data?e.push(u.data):mt(u,e,r,n,i.slice()),u=u.nextSibling;else for(;u;)mt(u,e,r,n,i.slice()),u=u.nextSibling;e.push("")}else e.push("/>");return;case E:case M:for(u=t.firstChild;u;)mt(u,e,r,n,i.slice()),u=u.nextSibling;return;case d:return gt(e,t.name,t.value);case y:return e.push(t.data.replace(/[<&>]/g,U));case g:return e.push("");case w:return e.push("\x3c!--",t.data,"--\x3e");case _:var T=t.publicId,R=t.systemId;if(e.push("");else if(R&&"."!=R)e.push(" SYSTEM ",R,">");else{var P=t.internalSubset;P&&e.push(" [",P,"]"),e.push(">")}return;case v:return e.push("");case m:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function bt(t,e,r){var n;switch(e.nodeType){case p:(n=e.cloneNode(!1)).ownerDocument=t;case M:break;case d:r=!0}if(n||(n=e.cloneNode(!1)),n.ownerDocument=t,n.parentNode=null,r)for(var i=e.firstChild;i;)n.appendChild(bt(t,i,r)),i=i.nextSibling;return n}function vt(t,e,r){var n=new e.constructor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=e[i];"object"!=typeof o&&o!=n[i]&&(n[i]=o)}switch(e.childNodes&&(n.childNodes=new P),n.ownerDocument=t,n.nodeType){case p:var s=e.attributes,a=n.attributes=new I,u=s.length;a._ownerElement=n;for(var c=0;c=0&&t0},lookupPrefix:function(t){for(var e=this;e;){var r=e._nsMap;if(r)for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===t)return n;e=e.nodeType==d?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var r=e._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,t))return r[t];e=e.nodeType==d?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},l(f,F),l(f,F.prototype),G.prototype={nodeName:"#document",nodeType:E,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==M){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return tt(this,t,e),t.ownerDocument=this,null===this.documentElement&&t.nodeType===p&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),z(this,t)},replaceChild:function(t,e){tt(this,t,e,Z),t.ownerDocument=this,e&&this.removeChild(e),$(t)&&(this.documentElement=t)},importNode:function(t,e){return bt(this,t,e)},getElementById:function(t){var e=null;return B(this.documentElement,(function(r){if(r.nodeType==p&&r.getAttribute("id")==t)return e=r,!0})),e},getElementsByClassName:function(t){var e=c(t);return new C(this,(function(r){var n=[];return e.length>0&&B(r.documentElement,(function(i){if(i!==r&&i.nodeType===p){var o=i.getAttribute("class");if(o){var s=t===o;if(!s){var a=c(o);s=e.every((u=a,function(t){return u&&-1!==u.indexOf(t)}))}s&&n.push(i)}}var u})),n}))},createElement:function(t){var e=new et;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new P,(e.attributes=new I)._ownerElement=e,e},createDocumentFragment:function(){var t=new ht;return t.ownerDocument=this,t.childNodes=new P,t},createTextNode:function(t){var e=new it;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new ot;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new st;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new ft;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new rt;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new lt;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new et,n=e.split(":"),i=r.attributes=new I;return r.childNodes=new P,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,i._ownerElement=r,r},createAttributeNS:function(t,e){var r=new rt,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},h(G,F),et.prototype={nodeType:p,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===M?this.insertBefore(t,null):function(t,e){return e.parentNode&&e.parentNode.removeChild(e),e.parentNode=t,e.previousSibling=t.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:t.firstChild=e,t.lastChild=e,V(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new C(this,(function(e){var r=[];return B(e,(function(n){n===e||n.nodeType!=p||"*"!==t&&n.tagName!=t||r.push(n)})),r}))},getElementsByTagNameNS:function(t,e){return new C(this,(function(r){var n=[];return B(r,(function(i){i===r||i.nodeType!==p||"*"!==t&&i.namespaceURI!==t||"*"!==e&&i.localName!=e||n.push(i)})),n}))}},G.prototype.getElementsByTagName=et.prototype.getElementsByTagName,G.prototype.getElementsByTagNameNS=et.prototype.getElementsByTagNameNS,h(et,F),rt.prototype.nodeType=d,h(rt,F),nt.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(N[A])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,r){r=this.data.substring(0,t)+r+this.data.substring(t+e),this.nodeValue=this.data=r,this.length=r.length}},h(nt,F),it.prototype={nodeName:"#text",nodeType:y,splitText:function(t){var e=this.data,r=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},h(it,nt),ot.prototype={nodeName:"#comment",nodeType:w},h(ot,nt),st.prototype={nodeName:"#cdata-section",nodeType:g},h(st,nt),at.prototype.nodeType=_,h(at,F),ut.prototype.nodeType=S,h(ut,F),ct.prototype.nodeType=b,h(ct,F),lt.prototype.nodeType=m,h(lt,F),ht.prototype.nodeName="#document-fragment",ht.prototype.nodeType=M,h(ht,F),ft.prototype.nodeType=v,h(ft,F),pt.prototype.serializeToString=function(t,e,r){return dt.call(t,e,r)},F.prototype.toString=dt;try{if(Object.defineProperty){function Et(t){switch(t.nodeType){case p:case M:var e=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&e.push(Et(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}Object.defineProperty(C.prototype,"length",{get:function(){return j(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return Et(this)},set:function(t){switch(this.nodeType){case p:case M:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),wt=function(t,e,r){t["$$"+e]=r}}}catch(_t){}e.DocumentType=at,e.DOMException=R,e.DOMImplementation=q,e.Element=et,e.Node=F,e.NodeList=P,e.XMLSerializer=pt},6559:(t,e,r)=>{"use strict";var n=r(4582).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=n({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),e.entityMap=e.HTML_ENTITIES},8978:(t,e,r)=>{var n=r(4722);n.DOMImplementation,n.XMLSerializer,e.DOMParser=r(5752).DOMParser},4466:(t,e,r)=>{var n=r(4582).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$"),a=0,u=1,c=2,l=3,h=4,f=5,p=6,d=7;function y(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,y)}function g(){}function m(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function b(t,e,r,i,o,s){function y(t,e,n){r.attributeNames.hasOwnProperty(t)&&s.fatalError("Attribute "+t+" redefined"),r.addValue(t,e.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),n)}for(var g,m=++e,b=a;;){var v=t.charAt(m);switch(v){case"=":if(b===u)g=t.slice(e,m),b=l;else{if(b!==c)throw new Error("attribute equal must after attrName");b=l}break;case"'":case'"':if(b===l||b===u){if(b===u&&(s.warning('attribute value must after "="'),g=t.slice(e,m)),e=m+1,!((m=t.indexOf(v,e))>0))throw new Error("attribute value no end '"+v+"' match");y(g,w=t.slice(e,m),e-1),b=f}else{if(b!=h)throw new Error('attribute value must after "="');y(g,w=t.slice(e,m),e),s.warning('attribute "'+g+'" missed start quot('+v+")!!"),e=m+1,b=f}break;case"/":switch(b){case a:r.setTagName(t.slice(e,m));case f:case p:case d:b=d,r.closed=!0;case h:case u:break;case c:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),b==a&&r.setTagName(t.slice(e,m)),m;case">":switch(b){case a:r.setTagName(t.slice(e,m));case f:case p:case d:break;case h:case u:"/"===(w=t.slice(e,m)).slice(-1)&&(r.closed=!0,w=w.slice(0,-1));case c:b===c&&(w=g),b==h?(s.warning('attribute "'+w+'" missed quot(")!'),y(g,w,e)):(n.isHTML(i[""])&&w.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+w+'" missed value!! "'+w+'" instead!!'),y(w,w,e));break;case l:throw new Error("attribute value missed!!")}return m;case"€":v=" ";default:if(v<=" ")switch(b){case a:r.setTagName(t.slice(e,m)),b=p;break;case u:g=t.slice(e,m),b=c;break;case h:var w=t.slice(e,m);s.warning('attribute "'+w+'" missed quot(")!!'),y(g,w,e);case f:b=p}else switch(b){case c:r.tagName;n.isHTML(i[""])&&g.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+g+'" missed value!! "'+g+'" instead2!!'),y(g,g,e),e=m,b=u;break;case f:s.warning('attribute space is required"'+g+'"!!');case p:b=u,e=m;break;case l:b=h,e=m;break;case d:throw new Error("elements closed character '/' and '>' must be connected to")}}m++}}function v(t,e,r){for(var i=t.tagName,o=null,s=t.length;s--;){var a=t[s],u=a.qName,c=a.value;if((p=u.indexOf(":"))>0)var l=a.prefix=u.slice(0,p),h=u.slice(p+1),f="xmlns"===l&&h;else h=u,l=null,f="xmlns"===u&&"";a.localName=h,!1!==f&&(null==o&&(o={},_(r,r={})),r[f]=o[f]=c,a.uri=n.XMLNS,e.startPrefixMapping(f,c))}for(s=t.length;s--;){(l=(a=t[s]).prefix)&&("xml"===l&&(a.uri=n.XML),"xmlns"!==l&&(a.uri=r[l||""]))}var p;(p=i.indexOf(":"))>0?(l=t.prefix=i.slice(0,p),h=t.localName=i.slice(p+1)):(l=null,h=t.localName=i);var d=t.uri=r[l||""];if(e.startElement(d,h,i,t),!t.closed)return t.currentNSMap=r,t.localNSMap=o,!0;if(e.endElement(d,h,i),o)for(l in o)Object.prototype.hasOwnProperty.call(o,l)&&e.endPrefixMapping(l)}function w(t,e,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var o=t.indexOf("",e),s=t.substring(e+1,o);if(/[&<]/.test(s))return/^script$/i.test(r)?(i.characters(s,0,s.length),o):(s=s.replace(/&#?\w+;/g,n),i.characters(s,0,s.length),o)}return e+1}function E(t,e,r,n){var i=n[r];return null==i&&((i=t.lastIndexOf(""))e?(r.comment(t,e+4,i-e-4),i+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==t.substr(e+3,6)){var i=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,i-e-9),r.endCDATA(),i+3}var o=function(t,e){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=e,i.exec(t);for(;r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),s=o.length;if(s>1&&/!doctype/i.test(o[0][0])){var a=o[1][0],u=!1,c=!1;s>3&&(/^public$/i.test(o[2][0])?(u=o[3][0],c=s>4&&o[4][0]):/^system$/i.test(o[2][0])&&(c=o[3][0]));var l=o[s-1];return r.startDTD(a,u,c),r.endDTD(),l.index+l[0].length}return-1}function S(t,e,r){var n=t.indexOf("?>",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return r.processingInstruction(i[1],i[2]),n+2}return-1}return-1}function x(){this.attributeNames={}}y.prototype=new Error,y.prototype.name=y.name,g.prototype={parse:function(t,e,r){var i=this.domBuilder;i.startDocument(),_(e,e={}),function(t,e,r,i,o){function s(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}function a(t){var e=t.slice(1,-1);return Object.hasOwnProperty.call(r,e)?r[e]:"#"===e.charAt(0)?s(parseInt(e.substr(1).replace("x","0x"))):(o.error("entity not found:"+t),t)}function u(e){if(e>_){var r=t.substring(_,e).replace(/&#?\w+;/g,a);p&&c(_),i.characters(r,0,e-_),_=e}}function c(e,r){for(;e>=h&&(r=f.exec(t));)l=r.index,h=l+r[0].length,p.lineNumber++;p.columnNumber=e-l+1}var l=0,h=0,f=/.*(?:\r\n?|\n)|.*$/g,p=i.locator,d=[{currentNSMap:e}],g={},_=0;for(;;){try{var N=t.indexOf("<",_);if(N<0){if(!t.substr(_).match(/^\s*$/)){var A=i.doc,O=A.createTextNode(t.substr(_));A.appendChild(O),i.currentElement=O}return}switch(N>_&&u(N),t.charAt(N+1)){case"/":var T=t.indexOf(">",N+3),R=t.substring(N+2,T).replace(/[ \t\n\r]+$/g,""),P=d.pop();T<0?(R=t.substring(N+2).replace(/[\s<].*/,""),o.error("end tag name: "+R+" is not complete:"+P.tagName),T=N+1+R.length):R.match(/\s_?_=T:u(Math.max(N,_)+1)}}(t,e,r,i,this.errorHandler),i.endDocument()}},x.prototype={setTagName:function(t){if(!s.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!s.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=g,e.ParseError=y},544:function(t,e,r){"use strict";var n=r(8287).Buffer,i=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.req=e.json=e.toBuffer=void 0;const a=s(r(1568)),u=s(r(1083));async function c(t){let e=0;const r=[];for await(const n of t)e+=n.length,r.push(n);return n.concat(r,e)}e.toBuffer=c,e.json=async function(t){const e=(await c(t)).toString("utf8");try{return JSON.parse(e)}catch(t){const r=t;throw r.message+=` (input: ${e})`,r}},e.req=function(t,e={}){const r=(("string"==typeof t?t:t.href).startsWith("https:")?u:a).request(t,e),n=new Promise(((t,e)=>{r.once("response",t).once("error",e).end()}));return r.then=n.then.bind(n),r}},917:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&n(e,t,r);return i(e,t),e},s=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.Agent=void 0;const a=o(r(1568));s(r(544),e);const u=Symbol("AgentBaseInternalState");class c extends a.Agent{constructor(t){super(t),this[u]={}}isSecureEndpoint(t){if(t){if("boolean"==typeof t.secureEndpoint)return t.secureEndpoint;if("string"==typeof t.protocol)return"https:"===t.protocol}const{stack:e}=new Error;return"string"==typeof e&&e.split("\n").some((t=>-1!==t.indexOf("(https.js:")||-1!==t.indexOf("node:https:")))}createSocket(t,e,r){const n={...e,secureEndpoint:this.isSecureEndpoint(e)};Promise.resolve().then((()=>this.connect(t,n))).then((i=>{if(i instanceof a.Agent)return i.addRequest(t,n);this[u].currentSocket=i,super.createSocket(t,e,r)}),r)}createConnection(){const t=this[u].currentSocket;if(this[u].currentSocket=void 0,!t)throw new Error("No socket was returned in the `connect()` function");return t}get defaultPort(){return this[u].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(t){this[u]&&(this[u].defaultPort=t)}get protocol(){return this[u].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(t){this[u]&&(this[u].protocol=t)}}e.Agent=c},4148:(t,e,r)=>{"use strict";var n=r(5606),i=r(6763);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function s(t,e){for(var r=0;r1?r-1:0),i=1;i1?r-1:0),i=1;i1?r-1:0),i=1;i1?r-1:0),i=1;i{"use strict";var n=r(5606);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;et.length)&&(r=t.length),t.substring(r-e.length,r)===e}var w="",E="",_="",M="",S={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function x(t){var e=Object.keys(t),r=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){r[e]=t[e]})),Object.defineProperty(r,"message",{value:t.message}),r}function N(t){return m(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function A(t,e,r){var i="",o="",s=0,a="",u=!1,c=N(t),l=c.split("\n"),h=N(e).split("\n"),f=0,p="";if("strictEqual"===r&&"object"===g(t)&&"object"===g(e)&&null!==t&&null!==e&&(r="strictEqualObject"),1===l.length&&1===h.length&&l[0]!==h[0]){var d=l[0].length+h[0].length;if(d<=10){if(!("object"===g(t)&&null!==t||"object"===g(e)&&null!==e||0===t&&0===e))return"".concat(S[r],"\n\n")+"".concat(l[0]," !== ").concat(h[0],"\n")}else if("strictEqualObject"!==r){if(d<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;l[0][f]===h[0][f];)f++;f>2&&(p="\n ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var r=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,r-t.length)}(" ",f),"^"),f=0)}}}for(var y=l[l.length-1],m=h[h.length-1];y===m&&(f++<2?a="\n ".concat(y).concat(a):i=y,l.pop(),h.pop(),0!==l.length&&0!==h.length);)y=l[l.length-1],m=h[h.length-1];var b=Math.max(l.length,h.length);if(0===b){var x=c.split("\n");if(x.length>30)for(x[26]="".concat(w,"...").concat(M);x.length>27;)x.pop();return"".concat(S.notIdentical,"\n\n").concat(x.join("\n"),"\n")}f>3&&(a="\n".concat(w,"...").concat(M).concat(a),u=!0),""!==i&&(a="\n ".concat(i).concat(a),i="");var A=0,O=S[r]+"\n".concat(E,"+ actual").concat(M," ").concat(_,"- expected").concat(M),T=" ".concat(w,"...").concat(M," Lines skipped");for(f=0;f1&&f>2&&(R>4?(o+="\n".concat(w,"...").concat(M),u=!0):R>3&&(o+="\n ".concat(h[f-2]),A++),o+="\n ".concat(h[f-1]),A++),s=f,i+="\n".concat(_,"-").concat(M," ").concat(h[f]),A++;else if(h.length1&&f>2&&(R>4?(o+="\n".concat(w,"...").concat(M),u=!0):R>3&&(o+="\n ".concat(l[f-2]),A++),o+="\n ".concat(l[f-1]),A++),s=f,o+="\n".concat(E,"+").concat(M," ").concat(l[f]),A++;else{var P=h[f],C=l[f],j=C!==P&&(!v(C,",")||C.slice(0,-1)!==P);j&&v(P,",")&&P.slice(0,-1)===C&&(j=!1,C+=","),j?(R>1&&f>2&&(R>4?(o+="\n".concat(w,"...").concat(M),u=!0):R>3&&(o+="\n ".concat(l[f-2]),A++),o+="\n ".concat(l[f-1]),A++),s=f,o+="\n".concat(E,"+").concat(M," ").concat(C),i+="\n".concat(_,"-").concat(M," ").concat(P),A+=2):(o+=i,i="",1!==R&&0!==f||(o+="\n ".concat(C),A++))}if(A>20&&f30)for(p[26]="".concat(w,"...").concat(M);p.length>27;)p.pop();e=1===p.length?f.call(this,"".concat(h," ").concat(p[0])):f.call(this,"".concat(h,"\n\n").concat(p.join("\n"),"\n"))}else{var d=N(s),y="",m=S[i];"notDeepEqual"===i||"notEqual"===i?(d="".concat(S[i],"\n\n").concat(d)).length>1024&&(d="".concat(d.slice(0,1021),"...")):(y="".concat(N(a)),d.length>512&&(d="".concat(d.slice(0,509),"...")),y.length>512&&(y="".concat(y.slice(0,509),"...")),"deepEqual"===i||"equal"===i?d="".concat(m,"\n\n").concat(d,"\n\nshould equal\n\n"):y=" ".concat(i," ").concat(y)),e=f.call(this,"".concat(d).concat(y))}return Error.stackTraceLimit=u,e.generatedMessage=!r,Object.defineProperty(l(e),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),e.code="ERR_ASSERTION",e.actual=s,e.expected=a,e.operator=i,Error.captureStackTrace&&Error.captureStackTrace(l(e),o),e.stack,e.name="AssertionError",c(e)}return s=v,(u=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:e,value:function(t,e){return m(this,o(o({},e),{},{customInspect:!1,depth:0}))}}])&&a(s.prototype,u),h&&a(s,h),Object.defineProperty(s,"prototype",{writable:!1}),v}(h(Error),m.custom);t.exports=O},9597:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t,e){for(var r=0;r2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}h("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),h("ERR_INVALID_ARG_TYPE",(function(t,e,i){var o,s,a,c;if(void 0===u&&(u=r(4148)),u("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(s="not ",e.substr(!a||a<0?0:+a,s.length)===s)?(o="must not be",e=e.replace(/^not /,"")):o="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))c="The ".concat(t," ").concat(o," ").concat(f(e,"type"));else{var l=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";c='The "'.concat(t,'" ').concat(l," ").concat(o," ").concat(f(e,"type"))}return c+=". Received type ".concat(n(i))}),TypeError),h("ERR_INVALID_ARG_VALUE",(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=r(537));var i=c.inspect(e);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(i)}),TypeError,RangeError),h("ERR_INVALID_RETURN_VALUE",(function(t,e,r){var i;return i=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(i,".")}),TypeError),h("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),n=0;n0,"At least one arg needs to be specified");var i="The ",o=e.length;switch(e=e.map((function(t){return'"'.concat(t,'"')})),o){case 1:i+="".concat(e[0]," argument");break;case 2:i+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:i+=e.slice(0,o-1).join(", "),i+=", and ".concat(e[o-1]," arguments")}return"".concat(i," must be specified")}),TypeError),t.exports.codes=l},2299:(t,e,r)=>{"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,s,a=[],u=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(a.push(n.value),a.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r10)return!0;for(var e=0;e57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function j(t){return Object.keys(t).filter(C).concat(l(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))} /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */function I(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i{"use strict";e.byteLength=function(t){var e=a(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,o=a(t),s=o[0],u=o[1],c=new i(function(t,e,r){return 3*(e+r)/4-r}(0,s,u)),l=0,h=u>0?s-4:s;for(r=0;r>16&255,c[l++]=e>>8&255,c[l++]=255&e;2===u&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[l++]=255&e);1===u&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=16383,a=0,c=n-i;ac?c:a+s));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function a(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,n){for(var i,o,s=[],a=e;a>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8764:(t,e,r)=>{"use strict";var n=r(5108); + */function I(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i{"use strict";e.byteLength=function(t){var e=a(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,o=a(t),s=o[0],u=o[1],c=new i(function(t,e,r){return 3*(e+r)/4-r}(0,s,u)),l=0,h=u>0?s-4:s;for(r=0;r>16&255,c[l++]=e>>8&255,c[l++]=255&e;2===u&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[l++]=255&e);1===u&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=16383,a=0,c=n-i;ac?c:a+s));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function a(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,n){for(var i,o,s=[],a=e;a>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8287:(t,e,r)=>{"use strict";var n=r(6763); /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */const i=r(9742),o=r(645),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},e.INSPECT_MAX_BYTES=50;const a=2147483647;function u(t){if(t>a)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return f(t)}return l(t,e,r)}function l(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|g(t,e);let n=u(r);const i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(X(t,Uint8Array)){const e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return p(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(X(t,ArrayBuffer)||t&&X(t.buffer,ArrayBuffer))return d(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(X(t,SharedArrayBuffer)||t&&X(t.buffer,SharedArrayBuffer)))return d(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return c.from(n,e,r);const i=function(t){if(c.isBuffer(t)){const e=0|y(t.length),r=u(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||Q(t.length)?u(0):p(t);if("Buffer"===t.type&&Array.isArray(t.data))return p(t.data)}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function f(t){return h(t),u(t<0?0:0|y(t))}function p(t){const e=t.length<0?0:0|y(t.length),r=u(e);for(let n=0;n=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|t}function g(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||X(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(t).length;default:if(i)return n?-1:$(t).length;e=(""+e).toLowerCase(),i=!0}}function m(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return P(this,e,r);case"utf8":case"utf-8":return A(this,e,r);case"ascii":return T(this,e,r);case"latin1":case"binary":return R(this,e,r);case"base64":return N(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Q(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:w(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):w(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function w(t,e,r,n,i){let o,s=1,a=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,r/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){let n=-1;for(o=r;oa&&(r=a-u),o=r;o>=0;o--){let r=!0;for(let n=0;ni&&(n=i):n=i;const o=e.length;let s;for(n>o/2&&(n=o/2),s=0;s>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function N(t,e,r){return 0===e&&r===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,r))}function A(t,e,r){r=Math.min(t.length,r);const n=[];let i=e;for(;i239?4:e>223?3:e>191?2:1;if(i+s<=r){let r,n,a,u;switch(s){case 1:e<128&&(o=e);break;case 2:r=t[i+1],128==(192&r)&&(u=(31&e)<<6|63&r,u>127&&(o=u));break;case 3:r=t[i+1],n=t[i+2],128==(192&r)&&128==(192&n)&&(u=(15&e)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=t[i+1],n=t[i+2],a=t[i+3],128==(192&r)&&128==(192&n)&&128==(192&a)&&(u=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&a,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=s}return function(t){const e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);let r="",n=0;for(;nn.length?(c.isBuffer(e)||(e=c.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else{if(!c.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,i)}i+=e.length}return n},c.byteLength=g,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;er&&(t+=" ... "),""},s&&(c.prototype[s]=c.prototype.inspect),c.prototype.compare=function(t,e,r,n,i){if(X(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;let o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0);const a=Math.min(o,s),u=this.slice(n,i),l=t.slice(e,r);for(let t=0;t>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return E(this,t,e,r);case"utf8":case"utf-8":return _(this,t,e,r);case"ascii":case"latin1":case"binary":return M(this,t,e,r);case"base64":return S(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const O=4096;function T(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;in)&&(r=n);let i="";for(let n=e;nr)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,r,n,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function L(t,e,r,n,i){H(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,r}function k(t,e,r,n,i){H(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=s,s>>=8,t[r+2]=s,s>>=8,t[r+1]=s,s>>=8,t[r]=s,r+8}function D(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function q(t,e,r,n,i){return e=+e,r>>>=0,i||D(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function F(t,e,r,n,i){return e=+e,r>>>=0,i||D(t,0,r,8),o.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t],i=1,o=0;for(;++o>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},c.prototype.readUint8=c.prototype.readUInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),this[t]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(t,e){return t>>>=0,e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(t,e){return t>>>=0,e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readBigUInt64LE=Z((function(t){V(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||z(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(i)<>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||z(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t],i=1,o=0;for(;++o=i&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){t>>>=0,e||j(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){t>>>=0,e||j(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return t>>>=0,e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return t>>>=0,e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readBigInt64LE=Z((function(t){V(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||z(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||z(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<>>=0,e||j(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return t>>>=0,e||j(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return t>>>=0,e||j(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return t>>>=0,e||j(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){I(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=1,o=0;for(this[e]=255&t;++o>>=0,r>>>=0,!n){I(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},c.prototype.writeUint8=c.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,1,255,0),this[e]=255&t,e+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigUInt64LE=Z((function(t,e=0){return L(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Z((function(t,e=0){return k(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);I(this,t,e,r,n-1,-n)}let i=0,o=1,s=0;for(this[e]=255&t;++i>0)-s&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);I(this,t,e,r,n-1,-n)}let i=r-1,o=1,s=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/o>>0)-s&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigInt64LE=Z((function(t,e=0){return L(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Z((function(t,e=0){return k(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(t,e,r){return q(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return q(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return F(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return F(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(!c.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function H(t,e,r,n,i,o){if(t>r||t3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new U.ERR_OUT_OF_RANGE("value",i,t)}!function(t,e,r){V(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||z(e,t.length-(r+1))}(n,i,o)}function V(t,e){if("number"!=typeof t)throw new U.ERR_INVALID_ARG_TYPE(e,"number",t)}function z(t,e,r){if(Math.floor(t)!==t)throw V(t,r),new U.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new U.ERR_BUFFER_OUT_OF_BOUNDS;throw new U.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}B("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),B("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),B("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=G(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=G(i)),i+="n"),n+=` It must be ${e}. Received ${i}`,n}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function $(t,e){let r;e=e||1/0;const n=t.length;let i=null;const o=[];for(let s=0;s55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function J(t){return i.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Y(t,e,r,n){let i;for(i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function X(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function Q(t){return t!=t}const K=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)e[n+i]=t[r]+t[i]}return e}();function Z(t){return"undefined"==typeof BigInt?tt:t}function tt(){throw new Error("BigInt not supported")}},584:t=>{t.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",451:"Unavailable For Legal Reasons",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"}},1924:(t,e,r)=>{"use strict";var n=r(210),i=r(5559),o=i(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&o(t,".prototype.")>-1?i(r):r}},5559:(t,e,r)=>{"use strict";var n=r(8612),i=r(210),o=r(7771),s=i("%TypeError%"),a=i("%Function.prototype.apply%"),u=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||n.call(u,a),l=i("%Object.defineProperty%",!0),h=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(t){l=null}t.exports=function(t){if("function"!=typeof t)throw new s("a function is required");var e=c(n,u,arguments);return o(e,1+h(0,t.length-(arguments.length-1)),!0)};var f=function(){return c(n,a,arguments)};l?l(t.exports,"apply",{value:f}):t.exports.apply=f},5108:(t,e,r)=>{var n=r(9539),i=r(9282);function o(){return(new Date).getTime()}var s,a=Array.prototype.slice,u={};s=void 0!==r.g&&r.g.console?r.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var c=[[function(){},"log"],[function(){s.log.apply(s,arguments)},"info"],[function(){s.log.apply(s,arguments)},"warn"],[function(){s.warn.apply(s,arguments)},"error"],[function(t){u[t]=o()},"time"],[function(t){var e=u[t];if(!e)throw new Error("No such label: "+t);delete u[t];var r=o()-e;s.log(t+": "+r+"ms")},"timeEnd"],[function(){var t=new Error;t.name="Trace",t.message=n.format.apply(null,arguments),s.error(t.stack)},"trace"],[function(t){s.log(n.inspect(t)+"\n")},"dir"],[function(t){if(!t){var e=a.call(arguments,1);i.ok(!1,n.format.apply(null,e))}},"assert"]],l=0;l{var n=r(5108),i=r(4155);e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;e.splice(1,0,r,"color: inherit");let n=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(n++,"%c"===t&&(i=n))})),e.splice(i,0,r)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}!t&&void 0!==i&&"env"in i&&(t=i.env.DEBUG);return t},e.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+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,n.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=n.debug||n.log||(()=>{}),t.exports=r(2447)(e);const{formatters:o}=t.exports;o.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},2447:(t,e,r)=>{var n=r(5108);t.exports=function(t){function e(t){let r,n,o,s=null;function a(...t){if(!a.enabled)return;const n=a,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";s++;const o=e.formatters[i];if("function"==typeof o){const e=t[s];r=o.call(n,e),t.splice(s,1),s--}return r})),e.formatArgs.call(n,t);(n.log||e.log).apply(n,t)}return a.namespace=t,a.useColors=e.useColors(),a.color=e.selectColor(t),a.extend=i,a.destroy=e.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(n!==e.namespaces&&(n=e.namespaces,o=e.enabled(t)),o),set:t=>{s=t}}),"function"==typeof e.init&&e.init(a),a}function i(t,r){const n=e(this.namespace+(void 0===r?":":r)+t);return n.log=this.log,n}function o(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(o),...e.skips.map(o).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let r;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const n=("string"==typeof t?t:"").split(/[\s,]+/),i=n.length;for(r=0;r{e[r]=t[r]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let r=0;for(let e=0;e{"use strict";var n=r(1044)(),i=r(210),o=n&&i("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(t){o=!1}var s=i("%SyntaxError%"),a=i("%TypeError%"),u=r(7296);t.exports=function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new a("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],h=!!u&&u(t,e);if(o)o(t,e,{configurable:null===c&&h?h.configurable:!c,enumerable:null===n&&h?h.enumerable:!n,value:r,writable:null===i&&h?h.writable:!i});else{if(!l&&(n||i||c))throw new s("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=r}}},4289:(t,e,r)=>{"use strict";var n=r(2215),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,s=Array.prototype.concat,a=Object.defineProperty,u=r(1044)(),c=a&&u,l=function(t,e,r,n){(!(e in t)||function(t){return"function"==typeof t&&"[object Function]"===o.call(t)}(n)&&n())&&(c?a(t,e,{configurable:!0,enumerable:!1,value:r,writable:!0}):t[e]=r)},h=function(t,e){var r=arguments.length>2?arguments[2]:{},o=n(e);i&&(o=s.call(o,Object.getOwnPropertySymbols(e)));for(var a=0;a{"use strict";var n,i=r(5108),o="object"==typeof Reflect?Reflect:null,s=o&&"function"==typeof o.apply?o.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!=t};function u(){u.init.call(this)}t.exports=u,t.exports.once=function(t,e){return new Promise((function(r,n){function i(r){t.removeListener(e,o),n(r)}function o(){"function"==typeof t.removeListener&&t.removeListener("error",i),r([].slice.call(arguments))}b(t,e,o,{once:!0}),"error"!==e&&function(t,e,r){"function"==typeof t.on&&b(t,"error",e,r)}(t,i,{once:!0})}))},u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var c=10;function l(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function h(t){return void 0===t._maxListeners?u.defaultMaxListeners:t._maxListeners}function f(t,e,r,n){var o,s,a,u;if(l(r),void 0===(s=t._events)?(s=t._events=Object.create(null),t._eventsCount=0):(void 0!==s.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),s=t._events),a=s[e]),void 0===a)a=s[e]=r,++t._eventsCount;else if("function"==typeof a?a=s[e]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=h(t))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=a.length,u=c,i&&i.warn&&i.warn(u)}return t}function p(){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 d(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=p.bind(n);return i.listener=r,n.wrapFn=i,i}function y(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var u=i[t];if(void 0===u)return!1;if("function"==typeof u)s(u,this,e);else{var c=u.length,l=m(u,c);for(r=0;r=0;o--)if(r[o]===e||r[o].listener===e){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1=0;n--)this.removeListener(t,e[n]);return this},u.prototype.listeners=function(t){return y(this,t,!0)},u.prototype.rawListeners=function(t){return y(this,t,!1)},u.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):g.call(t,e)},u.prototype.listenerCount=g,u.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},4029:(t,e,r)=>{"use strict";var n=r(5320),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){if(!n(e))throw new TypeError("iterator must be a function");var s;arguments.length>=3&&(s=r),"[object Array]"===i.call(t)?function(t,e,r){for(var n=0,i=t.length;n{"use strict";var e=Object.prototype.toString,r=Math.max,n=function(t,e){for(var r=[],n=0;n{"use strict";var n=r(7648);t.exports=Function.prototype.bind||n},210:(t,e,r)=>{"use strict";var n,i=SyntaxError,o=Function,s=TypeError,a=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var c=function(){throw new s},l=u?function(){try{return c}catch(t){try{return u(arguments,"callee").get}catch(t){return c}}}():c,h=r(1405)(),f=r(8185)(),p=Object.getPrototypeOf||(f?function(t){return t.__proto__}:null),d={},y="undefined"!=typeof Uint8Array&&p?p(Uint8Array):n,g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":h&&p?p([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%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%":o,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&p?p(p([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&h&&p?p((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&&h&&p?p((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&p?p(""[Symbol.iterator]()):n,"%Symbol%":h?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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};if(p)try{null.error}catch(t){var m=p(p(t));g["%Error.prototype%"]=m}var b=function t(e){var r;if("%AsyncFunction%"===e)r=a("async function () {}");else if("%GeneratorFunction%"===e)r=a("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=a("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&p&&(r=p(i.prototype))}return g[e]=r,r},v={"%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"]},w=r(8612),E=r(8824),_=w.call(Function.call,Array.prototype.concat),M=w.call(Function.apply,Array.prototype.splice),S=w.call(Function.call,String.prototype.replace),x=w.call(Function.call,String.prototype.slice),N=w.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,T=function(t,e){var r,n=t;if(E(v,n)&&(n="%"+(r=v[n])[0]+"%"),E(g,n)){var o=g[n];if(o===d&&(o=b(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');if(null===N(/^%?[^%]*%?$/,t))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=x(t,0,1),r=x(t,-1);if("%"===e&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return S(t,A,(function(t,e,r,i){n[n.length]=r?S(i,O,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=T("%"+n+"%",e),a=o.name,c=o.value,l=!1,h=o.alias;h&&(n=h[0],M(r,_([0,1],h)));for(var f=1,p=!0;f=r.length){var b=u(c,d);c=(p=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:c[d]}else p=E(c,d),c=c[d];p&&!l&&(g[a]=c)}}return c}},7296:(t,e,r)=>{"use strict";var n=r(210)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(t){n=null}t.exports=n},1044:(t,e,r)=>{"use strict";var n=r(210)("%Object.defineProperty%",!0),i=function(){if(n)try{return n({},"a",{value:1}),!0}catch(t){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},t.exports=i},8185:t=>{"use strict";var e={foo:{}},r=Object;t.exports=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof r)}},1405:(t,e,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(5419);t.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},5419:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},6410:(t,e,r)=>{"use strict";var n=r(5419);t.exports=function(){return n()&&!!Symbol.toStringTag}},8824:(t,e,r)=>{"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=r(8612);t.exports=o.call(n,i)},9201:function(t,e,r){"use strict";var n=r(8764).Buffer,i=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.HttpProxyAgent=void 0;const u=s(r(5456)),c=s(r(8760)),l=a(r(1227)),h=r(7187),f=r(2917),p=(0,l.default)("http-proxy-agent");class d extends f.Agent{constructor(t,e){super(e),this.proxy="string"==typeof t?new URL(t):t,this.proxyHeaders=e?.headers??{},p("Creating new HttpProxyAgent instance: %o",this.proxy.href);const r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={...e?y(e,"headers"):null,host:r,port:n}}addRequest(t,e){t._header=null,this.setRequestProps(t,e),super.addRequest(t,e)}setRequestProps(t,e){const{proxy:r}=this,i=`${e.secureEndpoint?"https:":"http:"}//${t.getHeader("host")||"localhost"}`,o=new URL(t.path,i);80!==e.port&&(o.port=String(e.port)),t.path=String(o);const s="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){const t=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;s["Proxy-Authorization"]=`Basic ${n.from(t).toString("base64")}`}s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(const e of Object.keys(s)){const r=s[e];r&&t.setHeader(e,r)}}async connect(t,e){let r,n,i;return t._header=null,t.path.includes("://")||this.setRequestProps(t,e),p("Regenerating stored HTTP header string for request"),t._implicitHeader(),t.outputData&&t.outputData.length>0&&(p("Patching connection write() output buffer with updated header"),r=t.outputData[0].data,n=r.indexOf("\r\n\r\n")+4,t.outputData[0].data=t._header+r.substring(n),p("Output buffer: %o",t.outputData[0].data)),"https:"===this.proxy.protocol?(p("Creating `tls.Socket`: %o",this.connectOpts),i=c.connect(this.connectOpts)):(p("Creating `net.Socket`: %o",this.connectOpts),i=u.connect(this.connectOpts)),await(0,h.once)(i,"connect"),i}}function y(t,...e){const r={};let n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}d.protocols=["http","https"],e.HttpProxyAgent=d},9267:(t,e,r)=>{var n=r(8501),i=r(8575),o=t.exports;for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);function a(t){if("string"==typeof t&&(t=i.parse(t)),t.protocol||(t.protocol="https:"),"https:"!==t.protocol)throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}o.request=function(t,e){return t=a(t),n.request.call(this,t,e)},o.get=function(t,e){return t=a(t),n.get.call(this,t,e)}},6018:function(t,e,r){"use strict";var n=r(8764).Buffer,i=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.HttpsProxyAgent=void 0;const u=s(r(5456)),c=s(r(8760)),l=a(r(9282)),h=a(r(1227)),f=r(2917),p=r(9829),d=(0,h.default)("https-proxy-agent");class y extends f.Agent{constructor(t,e){super(e),this.options={path:void 0},this.proxy="string"==typeof t?new URL(t):t,this.proxyHeaders=e?.headers??{},d("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...e?m(e,"headers"):null,host:r,port:n}}async connect(t,e){const{proxy:r}=this;if(!e.host)throw new TypeError('No "host" provided');let i;if("https:"===r.protocol){d("Creating `tls.Socket`: %o",this.connectOpts);const t=this.connectOpts.servername||this.connectOpts.host;i=c.connect({...this.connectOpts,servername:t&&u.isIP(t)?void 0:t})}else d("Creating `net.Socket`: %o",this.connectOpts),i=u.connect(this.connectOpts);const o="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},s=u.isIPv6(e.host)?`[${e.host}]`:e.host;let a=`CONNECT ${s}:${e.port} HTTP/1.1\r\n`;if(r.username||r.password){const t=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;o["Proxy-Authorization"]=`Basic ${n.from(t).toString("base64")}`}o.Host=`${s}:${e.port}`,o["Proxy-Connection"]||(o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(const t of Object.keys(o))a+=`${t}: ${o[t]}\r\n`;const h=(0,p.parseProxyResponse)(i);i.write(`${a}\r\n`);const{connect:f,buffered:y}=await h;if(t.emit("proxyConnect",f),this.emit("proxyConnect",f,t),200===f.statusCode){if(t.once("socket",g),e.secureEndpoint){d("Upgrading socket connection to TLS");const t=e.servername||e.host;return c.connect({...m(e,"host","path","port"),socket:i,servername:u.isIP(t)?void 0:t})}return i}i.destroy();const b=new u.Socket({writable:!1});return b.readable=!0,t.once("socket",(t=>{d("Replaying proxy buffer for failed request"),(0,l.default)(t.listenerCount("data")>0),t.push(y),t.push(null)})),b}}function g(t){t.resume()}function m(t,...e){const r={};let n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}y.protocols=["http","https"],e.HttpsProxyAgent=y},9829:function(t,e,r){"use strict";var n=r(8764).Buffer,i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.parseProxyResponse=void 0;const o=(0,i(r(1227)).default)("https-proxy-agent:parse-proxy-response");e.parseProxyResponse=function(t){return new Promise(((e,r)=>{let i=0;const s=[];function a(){const c=t.read();c?function(c){s.push(c),i+=c.length;const l=n.concat(s,i),h=l.indexOf("\r\n\r\n");if(-1===h)return o("have not received end of HTTP headers yet..."),void a();const f=l.slice(0,h).toString("ascii").split("\r\n"),p=f.shift();if(!p)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));const d=p.split(" "),y=+d[1],g=d.slice(2).join(" "),m={};for(const e of f){if(!e)continue;const n=e.indexOf(":");if(-1===n)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${e}"`));const i=e.slice(0,n).toLowerCase(),o=e.slice(n+1).trimStart(),s=m[i];"string"==typeof s?m[i]=[s,o]:Array.isArray(s)?s.push(o):m[i]=o}o("got proxy server response: %o %o",p,m),u(),e({connect:{statusCode:y,statusText:g,headers:m},buffered:l})}(c):t.once("readable",a)}function u(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",a)}function c(){u(),o("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}function l(t){u(),o("onerror %o",t),r(t)}t.on("error",l),t.on("end",c),a()}))}},645:(t,e)=>{ + */const i=r(7526),o=r(251),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},e.INSPECT_MAX_BYTES=50;const a=2147483647;function u(t){if(t>a)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return f(t)}return l(t,e,r)}function l(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|g(t,e);let n=u(r);const i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(X(t,Uint8Array)){const e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return p(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(X(t,ArrayBuffer)||t&&X(t.buffer,ArrayBuffer))return d(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(X(t,SharedArrayBuffer)||t&&X(t.buffer,SharedArrayBuffer)))return d(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return c.from(n,e,r);const i=function(t){if(c.isBuffer(t)){const e=0|y(t.length),r=u(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||Q(t.length)?u(0):p(t);if("Buffer"===t.type&&Array.isArray(t.data))return p(t.data)}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function f(t){return h(t),u(t<0?0:0|y(t))}function p(t){const e=t.length<0?0:0|y(t.length),r=u(e);for(let n=0;n=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|t}function g(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||X(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(t).length;default:if(i)return n?-1:$(t).length;e=(""+e).toLowerCase(),i=!0}}function m(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return P(this,e,r);case"utf8":case"utf-8":return A(this,e,r);case"ascii":return T(this,e,r);case"latin1":case"binary":return R(this,e,r);case"base64":return N(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Q(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:w(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):w(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function w(t,e,r,n,i){let o,s=1,a=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,r/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){let n=-1;for(o=r;oa&&(r=a-u),o=r;o>=0;o--){let r=!0;for(let n=0;ni&&(n=i):n=i;const o=e.length;let s;for(n>o/2&&(n=o/2),s=0;s>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function N(t,e,r){return 0===e&&r===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,r))}function A(t,e,r){r=Math.min(t.length,r);const n=[];let i=e;for(;i239?4:e>223?3:e>191?2:1;if(i+s<=r){let r,n,a,u;switch(s){case 1:e<128&&(o=e);break;case 2:r=t[i+1],128==(192&r)&&(u=(31&e)<<6|63&r,u>127&&(o=u));break;case 3:r=t[i+1],n=t[i+2],128==(192&r)&&128==(192&n)&&(u=(15&e)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=t[i+1],n=t[i+2],a=t[i+3],128==(192&r)&&128==(192&n)&&128==(192&a)&&(u=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&a,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=s}return function(t){const e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);let r="",n=0;for(;nn.length?(c.isBuffer(e)||(e=c.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else{if(!c.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,i)}i+=e.length}return n},c.byteLength=g,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;er&&(t+=" ... "),""},s&&(c.prototype[s]=c.prototype.inspect),c.prototype.compare=function(t,e,r,n,i){if(X(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;let o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0);const a=Math.min(o,s),u=this.slice(n,i),l=t.slice(e,r);for(let t=0;t>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return E(this,t,e,r);case"utf8":case"utf-8":return _(this,t,e,r);case"ascii":case"latin1":case"binary":return M(this,t,e,r);case"base64":return S(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const O=4096;function T(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;in)&&(r=n);let i="";for(let n=e;nr)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,r,n,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function L(t,e,r,n,i){H(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,r}function k(t,e,r,n,i){H(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=s,s>>=8,t[r+2]=s,s>>=8,t[r+1]=s,s>>=8,t[r]=s,r+8}function D(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function q(t,e,r,n,i){return e=+e,r>>>=0,i||D(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function F(t,e,r,n,i){return e=+e,r>>>=0,i||D(t,0,r,8),o.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t],i=1,o=0;for(;++o>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},c.prototype.readUint8=c.prototype.readUInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),this[t]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(t,e){return t>>>=0,e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(t,e){return t>>>=0,e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readBigUInt64LE=Z((function(t){V(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||z(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(i)<>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||z(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t],i=1,o=0;for(;++o=i&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){t>>>=0,e||j(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){t>>>=0,e||j(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return t>>>=0,e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return t>>>=0,e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readBigInt64LE=Z((function(t){V(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||z(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||z(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<>>=0,e||j(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return t>>>=0,e||j(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return t>>>=0,e||j(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return t>>>=0,e||j(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){I(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=1,o=0;for(this[e]=255&t;++o>>=0,r>>>=0,!n){I(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},c.prototype.writeUint8=c.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,1,255,0),this[e]=255&t,e+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigUInt64LE=Z((function(t,e=0){return L(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Z((function(t,e=0){return k(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);I(this,t,e,r,n-1,-n)}let i=0,o=1,s=0;for(this[e]=255&t;++i>>=0,!n){const n=Math.pow(2,8*r-1);I(this,t,e,r,n-1,-n)}let i=r-1,o=1,s=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/o|0)-s&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigInt64LE=Z((function(t,e=0){return L(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Z((function(t,e=0){return k(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(t,e,r){return q(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return q(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return F(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return F(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(!c.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function H(t,e,r,n,i,o){if(t>r||t3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new U.ERR_OUT_OF_RANGE("value",i,t)}!function(t,e,r){V(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||z(e,t.length-(r+1))}(n,i,o)}function V(t,e){if("number"!=typeof t)throw new U.ERR_INVALID_ARG_TYPE(e,"number",t)}function z(t,e,r){if(Math.floor(t)!==t)throw V(t,r),new U.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new U.ERR_BUFFER_OUT_OF_BOUNDS;throw new U.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}B("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),B("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),B("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=G(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=G(i)),i+="n"),n+=` It must be ${e}. Received ${i}`,n}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function $(t,e){let r;e=e||1/0;const n=t.length;let i=null;const o=[];for(let s=0;s55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function J(t){return i.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Y(t,e,r,n){let i;for(i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function X(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function Q(t){return t!=t}const K=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)e[n+i]=t[r]+t[i]}return e}();function Z(t){return"undefined"==typeof BigInt?tt:t}function tt(){throw new Error("BigInt not supported")}},6866:t=>{t.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",451:"Unavailable For Legal Reasons",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"}},8075:(t,e,r)=>{"use strict";var n=r(453),i=r(487),o=i(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&o(t,".prototype.")>-1?i(r):r}},487:(t,e,r)=>{"use strict";var n=r(6743),i=r(453),o=r(6897),s=i("%TypeError%"),a=i("%Function.prototype.apply%"),u=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||n.call(u,a),l=i("%Object.defineProperty%",!0),h=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(t){l=null}t.exports=function(t){if("function"!=typeof t)throw new s("a function is required");var e=c(n,u,arguments);return o(e,1+h(0,t.length-(arguments.length-1)),!0)};var f=function(){return c(n,a,arguments)};l?l(t.exports,"apply",{value:f}):t.exports.apply=f},6763:(t,e,r)=>{var n=r(537),i=r(4148);function o(){return(new Date).getTime()}var s,a=Array.prototype.slice,u={};s=void 0!==r.g&&r.g.console?r.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var c=[[function(){},"log"],[function(){s.log.apply(s,arguments)},"info"],[function(){s.log.apply(s,arguments)},"warn"],[function(){s.warn.apply(s,arguments)},"error"],[function(t){u[t]=o()},"time"],[function(t){var e=u[t];if(!e)throw new Error("No such label: "+t);delete u[t];var r=o()-e;s.log(t+": "+r+"ms")},"timeEnd"],[function(){var t=new Error;t.name="Trace",t.message=n.format.apply(null,arguments),s.error(t.stack)},"trace"],[function(t){s.log(n.inspect(t)+"\n")},"dir"],[function(t){if(!t){var e=a.call(arguments,1);i.ok(!1,n.format.apply(null,e))}},"assert"]],l=0;l{var n=r(6763),i=r(5606);e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;e.splice(1,0,r,"color: inherit");let n=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(n++,"%c"===t&&(i=n))})),e.splice(i,0,r)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}!t&&void 0!==i&&"env"in i&&(t=i.env.DEBUG);return t},e.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+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,n.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=n.debug||n.log||(()=>{}),t.exports=r(736)(e);const{formatters:o}=t.exports;o.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},736:(t,e,r)=>{var n=r(6763);t.exports=function(t){function e(t){let r,n,o,s=null;function a(...t){if(!a.enabled)return;const n=a,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";s++;const o=e.formatters[i];if("function"==typeof o){const e=t[s];r=o.call(n,e),t.splice(s,1),s--}return r})),e.formatArgs.call(n,t);(n.log||e.log).apply(n,t)}return a.namespace=t,a.useColors=e.useColors(),a.color=e.selectColor(t),a.extend=i,a.destroy=e.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(n!==e.namespaces&&(n=e.namespaces,o=e.enabled(t)),o),set:t=>{s=t}}),"function"==typeof e.init&&e.init(a),a}function i(t,r){const n=e(this.namespace+(void 0===r?":":r)+t);return n.log=this.log,n}function o(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(o),...e.skips.map(o).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let r;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const n=("string"==typeof t?t:"").split(/[\s,]+/),i=n.length;for(r=0;r{e[r]=t[r]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let r=0;for(let e=0;e{"use strict";var n=r(592)(),i=r(453),o=n&&i("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(t){o=!1}var s=i("%SyntaxError%"),a=i("%TypeError%"),u=r(5795);t.exports=function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new a("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],h=!!u&&u(t,e);if(o)o(t,e,{configurable:null===c&&h?h.configurable:!c,enumerable:null===n&&h?h.enumerable:!n,value:r,writable:null===i&&h?h.writable:!i});else{if(!l&&(n||i||c))throw new s("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=r}}},8452:(t,e,r)=>{"use strict";var n=r(1189),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,s=Array.prototype.concat,a=Object.defineProperty,u=r(592)(),c=a&&u,l=function(t,e,r,n){(!(e in t)||function(t){return"function"==typeof t&&"[object Function]"===o.call(t)}(n)&&n())&&(c?a(t,e,{configurable:!0,enumerable:!1,value:r,writable:!0}):t[e]=r)},h=function(t,e){var r=arguments.length>2?arguments[2]:{},o=n(e);i&&(o=s.call(o,Object.getOwnPropertySymbols(e)));for(var a=0;a{"use strict";var n,i=r(6763),o="object"==typeof Reflect?Reflect:null,s=o&&"function"==typeof o.apply?o.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!=t};function u(){u.init.call(this)}t.exports=u,t.exports.once=function(t,e){return new Promise((function(r,n){function i(r){t.removeListener(e,o),n(r)}function o(){"function"==typeof t.removeListener&&t.removeListener("error",i),r([].slice.call(arguments))}b(t,e,o,{once:!0}),"error"!==e&&function(t,e,r){"function"==typeof t.on&&b(t,"error",e,r)}(t,i,{once:!0})}))},u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var c=10;function l(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function h(t){return void 0===t._maxListeners?u.defaultMaxListeners:t._maxListeners}function f(t,e,r,n){var o,s,a,u;if(l(r),void 0===(s=t._events)?(s=t._events=Object.create(null),t._eventsCount=0):(void 0!==s.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),s=t._events),a=s[e]),void 0===a)a=s[e]=r,++t._eventsCount;else if("function"==typeof a?a=s[e]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=h(t))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=a.length,u=c,i&&i.warn&&i.warn(u)}return t}function p(){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 d(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=p.bind(n);return i.listener=r,n.wrapFn=i,i}function y(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var u=i[t];if(void 0===u)return!1;if("function"==typeof u)s(u,this,e);else{var c=u.length,l=m(u,c);for(r=0;r=0;o--)if(r[o]===e||r[o].listener===e){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1=0;n--)this.removeListener(t,e[n]);return this},u.prototype.listeners=function(t){return y(this,t,!0)},u.prototype.rawListeners=function(t){return y(this,t,!1)},u.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):g.call(t,e)},u.prototype.listenerCount=g,u.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},2682:(t,e,r)=>{"use strict";var n=r(9600),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){if(!n(e))throw new TypeError("iterator must be a function");var s;arguments.length>=3&&(s=r),"[object Array]"===i.call(t)?function(t,e,r){for(var n=0,i=t.length;n{"use strict";var e=Object.prototype.toString,r=Math.max,n=function(t,e){for(var r=[],n=0;n{"use strict";var n=r(9353);t.exports=Function.prototype.bind||n},453:(t,e,r)=>{"use strict";var n,i=SyntaxError,o=Function,s=TypeError,a=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var c=function(){throw new s},l=u?function(){try{return c}catch(t){try{return u(arguments,"callee").get}catch(t){return c}}}():c,h=r(4039)(),f=r(24)(),p=Object.getPrototypeOf||(f?function(t){return t.__proto__}:null),d={},y="undefined"!=typeof Uint8Array&&p?p(Uint8Array):n,g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":h&&p?p([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%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%":o,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&p?p(p([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&h&&p?p((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&&h&&p?p((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&p?p(""[Symbol.iterator]()):n,"%Symbol%":h?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":s,"%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};if(p)try{null.error}catch(t){var m=p(p(t));g["%Error.prototype%"]=m}var b=function t(e){var r;if("%AsyncFunction%"===e)r=a("async function () {}");else if("%GeneratorFunction%"===e)r=a("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=a("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&p&&(r=p(i.prototype))}return g[e]=r,r},v={"%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"]},w=r(6743),E=r(9957),_=w.call(Function.call,Array.prototype.concat),M=w.call(Function.apply,Array.prototype.splice),S=w.call(Function.call,String.prototype.replace),x=w.call(Function.call,String.prototype.slice),N=w.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,T=function(t,e){var r,n=t;if(E(v,n)&&(n="%"+(r=v[n])[0]+"%"),E(g,n)){var o=g[n];if(o===d&&(o=b(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');if(null===N(/^%?[^%]*%?$/,t))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=x(t,0,1),r=x(t,-1);if("%"===e&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return S(t,A,(function(t,e,r,i){n[n.length]=r?S(i,O,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=T("%"+n+"%",e),a=o.name,c=o.value,l=!1,h=o.alias;h&&(n=h[0],M(r,_([0,1],h)));for(var f=1,p=!0;f=r.length){var b=u(c,d);c=(p=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:c[d]}else p=E(c,d),c=c[d];p&&!l&&(g[a]=c)}}return c}},5795:(t,e,r)=>{"use strict";var n=r(453)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(t){n=null}t.exports=n},592:(t,e,r)=>{"use strict";var n=r(453)("%Object.defineProperty%",!0),i=function(){if(n)try{return n({},"a",{value:1}),!0}catch(t){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},t.exports=i},24:t=>{"use strict";var e={foo:{}},r=Object;t.exports=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof r)}},4039:(t,e,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(1333);t.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},1333:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},9092:(t,e,r)=>{"use strict";var n=r(1333);t.exports=function(){return n()&&!!Symbol.toStringTag}},9957:(t,e,r)=>{"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=r(6743);t.exports=o.call(n,i)},6645:function(t,e,r){"use strict";var n=r(8287).Buffer,i=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.HttpProxyAgent=void 0;const u=s(r(1320)),c=s(r(2150)),l=a(r(7833)),h=r(7007),f=r(917),p=(0,l.default)("http-proxy-agent");class d extends f.Agent{constructor(t,e){super(e),this.proxy="string"==typeof t?new URL(t):t,this.proxyHeaders=e?.headers??{},p("Creating new HttpProxyAgent instance: %o",this.proxy.href);const r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={...e?y(e,"headers"):null,host:r,port:n}}addRequest(t,e){t._header=null,this.setRequestProps(t,e),super.addRequest(t,e)}setRequestProps(t,e){const{proxy:r}=this,i=`${e.secureEndpoint?"https:":"http:"}//${t.getHeader("host")||"localhost"}`,o=new URL(t.path,i);80!==e.port&&(o.port=String(e.port)),t.path=String(o);const s="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){const t=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;s["Proxy-Authorization"]=`Basic ${n.from(t).toString("base64")}`}s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(const e of Object.keys(s)){const r=s[e];r&&t.setHeader(e,r)}}async connect(t,e){let r,n,i;return t._header=null,t.path.includes("://")||this.setRequestProps(t,e),p("Regenerating stored HTTP header string for request"),t._implicitHeader(),t.outputData&&t.outputData.length>0&&(p("Patching connection write() output buffer with updated header"),r=t.outputData[0].data,n=r.indexOf("\r\n\r\n")+4,t.outputData[0].data=t._header+r.substring(n),p("Output buffer: %o",t.outputData[0].data)),"https:"===this.proxy.protocol?(p("Creating `tls.Socket`: %o",this.connectOpts),i=c.connect(this.connectOpts)):(p("Creating `net.Socket`: %o",this.connectOpts),i=u.connect(this.connectOpts)),await(0,h.once)(i,"connect"),i}}function y(t,...e){const r={};let n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}d.protocols=["http","https"],e.HttpProxyAgent=d},1083:(t,e,r)=>{var n=r(1568),i=r(8835),o=t.exports;for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);function a(t){if("string"==typeof t&&(t=i.parse(t)),t.protocol||(t.protocol="https:"),"https:"!==t.protocol)throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}o.request=function(t,e){return t=a(t),n.request.call(this,t,e)},o.get=function(t,e){return t=a(t),n.get.call(this,t,e)}},2288:function(t,e,r){"use strict";var n=r(8287).Buffer,i=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.HttpsProxyAgent=void 0;const u=s(r(1320)),c=s(r(2150)),l=a(r(4148)),h=a(r(7833)),f=r(917),p=r(3868),d=(0,h.default)("https-proxy-agent");class y extends f.Agent{constructor(t,e){super(e),this.options={path:void 0},this.proxy="string"==typeof t?new URL(t):t,this.proxyHeaders=e?.headers??{},d("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...e?m(e,"headers"):null,host:r,port:n}}async connect(t,e){const{proxy:r}=this;if(!e.host)throw new TypeError('No "host" provided');let i;if("https:"===r.protocol){d("Creating `tls.Socket`: %o",this.connectOpts);const t=this.connectOpts.servername||this.connectOpts.host;i=c.connect({...this.connectOpts,servername:t&&u.isIP(t)?void 0:t})}else d("Creating `net.Socket`: %o",this.connectOpts),i=u.connect(this.connectOpts);const o="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},s=u.isIPv6(e.host)?`[${e.host}]`:e.host;let a=`CONNECT ${s}:${e.port} HTTP/1.1\r\n`;if(r.username||r.password){const t=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;o["Proxy-Authorization"]=`Basic ${n.from(t).toString("base64")}`}o.Host=`${s}:${e.port}`,o["Proxy-Connection"]||(o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(const t of Object.keys(o))a+=`${t}: ${o[t]}\r\n`;const h=(0,p.parseProxyResponse)(i);i.write(`${a}\r\n`);const{connect:f,buffered:y}=await h;if(t.emit("proxyConnect",f),this.emit("proxyConnect",f,t),200===f.statusCode){if(t.once("socket",g),e.secureEndpoint){d("Upgrading socket connection to TLS");const t=e.servername||e.host;return c.connect({...m(e,"host","path","port"),socket:i,servername:u.isIP(t)?void 0:t})}return i}i.destroy();const b=new u.Socket({writable:!1});return b.readable=!0,t.once("socket",(t=>{d("Replaying proxy buffer for failed request"),(0,l.default)(t.listenerCount("data")>0),t.push(y),t.push(null)})),b}}function g(t){t.resume()}function m(t,...e){const r={};let n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}y.protocols=["http","https"],e.HttpsProxyAgent=y},3868:function(t,e,r){"use strict";var n=r(8287).Buffer,i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.parseProxyResponse=void 0;const o=(0,i(r(7833)).default)("https-proxy-agent:parse-proxy-response");e.parseProxyResponse=function(t){return new Promise(((e,r)=>{let i=0;const s=[];function a(){const c=t.read();c?function(c){s.push(c),i+=c.length;const l=n.concat(s,i),h=l.indexOf("\r\n\r\n");if(-1===h)return o("have not received end of HTTP headers yet..."),void a();const f=l.slice(0,h).toString("ascii").split("\r\n"),p=f.shift();if(!p)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));const d=p.split(" "),y=+d[1],g=d.slice(2).join(" "),m={};for(const e of f){if(!e)continue;const n=e.indexOf(":");if(-1===n)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${e}"`));const i=e.slice(0,n).toLowerCase(),o=e.slice(n+1).trimStart(),s=m[i];"string"==typeof s?m[i]=[s,o]:Array.isArray(s)?s.push(o):m[i]=o}o("got proxy server response: %o %o",p,m),u(),e({connect:{statusCode:y,statusText:g,headers:m},buffered:l})}(c):t.once("readable",a)}function u(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",a)}function c(){u(),o("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}function l(t){u(),o("onerror %o",t),r(t)}t.on("error",l),t.on("end",c),a()}))}},251:(t,e)=>{ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -e.read=function(t,e,r,n,i){var o,s,a=8*i-n-1,u=(1<>1,l=-7,h=r?i-1:0,f=r?-1:1,p=t[e+h];for(h+=f,o=p&(1<<-l)-1,p>>=-l,l+=a;l>0;o=256*o+t[e+h],h+=f,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+t[e+h],h+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=c}return(p?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+h>=1?f/u:f*Math.pow(2,1-h))*u>=2&&(s++,u/=2),s+h>=l?(a=0,s=l):s+h>=1?(a=(e*u-1)*Math.pow(2,i),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<0;t[r+p]=255&s,p+=d,s/=256,c-=8);t[r+p-d]|=128*y}},5717:t=>{"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},2584:(t,e,r)=>{"use strict";var n=r(6410)(),i=r(1924)("Object.prototype.toString"),o=function(t){return!(n&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===i(t)},s=function(t){return!!o(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==i(t)&&"[object Function]"===i(t.callee)},a=function(){return o(arguments)}();o.isLegacyArguments=s,t.exports=a?o:s},5320:t=>{"use strict";var e,r,n=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i((function(){throw 42}),null,e)}catch(t){t!==r&&(i=null)}else i=null;var o=/^\s*class\b/,s=function(t){try{var e=n.call(t);return o.test(e)}catch(t){return!1}},a=function(t){try{return!s(t)&&(n.call(t),!0)}catch(t){return!1}},u=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,l=!(0 in[,]),h=function(){return!1};if("object"==typeof document){var f=document.all;u.call(f)===u.call(document.all)&&(h=function(t){if((l||!t)&&(void 0===t||"object"==typeof t))try{var e=u.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}t.exports=i?function(t){if(h(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;try{i(t,null,e)}catch(t){if(t!==r)return!1}return!s(t)&&a(t)}:function(t){if(h(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(c)return a(t);if(s(t))return!1;var e=u.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&a(t)}},8662:(t,e,r)=>{"use strict";var n,i=Object.prototype.toString,o=Function.prototype.toString,s=/^\s*(?:function)?\*/,a=r(6410)(),u=Object.getPrototypeOf;t.exports=function(t){if("function"!=typeof t)return!1;if(s.test(o.call(t)))return!0;if(!a)return"[object GeneratorFunction]"===i.call(t);if(!u)return!1;if(void 0===n){var e=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(t){}}();n=!!e&&u(e)}return u(t)===n}},8611:t=>{"use strict";t.exports=function(t){return t!=t}},360:(t,e,r)=>{"use strict";var n=r(5559),i=r(4289),o=r(8611),s=r(9415),a=r(3194),u=n(s(),Number);i(u,{getPolyfill:s,implementation:o,shim:a}),t.exports=u},9415:(t,e,r)=>{"use strict";var n=r(8611);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},3194:(t,e,r)=>{"use strict";var n=r(4289),i=r(9415);t.exports=function(){var t=i();return n(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},5692:(t,e,r)=>{"use strict";var n=r(6430);t.exports=function(t){return!!n(t)}},7824:t=>{var e=1e3,r=60*e,n=60*r,i=24*n,o=7*i,s=365.25*i;function a(t,e,r,n){var i=e>=1.5*r;return Math.round(t/r)+" "+n+(i?"s":"")}t.exports=function(t,u){u=u||{};var c=typeof t;if("string"===c&&t.length>0)return function(t){if((t=String(t)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!a)return;var u=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*o;case"days":case"day":case"d":return u*i;case"hours":case"hour":case"hrs":case"hr":case"h":return u*n;case"minutes":case"minute":case"mins":case"min":case"m":return u*r;case"seconds":case"second":case"secs":case"sec":case"s":return u*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(t);if("number"===c&&isFinite(t))return u.long?function(t){var o=Math.abs(t);if(o>=i)return a(t,o,i,"day");if(o>=n)return a(t,o,n,"hour");if(o>=r)return a(t,o,r,"minute");if(o>=e)return a(t,o,e,"second");return t+" ms"}(t):function(t){var o=Math.abs(t);if(o>=i)return Math.round(t/i)+"d";if(o>=n)return Math.round(t/n)+"h";if(o>=r)return Math.round(t/r)+"m";if(o>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},5456:(t,e,r)=>{var n=r(5456);for(k in n)r.g[k]=n[k]},631:(t,e,r)=>{var n="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=n&&i&&"function"==typeof i.get?i.get:null,s=n&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&u&&"function"==typeof u.get?u.get:null,l=a&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,y=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,E=String.prototype.toLowerCase,_=RegExp.prototype.test,M=Array.prototype.concat,S=Array.prototype.join,x=Array.prototype.slice,N=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,R="function"==typeof Symbol&&"object"==typeof Symbol.iterator,P="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===R||"symbol")?Symbol.toStringTag:null,C=Object.prototype.propertyIsEnumerable,j=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function I(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||_.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-N(-t):N(t);if(n!==t){var i=String(n),o=b.call(e,i.length+1);return v.call(i,r,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(e,r,"$&_")}var L=r(4654),k=L.custom,D=G(k)?k:null;function q(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function F(t){return v.call(String(t),/"/g,""")}function U(t){return!("[object Array]"!==z(t)||P&&"object"==typeof t&&P in t)}function B(t){return!("[object RegExp]"!==z(t)||P&&"object"==typeof t&&P in t)}function G(t){if(R)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!T)return!1;try{return T.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,i,a){var u=n||{};if(V(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(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 y=!V(u,"customInspect")||u.customInspect;if("boolean"!=typeof y&&"symbol"!==y)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(u,"numericSeparator")&&"boolean"!=typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=u.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return $(e,u);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var _=String(e);return w?I(e,_):_}if("bigint"==typeof e){var N=String(e)+"n";return w?I(e,N):N}var O=void 0===u.depth?5:u.depth;if(void 0===i&&(i=0),i>=O&&O>0&&"object"==typeof e)return U(e)?"[Array]":"[Object]";var k=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=S.call(Array(t.indent+1)," ")}return{base:r,prev:S.call(Array(e+1),r)}}(u,i);if(void 0===a)a=[];else if(W(a,e)>=0)return"[Circular]";function H(e,r,n){if(r&&(a=x.call(a)).push(r),n){var o={depth:u.depth};return V(u,"quoteStyle")&&(o.quoteStyle=u.quoteStyle),t(e,o,i+1,a)}return t(e,u,i+1,a)}if("function"==typeof e&&!B(e)){var J=function(t){if(t.name)return t.name;var e=m.call(g.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),tt=Z(e,H);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(tt.length>0?" { "+S.call(tt,", ")+" }":"")}if(G(e)){var et=R?v.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(e);return"object"!=typeof e||R?et:Y(et)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var rt="<"+E.call(String(e.nodeName)),nt=e.attributes||[],it=0;it"}if(U(e)){if(0===e.length)return"[]";var ot=Z(e,H);return k&&!function(t){for(var e=0;e=0)return!1;return!0}(ot)?"["+K(ot,k)+"]":"[ "+S.call(ot,", ")+" ]"}if(function(t){return!("[object Error]"!==z(t)||P&&"object"==typeof t&&P in t)}(e)){var st=Z(e,H);return"cause"in Error.prototype||!("cause"in e)||C.call(e,"cause")?0===st.length?"["+String(e)+"]":"{ ["+String(e)+"] "+S.call(st,", ")+" }":"{ ["+String(e)+"] "+S.call(M.call("[cause]: "+H(e.cause),st),", ")+" }"}if("object"==typeof e&&y){if(D&&"function"==typeof e[D]&&L)return L(e,{depth:O-i});if("symbol"!==y&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var at=[];return s&&s.call(e,(function(t,r){at.push(H(r,e,!0)+" => "+H(t,e))})),Q("Map",o.call(e),at,k)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var ut=[];return l&&l.call(e,(function(t){ut.push(H(t,e))})),Q("Set",c.call(e),ut,k)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return X("WeakMap");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return X("WeakSet");if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{return p.call(t),!0}catch(t){}return!1}(e))return X("WeakRef");if(function(t){return!("[object Number]"!==z(t)||P&&"object"==typeof t&&P in t)}(e))return Y(H(Number(e)));if(function(t){if(!t||"object"!=typeof t||!A)return!1;try{return A.call(t),!0}catch(t){}return!1}(e))return Y(H(A.call(e)));if(function(t){return!("[object Boolean]"!==z(t)||P&&"object"==typeof t&&P in t)}(e))return Y(d.call(e));if(function(t){return!("[object String]"!==z(t)||P&&"object"==typeof t&&P in t)}(e))return Y(H(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if(e===r.g)return"{ [object globalThis] }";if(!function(t){return!("[object Date]"!==z(t)||P&&"object"==typeof t&&P in t)}(e)&&!B(e)){var ct=Z(e,H),lt=j?j(e)===Object.prototype:e instanceof Object||e.constructor===Object,ht=e instanceof Object?"":"null prototype",ft=!lt&&P&&Object(e)===e&&P in e?b.call(z(e),8,-1):ht?"Object":"",pt=(lt||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(ft||ht?"["+S.call(M.call([],ft||[],ht||[]),": ")+"] ":"");return 0===ct.length?pt+"{}":k?pt+"{"+K(ct,k)+"}":pt+"{ "+S.call(ct,", ")+" }"}return String(e)};var H=Object.prototype.hasOwnProperty||function(t){return t in this};function V(t,e){return H.call(t,e)}function z(t){return y.call(t)}function W(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return $(b.call(t,0,e.maxStringLength),e)+n}return q(v.call(v.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,J),"single",e)}function J(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+w.call(e.toString(16))}function Y(t){return"Object("+t+")"}function X(t){return t+" { ? }"}function Q(t,e,r,n){return t+" ("+e+") {"+(n?K(r,n):S.call(r,", "))+"}"}function K(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+S.call(t,","+r)+"\n"+e.prev}function Z(t,e){var r=U(t),n=[];if(r){n.length=t.length;for(var i=0;i{"use strict";var e=function(t){return t!=t};t.exports=function(t,r){return 0===t&&0===r?1/t==1/r:t===r||!(!e(t)||!e(r))}},609:(t,e,r)=>{"use strict";var n=r(4289),i=r(5559),o=r(4244),s=r(5624),a=r(2281),u=i(s(),Object);n(u,{getPolyfill:s,implementation:o,shim:a}),t.exports=u},5624:(t,e,r)=>{"use strict";var n=r(4244);t.exports=function(){return"function"==typeof Object.is?Object.is:n}},2281:(t,e,r)=>{"use strict";var n=r(5624),i=r(4289);t.exports=function(){var t=n();return i(Object,{is:t},{is:function(){return Object.is!==t}}),t}},8987:(t,e,r)=>{"use strict";var n;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,s=r(1414),a=Object.prototype.propertyIsEnumerable,u=!a.call({toString:null},"toString"),c=a.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],h=function(t){var e=t.constructor;return e&&e.prototype===t},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!f["$"+t]&&i.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{h(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();n=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===o.call(t),n=s(t),a=e&&"[object String]"===o.call(t),f=[];if(!e&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var d=c&&r;if(a&&t.length>0&&!i.call(t,0))for(var y=0;y0)for(var g=0;g{"use strict";var n=Array.prototype.slice,i=r(1414),o=Object.keys,s=o?function(t){return o(t)}:r(8987),a=Object.keys;s.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return i(t)?a(n.call(t)):a(t)})}else Object.keys=s;return Object.keys||s},t.exports=s},1414:t=>{"use strict";var e=Object.prototype.toString;t.exports=function(t){var r=e.call(t),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),n}},2837:(t,e,r)=>{"use strict";var n=r(2215),i=r(5419)(),o=r(1924),s=Object,a=o("Array.prototype.push"),u=o("Object.prototype.propertyIsEnumerable"),c=i?Object.getOwnPropertySymbols:null;t.exports=function(t,e){if(null==t)throw new TypeError("target must be an object");var r=s(t);if(1===arguments.length)return r;for(var o=1;o{"use strict";var n=r(2837);t.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),r={},n=0;n{var e,r,n=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var a,u=[],c=!1,l=-1;function h(){c&&a&&(c=!1,a.length?u=a.concat(u):l=-1,u.length&&f())}function f(){if(!c){var t=s(h);c=!0;for(var e=u.length;e;){for(a=u,u=[];++l1)for(var r=1;r{ +e.read=function(t,e,r,n,i){var o,s,a=8*i-n-1,u=(1<>1,l=-7,h=r?i-1:0,f=r?-1:1,p=t[e+h];for(h+=f,o=p&(1<<-l)-1,p>>=-l,l+=a;l>0;o=256*o+t[e+h],h+=f,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+t[e+h],h+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=c}return(p?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+h>=1?f/u:f*Math.pow(2,1-h))*u>=2&&(s++,u/=2),s+h>=l?(a=0,s=l):s+h>=1?(a=(e*u-1)*Math.pow(2,i),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<0;t[r+p]=255&s,p+=d,s/=256,c-=8);t[r+p-d]|=128*y}},6698:t=>{"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},7244:(t,e,r)=>{"use strict";var n=r(9092)(),i=r(8075)("Object.prototype.toString"),o=function(t){return!(n&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===i(t)},s=function(t){return!!o(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==i(t)&&"[object Function]"===i(t.callee)},a=function(){return o(arguments)}();o.isLegacyArguments=s,t.exports=a?o:s},9600:t=>{"use strict";var e,r,n=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i((function(){throw 42}),null,e)}catch(t){t!==r&&(i=null)}else i=null;var o=/^\s*class\b/,s=function(t){try{var e=n.call(t);return o.test(e)}catch(t){return!1}},a=function(t){try{return!s(t)&&(n.call(t),!0)}catch(t){return!1}},u=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,l=!(0 in[,]),h=function(){return!1};if("object"==typeof document){var f=document.all;u.call(f)===u.call(document.all)&&(h=function(t){if((l||!t)&&(void 0===t||"object"==typeof t))try{var e=u.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}t.exports=i?function(t){if(h(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;try{i(t,null,e)}catch(t){if(t!==r)return!1}return!s(t)&&a(t)}:function(t){if(h(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(c)return a(t);if(s(t))return!1;var e=u.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&a(t)}},8184:(t,e,r)=>{"use strict";var n,i=Object.prototype.toString,o=Function.prototype.toString,s=/^\s*(?:function)?\*/,a=r(9092)(),u=Object.getPrototypeOf;t.exports=function(t){if("function"!=typeof t)return!1;if(s.test(o.call(t)))return!0;if(!a)return"[object GeneratorFunction]"===i.call(t);if(!u)return!1;if(void 0===n){var e=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(t){}}();n=!!e&&u(e)}return u(t)===n}},3003:t=>{"use strict";t.exports=function(t){return t!=t}},4133:(t,e,r)=>{"use strict";var n=r(487),i=r(8452),o=r(3003),s=r(6642),a=r(2464),u=n(s(),Number);i(u,{getPolyfill:s,implementation:o,shim:a}),t.exports=u},6642:(t,e,r)=>{"use strict";var n=r(3003);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},2464:(t,e,r)=>{"use strict";var n=r(8452),i=r(6642);t.exports=function(){var t=i();return n(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},5680:(t,e,r)=>{"use strict";var n=r(5767);t.exports=function(t){return!!n(t)}},6585:t=>{var e=1e3,r=60*e,n=60*r,i=24*n,o=7*i,s=365.25*i;function a(t,e,r,n){var i=e>=1.5*r;return Math.round(t/r)+" "+n+(i?"s":"")}t.exports=function(t,u){u=u||{};var c=typeof t;if("string"===c&&t.length>0)return function(t){if((t=String(t)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!a)return;var u=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*o;case"days":case"day":case"d":return u*i;case"hours":case"hour":case"hrs":case"hr":case"h":return u*n;case"minutes":case"minute":case"mins":case"min":case"m":return u*r;case"seconds":case"second":case"secs":case"sec":case"s":return u*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(t);if("number"===c&&isFinite(t))return u.long?function(t){var o=Math.abs(t);if(o>=i)return a(t,o,i,"day");if(o>=n)return a(t,o,n,"hour");if(o>=r)return a(t,o,r,"minute");if(o>=e)return a(t,o,e,"second");return t+" ms"}(t):function(t){var o=Math.abs(t);if(o>=i)return Math.round(t/i)+"d";if(o>=n)return Math.round(t/n)+"h";if(o>=r)return Math.round(t/r)+"m";if(o>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},1320:(t,e,r)=>{var n=r(1320);for(k in n)r.g[k]=n[k]},8859:(t,e,r)=>{var n="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=n&&i&&"function"==typeof i.get?i.get:null,s=n&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&u&&"function"==typeof u.get?u.get:null,l=a&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,y=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,E=String.prototype.toLowerCase,_=RegExp.prototype.test,M=Array.prototype.concat,S=Array.prototype.join,x=Array.prototype.slice,N=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,R="function"==typeof Symbol&&"object"==typeof Symbol.iterator,P="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===R||"symbol")?Symbol.toStringTag:null,C=Object.prototype.propertyIsEnumerable,j=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function I(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||_.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-N(-t):N(t);if(n!==t){var i=String(n),o=b.call(e,i.length+1);return v.call(i,r,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(e,r,"$&_")}var L=r(2634),k=L.custom,D=G(k)?k:null;function q(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function F(t){return v.call(String(t),/"/g,""")}function U(t){return!("[object Array]"!==z(t)||P&&"object"==typeof t&&P in t)}function B(t){return!("[object RegExp]"!==z(t)||P&&"object"==typeof t&&P in t)}function G(t){if(R)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!T)return!1;try{return T.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,i,a){var u=n||{};if(V(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(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 y=!V(u,"customInspect")||u.customInspect;if("boolean"!=typeof y&&"symbol"!==y)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(u,"numericSeparator")&&"boolean"!=typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=u.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return $(e,u);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var _=String(e);return w?I(e,_):_}if("bigint"==typeof e){var N=String(e)+"n";return w?I(e,N):N}var O=void 0===u.depth?5:u.depth;if(void 0===i&&(i=0),i>=O&&O>0&&"object"==typeof e)return U(e)?"[Array]":"[Object]";var k=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=S.call(Array(t.indent+1)," ")}return{base:r,prev:S.call(Array(e+1),r)}}(u,i);if(void 0===a)a=[];else if(W(a,e)>=0)return"[Circular]";function H(e,r,n){if(r&&(a=x.call(a)).push(r),n){var o={depth:u.depth};return V(u,"quoteStyle")&&(o.quoteStyle=u.quoteStyle),t(e,o,i+1,a)}return t(e,u,i+1,a)}if("function"==typeof e&&!B(e)){var J=function(t){if(t.name)return t.name;var e=m.call(g.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),tt=Z(e,H);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(tt.length>0?" { "+S.call(tt,", ")+" }":"")}if(G(e)){var et=R?v.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(e);return"object"!=typeof e||R?et:Y(et)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var rt="<"+E.call(String(e.nodeName)),nt=e.attributes||[],it=0;it"}if(U(e)){if(0===e.length)return"[]";var ot=Z(e,H);return k&&!function(t){for(var e=0;e=0)return!1;return!0}(ot)?"["+K(ot,k)+"]":"[ "+S.call(ot,", ")+" ]"}if(function(t){return!("[object Error]"!==z(t)||P&&"object"==typeof t&&P in t)}(e)){var st=Z(e,H);return"cause"in Error.prototype||!("cause"in e)||C.call(e,"cause")?0===st.length?"["+String(e)+"]":"{ ["+String(e)+"] "+S.call(st,", ")+" }":"{ ["+String(e)+"] "+S.call(M.call("[cause]: "+H(e.cause),st),", ")+" }"}if("object"==typeof e&&y){if(D&&"function"==typeof e[D]&&L)return L(e,{depth:O-i});if("symbol"!==y&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var at=[];return s&&s.call(e,(function(t,r){at.push(H(r,e,!0)+" => "+H(t,e))})),Q("Map",o.call(e),at,k)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var ut=[];return l&&l.call(e,(function(t){ut.push(H(t,e))})),Q("Set",c.call(e),ut,k)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return X("WeakMap");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return X("WeakSet");if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{return p.call(t),!0}catch(t){}return!1}(e))return X("WeakRef");if(function(t){return!("[object Number]"!==z(t)||P&&"object"==typeof t&&P in t)}(e))return Y(H(Number(e)));if(function(t){if(!t||"object"!=typeof t||!A)return!1;try{return A.call(t),!0}catch(t){}return!1}(e))return Y(H(A.call(e)));if(function(t){return!("[object Boolean]"!==z(t)||P&&"object"==typeof t&&P in t)}(e))return Y(d.call(e));if(function(t){return!("[object String]"!==z(t)||P&&"object"==typeof t&&P in t)}(e))return Y(H(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if(e===r.g)return"{ [object globalThis] }";if(!function(t){return!("[object Date]"!==z(t)||P&&"object"==typeof t&&P in t)}(e)&&!B(e)){var ct=Z(e,H),lt=j?j(e)===Object.prototype:e instanceof Object||e.constructor===Object,ht=e instanceof Object?"":"null prototype",ft=!lt&&P&&Object(e)===e&&P in e?b.call(z(e),8,-1):ht?"Object":"",pt=(lt||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(ft||ht?"["+S.call(M.call([],ft||[],ht||[]),": ")+"] ":"");return 0===ct.length?pt+"{}":k?pt+"{"+K(ct,k)+"}":pt+"{ "+S.call(ct,", ")+" }"}return String(e)};var H=Object.prototype.hasOwnProperty||function(t){return t in this};function V(t,e){return H.call(t,e)}function z(t){return y.call(t)}function W(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return $(b.call(t,0,e.maxStringLength),e)+n}return q(v.call(v.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,J),"single",e)}function J(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+w.call(e.toString(16))}function Y(t){return"Object("+t+")"}function X(t){return t+" { ? }"}function Q(t,e,r,n){return t+" ("+e+") {"+(n?K(r,n):S.call(r,", "))+"}"}function K(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+S.call(t,","+r)+"\n"+e.prev}function Z(t,e){var r=U(t),n=[];if(r){n.length=t.length;for(var i=0;i{"use strict";var e=function(t){return t!=t};t.exports=function(t,r){return 0===t&&0===r?1/t==1/r:t===r||!(!e(t)||!e(r))}},7653:(t,e,r)=>{"use strict";var n=r(8452),i=r(487),o=r(9211),s=r(9394),a=r(6576),u=i(s(),Object);n(u,{getPolyfill:s,implementation:o,shim:a}),t.exports=u},9394:(t,e,r)=>{"use strict";var n=r(9211);t.exports=function(){return"function"==typeof Object.is?Object.is:n}},6576:(t,e,r)=>{"use strict";var n=r(9394),i=r(8452);t.exports=function(){var t=n();return i(Object,{is:t},{is:function(){return Object.is!==t}}),t}},8875:(t,e,r)=>{"use strict";var n;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,s=r(1093),a=Object.prototype.propertyIsEnumerable,u=!a.call({toString:null},"toString"),c=a.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],h=function(t){var e=t.constructor;return e&&e.prototype===t},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!f["$"+t]&&i.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{h(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();n=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===o.call(t),n=s(t),a=e&&"[object String]"===o.call(t),f=[];if(!e&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var d=c&&r;if(a&&t.length>0&&!i.call(t,0))for(var y=0;y0)for(var g=0;g{"use strict";var n=Array.prototype.slice,i=r(1093),o=Object.keys,s=o?function(t){return o(t)}:r(8875),a=Object.keys;s.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return i(t)?a(n.call(t)):a(t)})}else Object.keys=s;return Object.keys||s},t.exports=s},1093:t=>{"use strict";var e=Object.prototype.toString;t.exports=function(t){var r=e.call(t),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),n}},8403:(t,e,r)=>{"use strict";var n=r(1189),i=r(1333)(),o=r(8075),s=Object,a=o("Array.prototype.push"),u=o("Object.prototype.propertyIsEnumerable"),c=i?Object.getOwnPropertySymbols:null;t.exports=function(t,e){if(null==t)throw new TypeError("target must be an object");var r=s(t);if(1===arguments.length)return r;for(var o=1;o{"use strict";var n=r(8403);t.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),r={},n=0;n{var e,r,n=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var a,u=[],c=!1,l=-1;function h(){c&&a&&(c=!1,a.length?u=a.concat(u):l=-1,u.length&&f())}function f(){if(!c){var t=s(h);c=!0;for(var e=u.length;e;){for(a=u,u=[];++l1)for(var r=1;r{ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ -var n=r(8764),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function s(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},s.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},s.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},s.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},7771:(t,e,r)=>{"use strict";var n=r(210),i=r(2296),o=r(1044)(),s=r(7296),a=n("%TypeError%"),u=n("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new a("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||u(e)!==e)throw new a("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,c=!0;if("length"in t&&s){var l=s(t,"length");l&&!l.configurable&&(n=!1),l&&!l.writable&&(c=!1)}return(n||c||!r)&&(o?i(t,"length",e,!0,!0):i(t,"length",e)),t}},7478:(t,e,r)=>{"use strict";var n=r(210),i=r(1924),o=r(631),s=n("%TypeError%"),a=n("%WeakMap%",!0),u=n("%Map%",!0),c=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),f=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),d=i("Map.prototype.has",!0),y=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new s("Side channel does not contain "+o(t))},get:function(n){if(a&&n&&("object"==typeof n||"function"==typeof n)){if(t)return c(t,n)}else if(u){if(e)return f(e,n)}else if(r)return function(t,e){var r=y(t,e);return r&&r.value}(r,n)},has:function(n){if(a&&n&&("object"==typeof n||"function"==typeof n)){if(t)return h(t,n)}else if(u){if(e)return d(e,n)}else if(r)return function(t,e){return!!y(t,e)}(r,n);return!1},set:function(n,i){a&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new a),l(t,n,i)):u?(e||(e=new u),p(e,n,i)):(r||(r={key:{},next:null}),function(t,e,r){var n=y(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,i))}};return n}},8501:(t,e,r)=>{var n=r(1989),i=r(5676),o=r(7529),s=r(584),a=r(8575),u=e;u.request=function(t,e){t="string"==typeof t?a.parse(t):o(t);var i=-1===r.g.location.protocol.search(/^https?:$/)?"http:":"",s=t.protocol||i,u=t.hostname||t.host,c=t.port,l=t.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),t.url=(u?s+"//"+u:"")+(c?":"+c:"")+l,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var h=new n(t);return e&&h.on("response",e),h},u.get=function(t,e){var r=u.request(t,e);return r.end(),r},u.ClientRequest=n,u.IncomingMessage=i.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=s,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]},8725:(t,e,r)=>{var n;function i(){if(void 0!==n)return n;if(r.g.XMLHttpRequest){n=new r.g.XMLHttpRequest;try{n.open("GET",r.g.XDomainRequest?"/":"https://example.com")}catch(t){n=null}}else n=null;return n}function o(t){var e=i();if(!e)return!1;try{return e.responseType=t,e.responseType===t}catch(t){}return!1}function s(t){return"function"==typeof t}e.fetch=s(r.g.fetch)&&s(r.g.ReadableStream),e.writableStream=s(r.g.WritableStream),e.abortController=s(r.g.AbortController),e.arraybuffer=e.fetch||o("arraybuffer"),e.msstream=!e.fetch&&o("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&o("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||!!i()&&s(i().overrideMimeType),n=null},1989:(t,e,r)=>{var n=r(8764).Buffer,i=r(4155),o=r(8725),s=r(5717),a=r(5676),u=r(925),c=a.IncomingMessage,l=a.readyStates;var h=t.exports=function(t){var e,r=this;u.Writable.call(r),r._opts=t,r._body=[],r._headers={},t.auth&&r.setHeader("Authorization","Basic "+n.from(t.auth).toString("base64")),Object.keys(t.headers).forEach((function(e){r.setHeader(e,t.headers[e])}));var i=!0;if("disable-fetch"===t.mode||"requestTimeout"in t&&!o.abortController)i=!1,e=!0;else if("prefer-streaming"===t.mode)e=!1;else if("allow-wrong-content-type"===t.mode)e=!o.overrideMimeType;else{if(t.mode&&"default"!==t.mode&&"prefer-fast"!==t.mode)throw new Error("Invalid value for opts.mode");e=!0}r._mode=function(t,e){return o.fetch&&e?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&t?"arraybuffer":"text"}(e,i),r._fetchTimer=null,r._socketTimeout=null,r._socketTimer=null,r.on("finish",(function(){r._onFinish()}))};s(h,u.Writable),h.prototype.setHeader=function(t,e){var r=t.toLowerCase();-1===f.indexOf(r)&&(this._headers[r]={name:t,value:e})},h.prototype.getHeader=function(t){var e=this._headers[t.toLowerCase()];return e?e.value:null},h.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},h.prototype._onFinish=function(){var t=this;if(!t._destroyed){var e=t._opts;"timeout"in e&&0!==e.timeout&&t.setTimeout(e.timeout);var n=t._headers,s=null;"GET"!==e.method&&"HEAD"!==e.method&&(s=new Blob(t._body,{type:(n["content-type"]||{}).value||""}));var a=[];if(Object.keys(n).forEach((function(t){var e=n[t].name,r=n[t].value;Array.isArray(r)?r.forEach((function(t){a.push([e,t])})):a.push([e,r])})),"fetch"===t._mode){var u=null;if(o.abortController){var c=new AbortController;u=c.signal,t._fetchAbortController=c,"requestTimeout"in e&&0!==e.requestTimeout&&(t._fetchTimer=r.g.setTimeout((function(){t.emit("requestTimeout"),t._fetchAbortController&&t._fetchAbortController.abort()}),e.requestTimeout))}r.g.fetch(t._opts.url,{method:t._opts.method,headers:a,body:s||void 0,mode:"cors",credentials:e.withCredentials?"include":"same-origin",signal:u}).then((function(e){t._fetchResponse=e,t._resetTimers(!1),t._connect()}),(function(e){t._resetTimers(!0),t._destroyed||t.emit("error",e)}))}else{var h=t._xhr=new r.g.XMLHttpRequest;try{h.open(t._opts.method,t._opts.url,!0)}catch(e){return void i.nextTick((function(){t.emit("error",e)}))}"responseType"in h&&(h.responseType=t._mode),"withCredentials"in h&&(h.withCredentials=!!e.withCredentials),"text"===t._mode&&"overrideMimeType"in h&&h.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in e&&(h.timeout=e.requestTimeout,h.ontimeout=function(){t.emit("requestTimeout")}),a.forEach((function(t){h.setRequestHeader(t[0],t[1])})),t._response=null,h.onreadystatechange=function(){switch(h.readyState){case l.LOADING:case l.DONE:t._onXHRProgress()}},"moz-chunked-arraybuffer"===t._mode&&(h.onprogress=function(){t._onXHRProgress()}),h.onerror=function(){t._destroyed||(t._resetTimers(!0),t.emit("error",new Error("XHR error")))};try{h.send(s)}catch(e){return void i.nextTick((function(){t.emit("error",e)}))}}}},h.prototype._onXHRProgress=function(){var t=this;t._resetTimers(!1),function(t){try{var e=t.status;return null!==e&&0!==e}catch(t){return!1}}(t._xhr)&&!t._destroyed&&(t._response||t._connect(),t._response._onXHRProgress(t._resetTimers.bind(t)))},h.prototype._connect=function(){var t=this;t._destroyed||(t._response=new c(t._xhr,t._fetchResponse,t._mode,t._resetTimers.bind(t)),t._response.on("error",(function(e){t.emit("error",e)})),t.emit("response",t._response))},h.prototype._write=function(t,e,r){this._body.push(t),r()},h.prototype._resetTimers=function(t){var e=this;r.g.clearTimeout(e._socketTimer),e._socketTimer=null,t?(r.g.clearTimeout(e._fetchTimer),e._fetchTimer=null):e._socketTimeout&&(e._socketTimer=r.g.setTimeout((function(){e.emit("timeout")}),e._socketTimeout))},h.prototype.abort=h.prototype.destroy=function(t){var e=this;e._destroyed=!0,e._resetTimers(!0),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort(),t&&e.emit("error",t)},h.prototype.end=function(t,e,r){"function"==typeof t&&(r=t,t=void 0),u.Writable.prototype.end.call(this,t,e,r)},h.prototype.setTimeout=function(t,e){var r=this;e&&r.once("timeout",e),r._socketTimeout=t,r._resetTimers(!1)},h.prototype.flushHeaders=function(){},h.prototype.setNoDelay=function(){},h.prototype.setSocketKeepAlive=function(){};var f=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]},5676:(t,e,r)=>{var n=r(4155),i=r(8764).Buffer,o=r(8725),s=r(5717),a=r(925),u=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=e.IncomingMessage=function(t,e,r,s){var u=this;if(a.Readable.call(u),u._mode=r,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",(function(){n.nextTick((function(){u.emit("close")}))})),"fetch"===r){if(u._fetchResponse=e,u.url=e.url,u.statusCode=e.status,u.statusMessage=e.statusText,e.headers.forEach((function(t,e){u.headers[e.toLowerCase()]=t,u.rawHeaders.push(e,t)})),o.writableStream){var c=new WritableStream({write:function(t){return s(!1),new Promise((function(e,r){u._destroyed?r():u.push(i.from(t))?e():u._resumeFetch=e}))},close:function(){s(!0),u._destroyed||u.push(null)},abort:function(t){s(!0),u._destroyed||u.emit("error",t)}});try{return void e.body.pipeTo(c).catch((function(t){s(!0),u._destroyed||u.emit("error",t)}))}catch(t){}}var l=e.body.getReader();!function t(){l.read().then((function(e){u._destroyed||(s(e.done),e.done?u.push(null):(u.push(i.from(e.value)),t()))})).catch((function(t){s(!0),u._destroyed||u.emit("error",t)}))}()}else{if(u._xhr=t,u._pos=0,u.url=t.responseURL,u.statusCode=t.status,u.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach((function(t){var e=t.match(/^([^:]+):\s*(.*)/);if(e){var r=e[1].toLowerCase();"set-cookie"===r?(void 0===u.headers[r]&&(u.headers[r]=[]),u.headers[r].push(e[2])):void 0!==u.headers[r]?u.headers[r]+=", "+e[2]:u.headers[r]=e[2],u.rawHeaders.push(e[1],e[2])}})),u._charset="x-user-defined",!o.overrideMimeType){var h=u.rawHeaders["mime-type"];if(h){var f=h.match(/;\s*charset=([^;])(;|$)/);f&&(u._charset=f[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};s(c,a.Readable),c.prototype._read=function(){var t=this._resumeFetch;t&&(this._resumeFetch=null,t())},c.prototype._onXHRProgress=function(t){var e=this,n=e._xhr,o=null;switch(e._mode){case"text":if((o=n.responseText).length>e._pos){var s=o.substr(e._pos);if("x-user-defined"===e._charset){for(var a=i.alloc(s.length),c=0;ce._pos&&(e.push(i.from(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){t(!0),e.push(null)},l.readAsArrayBuffer(o)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&(t(!0),e.push(null))}},7303:t=>{"use strict";var e={};function r(t,r,n){n||(n=Error);var i=function(t){var e,n;function i(e,n,i){return t.call(this,function(t,e,n){return"string"==typeof r?r:r(t,e,n)}(e,n,i))||this}return n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,i}(n);i.prototype.name=n.name,i.prototype.code=t,e[t]=i}function n(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}r("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(t,e,r){var i,o,s,a;if("string"==typeof e&&(o="not ",e.substr(!s||s<0?0:+s,o.length)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))a="The ".concat(t," ").concat(i," ").concat(n(e,"type"));else{var u=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";a='The "'.concat(t,'" ').concat(u," ").concat(i," ").concat(n(e,"type"))}return a+=". Received type ".concat(typeof r)}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.q=e},9560:(t,e,r)=>{"use strict";var n=r(4155),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=l;var o=r(4002),s=r(3313);r(5717)(l,o);for(var a=i(s.prototype),u=0;u{"use strict";t.exports=i;var n=r(1846);function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r(5717)(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},4002:(t,e,r)=>{"use strict";var n,i=r(4155);t.exports=x,x.ReadableState=S;r(7187).EventEmitter;var o=function(t,e){return t.listeners(e).length},s=r(1463),a=r(8764).Buffer,u=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var c,l=r(3646);c=l&&l.debuglog?l.debuglog("stream"):function(){};var h,f,p,d=r(6641),y=r(3369),g=r(624).getHighWaterMark,m=r(7303).q,b=m.ERR_INVALID_ARG_TYPE,v=m.ERR_STREAM_PUSH_AFTER_EOF,w=m.ERR_METHOD_NOT_IMPLEMENTED,E=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(5717)(x,s);var _=y.errorOrDestroy,M=["error","close","destroy","pause","resume"];function S(t,e,i){n=n||r(9560),t=t||{},"boolean"!=typeof i&&(i=e instanceof n),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=g(this,t,"readableHighWaterMark",i),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=r(2553).s),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function x(t){if(n=n||r(9560),!(this instanceof x))return new x(t);var e=this instanceof n;this._readableState=new S(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function N(t,e,r,n,i){c("readableAddChunk",e);var o,s=t._readableState;if(null===e)s.reading=!1,function(t,e){if(c("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?R(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,P(t)))}(t,s);else if(i||(o=function(t,e){var r;n=e,a.isBuffer(n)||n instanceof u||"string"==typeof e||void 0===e||t.objectMode||(r=new b("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(s,e)),o)_(t,o);else if(s.objectMode||e&&e.length>0)if("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===a.prototype||(e=function(t){return a.from(t)}(e)),n)s.endEmitted?_(t,new E):A(t,s,e,!0);else if(s.ended)_(t,new v);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(e=s.decoder.write(e),s.objectMode||0!==e.length?A(t,s,e,!1):C(t,s)):A(t,s,e,!1)}else n||(s.reading=!1,C(t,s));return!s.ended&&(s.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=O?t=O:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function R(t){var e=t._readableState;c("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(c("emitReadable",e.flowing),e.emittedReadable=!0,i.nextTick(P,t))}function P(t){var e=t._readableState;c("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,D(t)}function C(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(j,t,e))}function j(t,e){for(;!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function L(t){c("readable nexttick read 0"),t.read(0)}function k(t,e){c("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),D(t),e.flowing&&!e.reading&&t.read(0)}function D(t){var e=t._readableState;for(c("flow",e.flowing);e.flowing&&null!==t.read(););}function q(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function F(t){var e=t._readableState;c("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,i.nextTick(U,e,t))}function U(t,e){if(c("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function B(t,e){for(var r=0,n=t.length;r=e.highWaterMark:e.length>0)||e.ended))return c("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?F(this):R(this),null;if(0===(t=T(t,e))&&e.ended)return 0===e.length&&F(this),null;var n,i=e.needReadable;return c("need readable",i),(0===e.length||e.length-t0?q(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&F(this)),null!==n&&this.emit("data",n),n},x.prototype._read=function(t){_(this,new w("_read()"))},x.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t)}n.pipesCount+=1,c("pipe count=%d opts=%j",n.pipesCount,e);var s=(!e||!1!==e.end)&&t!==i.stdout&&t!==i.stderr?u:g;function a(e,i){c("onunpipe"),e===r&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,c("cleanup"),t.removeListener("close",d),t.removeListener("finish",y),t.removeListener("drain",l),t.removeListener("error",p),t.removeListener("unpipe",a),r.removeListener("end",u),r.removeListener("end",g),r.removeListener("data",f),h=!0,!n.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function u(){c("onend"),t.end()}n.endEmitted?i.nextTick(s):r.once("end",s),t.on("unpipe",a);var l=function(t){return function(){var e=t._readableState;c("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,D(t))}}(r);t.on("drain",l);var h=!1;function f(e){c("ondata");var i=t.write(e);c("dest.write",i),!1===i&&((1===n.pipesCount&&n.pipes===t||n.pipesCount>1&&-1!==B(n.pipes,t))&&!h&&(c("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function p(e){c("onerror",e),g(),t.removeListener("error",p),0===o(t,"error")&&_(t,e)}function d(){t.removeListener("finish",y),g()}function y(){c("onfinish"),t.removeListener("close",d),g()}function g(){c("unpipe"),r.unpipe(t)}return r.on("data",f),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",p),t.once("close",d),t.once("finish",y),t.emit("pipe",r),n.flowing||(c("pipe resume"),r.resume()),t},x.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o0,!1!==n.flowing&&this.resume()):"readable"===t&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,c("on readable",n.length,n.reading),n.length?R(this):n.reading||i.nextTick(L,this))),r},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(t,e){var r=s.prototype.removeListener.call(this,t,e);return"readable"===t&&i.nextTick(I,this),r},x.prototype.removeAllListeners=function(t){var e=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||i.nextTick(I,this),e},x.prototype.resume=function(){var t=this._readableState;return t.flowing||(c("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(k,t,e))}(this,t)),t.paused=!1,this},x.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(c("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(c("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o{"use strict";t.exports=l;var n=r(7303).q,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(9560);function c(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length{"use strict";var n,i=r(4155);function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}t.exports=x,x.WritableState=S;var s={deprecate:r(4927)},a=r(1463),u=r(8764).Buffer,c=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,h=r(3369),f=r(624).getHighWaterMark,p=r(7303).q,d=p.ERR_INVALID_ARG_TYPE,y=p.ERR_METHOD_NOT_IMPLEMENTED,g=p.ERR_MULTIPLE_CALLBACK,m=p.ERR_STREAM_CANNOT_PIPE,b=p.ERR_STREAM_DESTROYED,v=p.ERR_STREAM_NULL_VALUES,w=p.ERR_STREAM_WRITE_AFTER_END,E=p.ERR_UNKNOWN_ENCODING,_=h.errorOrDestroy;function M(){}function S(t,e,s){n=n||r(9560),t=t||{},"boolean"!=typeof s&&(s=e instanceof n),this.objectMode=!!t.objectMode,s&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,o=r.writecb;if("function"!=typeof o)throw new g;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,o){--e.pendingcb,r?(i.nextTick(o,n),i.nextTick(P,t,e),t._writableState.errorEmitted=!0,_(t,n)):(o(n),t._writableState.errorEmitted=!0,_(t,n),P(t,e))}(t,r,n,e,o);else{var s=T(r)||t.destroyed;s||r.corked||r.bufferProcessing||!r.bufferedRequest||O(t,r),n?i.nextTick(A,t,r,s,o):A(t,r,s,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function x(t){var e=this instanceof(n=n||r(9560));if(!e&&!l.call(x,this))return new x(t);this._writableState=new S(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),a.call(this)}function N(t,e,r,n,i,o,s){e.writelen=n,e.writecb=s,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new b("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function A(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),P(t,e)}function O(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),s=e.corkedRequestsFree;s.entry=r;for(var a=0,u=!0;r;)i[a]=r,r.isBuf||(u=!1),r=r.next,a+=1;i.allBuffers=u,N(t,e,!0,e.length,i,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,h=r.callback;if(N(t,e,!1,e.objectMode?1:c.length,c,l,h),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function T(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function R(t,e){t._final((function(r){e.pendingcb--,r&&_(t,r),e.prefinished=!0,t.emit("prefinish"),P(t,e)}))}function P(t,e){var r=T(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,i.nextTick(R,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}r(5717)(x,a),S.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(S.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(t){return!!l.call(this,t)||this===x&&(t&&t._writableState instanceof S)}})):l=function(t){return t instanceof this},x.prototype.pipe=function(){_(this,new m)},x.prototype.write=function(t,e,r){var n,o=this._writableState,s=!1,a=!o.objectMode&&(n=t,u.isBuffer(n)||n instanceof c);return a&&!u.isBuffer(t)&&(t=function(t){return u.from(t)}(t)),"function"==typeof e&&(r=e,e=null),a?e="buffer":e||(e=o.defaultEncoding),"function"!=typeof r&&(r=M),o.ending?function(t,e){var r=new w;_(t,r),i.nextTick(e,r)}(this,r):(a||function(t,e,r,n){var o;return null===r?o=new v:"string"==typeof r||e.objectMode||(o=new d("chunk",["string","Buffer"],r)),!o||(_(t,o),i.nextTick(n,o),!1)}(this,o,t,r))&&(o.pendingcb++,s=function(t,e,r,n,i,o){if(!r){var s=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=u.from(e,r));return e}(e,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=e.objectMode?1:n.length;e.length+=a;var c=e.length-1))throw new E(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(t,e,r){r(new y("_write()"))},x.prototype._writev=null,x.prototype.end=function(t,e,r){var n=this._writableState;return"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||function(t,e,r){e.ending=!0,P(t,e),r&&(e.finished?i.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),x.prototype.destroy=h.destroy,x.prototype._undestroy=h.undestroy,x.prototype._destroy=function(t,e){e(t)}},6819:(t,e,r)=>{"use strict";var n,i=r(4155);function o(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(5467),a=Symbol("lastResolve"),u=Symbol("lastReject"),c=Symbol("error"),l=Symbol("ended"),h=Symbol("lastPromise"),f=Symbol("handlePromise"),p=Symbol("stream");function d(t,e){return{value:t,done:e}}function y(t){var e=t[a];if(null!==e){var r=t[p].read();null!==r&&(t[h]=null,t[a]=null,t[u]=null,e(d(r,!1)))}}function g(t){i.nextTick(y,t)}var m=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((o(n={get stream(){return this[p]},next:function(){var t=this,e=this[c];if(null!==e)return Promise.reject(e);if(this[l])return Promise.resolve(d(void 0,!0));if(this[p].destroyed)return new Promise((function(e,r){i.nextTick((function(){t[c]?r(t[c]):e(d(void 0,!0))}))}));var r,n=this[h];if(n)r=new Promise(function(t,e){return function(r,n){t.then((function(){e[l]?r(d(void 0,!0)):e[f](r,n)}),n)}}(n,this));else{var o=this[p].read();if(null!==o)return Promise.resolve(d(o,!1));r=new Promise(this[f])}return this[h]=r,r}},Symbol.asyncIterator,(function(){return this})),o(n,"return",(function(){var t=this;return new Promise((function(e,r){t[p].destroy(null,(function(t){t?r(t):e(d(void 0,!0))}))}))})),n),m);t.exports=function(t){var e,r=Object.create(b,(o(e={},p,{value:t,writable:!0}),o(e,a,{value:null,writable:!0}),o(e,u,{value:null,writable:!0}),o(e,c,{value:null,writable:!0}),o(e,l,{value:t._readableState.endEmitted,writable:!0}),o(e,f,{value:function(t,e){var n=r[p].read();n?(r[h]=null,r[a]=null,r[u]=null,t(d(n,!1))):(r[a]=t,r[u]=e)},writable:!0}),e));return r[h]=null,s(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[u];return null!==e&&(r[h]=null,r[a]=null,r[u]=null,e(t)),void(r[c]=t)}var n=r[a];null!==n&&(r[h]=null,r[a]=null,r[u]=null,n(d(void 0,!0))),r[l]=!0})),t.on("readable",g.bind(null,r)),r}},6641:(t,e,r)=>{"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return u.alloc(0);for(var e,r,n,i=u.allocUnsafe(t>>>0),o=this.head,s=0;o;)e=o.data,r=i,n=s,u.prototype.copy.call(e,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var r;return ti.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0==(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=u.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:l,value:function(t,e){return c(this,i(i({},e),{},{depth:0,customInspect:!1}))}}])&&s(e.prototype,r),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},3369:(t,e,r)=>{"use strict";var n=r(4155);function i(t,e){s(t,e),o(t)}function o(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function s(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,a=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return a||u?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(s,this,t)):n.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?r._writableState?r._writableState.errorEmitted?n.nextTick(o,r):(r._writableState.errorEmitted=!0,n.nextTick(i,r,t)):n.nextTick(i,r,t):e?(n.nextTick(o,r),e(t)):n.nextTick(o,r)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}},5467:(t,e,r)=>{"use strict";var n=r(7303).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,r,o){if("function"==typeof r)return t(e,null,r);r||(r={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i{t.exports=function(){throw new Error("Readable.from is not available in the browser")}},9689:(t,e,r)=>{"use strict";var n;var i=r(7303).q,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function a(t){if(t)throw t}function u(t){t()}function c(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),i=0;i0,(function(t){l||(l=t),t&&f.forEach(u),o||(f.forEach(u),h(l))}))}));return e.reduce(c)}},624:(t,e,r)=>{"use strict";var n=r(7303).q.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,i){var o=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},1463:(t,e,r)=>{t.exports=r(7187).EventEmitter},925:(t,e,r)=>{(e=t.exports=r(4002)).Stream=e,e.Readable=e,e.Writable=r(3313),e.Duplex=r(9560),e.Transform=r(1846),e.PassThrough=r(4842),e.finished=r(5467),e.pipeline=r(9689)},2553:(t,e,r)=>{"use strict";var n=r(9509).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=c,e=4;break;case"utf8":this.fillLast=a,e=4;break;case"base64":this.text=l,this.end=h,e=3;break;default:return this.write=f,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function s(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function a(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function l(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function p(t){return t&&t.length?this.write(t):""}e.s=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(t.lastNeed=i-1),i;if(--n=0)return i>0&&(t.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},4935:function(t,e,r){!function(e,n){if("object"==typeof t.exports)t.exports=n(r(2257));else if("object"==typeof navigator){if(!e.Terraformer)throw new Error("Terraformer.WKT requires the core Terraformer library. http://github.com/esri/terraformer");e.Terraformer.WKT=n(e.Terraformer)}}(this,(function(t){var e={},r=function(){var t={trace:function(){},yy:{},symbols_:{error:2,expressions:3,point:4,EOF:5,linestring:6,polygon:7,multipoint:8,multilinestring:9,multipolygon:10,coordinate:11,DOUBLE_TOK:12,ptarray:13,COMMA:14,ring_list:15,ring:16,"(":17,")":18,POINT:19,Z:20,ZM:21,M:22,EMPTY:23,point_untagged:24,polygon_list:25,polygon_untagged:26,point_list:27,LINESTRING:28,POLYGON:29,MULTIPOINT:30,MULTILINESTRING:31,MULTIPOLYGON:32,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",12:"DOUBLE_TOK",14:"COMMA",17:"(",18:")",19:"POINT",20:"Z",21:"ZM",22:"M",23:"EMPTY",28:"LINESTRING",29:"POLYGON",30:"MULTIPOINT",31:"MULTILINESTRING",32:"MULTIPOLYGON"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[3,2],[3,2],[11,2],[11,3],[11,4],[13,3],[13,1],[15,3],[15,1],[16,3],[4,4],[4,5],[4,5],[4,5],[4,2],[24,1],[24,3],[25,3],[25,1],[26,3],[27,3],[27,1],[6,4],[6,5],[6,5],[6,5],[6,2],[7,4],[7,5],[7,5],[7,5],[7,2],[8,4],[8,5],[8,5],[8,5],[8,2],[9,4],[9,5],[9,5],[9,5],[9,2],[10,4],[10,5],[10,5],[10,5],[10,2]],performAction:function(t,e,r,i,u,c,l){var h=c.length-1;switch(u){case 1:case 2:case 3:case 4:case 5:case 6:return c[h-1];case 7:this.$=new n([Number(c[h-1]),Number(c[h])]);break;case 8:this.$=new n([Number(c[h-2]),Number(c[h-1]),Number(c[h])]);break;case 9:this.$=new n([Number(c[h-3]),Number(c[h-2]),Number(c[h-1]),Number(c[h])]);break;case 10:case 25:this.$=c[h-2].addPoint(c[h]);break;case 11:case 20:case 26:this.$=c[h];break;case 12:this.$=c[h-2].addRing(c[h]);break;case 13:this.$=new s(c[h]);break;case 14:this.$=new o(c[h-1]);break;case 15:this.$={type:"Point",coordinates:c[h-1].data[0]};break;case 16:this.$={type:"Point",coordinates:c[h-1].data[0],properties:{z:!0}};break;case 17:this.$={type:"Point",coordinates:c[h-1].data[0],properties:{z:!0,m:!0}};break;case 18:this.$={type:"Point",coordinates:c[h-1].data[0],properties:{m:!0}};break;case 19:this.$={type:"Point",coordinates:[]};break;case 21:case 24:this.$=c[h-1];break;case 22:this.$=c[h-2].addPolygon(c[h]);break;case 23:this.$=new a(c[h]);break;case 27:this.$={type:"LineString",coordinates:c[h-1].data};break;case 28:this.$={type:"LineString",coordinates:c[h-1].data,properties:{z:!0}};break;case 29:this.$={type:"LineString",coordinates:c[h-1].data,properties:{m:!0}};break;case 30:this.$={type:"LineString",coordinates:c[h-1].data,properties:{z:!0,m:!0}};break;case 31:this.$={type:"LineString",coordinates:[]};break;case 32:this.$={type:"Polygon",coordinates:c[h-1].toJSON()};break;case 33:this.$={type:"Polygon",coordinates:c[h-1].toJSON(),properties:{z:!0}};break;case 34:this.$={type:"Polygon",coordinates:c[h-1].toJSON(),properties:{m:!0}};break;case 35:this.$={type:"Polygon",coordinates:c[h-1].toJSON(),properties:{z:!0,m:!0}};break;case 36:this.$={type:"Polygon",coordinates:[]};break;case 37:this.$={type:"MultiPoint",coordinates:c[h-1].data};break;case 38:this.$={type:"MultiPoint",coordinates:c[h-1].data,properties:{z:!0}};break;case 39:this.$={type:"MultiPoint",coordinates:c[h-1].data,properties:{m:!0}};break;case 40:this.$={type:"MultiPoint",coordinates:c[h-1].data,properties:{z:!0,m:!0}};break;case 41:this.$={type:"MultiPoint",coordinates:[]};break;case 42:this.$={type:"MultiLineString",coordinates:c[h-1].toJSON()};break;case 43:this.$={type:"MultiLineString",coordinates:c[h-1].toJSON(),properties:{z:!0}};break;case 44:this.$={type:"MultiLineString",coordinates:c[h-1].toJSON(),properties:{m:!0}};break;case 45:this.$={type:"MultiLineString",coordinates:c[h-1].toJSON(),properties:{z:!0,m:!0}};break;case 46:this.$={type:"MultiLineString",coordinates:[]};break;case 47:this.$={type:"MultiPolygon",coordinates:c[h-1].toJSON()};break;case 48:this.$={type:"MultiPolygon",coordinates:c[h-1].toJSON(),properties:{z:!0}};break;case 49:this.$={type:"MultiPolygon",coordinates:c[h-1].toJSON(),properties:{m:!0}};break;case 50:this.$={type:"MultiPolygon",coordinates:c[h-1].toJSON(),properties:{z:!0,m:!0}};break;case 51:this.$={type:"MultiPolygon",coordinates:[]}}},table:[{3:1,4:2,6:3,7:4,8:5,9:6,10:7,19:[1,8],28:[1,9],29:[1,10],30:[1,11],31:[1,12],32:[1,13]},{1:[3]},{5:[1,14]},{5:[1,15]},{5:[1,16]},{5:[1,17]},{5:[1,18]},{5:[1,19]},{17:[1,20],20:[1,21],21:[1,22],22:[1,23],23:[1,24]},{17:[1,25],20:[1,26],21:[1,28],22:[1,27],23:[1,29]},{17:[1,30],20:[1,31],21:[1,33],22:[1,32],23:[1,34]},{17:[1,35],20:[1,36],21:[1,38],22:[1,37],23:[1,39]},{17:[1,40],20:[1,41],21:[1,43],22:[1,42],23:[1,44]},{17:[1,45],20:[1,46],21:[1,48],22:[1,47],23:[1,49]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{11:51,12:[1,52],13:50},{17:[1,53]},{17:[1,54]},{17:[1,55]},{5:[2,19]},{11:58,12:[1,52],17:[1,59],24:57,27:56},{17:[1,60]},{17:[1,61]},{17:[1,62]},{5:[2,31]},{15:63,16:64,17:[1,65]},{17:[1,66]},{17:[1,67]},{17:[1,68]},{5:[2,36]},{11:58,12:[1,52],17:[1,59],24:57,27:69},{17:[1,70]},{17:[1,71]},{17:[1,72]},{5:[2,41]},{15:73,16:64,17:[1,65]},{17:[1,74]},{17:[1,75]},{17:[1,76]},{5:[2,46]},{17:[1,79],25:77,26:78},{17:[1,80]},{17:[1,81]},{17:[1,82]},{5:[2,51]},{14:[1,84],18:[1,83]},{14:[2,11],18:[2,11]},{12:[1,85]},{11:51,12:[1,52],13:86},{11:51,12:[1,52],13:87},{11:51,12:[1,52],13:88},{14:[1,90],18:[1,89]},{14:[2,26],18:[2,26]},{14:[2,20],18:[2,20]},{11:91,12:[1,52]},{11:58,12:[1,52],17:[1,59],24:57,27:92},{11:58,12:[1,52],17:[1,59],24:57,27:93},{11:58,12:[1,52],17:[1,59],24:57,27:94},{14:[1,96],18:[1,95]},{14:[2,13],18:[2,13]},{11:51,12:[1,52],13:97},{15:98,16:64,17:[1,65]},{15:99,16:64,17:[1,65]},{15:100,16:64,17:[1,65]},{14:[1,90],18:[1,101]},{11:58,12:[1,52],17:[1,59],24:57,27:102},{11:58,12:[1,52],17:[1,59],24:57,27:103},{11:58,12:[1,52],17:[1,59],24:57,27:104},{14:[1,96],18:[1,105]},{15:106,16:64,17:[1,65]},{15:107,16:64,17:[1,65]},{15:108,16:64,17:[1,65]},{14:[1,110],18:[1,109]},{14:[2,23],18:[2,23]},{15:111,16:64,17:[1,65]},{17:[1,79],25:112,26:78},{17:[1,79],25:113,26:78},{17:[1,79],25:114,26:78},{5:[2,15]},{11:115,12:[1,52]},{12:[1,116],14:[2,7],18:[2,7]},{14:[1,84],18:[1,117]},{14:[1,84],18:[1,118]},{14:[1,84],18:[1,119]},{5:[2,27]},{11:58,12:[1,52],17:[1,59],24:120},{18:[1,121]},{14:[1,90],18:[1,122]},{14:[1,90],18:[1,123]},{14:[1,90],18:[1,124]},{5:[2,32]},{16:125,17:[1,65]},{14:[1,84],18:[1,126]},{14:[1,96],18:[1,127]},{14:[1,96],18:[1,128]},{14:[1,96],18:[1,129]},{5:[2,37]},{14:[1,90],18:[1,130]},{14:[1,90],18:[1,131]},{14:[1,90],18:[1,132]},{5:[2,42]},{14:[1,96],18:[1,133]},{14:[1,96],18:[1,134]},{14:[1,96],18:[1,135]},{5:[2,47]},{17:[1,79],26:136},{14:[1,96],18:[1,137]},{14:[1,110],18:[1,138]},{14:[1,110],18:[1,139]},{14:[1,110],18:[1,140]},{14:[2,10],18:[2,10]},{12:[1,141],14:[2,8],18:[2,8]},{5:[2,16]},{5:[2,17]},{5:[2,18]},{14:[2,25],18:[2,25]},{14:[2,21],18:[2,21]},{5:[2,28]},{5:[2,29]},{5:[2,30]},{14:[2,12],18:[2,12]},{14:[2,14],18:[2,14]},{5:[2,33]},{5:[2,34]},{5:[2,35]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,43]},{5:[2,44]},{5:[2,45]},{14:[2,22],18:[2,22]},{14:[2,24],18:[2,24]},{5:[2,48]},{5:[2,49]},{5:[2,50]},{14:[2,9],18:[2,9]}],defaultActions:{14:[2,1],15:[2,2],16:[2,3],17:[2,4],18:[2,5],19:[2,6],24:[2,19],29:[2,31],34:[2,36],39:[2,41],44:[2,46],49:[2,51],83:[2,15],89:[2,27],95:[2,32],101:[2,37],105:[2,42],109:[2,47],117:[2,16],118:[2,17],119:[2,18],122:[2,28],123:[2,29],124:[2,30],127:[2,33],128:[2,34],129:[2,35],130:[2,38],131:[2,39],132:[2,40],133:[2,43],134:[2,44],135:[2,45],138:[2,48],139:[2,49],140:[2,50]},parseError:function(t,e){throw new Error(t)},parse:function(t){var e=this,r=[0],n=[null],i=[],o=this.table,s="",a=0,u=0,c=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var l=this.lexer.yylloc;i.push(l);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var f,p,d,y,g,m,b,v,w,E,_={};;){if(d=r[r.length-1],this.defaultActions[d]?y=this.defaultActions[d]:(null==f&&(E=void 0,"number"!=typeof(E=e.lexer.lex()||1)&&(E=e.symbols_[E]||E),f=E),y=o[d]&&o[d][f]),void 0===y||!y.length||!y[0]){var M="";if(!c){for(m in w=[],o[d])this.terminals_[m]&&m>2&&w.push("'"+this.terminals_[m]+"'");M=this.lexer.showPosition?"Parse error on line "+(a+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(M,{text:this.lexer.match,token:this.terminals_[f]||f,line:this.lexer.yylineno,loc:l,expected:w})}}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+d+", token: "+f);switch(y[0]){case 1:r.push(f),n.push(this.lexer.yytext),i.push(this.lexer.yylloc),r.push(y[1]),f=null,p?(f=p,p=null):(u=this.lexer.yyleng,s=this.lexer.yytext,a=this.lexer.yylineno,l=this.lexer.yylloc,c>0&&c--);break;case 2:if(b=this.productions_[y[1]][1],_.$=n[n.length-b],_._$={first_line:i[i.length-(b||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(b||1)].first_column,last_column:i[i.length-1].last_column},h&&(_._$.range=[i[i.length-(b||1)].range[0],i[i.length-1].range[1]]),void 0!==(g=this.performAction.call(_,s,u,a,this.yy,y[1],n,i)))return g;b&&(r=r.slice(0,-1*b*2),n=n.slice(0,-1*b),i=i.slice(0,-1*b)),r.push(this.productions_[y[1]][0]),n.push(_.$),i.push(_._$),v=o[r[r.length-2]][r[r.length-1]],r.push(v);break;case 3:return!0}}return!0}},e=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e,r,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),s=0;se[0].length)||(e=r,n=s,this.options.flex));s++);return e?((i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,o[n],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},options:{},performAction:function(t,e,r,n){switch(r){case 0:break;case 1:return 17;case 2:return 18;case 3:return 12;case 4:return 19;case 5:return 28;case 6:return 29;case 7:return 30;case 8:return 31;case 9:return 32;case 10:return 14;case 11:return 23;case 12:return 22;case 13:return 20;case 14:return 21;case 15:return 5;case 16:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:\()/,/^(?:\))/,/^(?:-?[0-9]+(\.[0-9]+)?([eE][\-\+]?[0-9]+)?)/,/^(?:POINT\b)/,/^(?:LINESTRING\b)/,/^(?:POLYGON\b)/,/^(?:MULTIPOINT\b)/,/^(?:MULTILINESTRING\b)/,/^(?:MULTIPOLYGON\b)/,/^(?:,)/,/^(?:EMPTY\b)/,/^(?:M\b)/,/^(?:Z\b)/,/^(?:ZM\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],inclusive:!0}}};return t}();function r(){this.yy={}}return t.lexer=e,r.prototype=t,t.Parser=r,new r}();function n(t){this.data=[t],this.type="PointArray"}function o(t){this.data=t,this.type="Ring"}function s(t){this.data=[t],this.type="RingList"}function a(t){this.data=[t],this.type="PolygonList"}function u(t){for(var e=[],r="",n=0;nr)&&(r=h),(null===n||fi)&&(i=f)}return[e,n,r,i]}(t.coordinates);case"Feature":return t.geometry?u(t.geometry):null;case"FeatureCollection":return function(t){for(var e,r=[],n=t.features.length-1;n>=0;n--)e=u(t.features[n].geometry),r.push([e[0],e[1]]),r.push([e[2],e[3]]);return l(r)}(t);case"GeometryCollection":return function(t){for(var e,r=[],n=t.geometries.length-1;n>=0;n--)e=u(t.geometries[n]),r.push([e[0],e[1]]),r.push([e[2],e[3]]);return l(r)}(t);default:throw new Error("Unknown type: "+t.type)}return null}function c(t){for(var e=null,r=null,n=null,i=null,o=0;or)&&(r=c),(null===n||li)&&(i=l)}return[e,n,r,i]}function l(t){for(var e=null,r=null,n=null,i=null,o=0;or)&&(r=a),(null===n||ui)&&(i=u)}return[e,n,r,i]}function h(t){var e=u(t);return{x:e[0],y:e[1],w:Math.abs(e[0]-e[2]),h:Math.abs(e[1]-e[3])}}function f(t){return t*r}function p(t){return t*n}function d(t,e){for(var r=0;re[0]?-1:t[0]e[1]?-1:t[1]i?1:0;var n,i}function _(t,e){var r=e[0]-t[0],n=e[1]-t[1];return r*r+n*n}function M(t,e){var r=e;for(var n in t){var i=E(e,r,t[n]);(-1===i||0===i&&_(e,t[n])>_(e,r))&&(r=t[n])}return r}function S(t){if(0===t.length)return[];if(1===t.length)return t;for(var e=[t.sort(w)[0]],r=0;r=2))throw"Terraformer: invalid input for Terraformer.Point";this.coordinates=e}this.type="Point"}function k(t){if(t&&"MultiPoint"===t.type&&t.coordinates)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.MultiPoint";this.coordinates=t}this.type="MultiPoint"}function D(t){if(t&&"LineString"===t.type&&t.coordinates)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.LineString";this.coordinates=t}this.type="LineString"}function q(t){if(t&&"MultiLineString"===t.type&&t.coordinates)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.MultiLineString";this.coordinates=t}this.type="MultiLineString"}function F(t){if(t&&"Polygon"===t.type&&t.coordinates)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.Polygon";this.coordinates=t}this.type="Polygon"}function U(t){if(t&&"MultiPolygon"===t.type&&t.coordinates)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.MultiPolygon";this.coordinates=t}this.type="MultiPolygon"}function B(t){if(t&&"Feature"===t.type)a(this,t);else{if(!(t&&t.type&&t.coordinates))throw"Terraformer: invalid input for Terraformer.Feature";this.geometry=t}this.type="Feature"}function G(t){if(t&&"FeatureCollection"===t.type&&t.features)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.FeatureCollection";this.features=t}this.type="FeatureCollection"}function H(t){if(t&&"GeometryCollection"===t.type&&t.geometries)a(this,t);else if(s(t))this.geometries=t;else{if(!t.coordinates||!t.type)throw"Terraformer: invalid input for Terraformer.GeometryCollection";this.type="GeometryCollection",this.geometries=[t]}this.type="GeometryCollection"}function V(t,e,r){for(var n=g(t),i=r||64,o={type:"Polygon",coordinates:[[]]},s=1;s<=i;s++){var a=s*(360/i)*Math.PI/180;o.coordinates[0].push([n[0]+e*Math.cos(a),n[1]+e*Math.sin(a)])}return o.coordinates=R(o.coordinates),v(o)}function z(t,e,r){var n=r||64,i=e||250;if(!t||t.length<2||!i||!n)throw new Error("Terraformer: missing parameter for Terraformer.Circle");a(this,new B({type:"Feature",geometry:V(t,i,n),properties:{radius:i,center:t,steps:n}}))}return I.prototype.toMercator=function(){return b(this)},I.prototype.toGeographic=function(){return v(this)},I.prototype.envelope=function(){return h(this)},I.prototype.bbox=function(){return u(this)},I.prototype.convexHull=function(){var t,e,r=[];if("Point"===this.type)return null;if("LineString"===this.type||"MultiPoint"===this.type){if(!(this.coordinates&&this.coordinates.length>=3))return null;r=this.coordinates}else if("Polygon"===this.type||"MultiLineString"===this.type){if(!(this.coordinates&&this.coordinates.length>0))return null;for(t=0;t0))return null;for(t=0;t1},F.prototype.holes=function(){var t=[];if(this.hasHoles())for(var e=1;e0||!e&&a<0)return!1}return!0},t.MercatorCRS=i,t.GeographicCRS={type:"link",properties:{href:"http://spatialreference.org/ref/epsg/4326/ogcwkt/",type:"ogcwkt"}},t},"object"==typeof t.exports&&(t.exports=i()),"object"==typeof window&&(n.Terraformer=i())},8760:(t,e)=>{var r=Function.prototype.bind,n=Array.prototype.slice,i=Object.prototype.toString;function o(t){return t="[object "+t+"]",function(e){return i.call(e)===t}}e.bind=function(t,e){var i=n.call(arguments,2);return r?(i.unshift(e),r.apply(t,i)):function(){return t.apply(e,i.concat(n.call(arguments)))}},e.slice=function(t,e,r){return n.call(t,e,r)},e.toString=function(t){return i.call(t)},e.isNull=o("Null"),e.isDate=o("Date"),e.isMath=o("Math"),e.isJSON=o("JSON"),e.isError=o("Error"),e.isArray=Array.isArray||o("Array"),e.isObject=o("Object"),e.isRegExp=o("RegExp"),e.isNumber=o("Number"),e.isString=o("String"),e.isBoolean=o("Boolean"),e.isFunction=o("Function"),e.isArguments=o("Arguments"),e.isUndefined=o("Undefined"),e.isValid=function(t){return!e.isInvalid(t)},e.isInvalid=function(t){return e.isNull(t)||e.isUndefined(t)},e.isImmutable=function(t){return!e.isMutable(t)},e.isMutable=function(t){return t&&!e.isNumber(t)&&!e.isString(t)&&!e.isBoolean(t)},e.isEnumerable=function(t){return!!t&&(e.isNumber(t)?e.isInteger(t):e.isInteger(t.length)?t.length>=0:e.isEnumerableObject(t))},e.isEnumerableObject=function(t){for(var e in t)return!0;return!1},e.isEmpty=function(t){return e.isObject(t)?!e.isEnumerableObject(t):!e.isEnumerable(t)},e.isFiniteNumber=function(t){return e.isNumber(t)&&isFinite(t)},e.isInteger=function(t){return e.isFiniteNumber(t)&&Math.floor(t)===t},e.isVague=function(t){return t&&"object"==typeof t},e.isList=function(t){return e.isVague(t)&&e.isInteger(t.length)&&t.length>=0},e.isNaN=isNaN,e.nativeTypeOf=function(t){var e=t.toString(t);return e.substring(8,e.length-1)},e.typeOf=function(t){return e.isObject(t)?t.constructor.name||"Object":e.nativeTypeOf(t)},e.safeApply=function(t,r,n){return e.isFunction(t)?t.apply(n||this,r):void 0},e.enumerate=function(t,r,n,i){if(!t)return t;if(n=n||this,!i&&e.isFunction(t.forEach))return t.forEach(r,n);var o=0,s=t.length;if(e.isString(t))for(;oe||e>=n}))):void 0}},2511:function(t,e,r){var n;/*! https://mths.be/punycode v1.4.1 by @mathias */t=r.nmd(t),function(i){e&&e.nodeType,t&&t.nodeType;var o="object"==typeof r.g&&r.g;o.global!==o&&o.window!==o&&o.self;var s,a=2147483647,u=36,c=1,l=26,h=38,f=700,p=72,d=128,y="-",g=/^xn--/,m=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,v={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=u-c,E=Math.floor,_=String.fromCharCode;function M(t){throw new RangeError(v[t])}function S(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function x(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+S((t=t.replace(b,".")).split("."),e).join(".")}function N(t){for(var e,r,n=[],i=0,o=t.length;i=55296&&e<=56319&&i65535&&(e+=_((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=_(t)})).join("")}function O(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function T(t,e,r){var n=0;for(t=r?E(t/f):t>>1,t+=E(t/e);t>w*l>>1;n+=u)t=E(t/w);return E(n+(w+1)*t/(t+h))}function R(t){var e,r,n,i,o,s,h,f,g,m,b,v=[],w=t.length,_=0,S=d,x=p;for((r=t.lastIndexOf(y))<0&&(r=0),n=0;n=128&&M("not-basic"),v.push(t.charCodeAt(n));for(i=r>0?r+1:0;i=w&&M("invalid-input"),((f=(b=t.charCodeAt(i++))-48<10?b-22:b-65<26?b-65:b-97<26?b-97:u)>=u||f>E((a-_)/s))&&M("overflow"),_+=f*s,!(f<(g=h<=x?c:h>=x+l?l:h-x));h+=u)s>E(a/(m=u-g))&&M("overflow"),s*=m;x=T(_-o,e=v.length+1,0==o),E(_/e)>a-S&&M("overflow"),S+=E(_/e),_%=e,v.splice(_++,0,S)}return A(v)}function P(t){var e,r,n,i,o,s,h,f,g,m,b,v,w,S,x,A=[];for(v=(t=N(t)).length,e=d,r=0,o=p,s=0;s=e&&bE((a-r)/(w=n+1))&&M("overflow"),r+=(h-e)*w,e=h,s=0;sa&&M("overflow"),b==e){for(f=r,g=u;!(f<(m=g<=o?c:g>=o+l?l:g-o));g+=u)x=f-m,S=u-m,A.push(_(O(m+x%S,0))),f=E(x/S);A.push(_(O(f,0))),o=T(r,w,n==i),r=0,++n}++r,++e}return A.join("")}s={version:"1.4.1",ucs2:{decode:N,encode:A},decode:R,encode:P,toASCII:function(t){return x(t,(function(t){return m.test(t)?"xn--"+P(t):t}))},toUnicode:function(t){return x(t,(function(t){return g.test(t)?R(t.slice(4).toLowerCase()):t}))}},void 0===(n=function(){return s}.call(e,r,e,t))||(t.exports=n)}()},9532:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:n,RFC3986:i}},5984:(t,e,r)=>{"use strict";var n=r(4730),i=r(7325),o=r(9532);t.exports={formats:o,parse:i,stringify:n}},7325:(t,e,r)=>{"use strict";var n=r(9368),i=Object.prototype.hasOwnProperty,o=Array.isArray,s={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},a=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},u=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),c=a?o.slice(0,a.index):o,l=[];if(c){if(!r.plainObjects&&i.call(Object.prototype,c)&&!r.allowPrototypes)return;l.push(c)}for(var h=0;r.depth>0&&null!==(a=s.exec(o))&&h=0;--o){var s,a=t[o];if("[]"===a&&r.parseArrays)s=[].concat(i);else{s=r.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=parseInt(c,10);r.parseArrays||""!==c?!isNaN(l)&&a!==c&&String(l)===c&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(s=[])[l]=i:"__proto__"!==c&&(s[c]=i):s={0:i}}i=s}return i}(l,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:s.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var l="string"==typeof t?function(t,e){var r,c={__proto__:null},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,h=e.parameterLimit===1/0?void 0:e.parameterLimit,f=l.split(e.delimiter,h),p=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(g=o(g)?[g]:g),i.call(c,y)?c[y]=n.combine(c[y],g):c[y]=g}return c}(t,r):t,h=r.plainObjects?Object.create(null):{},f=Object.keys(l),p=0;p{"use strict";var n=r(7478),i=r(9368),o=r(9532),s=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,c=Array.prototype.push,l=function(t,e){c.apply(t,u(e)?e:[e])},h=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},d={},y=function t(e,r,o,s,a,c,h,f,y,g,m,b,v,w,E,_){for(var M,S=e,x=_,N=0,A=!1;void 0!==(x=x.get(d))&&!A;){var O=x.get(e);if(N+=1,void 0!==O){if(O===N)throw new RangeError("Cyclic object value");A=!0}void 0===x.get(d)&&(N=0)}if("function"==typeof f?S=f(r,S):S instanceof Date?S=m(S):"comma"===o&&u(S)&&(S=i.maybeMap(S,(function(t){return t instanceof Date?m(t):t}))),null===S){if(a)return h&&!w?h(r,p.encoder,E,"key",b):r;S=""}if("string"==typeof(M=S)||"number"==typeof M||"boolean"==typeof M||"symbol"==typeof M||"bigint"==typeof M||i.isBuffer(S))return h?[v(w?r:h(r,p.encoder,E,"key",b))+"="+v(h(S,p.encoder,E,"value",b))]:[v(r)+"="+v(String(S))];var T,R=[];if(void 0===S)return R;if("comma"===o&&u(S))w&&h&&(S=i.maybeMap(S,h)),T=[{value:S.length>0?S.join(",")||null:void 0}];else if(u(f))T=f;else{var P=Object.keys(S);T=y?P.sort(y):P}for(var C=s&&u(S)&&1===S.length?r+"[]":r,j=0;j0?E+w:""}},9368:(t,e,r)=>{"use strict";var n=r(9532),i=Object.prototype.hasOwnProperty,o=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),a=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(o(r)){for(var n=[],i=0;i=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===n.RFC1738&&(40===l||41===l)?u+=a.charAt(c):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&a.charCodeAt(c)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var r=[],n=0;n{"use strict";var n=r(2511);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(u),l=["%","/","?",";","#"].concat(c),h=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=r(5984);function b(t,e,r){if(t&&"object"==typeof t&&t instanceof i)return t;var n=new i;return n.parse(t,e,r),n}i.prototype.parse=function(t,e,r){if("string"!=typeof t)throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),s=-1!==i&&i127?C+="x":C+=P[j];if(!C.match(f)){var L=T.slice(0,N),k=T.slice(N+1),D=P.match(p);D&&(L.push(D[1]),k.unshift(D[2])),k.length&&(b="/"+k.join(".")+b),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=n.toASCII(this.hostname));var q=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+q,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!d[E])for(N=0,R=c.length;N0)&&r.host.split("@"))&&(r.auth=O.shift(),r.hostname=O.shift(),r.host=r.hostname);return r.search=t.search,r.query=t.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!_.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=_.slice(-1)[0],x=(r.host||t.host||_.length>1)&&("."===S||".."===S)||""===S,N=0,A=_.length;A>=0;A--)"."===(S=_[A])?_.splice(A,1):".."===S?(_.splice(A,1),N++):N&&(_.splice(A,1),N--);if(!w&&!E)for(;N--;N)_.unshift("..");!w||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),x&&"/"!==_.join("/").substr(-1)&&_.push("");var O,T=""===_[0]||_[0]&&"/"===_[0].charAt(0);M&&(r.hostname=T?"":_.length?_.shift():"",r.host=r.hostname,(O=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=O.shift(),r.hostname=O.shift(),r.host=r.hostname));return(w=w||r.host&&_.length)&&!T&&_.unshift(""),_.length>0?r.pathname=_.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var t=this.host,e=s.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},e.parse=b,e.resolve=function(t,e){return b(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?b(t,!1,!0).resolveObject(e):e},e.format=function(t){return"string"==typeof t&&(t=b(t)),t instanceof i?t.format():i.prototype.format.call(t)},e.Url=i},4927:(t,e,r)=>{var n=r(5108);function i(t){try{if(!r.g.localStorage)return!1}catch(t){return!1}var e=r.g.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}t.exports=function(t,e){if(i("noDeprecation"))return t;var r=!1;return function(){if(!r){if(i("throwDeprecation"))throw new Error(e);i("traceDeprecation")?n.trace(e):n.warn(e),r=!0}return t.apply(this,arguments)}}},384:t=>{t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},5955:(t,e,r)=>{"use strict";var n=r(2584),i=r(8662),o=r(6430),s=r(5692);function a(t){return t.call.bind(t)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=a(Object.prototype.toString),h=a(Number.prototype.valueOf),f=a(String.prototype.valueOf),p=a(Boolean.prototype.valueOf);if(u)var d=a(BigInt.prototype.valueOf);if(c)var y=a(Symbol.prototype.valueOf);function g(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function m(t){return"[object Map]"===l(t)}function b(t){return"[object Set]"===l(t)}function v(t){return"[object WeakMap]"===l(t)}function w(t){return"[object WeakSet]"===l(t)}function E(t){return"[object ArrayBuffer]"===l(t)}function _(t){return"undefined"!=typeof ArrayBuffer&&(E.working?E(t):t instanceof ArrayBuffer)}function M(t){return"[object DataView]"===l(t)}function S(t){return"undefined"!=typeof DataView&&(M.working?M(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=i,e.isTypedArray=s,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):s(t)||S(t)},e.isUint8Array=function(t){return"Uint8Array"===o(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===o(t)},e.isUint16Array=function(t){return"Uint16Array"===o(t)},e.isUint32Array=function(t){return"Uint32Array"===o(t)},e.isInt8Array=function(t){return"Int8Array"===o(t)},e.isInt16Array=function(t){return"Int16Array"===o(t)},e.isInt32Array=function(t){return"Int32Array"===o(t)},e.isFloat32Array=function(t){return"Float32Array"===o(t)},e.isFloat64Array=function(t){return"Float64Array"===o(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===o(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===o(t)},m.working="undefined"!=typeof Map&&m(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(m.working?m(t):t instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(b.working?b(t):t instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(v.working?v(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),e.isWeakSet=function(t){return w(t)},E.working="undefined"!=typeof ArrayBuffer&&E(new ArrayBuffer),e.isArrayBuffer=_,M.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&M(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=S;var x="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function N(t){return"[object SharedArrayBuffer]"===l(t)}function A(t){return void 0!==x&&(void 0===N.working&&(N.working=N(new x)),N.working?N(t):t instanceof x)}function O(t){return g(t,h)}function T(t){return g(t,f)}function R(t){return g(t,p)}function P(t){return u&&g(t,d)}function C(t){return c&&g(t,y)}e.isSharedArrayBuffer=A,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===l(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===l(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===l(t)},e.isGeneratorObject=function(t){return"[object Generator]"===l(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===l(t)},e.isNumberObject=O,e.isStringObject=T,e.isBooleanObject=R,e.isBigIntObject=P,e.isSymbolObject=C,e.isBoxedPrimitive=function(t){return O(t)||T(t)||R(t)||P(t)||C(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(_(t)||A(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},9539:(t,e,r)=>{var n=r(4155),i=r(5108),o=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),a=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(r)?n.showHidden=r:r&&e._extend(n,r),E(n.showHidden)&&(n.showHidden=!1),E(n.depth)&&(n.depth=2),E(n.colors)&&(n.colors=!1),E(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=h),p(n,t,n.depth)}function h(t,e){var r=l.styles[e];return r?"["+l.colors[r][0]+"m"+t+"["+l.colors[r][1]+"m":t}function f(t,e){return t}function p(t,r,n){if(t.customInspect&&r&&N(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return w(i)||(i=p(t,i,n)),i}var o=function(t,e){if(E(e))return t.stylize("undefined","undefined");if(w(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(v(e))return t.stylize(""+e,"number");if(m(e))return t.stylize(""+e,"boolean");if(b(e))return t.stylize("null","null")}(t,r);if(o)return o;var s=Object.keys(r),a=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(r)),x(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return d(r);if(0===s.length){if(N(r)){var u=r.name?": "+r.name:"";return t.stylize("[Function"+u+"]","special")}if(_(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return t.stylize(Date.prototype.toString.call(r),"date");if(x(r))return d(r)}var c,l="",h=!1,f=["{","}"];(g(r)&&(h=!0,f=["[","]"]),N(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return _(r)&&(l=" "+RegExp.prototype.toString.call(r)),S(r)&&(l=" "+Date.prototype.toUTCString.call(r)),x(r)&&(l=" "+d(r)),0!==s.length||h&&0!=r.length?n<0?_(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),c=h?function(t,e,r,n,i){for(var o=[],s=0,a=e.length;s=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(c,l,f)):f[0]+l+f[1]}function d(t){return"["+Error.prototype.toString.call(t)+"]"}function y(t,e,r,n,i,o){var s,a,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(a=t.stylize("[Setter]","special")),R(n,i)||(s="["+i+"]"),a||(t.seen.indexOf(u.value)<0?(a=b(r)?p(t,u.value,null):p(t,u.value,r-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map((function(t){return" "+t})).join("\n").slice(2):"\n"+a.split("\n").map((function(t){return" "+t})).join("\n")):a=t.stylize("[Circular]","special")),E(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+a}function g(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function b(t){return null===t}function v(t){return"number"==typeof t}function w(t){return"string"==typeof t}function E(t){return void 0===t}function _(t){return M(t)&&"[object RegExp]"===A(t)}function M(t){return"object"==typeof t&&null!==t}function S(t){return M(t)&&"[object Date]"===A(t)}function x(t){return M(t)&&("[object Error]"===A(t)||t instanceof Error)}function N(t){return"function"==typeof t}function A(t){return Object.prototype.toString.call(t)}function O(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!a[t])if(u.test(t)){var r=n.pid;a[t]=function(){var n=e.format.apply(e,arguments);i.error("%s %d: %s",t,r,n)}}else a[t]=function(){};return a[t]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(5955),e.isArray=g,e.isBoolean=m,e.isNull=b,e.isNullOrUndefined=function(t){return null==t},e.isNumber=v,e.isString=w,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=E,e.isRegExp=_,e.types.isRegExp=_,e.isObject=M,e.isDate=S,e.types.isDate=S,e.isError=x,e.types.isNativeError=x,e.isFunction=N,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(384);var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;i.log("%s - %s",(t=new Date,r=[O(t.getHours()),O(t.getMinutes()),O(t.getSeconds())].join(":"),[t.getDate(),T[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(5717),e._extend=function(t,e){if(!e||!M(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function C(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(P&&t[P]){var e;if("function"!=typeof(e=t[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,P,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),i=[],o=0;o{"use strict";var n=r(4029),i=r(3083),o=r(5559),s=r(1924),a=r(7296),u=s("Object.prototype.toString"),c=r(6410)(),l="undefined"==typeof globalThis?r.g:globalThis,h=i(),f=s("String.prototype.slice"),p=Object.getPrototypeOf,d=s("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r-1?e:"Object"===e&&function(t){var e=!1;return n(y,(function(r,n){if(!e)try{r(t),e=f(n,1)}catch(t){}})),e}(t)}return a?function(t){var e=!1;return n(y,(function(r,n){if(!e)try{"$"+r(t)===n&&(e=f(n,1))}catch(t){}})),e}(t):null}},7691:(t,e,r)=>{var n=r(5108);!function(t){"use strict";var e=function(t,e){for(var r=0;r0&&this.init(t)}function g(t){arguments.length>0&&this.init(t)}function m(t,e){arguments.length>0&&this.init(t,e)}function b(t,e){arguments.length>0&&this.init(t,e)}function v(t,e){arguments.length>0&&this.init(t,e)}function w(t,e){arguments.length>0&&this.init(t,e)}function E(t,e){arguments.length>0&&this.init(t,e)}function _(t,e){arguments.length>0&&this.init(t,e)}function M(t,e){arguments.length>0&&this.init(t,e)}function S(t,e){arguments.length>0&&this.init(t,e)}function x(t,e){arguments.length>0&&this.init(t,e)}function N(t,e){arguments.length>0&&this.init(t,e)}function A(t,e){arguments.length>0&&this.init(t,e)}function O(t,e){arguments.length>0&&this.init(t,e)}function T(t,e){arguments.length>0&&this.init(t,e)}function R(t,e){arguments.length>0&&this.init(t,e)}function P(t,e){arguments.length>0&&this.init(t,e)}function C(t,e,r){arguments.length>0&&this.init(t,e,r)}function j(t){for(;t&&t.parentNode;)t=t.parentNode;return t}function I(t,e,r){return C.applyPredicates(t.predicates,e,C.applyStep(t,e,r))}function L(t,e,r){return function(t){for(var e=[],r=0;r0&&this.init(t,e)}function D(t,e,r){arguments.length>0&&this.init(t,e,r)}function q(t,e){arguments.length>0&&this.init(t,e)}function F(t){arguments.length>0&&this.init(t)}function U(t,e){arguments.length>0&&this.init(t,e)}h.prototype=new Object,h.prototype.constructor=h,h.superclass=Object.prototype,h.prototype.init=function(){this.reduceActions=[],this.reduceActions[3]=function(t){return new b(t[0],t[2])},this.reduceActions[5]=function(t){return new v(t[0],t[2])},this.reduceActions[7]=function(t){return new w(t[0],t[2])},this.reduceActions[8]=function(t){return new E(t[0],t[2])},this.reduceActions[10]=function(t){return new _(t[0],t[2])},this.reduceActions[11]=function(t){return new M(t[0],t[2])},this.reduceActions[12]=function(t){return new S(t[0],t[2])},this.reduceActions[13]=function(t){return new x(t[0],t[2])},this.reduceActions[15]=function(t){return new N(t[0],t[2])},this.reduceActions[16]=function(t){return new A(t[0],t[2])},this.reduceActions[18]=function(t){return new O(t[0],t[2])},this.reduceActions[19]=function(t){return new T(t[0],t[2])},this.reduceActions[20]=function(t){return new R(t[0],t[2])},this.reduceActions[22]=function(t){return new g(t[1])},this.reduceActions[24]=function(t){return new P(t[0],t[2])},this.reduceActions[25]=function(t){return new C(void 0,void 0,t[0])},this.reduceActions[27]=function(t){return t[0].locationPath=t[2],t[0]},this.reduceActions[28]=function(t){return t[0].locationPath=t[2],t[0].locationPath.steps.unshift(new D(D.DESCENDANTORSELF,q.nodeTest,[])),t[0]},this.reduceActions[29]=function(t){return new C(t[0],[],void 0)},this.reduceActions[30]=function(t){return Z.instance_of(t[0],C)?(null==t[0].filterPredicates&&(t[0].filterPredicates=[]),t[0].filterPredicates.push(t[1]),t[0]):new C(t[0],[t[1]],void 0)},this.reduceActions[32]=function(t){return t[1]},this.reduceActions[33]=function(t){return new G(t[0])},this.reduceActions[34]=function(t){return new H(t[0])},this.reduceActions[36]=function(t){return new U(t[0],[])},this.reduceActions[37]=function(t){return new U(t[0],t[2])},this.reduceActions[38]=function(t){return[t[0]]},this.reduceActions[39]=function(t){return t[2].unshift(t[0]),t[2]},this.reduceActions[43]=function(t){return new k(!0,[])},this.reduceActions[44]=function(t){return t[1].absolute=!0,t[1]},this.reduceActions[46]=function(t){return new k(!1,[t[0]])},this.reduceActions[47]=function(t){return t[0].steps.push(t[2]),t[0]},this.reduceActions[49]=function(t){return new D(t[0],t[1],[])},this.reduceActions[50]=function(t){return new D(D.CHILD,t[0],[])},this.reduceActions[51]=function(t){return new D(t[0],t[1],t[2])},this.reduceActions[52]=function(t){return new D(D.CHILD,t[0],t[1])},this.reduceActions[54]=function(t){return[t[0]]},this.reduceActions[55]=function(t){return t[1].unshift(t[0]),t[1]},this.reduceActions[56]=function(t){return"ancestor"==t[0]?D.ANCESTOR:"ancestor-or-self"==t[0]?D.ANCESTORORSELF:"attribute"==t[0]?D.ATTRIBUTE:"child"==t[0]?D.CHILD:"descendant"==t[0]?D.DESCENDANT:"descendant-or-self"==t[0]?D.DESCENDANTORSELF:"following"==t[0]?D.FOLLOWING:"following-sibling"==t[0]?D.FOLLOWINGSIBLING:"namespace"==t[0]?D.NAMESPACE:"parent"==t[0]?D.PARENT:"preceding"==t[0]?D.PRECEDING:"preceding-sibling"==t[0]?D.PRECEDINGSIBLING:"self"==t[0]?D.SELF:-1},this.reduceActions[57]=function(t){return D.ATTRIBUTE},this.reduceActions[59]=function(t){return"comment"==t[0]?q.commentTest:"text"==t[0]?q.textTest:"processing-instruction"==t[0]?q.anyPiTest:"node"==t[0]?q.nodeTest:new q(-1,void 0)},this.reduceActions[60]=function(t){return new q.PITest(t[2])},this.reduceActions[61]=function(t){return t[1]},this.reduceActions[63]=function(t){return t[1].absolute=!0,t[1].steps.unshift(new D(D.DESCENDANTORSELF,q.nodeTest,[])),t[1]},this.reduceActions[64]=function(t){return t[0].steps.push(new D(D.DESCENDANTORSELF,q.nodeTest,[])),t[0].steps.push(t[2]),t[0]},this.reduceActions[65]=function(t){return new D(D.SELF,q.nodeTest,[])},this.reduceActions[66]=function(t){return new D(D.PARENT,q.nodeTest,[])},this.reduceActions[67]=function(t){return new F(t[1])},this.reduceActions[68]=function(t){return q.nameTestAny},this.reduceActions[69]=function(t){return new q.NameTestPrefixAny(t[0].split(":")[0])},this.reduceActions[70]=function(t){return new q.NameTestQName(t[0])}},h.actionTable=[" s s sssssssss s ss s ss"," s ","r rrrrrrrrr rrrrrrr rr r "," rrrrr "," s s sssssssss s ss s ss","rs rrrrrrrr s sssssrrrrrr rrs rs "," s s sssssssss s ss s ss"," s "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s "," s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr r ","a ","r s rr r ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrs rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r srrrrrrrr rrrrrrs rr sr ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r "," sssss ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrr rrrrr rr r "," s "," s "," rrrrr "," s s sssssssss s sss s ss","r srrrrrrrr rrrrrrs rr r "," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss ss s ss"," s s sssssssss s ss s ss"," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr rr "," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," rr "," s "," rs ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrr rr r "," r "," s ","r srrrrrrrr rrrrrrs rr r ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s s sssssssss s ss s ss","r rrrrrrrrr rrrrrrr rr rr "," r "],h.actionTableNumber=[" 1 0 /.-,+*)(' & %$ # \"!"," J ","a aaaaaaaaa aaaaaaa aa a "," YYYYY "," 1 0 /.-,+*)(' & %$ # \"!","K1 KKKKKKKK . +*)('KKKKKK KK# K\" "," 1 0 /.-,+*)(' & %$ # \"!"," N "," O ","e eeeeeeeee eeeeeee ee ee ","f fffffffff fffffff ff ff ","d ddddddddd ddddddd dd dd ","B BBBBBBBBB BBBBBBB BB BB ","A AAAAAAAAA AAAAAAA AA AA "," P "," Q "," 1 . +*)(' # \" ","b bbbbbbbbb bbbbbbb bb b "," ","! S !! ! ",'" T" "" " ',"$ V $$ U $$ $ ","& &ZY&& &XW && & ",") ))))) )))\\[ )) ) ",". ....._^] ..... .. . ","1 11111111 11111 11 1 ","5 55555555 55555` 55 5 ","7 77777777 777777 77 7 ","9 99999999 999999 99 9 ",": c:::::::: ::::::b :: a: ","I fIIIIIIII IIIIIIe II I ","= ========= ======= == == ","? ????????? ??????? ?? ?? ","C CCCCCCCCC CCCCCCC CC CC ","J JJJJJJJJ JJJJJJ JJ J ","M MMMMMMMM MMMMMM MM M ","N NNNNNNNNN NNNNNNN NN N ","P PPPPPPPPP PPPPPPP PP P "," +*)(' ","R RRRRRRRRR RRRRRRR RR aR ","U UUUUUUUUU UUUUUUU UU U ","Z ZZZZZZZZZ ZZZZZZZ ZZ ZZ ","c ccccccccc ccccccc cc cc "," j ","L fLLLLLLLL LLLLLLe LL L ","6 66666666 66666 66 6 "," k "," l "," XXXXX "," 1 0 /.-,+*)(' & %$m # \"!","_ f________ ______e __ _ "," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 . +*)(' # \" "," 1 . +*)(' # \" ","> >>>>>>>>> >>>>>>> >> >> "," 1 . +*)(' # \" "," 1 . +*)(' # \" ","Q QQQQQQQQQ QQQQQQQ QQ aQ ","V VVVVVVVVV VVVVVVV VV aV ","T TTTTTTTTT TTTTTTT TT T ","@ @@@@@@@@@ @@@@@@@ @@ @@ "," ‡ ","[ [[[[[[[[[ [[[[[[[ [[ [[ ","D DDDDDDDDD DDDDDDD DD DD "," HH "," ˆ "," F‰ ","# T# ## # ","% V %% U %% % ","' 'ZY'' 'XW '' ' ","( (ZY(( (XW (( ( ","+ +++++ +++\\[ ++ + ","* ***** ***\\[ ** * ","- ----- ---\\[ -- - ",", ,,,,, ,,,\\[ ,, , ","0 00000_^] 00000 00 0 ","/ /////_^] ///// // / ","2 22222222 22222 22 2 ","3 33333333 33333 33 3 ","4 44444444 44444 44 4 ","8 88888888 888888 88 8 "," ^ "," Š ","; f;;;;;;;; ;;;;;;e ;; ; ","< f<<<<<<<< <<<<<?@ AB CDEFGH IJ "," "," "," ","L456789:;<=>?@ AB CDEFGH IJ "," M EFGH IJ "," N;<=>?@ AB CDEFGH IJ "," "," "," "," "," "," "," "," "," "," S EFGH IJ "," "," "," "," "," "," "," "," "," "," "," "," "," e "," "," "," "," "," "," "," "," "," h J "," i j "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABpqCDEFGH IJ "," "," r6789:;<=>?@ AB CDEFGH IJ "," s789:;<=>?@ AB CDEFGH IJ "," t89:;<=>?@ AB CDEFGH IJ "," u89:;<=>?@ AB CDEFGH IJ "," v9:;<=>?@ AB CDEFGH IJ "," w9:;<=>?@ AB CDEFGH IJ "," x9:;<=>?@ AB CDEFGH IJ "," y9:;<=>?@ AB CDEFGH IJ "," z:;<=>?@ AB CDEFGH IJ "," {:;<=>?@ AB CDEFGH IJ "," |;<=>?@ AB CDEFGH IJ "," };<=>?@ AB CDEFGH IJ "," ~;<=>?@ AB CDEFGH IJ "," =>?@ AB CDEFGH IJ ","€456789:;<=>?@ AB CDEFGH IJ"," ‚ EFGH IJ "," ƒ EFGH IJ "," "," „ GH IJ "," … GH IJ "," i † "," i ‡ "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABŒqCDEFGH IJ "," "," "],h.productions=[[1,1,2],[2,1,3],[3,1,4],[3,3,3,-9,4],[4,1,5],[4,3,4,-8,5],[5,1,6],[5,3,5,-22,6],[5,3,5,-5,6],[6,1,7],[6,3,6,-23,7],[6,3,6,-24,7],[6,3,6,-6,7],[6,3,6,-7,7],[7,1,8],[7,3,7,-25,8],[7,3,7,-26,8],[8,1,9],[8,3,8,-12,9],[8,3,8,-11,9],[8,3,8,-10,9],[9,1,10],[9,2,-26,9],[10,1,11],[10,3,10,-27,11],[11,1,12],[11,1,13],[11,3,13,-28,14],[11,3,13,-4,14],[13,1,15],[13,2,13,16],[15,1,17],[15,3,-29,2,-30],[15,1,-15],[15,1,-16],[15,1,18],[18,3,-13,-29,-30],[18,4,-13,-29,19,-30],[19,1,20],[19,3,20,-31,19],[20,1,2],[12,1,14],[12,1,21],[21,1,-28],[21,2,-28,14],[21,1,22],[14,1,23],[14,3,14,-28,23],[14,1,24],[23,2,25,26],[23,1,26],[23,3,25,26,27],[23,2,26,27],[23,1,28],[27,1,16],[27,2,16,27],[25,2,-14,-3],[25,1,-32],[26,1,29],[26,3,-20,-29,-30],[26,4,-21,-29,-15,-30],[16,3,-33,30,-34],[30,1,2],[22,2,-4,14],[24,3,14,-4,23],[28,1,-35],[28,1,-2],[17,2,-36,-18],[29,1,-17],[29,1,-19],[29,1,-18]],h.DOUBLEDOT=2,h.DOUBLECOLON=3,h.DOUBLESLASH=4,h.NOTEQUAL=5,h.LESSTHANOREQUAL=6,h.GREATERTHANOREQUAL=7,h.AND=8,h.OR=9,h.MOD=10,h.DIV=11,h.MULTIPLYOPERATOR=12,h.FUNCTIONNAME=13,h.AXISNAME=14,h.LITERAL=15,h.NUMBER=16,h.ASTERISKNAMETEST=17,h.QNAME=18,h.NCNAMECOLONASTERISK=19,h.NODETYPE=20,h.PROCESSINGINSTRUCTIONWITHLITERAL=21,h.EQUALS=22,h.LESSTHAN=23,h.GREATERTHAN=24,h.PLUS=25,h.MINUS=26,h.BAR=27,h.SLASH=28,h.LEFTPARENTHESIS=29,h.RIGHTPARENTHESIS=30,h.COMMA=31,h.AT=32,h.LEFTBRACKET=33,h.RIGHTBRACKET=34,h.DOT=35,h.DOLLAR=36,h.prototype.tokenize=function(t){for(var e=[],r=[],n=t+"\0",i=0,o=n.charAt(i++);;){for(;" "==o||"\t"==o||"\r"==o||"\n"==o;)o=n.charAt(i++);if("\0"==o||i>=n.length)break;if("("!=o)if(")"!=o)if("["!=o)if("]"!=o)if("@"!=o)if(","!=o)if("|"!=o)if("+"!=o)if("-"!=o)if("="!=o)if("$"!=o)if("."!=o)if("'"!=o&&'"'!=o)if(o>="0"&&o<="9"){l=o;for(o=n.charAt(i++);o>="0"&&o<="9";)l+=o,o=n.charAt(i++);if("."==o&&n.charAt(i)>="0"&&n.charAt(i)<="9")for(l+=o,l+=n.charAt(i++),o=n.charAt(i++);o>="0"&&o<="9";)l+=o,o=n.charAt(i++);e.push(h.NUMBER),r.push(l)}else if("*"!=o)if(":"!=o||":"!=n.charAt(i))if("/"!=o)if("!"!=o||"="!=n.charAt(i))if("<"!=o)if(">"!=o){if("_"!=o&&!Z.isLetter(o.charCodeAt(0)))throw new Error("Unexpected character "+o);var s=o;for(o=n.charAt(i++);Z.isNCNameChar(o.charCodeAt(0));)s+=o,o=n.charAt(i++);if(e.length>0&&(a=e[e.length-1])!=h.AT&&a!=h.DOUBLECOLON&&a!=h.LEFTPARENTHESIS&&a!=h.LEFTBRACKET&&a!=h.AND&&a!=h.OR&&a!=h.MOD&&a!=h.DIV&&a!=h.MULTIPLYOPERATOR&&a!=h.SLASH&&a!=h.DOUBLESLASH&&a!=h.BAR&&a!=h.PLUS&&a!=h.MINUS&&a!=h.EQUALS&&a!=h.NOTEQUAL&&a!=h.LESSTHAN&&a!=h.LESSTHANOREQUAL&&a!=h.GREATERTHAN&&a!=h.GREATERTHANOREQUAL){if("and"==s){e.push(h.AND),r.push(s);continue}if("or"==s){e.push(h.OR),r.push(s);continue}if("mod"==s){e.push(h.MOD),r.push(s);continue}if("div"==s){e.push(h.DIV),r.push(s);continue}}if(":"==o){if("*"==n.charAt(i)){e.push(h.NCNAMECOLONASTERISK),r.push(s+":*"),i++,o=n.charAt(i++);continue}if("_"==n.charAt(i)||Z.isLetter(n.charCodeAt(i))){for(s+=":",o=n.charAt(i++);Z.isNCNameChar(o.charCodeAt(0));)s+=o,o=n.charAt(i++);if("("==o){e.push(h.FUNCTIONNAME),r.push(s);continue}e.push(h.QNAME),r.push(s);continue}if(":"==n.charAt(i)){e.push(h.AXISNAME),r.push(s);continue}}if("("==o){if("comment"==s||"text"==s||"node"==s){e.push(h.NODETYPE),r.push(s);continue}if("processing-instruction"==s){")"==n.charAt(i)?e.push(h.NODETYPE):e.push(h.PROCESSINGINSTRUCTIONWITHLITERAL),r.push(s);continue}e.push(h.FUNCTIONNAME),r.push(s);continue}e.push(h.QNAME),r.push(s)}else{if("="==n.charAt(i)){e.push(h.GREATERTHANOREQUAL),r.push(">="),i++,o=n.charAt(i++);continue}e.push(h.GREATERTHAN),r.push(">"),o=n.charAt(i++)}else{if("="==n.charAt(i)){e.push(h.LESSTHANOREQUAL),r.push("<="),i++,o=n.charAt(i++);continue}e.push(h.LESSTHAN),r.push("<"),o=n.charAt(i++)}else e.push(h.NOTEQUAL),r.push("!="),i++,o=n.charAt(i++);else{if("/"==(o=n.charAt(i++))){e.push(h.DOUBLESLASH),r.push("//"),o=n.charAt(i++);continue}e.push(h.SLASH),r.push("/")}else e.push(h.DOUBLECOLON),r.push("::"),i++,o=n.charAt(i++);else{var a;if(e.length>0&&(a=e[e.length-1])!=h.AT&&a!=h.DOUBLECOLON&&a!=h.LEFTPARENTHESIS&&a!=h.LEFTBRACKET&&a!=h.AND&&a!=h.OR&&a!=h.MOD&&a!=h.DIV&&a!=h.MULTIPLYOPERATOR&&a!=h.SLASH&&a!=h.DOUBLESLASH&&a!=h.BAR&&a!=h.PLUS&&a!=h.MINUS&&a!=h.EQUALS&&a!=h.NOTEQUAL&&a!=h.LESSTHAN&&a!=h.LESSTHANOREQUAL&&a!=h.GREATERTHAN&&a!=h.GREATERTHANOREQUAL){e.push(h.MULTIPLYOPERATOR),r.push(o),o=n.charAt(i++);continue}e.push(h.ASTERISKNAMETEST),r.push(o),o=n.charAt(i++)}else{for(var u=o,c="";i="0"&&o<="9"){var l="."+o;for(o=n.charAt(i++);o>="0"&&o<="9";)l+=o,o=n.charAt(i++);e.push(h.NUMBER),r.push(l);continue}e.push(h.DOT),r.push(".")}else e.push(h.DOLLAR),r.push(o),o=n.charAt(i++);else e.push(h.EQUALS),r.push(o),o=n.charAt(i++);else e.push(h.MINUS),r.push(o),o=n.charAt(i++);else e.push(h.PLUS),r.push(o),o=n.charAt(i++);else e.push(h.BAR),r.push(o),o=n.charAt(i++);else e.push(h.COMMA),r.push(o),o=n.charAt(i++);else e.push(h.AT),r.push(o),o=n.charAt(i++);else e.push(h.RIGHTBRACKET),r.push(o),o=n.charAt(i++);else e.push(h.LEFTBRACKET),r.push(o),o=n.charAt(i++);else e.push(h.RIGHTPARENTHESIS),r.push(o),o=n.charAt(i++);else e.push(h.LEFTPARENTHESIS),r.push(o),o=n.charAt(i++)}return e.push(1),r.push("[EOF]"),[e,r]},h.SHIFT="s",h.REDUCE="r",h.ACCEPT="a",h.prototype.parse=function(t){var e,r,n=this.tokenize(t);if(null!=n){e=n[0],r=n[1];var i,o,s=0,a=[],u=[],c=[];for(a.push(0),u.push(1),c.push("_S"),i=e[s],o=r[s++];;)switch(t=a[a.length-1],h.actionTable[t].charAt(i-1)){case h.SHIFT:u.push(-i),c.push(o),a.push(h.actionTableNumber[t].charCodeAt(i-1)-32),i=e[s],o=r[s++];break;case h.REDUCE:for(var l=h.productions[h.actionTableNumber[t].charCodeAt(i-1)-32][1],p=[],d=0;d"},d.prototype.evaluate=function(t){throw new Error("Could not evaluate expression.")},y.prototype=new d,y.prototype.constructor=y,y.superclass=d.prototype,y.prototype.init=function(t){this.rhs=t},g.prototype=new y,g.prototype.constructor=g,g.superclass=y.prototype,g.prototype.init=function(t){g.superclass.init.call(this,t)},g.prototype.evaluate=function(t){return this.rhs.evaluate(t).number().negate()},g.prototype.toString=function(){return"-"+this.rhs.toString()},m.prototype=new d,m.prototype.constructor=m,m.superclass=d.prototype,m.prototype.init=function(t,e){this.lhs=t,this.rhs=e},b.prototype=new m,b.prototype.constructor=b,b.superclass=m.prototype,b.prototype.init=function(t,e){b.superclass.init.call(this,t,e)},b.prototype.toString=function(){return"("+this.lhs.toString()+" or "+this.rhs.toString()+")"},b.prototype.evaluate=function(t){var e=this.lhs.evaluate(t).bool();return e.booleanValue()?e:this.rhs.evaluate(t).bool()},v.prototype=new m,v.prototype.constructor=v,v.superclass=m.prototype,v.prototype.init=function(t,e){v.superclass.init.call(this,t,e)},v.prototype.toString=function(){return"("+this.lhs.toString()+" and "+this.rhs.toString()+")"},v.prototype.evaluate=function(t){var e=this.lhs.evaluate(t).bool();return e.booleanValue()?this.rhs.evaluate(t).bool():e},w.prototype=new m,w.prototype.constructor=w,w.superclass=m.prototype,w.prototype.init=function(t,e){w.superclass.init.call(this,t,e)},w.prototype.toString=function(){return"("+this.lhs.toString()+" = "+this.rhs.toString()+")"},w.prototype.evaluate=function(t){return this.lhs.evaluate(t).equals(this.rhs.evaluate(t))},E.prototype=new m,E.prototype.constructor=E,E.superclass=m.prototype,E.prototype.init=function(t,e){E.superclass.init.call(this,t,e)},E.prototype.toString=function(){return"("+this.lhs.toString()+" != "+this.rhs.toString()+")"},E.prototype.evaluate=function(t){return this.lhs.evaluate(t).notequal(this.rhs.evaluate(t))},_.prototype=new m,_.prototype.constructor=_,_.superclass=m.prototype,_.prototype.init=function(t,e){_.superclass.init.call(this,t,e)},_.prototype.evaluate=function(t){return this.lhs.evaluate(t).lessthan(this.rhs.evaluate(t))},_.prototype.toString=function(){return"("+this.lhs.toString()+" < "+this.rhs.toString()+")"},M.prototype=new m,M.prototype.constructor=M,M.superclass=m.prototype,M.prototype.init=function(t,e){M.superclass.init.call(this,t,e)},M.prototype.evaluate=function(t){return this.lhs.evaluate(t).greaterthan(this.rhs.evaluate(t))},M.prototype.toString=function(){return"("+this.lhs.toString()+" > "+this.rhs.toString()+")"},S.prototype=new m,S.prototype.constructor=S,S.superclass=m.prototype,S.prototype.init=function(t,e){S.superclass.init.call(this,t,e)},S.prototype.evaluate=function(t){return this.lhs.evaluate(t).lessthanorequal(this.rhs.evaluate(t))},S.prototype.toString=function(){return"("+this.lhs.toString()+" <= "+this.rhs.toString()+")"},x.prototype=new m,x.prototype.constructor=x,x.superclass=m.prototype,x.prototype.init=function(t,e){x.superclass.init.call(this,t,e)},x.prototype.evaluate=function(t){return this.lhs.evaluate(t).greaterthanorequal(this.rhs.evaluate(t))},x.prototype.toString=function(){return"("+this.lhs.toString()+" >= "+this.rhs.toString()+")"},N.prototype=new m,N.prototype.constructor=N,N.superclass=m.prototype,N.prototype.init=function(t,e){N.superclass.init.call(this,t,e)},N.prototype.evaluate=function(t){return this.lhs.evaluate(t).number().plus(this.rhs.evaluate(t).number())},N.prototype.toString=function(){return"("+this.lhs.toString()+" + "+this.rhs.toString()+")"},A.prototype=new m,A.prototype.constructor=A,A.superclass=m.prototype,A.prototype.init=function(t,e){A.superclass.init.call(this,t,e)},A.prototype.evaluate=function(t){return this.lhs.evaluate(t).number().minus(this.rhs.evaluate(t).number())},A.prototype.toString=function(){return"("+this.lhs.toString()+" - "+this.rhs.toString()+")"},O.prototype=new m,O.prototype.constructor=O,O.superclass=m.prototype,O.prototype.init=function(t,e){O.superclass.init.call(this,t,e)},O.prototype.evaluate=function(t){return this.lhs.evaluate(t).number().multiply(this.rhs.evaluate(t).number())},O.prototype.toString=function(){return"("+this.lhs.toString()+" * "+this.rhs.toString()+")"},T.prototype=new m,T.prototype.constructor=T,T.superclass=m.prototype,T.prototype.init=function(t,e){T.superclass.init.call(this,t,e)},T.prototype.evaluate=function(t){return this.lhs.evaluate(t).number().div(this.rhs.evaluate(t).number())},T.prototype.toString=function(){return"("+this.lhs.toString()+" div "+this.rhs.toString()+")"},R.prototype=new m,R.prototype.constructor=R,R.superclass=m.prototype,R.prototype.init=function(t,e){R.superclass.init.call(this,t,e)},R.prototype.evaluate=function(t){return this.lhs.evaluate(t).number().mod(this.rhs.evaluate(t).number())},R.prototype.toString=function(){return"("+this.lhs.toString()+" mod "+this.rhs.toString()+")"},P.prototype=new m,P.prototype.constructor=P,P.superclass=m.prototype,P.prototype.init=function(t,e){P.superclass.init.call(this,t,e)},P.prototype.evaluate=function(t){return this.lhs.evaluate(t).nodeset().union(this.rhs.evaluate(t).nodeset())},P.prototype.toString=function(){return i(o,[this.lhs,this.rhs]).join(" | ")},C.prototype=new d,C.prototype.constructor=C,C.superclass=d.prototype,C.prototype.init=function(t,e,r){C.superclass.init.call(this),this.filter=t,this.filterPredicates=e,this.locationPath=r},C.applyPredicates=function(t,n,i){if(0===t.length)return i;var o=n.extend({});return r((function(t,r){return o.contextSize=t.length,n=function(t,e){return o.contextNode=t,o.contextPosition=e+1,C.predicateMatches(r,o)},i=[],e((function(t,e){n(t,e)&&i.push(t)}),t),i;var n,i}),i,t)},C.getRoot=function(t,e){var r=e[0];if(9===r.nodeType)return r;if(t.virtualRoot)return t.virtualRoot;var n=r.ownerDocument;if(n)return n;for(var i=r;null!=i.parentNode;)i=i.parentNode;return i},C.applyStep=function(t,e,r){var n=[];switch(e.contextNode=r,t.axis){case D.ANCESTOR:if(e.contextNode===e.virtualRoot)break;for(i=2==e.contextNode.nodeType?C.getOwnerElement(e.contextNode):e.contextNode.parentNode;null!=i&&(t.nodeTest.matches(i,e)&&n.push(i),i!==e.virtualRoot);)i=i.parentNode;break;case D.ANCESTORORSELF:for(var i=e.contextNode;null!=i&&(t.nodeTest.matches(i,e)&&n.push(i),i!==e.virtualRoot);i=2==i.nodeType?C.getOwnerElement(i):i.parentNode);break;case D.ATTRIBUTE:var o=e.contextNode.attributes;if(null!=o)for(var s=0;s0;)for(i=a.pop();null!=i;)t.nodeTest.matches(i,e)&&n.push(i),null!=i.firstChild?(a.push(i.nextSibling),i=i.firstChild):i=i.nextSibling;break;case D.DESCENDANTORSELF:t.nodeTest.matches(e.contextNode,e)&&n.push(e.contextNode);for(a=[e.contextNode.firstChild];a.length>0;)for(i=a.pop();null!=i;)t.nodeTest.matches(i,e)&&n.push(i),null!=i.firstChild?(a.push(i.nextSibling),i=i.firstChild):i=i.nextSibling;break;case D.FOLLOWING:if(e.contextNode===e.virtualRoot)break;a=[];null!=e.contextNode.firstChild?a.unshift(e.contextNode.firstChild):a.unshift(e.contextNode.nextSibling);for(i=e.contextNode.parentNode;null!=i&&9!=i.nodeType&&i!==e.virtualRoot;i=i.parentNode)a.unshift(i.nextSibling);do{for(i=a.pop();null!=i;)t.nodeTest.matches(i,e)&&n.push(i),null!=i.firstChild?(a.push(i.nextSibling),i=i.firstChild):i=i.nextSibling}while(a.length>0);break;case D.FOLLOWINGSIBLING:if(e.contextNode===e.virtualRoot)break;for(i=e.contextNode.nextSibling;null!=i;i=i.nextSibling)t.nodeTest.matches(i,e)&&n.push(i);break;case D.NAMESPACE:var u={};if(1==e.contextNode.nodeType){u.xml=f.XML_NAMESPACE_URI,u.xmlns=f.XMLNS_NAMESPACE_URI;for(i=e.contextNode;null!=i&&1==i.nodeType;i=i.parentNode)for(s=0;s6&&"xmlns:"==l.substring(0,6)){null==u[h=l.substring(6,l.length)]&&(u[h]=c.value)}}for(var h in u){var p=new $(h,u[h],e.contextNode);t.nodeTest.matches(p,e)&&n.push(p)}}break;case D.PARENT:i=null,e.contextNode!==e.virtualRoot&&(i=2==e.contextNode.nodeType?C.getOwnerElement(e.contextNode):e.contextNode.parentNode),null!=i&&t.nodeTest.matches(i,e)&&n.push(i);break;case D.PRECEDING:a=null!=e.virtualRoot?[e.virtualRoot]:[j(e.contextNode)];t:for(;a.length>0;)for(i=a.pop();null!=i;){if(i==e.contextNode)break t;t.nodeTest.matches(i,e)&&n.unshift(i),null!=i.firstChild?(a.push(i.nextSibling),i=i.firstChild):i=i.nextSibling}break;case D.PRECEDINGSIBLING:if(e.contextNode===e.virtualRoot)break;for(i=e.contextNode.previousSibling;null!=i;i=i.previousSibling)t.nodeTest.matches(i,e)&&n.push(i);break;case D.SELF:t.nodeTest.matches(e.contextNode,e)&&n.push(e.contextNode)}return n},C.applySteps=function(t,e,n){return r(L.bind(null,e),n,t)},C.prototype.applyFilter=function(t,e){if(!this.filter)return{nodes:[t.contextNode]};var r=this.filter.evaluate(t);if(!Z.instance_of(r,W)){if(null!=this.filterPredicates&&this.filterPredicates.length>0||null!=this.locationPath)throw new Error("Path expression filter must evaluate to a nodeset if predicates or location path are used");return{nonNodes:r}}return{nodes:C.applyPredicates(this.filterPredicates||[],e,r.toUnsortedArray())}},C.applyLocationPath=function(t,e,r){if(!t)return r;var n=t.absolute?[C.getRoot(e,r)]:r;return C.applySteps(t.steps,e,n)},C.prototype.evaluate=function(t){var e=l(new J,t),r=this.applyFilter(t,e);if("nonNodes"in r)return r.nonNodes;var n=new W;return n.addArray(C.applyLocationPath(this.locationPath,e,r.nodes)),n},C.predicateMatches=function(t,e){var r=t.evaluate(e);return Z.instance_of(r,H)?e.contextPosition===r.numberValue():r.booleanValue()},C.predicateString=function(t){return a("[","]",t.toString())},C.predicatesString=function(t){return s("",i(C.predicateString,t))},C.prototype.toString=function(){if(null!=this.filter){var t=o(this.filter);return Z.instance_of(this.filter,G)?a("'","'",t):null!=this.filterPredicates&&this.filterPredicates.length?a("(",")",t)+C.predicatesString(this.filterPredicates):null!=this.locationPath?t+(this.locationPath.absolute?"":"/")+o(this.locationPath):t}return o(this.locationPath)},C.getOwnerElement=function(t){if(t.ownerElement)return t.ownerElement;try{if(t.selectSingleNode)return t.selectSingleNode("..")}catch(t){}for(var e=(9==t.nodeType?t:t.ownerDocument).getElementsByTagName("*"),r=0;r"},q.prototype.matches=function(t,e){n.warn("unknown node test type")},q.NAMETESTANY=0,q.NAMETESTPREFIXANY=1,q.NAMETESTQNAME=2,q.COMMENT=3,q.TEXT=4,q.PI=5,q.NODE=6,q.isNodeType=function(t){return function(e){return function(t,e){for(var r=0;r1?e[0]:null,this.localName=e[e.length>1?1:0]})),q.PITest=q.makeNodeTestType(q.PI,{matches:function(t,e){return q.isNodeType([7])(t)&&(t.target||t.nodeName)===this.name},toString:function(){return a('processing-instruction("','")',this.name)}},(function(t){this.name=t})),q.nameTestAny=q.makeNodeTypeTest(q.NAMETESTANY,[1,2,$.XPATH_NAMESPACE_NODE],"*"),q.textTest=q.makeNodeTypeTest(q.TEXT,[3,4],"text()"),q.commentTest=q.makeNodeTypeTest(q.COMMENT,[8],"comment()"),q.nodeTest=q.makeNodeTypeTest(q.NODE,[1,2,3,4,7,8,9],"node()"),q.anyPiTest=q.makeNodeTypeTest(q.PI,[7],"processing-instruction()"),F.prototype=new d,F.prototype.constructor=F,F.superclass=d.prototype,F.prototype.init=function(t){this.variable=t},F.prototype.toString=function(){return"$"+this.variable},F.prototype.evaluate=function(t){var e=Z.resolveQName(this.variable,t.namespaceResolver,t.contextNode,!1);if(null==e[0])throw new Error("Cannot resolve QName "+fn);var r=t.variableResolver.getVariable(e[1],e[0]);if(!r)throw tt.fromMessage("Undeclared variable: "+this.toString());return r},U.prototype=new d,U.prototype.constructor=U,U.superclass=d.prototype,U.prototype.init=function(t,e){this.functionName=t,this.arguments=e},U.prototype.toString=function(){for(var t=this.functionName+"(",e=0;e0&&(t+=", "),t+=this.arguments[e].toString();return t+")"},U.prototype.evaluate=function(t){var e=X.getFunctionFromContext(this.functionName,t);if(!e)throw new Error("Unknown function "+this.functionName);var r=[t].concat(this.arguments);return e.apply(t.functionResolver.thisArg,r)};var B=new Object;function G(t){arguments.length>0&&this.init(t)}function H(t){arguments.length>0&&this.init(t)}function V(t){arguments.length>0&&this.init(t)}function z(t){this.init(t)}function W(){this.init()}function $(t,e,r){this.isXPathNamespace=!0,this.ownerDocument=r.ownerDocument,this.nodeName="#namespace",this.prefix=t,this.localName=t,this.namespaceURI=e,this.nodeValue=e,this.ownerElement=r,this.nodeType=$.XPATH_NAMESPACE_NODE}function J(t,e,r){this.variableResolver=null!=t?t:new Y,this.namespaceResolver=null!=e?e:new Q,this.functionResolver=null!=r?r:new X}function Y(){}function X(t){this.thisArg=null!=t?t:K,this.functions=new Object,this.addStandardFunctions()}function Q(){}B.equals=function(t,e){return t.equals(e)},B.notequal=function(t,e){return t.notequal(e)},B.lessthan=function(t,e){return t.lessthan(e)},B.greaterthan=function(t,e){return t.greaterthan(e)},B.lessthanorequal=function(t,e){return t.lessthanorequal(e)},B.greaterthanorequal=function(t,e){return t.greaterthanorequal(e)},G.prototype=new d,G.prototype.constructor=G,G.superclass=d.prototype,G.prototype.init=function(t){this.str=String(t)},G.prototype.toString=function(){return this.str},G.prototype.evaluate=function(t){return this},G.prototype.string=function(){return this},G.prototype.number=function(){return new H(this.str)},G.prototype.bool=function(){return new V(this.str)},G.prototype.nodeset=function(){throw new Error("Cannot convert string to nodeset")},G.prototype.stringValue=function(){return this.str},G.prototype.numberValue=function(){return this.number().numberValue()},G.prototype.booleanValue=function(){return this.bool().booleanValue()},G.prototype.equals=function(t){return Z.instance_of(t,V)?this.bool().equals(t):Z.instance_of(t,H)?this.number().equals(t):Z.instance_of(t,W)?t.compareWithString(this,B.equals):new V(this.str==t.str)},G.prototype.notequal=function(t){return Z.instance_of(t,V)?this.bool().notequal(t):Z.instance_of(t,H)?this.number().notequal(t):Z.instance_of(t,W)?t.compareWithString(this,B.notequal):new V(this.str!=t.str)},G.prototype.lessthan=function(t){return this.number().lessthan(t)},G.prototype.greaterthan=function(t){return this.number().greaterthan(t)},G.prototype.lessthanorequal=function(t){return this.number().lessthanorequal(t)},G.prototype.greaterthanorequal=function(t){return this.number().greaterthanorequal(t)},H.prototype=new d,H.prototype.constructor=H,H.superclass=d.prototype,H.prototype.init=function(t){this.num="string"==typeof t?this.parse(t):Number(t)},H.prototype.numberFormat=/^\s*-?[0-9]*\.?[0-9]+\s*$/,H.prototype.parse=function(t){return this.numberFormat.test(t)?parseFloat(t):Number.NaN},H.prototype.toString=function(){var t=this.num.toString();return-1!==t.indexOf("e-")?function(t){for(var e=t.split("e-"),r=e[0].replace(".",""),n=Number(e[1]),i=0;it.num)},H.prototype.lessthanorequal=function(t){return Z.instance_of(t,W)?t.compareWithNumber(this,B.greaterthanorequal):Z.instance_of(t,V)||Z.instance_of(t,G)?this.lessthanorequal(t.number()):new V(this.num<=t.num)},H.prototype.greaterthanorequal=function(t){return Z.instance_of(t,W)?t.compareWithNumber(this,B.lessthanorequal):Z.instance_of(t,V)||Z.instance_of(t,G)?this.greaterthanorequal(t.number()):new V(this.num>=t.num)},H.prototype.plus=function(t){return new H(this.num+t.num)},H.prototype.minus=function(t){return new H(this.num-t.num)},H.prototype.multiply=function(t){return new H(this.num*t.num)},H.prototype.div=function(t){return new H(this.num/t.num)},H.prototype.mod=function(t){return new H(this.num%t.num)},V.prototype=new d,V.prototype.constructor=V,V.superclass=d.prototype,V.prototype.init=function(t){this.b=Boolean(t)},V.prototype.toString=function(){return this.b.toString()},V.prototype.evaluate=function(t){return this},V.prototype.string=function(){return new G(this.b)},V.prototype.number=function(){return new H(this.b)},V.prototype.bool=function(){return this},V.prototype.nodeset=function(){throw new Error("Cannot convert boolean to nodeset")},V.prototype.stringValue=function(){return this.string().stringValue()},V.prototype.numberValue=function(){return this.number().numberValue()},V.prototype.booleanValue=function(){return this.b},V.prototype.not=function(){return new V(!this.b)},V.prototype.equals=function(t){return Z.instance_of(t,G)||Z.instance_of(t,H)?this.equals(t.bool()):Z.instance_of(t,W)?t.compareWithBoolean(this,B.equals):new V(this.b==t.b)},V.prototype.notequal=function(t){return Z.instance_of(t,G)||Z.instance_of(t,H)?this.notequal(t.bool()):Z.instance_of(t,W)?t.compareWithBoolean(this,B.notequal):new V(this.b!=t.b)},V.prototype.lessthan=function(t){return this.number().lessthan(t)},V.prototype.greaterthan=function(t){return this.number().greaterthan(t)},V.prototype.lessthanorequal=function(t){return this.number().lessthanorequal(t)},V.prototype.greaterthanorequal=function(t){return this.number().greaterthanorequal(t)},V.true_=new V(!0),V.false_=new V(!1),z.prototype=new Object,z.prototype.constructor=z,z.superclass=Object.prototype,z.prototype.init=function(t){this.left=null,this.right=null,this.node=t,this.depth=1},z.prototype.balance=function(){var t=null==this.left?0:this.left.depth,e=null==this.right?0:this.right.depth;if(t>e+1)(null==this.left.left?0:this.left.left.depth)<(null==this.left.right?0:this.left.right.depth)&&this.left.rotateRR(),this.rotateLL();else if(t+1r&&this.right.rotateLL(),this.rotateRR()}},z.prototype.rotateLL=function(){var t=this.node,e=this.right;this.node=this.left.node,this.right=this.left,this.left=this.left.left,this.right.left=this.right.right,this.right.right=e,this.right.node=t,this.right.updateInNewLocation(),this.updateInNewLocation()},z.prototype.rotateRR=function(){var t=this.node,e=this.left;this.node=this.right.node,this.left=this.right,this.right=this.right.right,this.left.right=this.left.left,this.left.left=e,this.left.node=t,this.left.updateInNewLocation(),this.updateInNewLocation()},z.prototype.updateInNewLocation=function(){this.getDepthFromChildren()},z.prototype.getDepthFromChildren=function(){this.depth=null==this.node?0:1,null!=this.left&&(this.depth=this.left.depth+1),null!=this.right&&this.depth<=this.right.depth&&(this.depth=this.right.depth+1)},z.prototype.add=function(t){if(t===this.node)return!1;var e=function(t,e){if(t===e)return 0;if(t.compareDocumentPosition){var r=t.compareDocumentPosition(e);return 1&r||10&r?1:20&r?-1:0}for(var n=0,i=0,o=t;null!=o;o=o.parentNode||o.ownerElement)n++;for(var s=e;null!=s;s=s.parentNode||s.ownerElement)i++;if(n>i){for(;n>i;)t=t.parentNode||t.ownerElement,n--;if(t===e)return 1}else if(i>n){for(;i>n;)e=e.parentNode||e.ownerElement,i--;if(t===e)return-1}for(var a=t.parentNode||t.ownerElement,u=e.parentNode||e.ownerElement;a!==u;)e=u,a=(t=a).parentNode||t.ownerElement,u=e.parentNode||e.ownerElement;var c=Z.isAttribute(t),l=Z.isAttribute(e);if(c&&!l)return-1;if(!c&&l)return 1;if(a)for(var h=c?a.attributes:a.childNodes,f=h.length,p=0;pc.length?"":c[r]),t}),{},u);return new G(s("",i((function(t){return t in l?l[t]:t}),a)))},K.boolean_=function(){var t=arguments[0];if(2!=arguments.length)throw new Error("Function boolean expects (object)");return arguments[1].evaluate(t).bool()},K.not=function(t,e){if(2!=arguments.length)throw new Error("Function not expects (object)");return e.evaluate(t).bool().not()},K.true_=function(){if(1!=arguments.length)throw new Error("Function true expects ()");return V.true_},K.false_=function(){if(1!=arguments.length)throw new Error("Function false expects ()");return V.false_},K.lang=function(){var t,e=arguments[0];if(2!=arguments.length)throw new Error("Function lang expects (string)");for(var r=e.contextNode;null!=r&&9!=r.nodeType;r=r.parentNode){var n=r.getAttributeNS(f.XML_NAMESPACE_URI,"lang");if(null!=n){t=String(n);break}}if(null==t)return V.false_;var i=arguments[1].evaluate(e).stringValue();return new V(t.substring(0,i.length)==i&&(t.length==i.length||"-"==t.charAt(i.length)))},K.number=function(){var t=arguments[0];if(1!=arguments.length&&2!=arguments.length)throw new Error("Function number expects (object?)");return 1==arguments.length?new H(W.prototype.stringForNode(t.contextNode)):arguments[1].evaluate(t).number()},K.sum=function(){var t,e=arguments[0];if(2!=arguments.length||!Z.instance_of(t=arguments[1].evaluate(e),W))throw new Error("Function sum expects (node-set)");t=t.toUnsortedArray();for(var r=0,n=0;n=65&&t<=90||t>=97&&t<=122||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=255||t>=256&&t<=305||t>=308&&t<=318||t>=321&&t<=328||t>=330&&t<=382||t>=384&&t<=451||t>=461&&t<=496||t>=500&&t<=501||t>=506&&t<=535||t>=592&&t<=680||t>=699&&t<=705||902==t||t>=904&&t<=906||908==t||t>=910&&t<=929||t>=931&&t<=974||t>=976&&t<=982||986==t||988==t||990==t||992==t||t>=994&&t<=1011||t>=1025&&t<=1036||t>=1038&&t<=1103||t>=1105&&t<=1116||t>=1118&&t<=1153||t>=1168&&t<=1220||t>=1223&&t<=1224||t>=1227&&t<=1228||t>=1232&&t<=1259||t>=1262&&t<=1269||t>=1272&&t<=1273||t>=1329&&t<=1366||1369==t||t>=1377&&t<=1414||t>=1488&&t<=1514||t>=1520&&t<=1522||t>=1569&&t<=1594||t>=1601&&t<=1610||t>=1649&&t<=1719||t>=1722&&t<=1726||t>=1728&&t<=1742||t>=1744&&t<=1747||1749==t||t>=1765&&t<=1766||t>=2309&&t<=2361||2365==t||t>=2392&&t<=2401||t>=2437&&t<=2444||t>=2447&&t<=2448||t>=2451&&t<=2472||t>=2474&&t<=2480||2482==t||t>=2486&&t<=2489||t>=2524&&t<=2525||t>=2527&&t<=2529||t>=2544&&t<=2545||t>=2565&&t<=2570||t>=2575&&t<=2576||t>=2579&&t<=2600||t>=2602&&t<=2608||t>=2610&&t<=2611||t>=2613&&t<=2614||t>=2616&&t<=2617||t>=2649&&t<=2652||2654==t||t>=2674&&t<=2676||t>=2693&&t<=2699||2701==t||t>=2703&&t<=2705||t>=2707&&t<=2728||t>=2730&&t<=2736||t>=2738&&t<=2739||t>=2741&&t<=2745||2749==t||2784==t||t>=2821&&t<=2828||t>=2831&&t<=2832||t>=2835&&t<=2856||t>=2858&&t<=2864||t>=2866&&t<=2867||t>=2870&&t<=2873||2877==t||t>=2908&&t<=2909||t>=2911&&t<=2913||t>=2949&&t<=2954||t>=2958&&t<=2960||t>=2962&&t<=2965||t>=2969&&t<=2970||2972==t||t>=2974&&t<=2975||t>=2979&&t<=2980||t>=2984&&t<=2986||t>=2990&&t<=2997||t>=2999&&t<=3001||t>=3077&&t<=3084||t>=3086&&t<=3088||t>=3090&&t<=3112||t>=3114&&t<=3123||t>=3125&&t<=3129||t>=3168&&t<=3169||t>=3205&&t<=3212||t>=3214&&t<=3216||t>=3218&&t<=3240||t>=3242&&t<=3251||t>=3253&&t<=3257||3294==t||t>=3296&&t<=3297||t>=3333&&t<=3340||t>=3342&&t<=3344||t>=3346&&t<=3368||t>=3370&&t<=3385||t>=3424&&t<=3425||t>=3585&&t<=3630||3632==t||t>=3634&&t<=3635||t>=3648&&t<=3653||t>=3713&&t<=3714||3716==t||t>=3719&&t<=3720||3722==t||3725==t||t>=3732&&t<=3735||t>=3737&&t<=3743||t>=3745&&t<=3747||3749==t||3751==t||t>=3754&&t<=3755||t>=3757&&t<=3758||3760==t||t>=3762&&t<=3763||3773==t||t>=3776&&t<=3780||t>=3904&&t<=3911||t>=3913&&t<=3945||t>=4256&&t<=4293||t>=4304&&t<=4342||4352==t||t>=4354&&t<=4355||t>=4357&&t<=4359||4361==t||t>=4363&&t<=4364||t>=4366&&t<=4370||4412==t||4414==t||4416==t||4428==t||4430==t||4432==t||t>=4436&&t<=4437||4441==t||t>=4447&&t<=4449||4451==t||4453==t||4455==t||4457==t||t>=4461&&t<=4462||t>=4466&&t<=4467||4469==t||4510==t||4520==t||4523==t||t>=4526&&t<=4527||t>=4535&&t<=4536||4538==t||t>=4540&&t<=4546||4587==t||4592==t||4601==t||t>=7680&&t<=7835||t>=7840&&t<=7929||t>=7936&&t<=7957||t>=7960&&t<=7965||t>=7968&&t<=8005||t>=8008&&t<=8013||t>=8016&&t<=8023||8025==t||8027==t||8029==t||t>=8031&&t<=8061||t>=8064&&t<=8116||t>=8118&&t<=8124||8126==t||t>=8130&&t<=8132||t>=8134&&t<=8140||t>=8144&&t<=8147||t>=8150&&t<=8155||t>=8160&&t<=8172||t>=8178&&t<=8180||t>=8182&&t<=8188||8486==t||t>=8490&&t<=8491||8494==t||t>=8576&&t<=8578||t>=12353&&t<=12436||t>=12449&&t<=12538||t>=12549&&t<=12588||t>=44032&&t<=55203||t>=19968&&t<=40869||12295==t||t>=12321&&t<=12329},Z.isNCNameChar=function(t){return t>=48&&t<=57||t>=1632&&t<=1641||t>=1776&&t<=1785||t>=2406&&t<=2415||t>=2534&&t<=2543||t>=2662&&t<=2671||t>=2790&&t<=2799||t>=2918&&t<=2927||t>=3047&&t<=3055||t>=3174&&t<=3183||t>=3302&&t<=3311||t>=3430&&t<=3439||t>=3664&&t<=3673||t>=3792&&t<=3801||t>=3872&&t<=3881||46==t||45==t||95==t||Z.isLetter(t)||t>=768&&t<=837||t>=864&&t<=865||t>=1155&&t<=1158||t>=1425&&t<=1441||t>=1443&&t<=1465||t>=1467&&t<=1469||1471==t||t>=1473&&t<=1474||1476==t||t>=1611&&t<=1618||1648==t||t>=1750&&t<=1756||t>=1757&&t<=1759||t>=1760&&t<=1764||t>=1767&&t<=1768||t>=1770&&t<=1773||t>=2305&&t<=2307||2364==t||t>=2366&&t<=2380||2381==t||t>=2385&&t<=2388||t>=2402&&t<=2403||t>=2433&&t<=2435||2492==t||2494==t||2495==t||t>=2496&&t<=2500||t>=2503&&t<=2504||t>=2507&&t<=2509||2519==t||t>=2530&&t<=2531||2562==t||2620==t||2622==t||2623==t||t>=2624&&t<=2626||t>=2631&&t<=2632||t>=2635&&t<=2637||t>=2672&&t<=2673||t>=2689&&t<=2691||2748==t||t>=2750&&t<=2757||t>=2759&&t<=2761||t>=2763&&t<=2765||t>=2817&&t<=2819||2876==t||t>=2878&&t<=2883||t>=2887&&t<=2888||t>=2891&&t<=2893||t>=2902&&t<=2903||t>=2946&&t<=2947||t>=3006&&t<=3010||t>=3014&&t<=3016||t>=3018&&t<=3021||3031==t||t>=3073&&t<=3075||t>=3134&&t<=3140||t>=3142&&t<=3144||t>=3146&&t<=3149||t>=3157&&t<=3158||t>=3202&&t<=3203||t>=3262&&t<=3268||t>=3270&&t<=3272||t>=3274&&t<=3277||t>=3285&&t<=3286||t>=3330&&t<=3331||t>=3390&&t<=3395||t>=3398&&t<=3400||t>=3402&&t<=3405||3415==t||3633==t||t>=3636&&t<=3642||t>=3655&&t<=3662||3761==t||t>=3764&&t<=3769||t>=3771&&t<=3772||t>=3784&&t<=3789||t>=3864&&t<=3865||3893==t||3895==t||3897==t||3902==t||3903==t||t>=3953&&t<=3972||t>=3974&&t<=3979||t>=3984&&t<=3989||3991==t||t>=3993&&t<=4013||t>=4017&&t<=4023||4025==t||t>=8400&&t<=8412||8417==t||t>=12330&&t<=12335||12441==t||12442==t||183==t||720==t||721==t||903==t||1600==t||3654==t||3782==t||12293==t||t>=12337&&t<=12341||t>=12445&&t<=12446||t>=12540&&t<=12542},Z.coalesceText=function(t){for(var e=t.firstChild;null!=e;e=e.nextSibling)if(3==e.nodeType||4==e.nodeType){var r=e.nodeValue,n=e;for(e=e.nextSibling;null!=e&&(3==e.nodeType||4==e.nodeType);){r+=e.nodeValue;var i=e;e=e.nextSibling,i.parentNode.removeChild(i)}if(4==n.nodeType){var o=n.parentNode;if(null==n.nextSibling)o.removeChild(n),o.appendChild(o.ownerDocument.createTextNode(r));else{var s=n.nextSibling;o.removeChild(n),o.insertBefore(o.ownerDocument.createTextNode(r),s)}}else n.nodeValue=r;if(null==e)break}else 1==e.nodeType&&Z.coalesceText(e)},Z.instance_of=function(t,e){for(;null!=t;){if(t.constructor===e)return!0;if(t===Object)return!1;t=t.constructor.superclass}return!1},Z.getElementById=function(t,e){if(1==t.nodeType&&(t.getAttribute("id")==e||t.getAttributeNS(null,"id")==e))return t;for(var r=t.firstChild;null!=r;r=r.nextSibling){var n=Z.getElementById(r,e);if(null!=n)return n}return null};var tt=function(){function t(e,r,n){var i=Error.call(this,function(e,r){var n=r?": "+r.toString():"";switch(e){case t.INVALID_EXPRESSION_ERR:return"Invalid expression"+n;case t.TYPE_ERR:return"Type error"+n}return null}(e,r)||n);return i.code=e,i.exception=r,i}return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.superclass=Error,t.prototype.toString=function(){return this.message},t.fromMessage=function(e,r){return new t(null,r,e)},t.INVALID_EXPRESSION_ERR=51,t.TYPE_ERR=52,t}();function et(t,e,r){this.xpath=r.parse(t),this.context=new J,this.context.namespaceResolver=new rt(e)}function rt(t){this.xpathNSResolver=t}function nt(t){this.node=t,this.namespaceResolver=new Q}function it(t,e){switch(e==it.ANY_TYPE&&(t.constructor===G?e=it.STRING_TYPE:t.constructor===H?e=it.NUMBER_TYPE:t.constructor===V?e=it.BOOLEAN_TYPE:t.constructor===W&&(e=it.UNORDERED_NODE_ITERATOR_TYPE)),this.resultType=e,e){case it.NUMBER_TYPE:return void(this.numberValue=t.numberValue());case it.STRING_TYPE:return void(this.stringValue=t.stringValue());case it.BOOLEAN_TYPE:return void(this.booleanValue=t.booleanValue());case it.ANY_UNORDERED_NODE_TYPE:case it.FIRST_ORDERED_NODE_TYPE:if(t.constructor===W)return void(this.singleNodeValue=t.first());break;case it.UNORDERED_NODE_ITERATOR_TYPE:case it.ORDERED_NODE_ITERATOR_TYPE:if(t.constructor===W)return this.invalidIteratorState=!1,this.nodes=t.toArray(),void(this.iteratorIndex=0);break;case it.UNORDERED_NODE_SNAPSHOT_TYPE:case it.ORDERED_NODE_SNAPSHOT_TYPE:if(t.constructor===W)return this.nodes=t.toArray(),void(this.snapshotLength=this.nodes.length)}throw new tt(tt.TYPE_ERR)}function ot(t,e){t.createExpression=function(t,r){try{return new et(t,r,e)}catch(t){throw new tt(tt.INVALID_EXPRESSION_ERR,t)}},t.createNSResolver=function(t){return new nt(t)},t.evaluate=function(r,n,i,o,s){if(o<0||o>9)throw{code:0,toString:function(){return"Request type not supported"}};return t.createExpression(r,i,e).evaluate(n,o,s)}}et.prototype={},et.prototype.constructor=et,et.superclass=Object.prototype,et.getOwnerDocument=function(t){return 9===t.nodeType?t:t.ownerDocument},et.detectHtmlDom=function(t){if(!t)return!1;var e=et.getOwnerDocument(t);try{return e.implementation.hasFeature("HTML","2.0")}catch(t){return!0}},et.prototype.evaluate=function(t,e,r){return this.context.expressionContextNode=t,this.context.caseInsensitive=et.detectHtmlDom(t),new it(this.xpath.evaluate(this.context),e)},rt.prototype={},rt.prototype.constructor=rt,rt.superclass=Object.prototype,rt.prototype.getNamespace=function(t,e){return null==this.xpathNSResolver?null:this.xpathNSResolver.lookupNamespaceURI(t)},nt.prototype={},nt.prototype.constructor=nt,nt.superclass=Object.prototype,nt.prototype.lookupNamespaceURI=function(t){return this.namespaceResolver.getNamespace(t,this.node)},it.prototype={},it.prototype.constructor=it,it.superclass=Object.prototype,it.prototype.iterateNext=function(){if(this.resultType!=it.UNORDERED_NODE_ITERATOR_TYPE&&this.resultType!=it.ORDERED_NODE_ITERATOR_TYPE)throw new tt(tt.TYPE_ERR);return this.nodes[this.iteratorIndex++]},it.prototype.snapshotItem=function(t){if(this.resultType!=it.UNORDERED_NODE_SNAPSHOT_TYPE&&this.resultType!=it.ORDERED_NODE_SNAPSHOT_TYPE)throw new tt(tt.TYPE_ERR);return this.nodes[t]},it.ANY_TYPE=0,it.NUMBER_TYPE=1,it.STRING_TYPE=2,it.BOOLEAN_TYPE=3,it.UNORDERED_NODE_ITERATOR_TYPE=4,it.ORDERED_NODE_ITERATOR_TYPE=5,it.UNORDERED_NODE_SNAPSHOT_TYPE=6,it.ORDERED_NODE_SNAPSHOT_TYPE=7,it.ANY_UNORDERED_NODE_TYPE=8,it.FIRST_ORDERED_NODE_TYPE=9;try{var st=!0;try{document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("XPath",null)&&(st=!1)}catch(t){}st&&ot(document,new h)}catch(t){}ot(t,new h),function(){var e=new h,r=new Q,n=new X,i=new Y;function o(t){return{getNamespace:function(e,n){return t(e,n)||r.getNamespace(e,n)}}}function s(t){return t&&"function"==typeof t.getNamespace?o((e=t).getNamespace.bind(e)):"function"==typeof t?o(t):"object"==typeof t?function(t){return o((function(e){return t[e]}))}(t):r;var e}function a(t){if(null==t||t instanceof G||t instanceof V||t instanceof H||t instanceof W)return t;switch(typeof t){case"string":return new G(t);case"boolean":return new V(t);case"number":return new H(t)}var e=new W;return e.addArray([].concat(t)),e}function u(t){return{getFunction:function(e,r){var i=t(e,r);return i?function(t){return function(e){var r=Array.prototype.slice.call(arguments,1).map((function(t){return t.evaluate(e)}));return a(t.apply(this,[].concat(e,r)))}}(i):n.getFunction(e,r)}}}function c(t){return t&&"function"==typeof t.getFunction?u((e=t).getFunction.bind(e)):"function"==typeof t?u(t):"object"==typeof t?function(t){return u((function(e){return t[e]}))}(t):n;var e}function l(t){return{getVariable:function(e,r){return a(t(e,r))}}}function f(t,e,r){t in r&&(e[t]=r[t])}function p(t){var e=new J;return t?(e.namespaceResolver=s(t.namespaces),e.functionResolver=c(t.functions),e.variableResolver=function(t){if(t){if("function"==typeof t.getVariable)return l(t.getVariable.bind(t));if("function"==typeof t)return l(t);if("object"==typeof t)return l((function(e){return t[e]}))}return i}(t.variables),e.expressionContextNode=t.node,f("allowAnyNamespaceForNoPrefix",e,t),f("isHtml",e,t)):e.namespaceResolver=r,e}var d={evaluate:function(t){return function(t,e){var r=p(e);return t.evaluate(r)}(this.expression,t)},evaluateNumber:function(t){return this.evaluate(t).numberValue()},evaluateString:function(t){return this.evaluate(t).stringValue()},evaluateBoolean:function(t){return this.evaluate(t).booleanValue()},evaluateNodeSet:function(t){return this.evaluate(t).nodeset()},select:function(t){return this.evaluateNodeSet(t).toArray()},select1:function(t){return this.select(t)[0]}};t.parse=function(t){var r=e.parse(t);return Object.create(d,{expression:{value:r}})}}(),l(t,{XPath:f,XPathParser:h,XPathResult:it,Step:D,PathExpr:C,NodeTest:q,LocationPath:k,OrOperation:b,AndOperation:v,BarOperation:P,EqualsOperation:w,NotEqualOperation:E,LessThanOperation:_,GreaterThanOperation:M,LessThanOrEqualOperation:S,GreaterThanOrEqualOperation:x,PlusOperation:N,MinusOperation:A,MultiplyOperation:O,DivOperation:T,ModOperation:R,UnaryMinusOperation:g,FunctionCall:U,VariableReference:F,XPathContext:J,XNodeSet:W,XBoolean:V,XString:G,XNumber:H,NamespaceResolver:Q,FunctionResolver:X,VariableResolver:Y,Utilities:Z}),t.select=function(e,r,n){return t.selectWithResolver(e,r,null,n)},t.useNamespaces=function(e){var r={mappings:e||{},lookupNamespaceURI:function(t){return this.mappings[t]}};return function(e,n,i){return t.selectWithResolver(e,n,r,i)}},t.selectWithResolver=function(t,e,r,n){var i=new et(t,r,new h),o=it.ANY_TYPE,s=i.evaluate(e,o,null);return s.resultType==it.STRING_TYPE?s=s.stringValue:s.resultType==it.NUMBER_TYPE?s=s.numberValue:s.resultType==it.BOOLEAN_TYPE?s=s.booleanValue:(s=s.nodes,n&&(s=s[0])),s},t.select1=function(e,r){return t.select(e,r,!0)}}(e)},7529:t=>{t.exports=function(){for(var t={},r=0;r{},1408:()=>{},3646:()=>{},3083:(t,e,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?r.g:globalThis;t.exports=function(){for(var t=[],e=0;e{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n={};return(()=>{"use strict";r.d(n,{default:()=>Mo});var t={};function e(t,e){return function(){return t.apply(e,arguments)}}r.r(t),r.d(t,{hasBrowserEnv:()=>at,hasStandardBrowserEnv:()=>ut,hasStandardBrowserWebWorkerEnv:()=>lt,origin:()=>ht});const{toString:i}=Object.prototype,{getPrototypeOf:o}=Object,s=(a=Object.create(null),t=>{const e=i.call(t);return a[e]||(a[e]=e.slice(8,-1).toLowerCase())});var a;const u=t=>(t=t.toLowerCase(),e=>s(e)===t),c=t=>e=>typeof e===t,{isArray:l}=Array,h=c("undefined");const f=u("ArrayBuffer");const p=c("string"),d=c("function"),y=c("number"),g=t=>null!==t&&"object"==typeof t,m=t=>{if("object"!==s(t))return!1;const e=o(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},b=u("Date"),v=u("File"),w=u("Blob"),E=u("FileList"),_=u("URLSearchParams"),[M,S,x,N]=["ReadableStream","Request","Response","Headers"].map(u);function A(t,e,{allOwnKeys:r=!1}={}){if(null==t)return;let n,i;if("object"!=typeof t&&(t=[t]),l(t))for(n=0,i=t.length;n0;)if(n=r[i],e===n.toLowerCase())return n;return null}const T="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,R=t=>!h(t)&&t!==T;const P=(C="undefined"!=typeof Uint8Array&&o(Uint8Array),t=>C&&t instanceof C);var C;const j=u("HTMLFormElement"),I=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),L=u("RegExp"),k=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};A(r,((r,i)=>{let o;!1!==(o=e(r,i,t))&&(n[i]=o||r)})),Object.defineProperties(t,n)},D="abcdefghijklmnopqrstuvwxyz",q="0123456789",F={DIGIT:q,ALPHA:D,ALPHA_DIGIT:D+D.toUpperCase()+q};const U=u("AsyncFunction"),B={isArray:l,isArrayBuffer:f,isBuffer:function(t){return null!==t&&!h(t)&&null!==t.constructor&&!h(t.constructor)&&d(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||d(t.append)&&("formdata"===(e=s(t))||"object"===e&&d(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&f(t.buffer),e},isString:p,isNumber:y,isBoolean:t=>!0===t||!1===t,isObject:g,isPlainObject:m,isReadableStream:M,isRequest:S,isResponse:x,isHeaders:N,isUndefined:h,isDate:b,isFile:v,isBlob:w,isRegExp:L,isFunction:d,isStream:t=>g(t)&&d(t.pipe),isURLSearchParams:_,isTypedArray:P,isFileList:E,forEach:A,merge:function t(){const{caseless:e}=R(this)&&this||{},r={},n=(n,i)=>{const o=e&&O(r,i)||i;m(r[o])&&m(n)?r[o]=t(r[o],n):m(n)?r[o]=t({},n):l(n)?r[o]=n.slice():r[o]=n};for(let t=0,e=arguments.length;t(A(r,((r,i)=>{n&&d(r)?t[i]=e(r,n):t[i]=r}),{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let i,s,a;const u={};if(e=e||{},null==t)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)a=i[s],n&&!n(a,t,e)||u[a]||(e[a]=t[a],u[a]=!0);t=!1!==r&&o(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:s,kindOfTest:u,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(l(t))return t;let e=t.length;if(!y(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:j,hasOwnProperty:I,hasOwnProp:I,reduceDescriptors:k,freezeMethods:t=>{k(t,((e,r)=>{if(d(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];d(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return l(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:O,global:T,isContextDefined:R,ALPHABET:F,generateString:(t=16,e=F.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&d(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(g(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const i=l(t)?[]:{};return A(t,((t,e)=>{const o=r(t,n+1);!h(o)&&(i[e]=o)})),e[n]=void 0,i}}return t};return r(t,0)},isAsyncFn:U,isThenable:t=>t&&(g(t)||d(t))&&d(t.then)&&d(t.catch)};function G(t,e,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}B.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const H=G.prototype,V={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{V[t]={value:t}})),Object.defineProperties(G,V),Object.defineProperty(H,"isAxiosError",{value:!0}),G.from=(t,e,r,n,i,o)=>{const s=Object.create(H);return B.toFlatObject(t,s,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),G.call(s,t.message,e,r,n,i),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};const z=G;var W=r(8764).Buffer;function $(t){return B.isPlainObject(t)||B.isArray(t)}function J(t){return B.endsWith(t,"[]")?t.slice(0,-2):t}function Y(t,e,r){return t?t.concat(e).map((function(t,e){return t=J(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const X=B.toFlatObject(B,{},null,(function(t){return/^is[A-Z]/.test(t)}));const Q=function(t,e,r){if(!B.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=B.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!B.isUndefined(e[t])}))).metaTokens,i=r.visitor||c,o=r.dots,s=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&B.isSpecCompliantForm(e);if(!B.isFunction(i))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(B.isDate(t))return t.toISOString();if(!a&&B.isBlob(t))throw new z("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(t)||B.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):W.from(t):t}function c(t,r,i){let a=t;if(t&&!i&&"object"==typeof t)if(B.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(B.isArray(t)&&function(t){return B.isArray(t)&&!t.some($)}(t)||(B.isFileList(t)||B.endsWith(r,"[]"))&&(a=B.toArray(t)))return r=J(r),a.forEach((function(t,n){!B.isUndefined(t)&&null!==t&&e.append(!0===s?Y([r],n,o):null===s?r:r+"[]",u(t))})),!1;return!!$(t)||(e.append(Y(i,r,o),u(t)),!1)}const l=[],h=Object.assign(X,{defaultVisitor:c,convertValue:u,isVisitable:$});if(!B.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!B.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),B.forEach(r,(function(r,o){!0===(!(B.isUndefined(r)||null===r)&&i.call(e,r,B.isString(o)?o.trim():o,n,h))&&t(r,n?n.concat(o):[o])})),l.pop()}}(t),e};function K(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Z(t,e){this._pairs=[],t&&Q(t,this,e)}const tt=Z.prototype;tt.append=function(t,e){this._pairs.push([t,e])},tt.toString=function(t){const e=t?function(e){return t.call(this,e,K)}:K;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const et=Z;function rt(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function nt(t,e,r){if(!e)return t;const n=r&&r.encode||rt,i=r&&r.serialize;let o;if(o=i?i(e,r):B.isURLSearchParams(e)?e.toString():new et(e,r).toString(n),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}const it=class{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){B.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},ot={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},st={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:et,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},at="undefined"!=typeof window&&"undefined"!=typeof document,ut=(ct="undefined"!=typeof navigator&&navigator.product,at&&["ReactNative","NativeScript","NS"].indexOf(ct)<0);var ct;const lt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ht=at&&window.location.href||"http://localhost",ft={...t,...st};const pt=function(t){function e(t,r,n,i){let o=t[i++];if("__proto__"===o)return!0;const s=Number.isFinite(+o),a=i>=t.length;if(o=!o&&B.isArray(n)?n.length:o,a)return B.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!s;n[o]&&B.isObject(n[o])||(n[o]=[]);return e(t,r,n[o],i)&&B.isArray(n[o])&&(n[o]=function(t){const e={},r=Object.keys(t);let n;const i=r.length;let o;for(n=0;n{e(function(t){return B.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null};const dt={transitional:ot,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,i=B.isObject(t);i&&B.isHTMLForm(t)&&(t=new FormData(t));if(B.isFormData(t))return n?JSON.stringify(pt(t)):t;if(B.isArrayBuffer(t)||B.isBuffer(t)||B.isStream(t)||B.isFile(t)||B.isBlob(t)||B.isReadableStream(t))return t;if(B.isArrayBufferView(t))return t.buffer;if(B.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return Q(t,new ft.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return ft.isNode&&B.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=B.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Q(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return i||n?(e.setContentType("application/json",!1),function(t,e,r){if(B.isString(t))try{return(e||JSON.parse)(t),B.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||dt.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(B.isResponse(t)||B.isReadableStream(t))return t;if(t&&B.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw z.from(t,z.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ft.classes.FormData,Blob:ft.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],(t=>{dt.headers[t]={}}));const yt=dt,gt=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),mt=Symbol("internals");function bt(t){return t&&String(t).trim().toLowerCase()}function vt(t){return!1===t||null==t?t:B.isArray(t)?t.map(vt):String(t)}function wt(t,e,r,n,i){return B.isFunction(n)?n.call(this,e,r):(i&&(e=r),B.isString(e)?B.isString(n)?-1!==e.indexOf(n):B.isRegExp(n)?n.test(e):void 0:void 0)}class Et{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function i(t,e,r){const i=bt(e);if(!i)throw new Error("header name must be a non-empty string");const o=B.findKey(n,i);(!o||void 0===n[o]||!0===r||void 0===r&&!1!==n[o])&&(n[o||e]=vt(t))}const o=(t,e)=>B.forEach(t,((t,r)=>i(t,r,e)));if(B.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if(B.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))o((t=>{const e={};let r,n,i;return t&&t.split("\n").forEach((function(t){i=t.indexOf(":"),r=t.substring(0,i).trim().toLowerCase(),n=t.substring(i+1).trim(),!r||e[r]&>[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e);else if(B.isHeaders(t))for(const[e,n]of t.entries())i(n,e,r);else null!=t&&i(e,t,r);return this}get(t,e){if(t=bt(t)){const r=B.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(B.isFunction(e))return e.call(this,t,r);if(B.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=bt(t)){const r=B.findKey(this,t);return!(!r||void 0===this[r]||e&&!wt(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function i(t){if(t=bt(t)){const i=B.findKey(r,t);!i||e&&!wt(0,r[i],i,e)||(delete r[i],n=!0)}}return B.isArray(t)?t.forEach(i):i(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const i=e[r];t&&!wt(0,this[i],i,t,!0)||(delete this[i],n=!0)}return n}normalize(t){const e=this,r={};return B.forEach(this,((n,i)=>{const o=B.findKey(r,i);if(o)return e[o]=vt(n),void delete e[i];const s=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(i):String(i).trim();s!==i&&delete e[i],e[s]=vt(n),r[s]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return B.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&B.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const r=new this(t);return e.forEach((t=>r.set(t))),r}static accessor(t){const e=(this[mt]=this[mt]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=bt(t);e[n]||(!function(t,e){const r=B.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,i){return this[n].call(this,e,t,r,i)},configurable:!0})}))}(r,t),e[n]=!0)}return B.isArray(t)?t.forEach(n):n(t),this}}Et.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(Et.prototype,(({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[r]=t}}})),B.freezeMethods(Et);const _t=Et;function Mt(t,e){const r=this||yt,n=e||r,i=_t.from(n.headers);let o=n.data;return B.forEach(t,(function(t){o=t.call(r,o,i.normalize(),e?e.status:void 0)})),i.normalize(),o}function St(t){return!(!t||!t.__CANCEL__)}function xt(t,e,r){z.call(this,null==t?"canceled":t,z.ERR_CANCELED,e,r),this.name="CanceledError"}B.inherits(xt,z,{__CANCEL__:!0});const Nt=xt;function At(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new z("Request failed with status code "+r.status,[z.ERR_BAD_REQUEST,z.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}const Ot=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i,o=0,s=0;return e=void 0!==e?e:1e3,function(a){const u=Date.now(),c=n[s];i||(i=u),r[o]=a,n[o]=u;let l=s,h=0;for(;l!==o;)h+=r[l++],l%=t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),u-in)return i&&(clearTimeout(i),i=null),r=o,t.apply(null,arguments);i||(i=setTimeout((()=>(i=null,r=Date.now(),t.apply(null,arguments))),n-(o-r)))}},Rt=(t,e,r=3)=>{let n=0;const i=Ot(50,250);return Tt((r=>{const o=r.loaded,s=r.lengthComputable?r.total:void 0,a=o-n,u=i(a);n=o;const c={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:u||void 0,estimated:u&&s&&o<=s?(s-o)/u:void 0,event:r,lengthComputable:null!=s};c[e?"download":"upload"]=!0,t(c)}),r)},Pt=ft.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=B.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0},Ct=ft.hasStandardBrowserEnv?{write(t,e,r,n,i,o){const s=[t+"="+encodeURIComponent(e)];B.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),B.isString(n)&&s.push("path="+n),B.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function jt(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const It=t=>t instanceof _t?{...t}:t;function Lt(t,e){e=e||{};const r={};function n(t,e,r){return B.isPlainObject(t)&&B.isPlainObject(e)?B.merge.call({caseless:r},t,e):B.isPlainObject(e)?B.merge({},e):B.isArray(e)?e.slice():e}function i(t,e,r){return B.isUndefined(e)?B.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function o(t,e){if(!B.isUndefined(e))return n(void 0,e)}function s(t,e){return B.isUndefined(e)?B.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function a(r,i,o){return o in e?n(r,i):o in t?n(void 0,r):void 0}const u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(t,e)=>i(It(t),It(e),!0)};return B.forEach(Object.keys(Object.assign({},t,e)),(function(n){const o=u[n]||i,s=o(t[n],e[n],n);B.isUndefined(s)&&o!==a||(r[n]=s)})),r}const kt=t=>{const e=Lt({},t);let r,{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:u}=e;if(e.headers=a=_t.from(a),e.url=nt(jt(e.baseURL,e.url),t.params,t.paramsSerializer),u&&a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),B.isFormData(n))if(ft.hasStandardBrowserEnv||ft.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(r=a.getContentType())){const[t,...e]=r?r.split(";").map((t=>t.trim())).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(ft.hasStandardBrowserEnv&&(i&&B.isFunction(i)&&(i=i(e)),i||!1!==i&&Pt(e.url))){const t=o&&s&&Ct.read(s);t&&a.set(o,t)}return e},Dt="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){const n=kt(t);let i=n.data;const o=_t.from(n.headers).normalize();let s,{responseType:a}=n;function u(){n.cancelToken&&n.cancelToken.unsubscribe(s),n.signal&&n.signal.removeEventListener("abort",s)}let c=new XMLHttpRequest;function l(){if(!c)return;const n=_t.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());At((function(t){e(t),u()}),(function(t){r(t),u()}),{data:a&&"text"!==a&&"json"!==a?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:n,config:t,request:c}),c=null}c.open(n.method.toUpperCase(),n.url,!0),c.timeout=n.timeout,"onloadend"in c?c.onloadend=l:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(l)},c.onabort=function(){c&&(r(new z("Request aborted",z.ECONNABORTED,n,c)),c=null)},c.onerror=function(){r(new z("Network Error",z.ERR_NETWORK,n,c)),c=null},c.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const e=n.transitional||ot;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new z(t,e.clarifyTimeoutError?z.ETIMEDOUT:z.ECONNABORTED,n,c)),c=null},void 0===i&&o.setContentType(null),"setRequestHeader"in c&&B.forEach(o.toJSON(),(function(t,e){c.setRequestHeader(e,t)})),B.isUndefined(n.withCredentials)||(c.withCredentials=!!n.withCredentials),a&&"json"!==a&&(c.responseType=n.responseType),"function"==typeof n.onDownloadProgress&&c.addEventListener("progress",Rt(n.onDownloadProgress,!0)),"function"==typeof n.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",Rt(n.onUploadProgress)),(n.cancelToken||n.signal)&&(s=e=>{c&&(r(!e||e.type?new Nt(null,t,c):e),c.abort(),c=null)},n.cancelToken&&n.cancelToken.subscribe(s),n.signal&&(n.signal.aborted?s():n.signal.addEventListener("abort",s)));const h=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(n.url);h&&-1===ft.protocols.indexOf(h)?r(new z("Unsupported protocol "+h+":",z.ERR_BAD_REQUEST,t)):c.send(i||null)}))},qt=(t,e)=>{let r,n=new AbortController;const i=function(t){if(!r){r=!0,s();const e=t instanceof Error?t:this.reason;n.abort(e instanceof z?e:new Nt(e instanceof Error?e.message:e))}};let o=e&&setTimeout((()=>{i(new z(`timeout ${e} of ms exceeded`,z.ETIMEDOUT))}),e);const s=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach((t=>{t&&(t.removeEventListener?t.removeEventListener("abort",i):t.unsubscribe(i))})),t=null)};t.forEach((t=>t&&t.addEventListener&&t.addEventListener("abort",i)));const{signal:a}=n;return a.unsubscribe=s,[a,()=>{o&&clearTimeout(o),o=null}]},Ft=function*(t,e){let r=t.byteLength;if(!e||r{const o=async function*(t,e,r){for await(const n of t)yield*Ft(ArrayBuffer.isView(n)?n:await r(String(n)),e)}(t,e,i);let s=0;return new ReadableStream({type:"bytes",async pull(t){const{done:e,value:i}=await o.next();if(e)return t.close(),void n();let a=i.byteLength;r&&r(s+=a),t.enqueue(new Uint8Array(i))},cancel:t=>(n(t),o.return())},{highWaterMark:2})},Bt=(t,e)=>{const r=null!=t;return n=>setTimeout((()=>e({lengthComputable:r,total:t,loaded:n})))},Gt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ht=Gt&&"function"==typeof ReadableStream,Vt=Gt&&("function"==typeof TextEncoder?(zt=new TextEncoder,t=>zt.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var zt;const Wt=Ht&&(()=>{let t=!1;const e=new Request(ft.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})(),$t=Ht&&!!(()=>{try{return B.isReadableStream(new Response("").body)}catch(t){}})(),Jt={stream:$t&&(t=>t.body)};var Yt;Gt&&(Yt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Jt[t]&&(Jt[t]=B.isFunction(Yt[t])?e=>e[t]():(e,r)=>{throw new z(`Response type '${t}' is not supported`,z.ERR_NOT_SUPPORT,r)})})));const Xt=async(t,e)=>{const r=B.toFiniteNumber(t.getContentLength());return null==r?(async t=>null==t?0:B.isBlob(t)?t.size:B.isSpecCompliantForm(t)?(await new Request(t).arrayBuffer()).byteLength:B.isArrayBufferView(t)?t.byteLength:(B.isURLSearchParams(t)&&(t+=""),B.isString(t)?(await Vt(t)).byteLength:void 0))(e):r},Qt={http:null,xhr:Dt,fetch:Gt&&(async t=>{let{url:e,method:r,data:n,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:u,responseType:c,headers:l,withCredentials:h="same-origin",fetchOptions:f}=kt(t);c=c?(c+"").toLowerCase():"text";let p,d,[y,g]=i||o||s?qt([i,o],s):[];const m=()=>{!p&&setTimeout((()=>{y&&y.unsubscribe()})),p=!0};let b;try{if(u&&Wt&&"get"!==r&&"head"!==r&&0!==(b=await Xt(l,n))){let t,r=new Request(e,{method:"POST",body:n,duplex:"half"});B.isFormData(n)&&(t=r.headers.get("content-type"))&&l.setContentType(t),r.body&&(n=Ut(r.body,65536,Bt(b,Rt(u)),null,Vt))}B.isString(h)||(h=h?"cors":"omit"),d=new Request(e,{...f,signal:y,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",withCredentials:h});let i=await fetch(d);const o=$t&&("stream"===c||"response"===c);if($t&&(a||o)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=i[e]}));const e=B.toFiniteNumber(i.headers.get("content-length"));i=new Response(Ut(i.body,65536,a&&Bt(e,Rt(a,!0)),o&&m,Vt),t)}c=c||"text";let s=await Jt[B.findKey(Jt,c)||"text"](i,t);return!o&&m(),g&&g(),await new Promise(((e,r)=>{At(e,r,{data:s,headers:_t.from(i.headers),status:i.status,statusText:i.statusText,config:t,request:d})}))}catch(e){if(m(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new z("Network Error",z.ERR_NETWORK,t,d),{cause:e.cause||e});throw z.from(e,e&&e.code,t,d)}})};B.forEach(Qt,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const Kt=t=>`- ${t}`,Zt=t=>B.isFunction(t)||null===t||!1===t,te=t=>{t=B.isArray(t)?t:[t];const{length:e}=t;let r,n;const i={};for(let o=0;o`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let r=e?t.length>1?"since :\n"+t.map(Kt).join("\n"):" "+Kt(t[0]):"as no adapter specified";throw new z("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n};function ee(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Nt(null,t)}function re(t){ee(t),t.headers=_t.from(t.headers),t.data=Mt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return te(t.adapter||yt.adapter)(t).then((function(e){return ee(t),e.data=Mt.call(t,t.transformResponse,e),e.headers=_t.from(e.headers),e}),(function(e){return St(e)||(ee(t),e&&e.response&&(e.response.data=Mt.call(t,t.transformResponse,e.response),e.response.headers=_t.from(e.response.headers))),Promise.reject(e)}))}const ne="1.7.2";var ie=r(5108);const oe={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{oe[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const se={};oe.transitional=function(t,e,r){function n(t,e){return"[Axios v1.7.2] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,i,o)=>{if(!1===t)throw new z(n(i," has been removed"+(e?" in "+e:"")),z.ERR_DEPRECATED);return e&&!se[i]&&(se[i]=!0,ie.warn(n(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,i,o)}};const ae={assertOptions:function(t,e,r){if("object"!=typeof t)throw new z("options must be an object",z.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;for(;i-- >0;){const o=n[i],s=e[o];if(s){const e=t[o],r=void 0===e||s(e,o,t);if(!0!==r)throw new z("option "+o+" must be "+r,z.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new z("Unknown option "+o,z.ERR_BAD_OPTION)}},validators:oe},ue=ae.validators;class ce{constructor(t){this.defaults=t,this.interceptors={request:new it,response:new it}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const r=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Lt(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:i}=e;void 0!==r&&ae.assertOptions(r,{silentJSONParsing:ue.transitional(ue.boolean),forcedJSONParsing:ue.transitional(ue.boolean),clarifyTimeoutError:ue.transitional(ue.boolean)},!1),null!=n&&(B.isFunction(n)?e.paramsSerializer={serialize:n}:ae.assertOptions(n,{encode:ue.function,serialize:ue.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=i&&B.merge(i.common,i[e.method]);i&&B.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete i[t]})),e.headers=_t.concat(o,i);const s=[];let a=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,h=0;if(!a){const t=[re.bind(this),void 0];for(t.unshift.apply(t,s),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);h{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,i){r.reason||(r.reason=new Nt(t,n,i),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new he((function(e){t=e})),cancel:t}}}const fe=he;const pe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(pe).forEach((([t,e])=>{pe[e]=t}));const de=pe;const ye=function t(r){const n=new le(r),i=e(le.prototype.request,n);return B.extend(i,le.prototype,n,{allOwnKeys:!0}),B.extend(i,n,null,{allOwnKeys:!0}),i.create=function(e){return t(Lt(r,e))},i}(yt);ye.Axios=le,ye.CanceledError=Nt,ye.CancelToken=fe,ye.isCancel=St,ye.VERSION=ne,ye.toFormData=Q,ye.AxiosError=z,ye.Cancel=ye.CanceledError,ye.all=function(t){return Promise.all(t)},ye.spread=function(t){return function(e){return t.apply(null,e)}},ye.isAxiosError=function(t){return B.isObject(t)&&!0===t.isAxiosError},ye.mergeConfig=Lt,ye.AxiosHeaders=_t,ye.formToJSON=t=>pt(B.isHTMLForm(t)?new FormData(t):t),ye.getAdapter=te,ye.HttpStatusCode=de,ye.default=ye;const ge=ye;var me=r(9201),be=r(6018),ve=r(4155);const we={};"undefined"==typeof window&&(ve.env.HTTP_PROXY&&(we.httpAgent=new me.HttpProxyAgent(ve.env.HTTP_PROXY)),ve.env.HTTPS_PROXY&&(we.httpsAgent=new be.HttpsProxyAgent(ve.env.HTTPS_PROXY)),we.proxy=!1);const Ee=ge.create(we);var _e=r(7691),Me=r(3969);const Se=function(t){var e=(new Me.DOMParser).parseFromString(t),r=_e.useNamespaces({wfs:"http://www.opengis.net/wfs/2.0"})("//wfs:Name/text()",e),n=[];return r.forEach((function(t){n.push(t.toString())})),n};var xe=r(4935);function Ne(t,e,r){if(null!==t)for(var n,i,o,s,a,u,c,l,h=0,f=0,p=t.type,d="FeatureCollection"===p,y="Feature"===p,g=d?t.features.length:1,m=0;m=this.text.length)return;t=this.text[this.place++]}switch(this.state){case or:return this.neutral(t);case 2:return this.keyword(t);case 4:return this.quoted(t);case 5:return this.afterquote(t);case 3:return this.number(t);case-1:return}},hr.prototype.afterquote=function(t){if('"'===t)return this.word+='"',void(this.state=4);if(cr.test(t))return this.word=this.word.trim(),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in afterquote yet, index '+this.place)},hr.prototype.afterItem=function(t){return","===t?(null!==this.word&&this.currentObject.push(this.word),this.word=null,void(this.state=or)):"]"===t?(this.level--,null!==this.word&&(this.currentObject.push(this.word),this.word=null),this.state=or,this.currentObject=this.stack.pop(),void(this.currentObject||(this.state=-1))):void 0},hr.prototype.number=function(t){if(!lr.test(t)){if(cr.test(t))return this.word=parseFloat(this.word),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in number yet, index '+this.place)}this.word+=t},hr.prototype.quoted=function(t){'"'!==t?this.word+=t:this.state=5},hr.prototype.keyword=function(t){if(ur.test(t))this.word+=t;else{if("["===t){var e=[];return e.push(this.word),this.level++,null===this.root?this.root=e:this.currentObject.push(e),this.stack.push(this.currentObject),this.currentObject=e,void(this.state=or)}if(!cr.test(t))throw new Error("havn't handled \""+t+'" in keyword yet, index '+this.place);this.afterItem(t)}},hr.prototype.neutral=function(t){if(ar.test(t))return this.word=t,void(this.state=2);if('"'===t)return this.word="",void(this.state=4);if(lr.test(t))return this.word=t,void(this.state=3);if(!cr.test(t))throw new Error("havn't handled \""+t+'" in neutral yet, index '+this.place);this.afterItem(t)},hr.prototype.output=function(){for(;this.place0?90:-90),t.lat_ts=t.lat1)}(i),i}var mr=r(5108);function br(t){var e=this;if(2===arguments.length){var r=arguments[1];"string"==typeof r?"+"===r.charAt(0)?br[t]=nr(arguments[1]):br[t]=gr(arguments[1]):br[t]=r}else if(1===arguments.length){if(Array.isArray(t))return t.map((function(t){Array.isArray(t)?br.apply(e,t):br(t)}));if("string"==typeof t){if(t in br)return br[t]}else"EPSG"in t?br["EPSG:"+t.EPSG]=t:"ESRI"in t?br["ESRI:"+t.ESRI]=t:"IAU2000"in t?br["IAU2000:"+t.IAU2000]=t:mr.log(t);return}}!function(t){t("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),t("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),t("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),t.WGS84=t["EPSG:4326"],t["EPSG:3785"]=t["EPSG:3857"],t.GOOGLE=t["EPSG:3857"],t["EPSG:900913"]=t["EPSG:3857"],t["EPSG:102113"]=t["EPSG:3857"]}(br);const vr=br;var wr=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];var Er=["3857","900913","3785","102113"];const _r=function(t){if(!function(t){return"string"==typeof t}(t))return t;if(function(t){return t in vr}(t))return vr[t];if(function(t){return wr.some((function(e){return t.indexOf(e)>-1}))}(t)){var e=gr(t);if(function(t){var e=rr(t,"authority");if(e){var r=rr(e,"epsg");return r&&Er.indexOf(r)>-1}}(e))return vr["EPSG:3857"];var r=function(t){var e=rr(t,"extension");if(e)return rr(e,"proj4")}(e);return r?nr(r):e}return function(t){return"+"===t[0]}(t)?nr(t):void 0};function Mr(t,e){var r,n;if(t=t||{},!e)return t;for(n in e)void 0!==(r=e[n])&&(t[n]=r);return t}function Sr(t,e,r){var n=t*e;return r/Math.sqrt(1-n*n)}function xr(t){return t<0?-1:1}function Nr(t){return Math.abs(t)<=Ke?t:t-xr(t)*Qe}function Ar(t,e,r){var n=t*r,i=.5*t;return n=Math.pow((1-n)/(1+n),i),Math.tan(.5*(He-e))/n}function Or(t,e){for(var r,n,i=.5*t,o=He-2*Math.atan(e),s=0;s<=15;s++)if(r=t*Math.sin(o),o+=n=He-2*Math.atan(e*Math.pow((1-r)/(1+r),i))-o,Math.abs(n)<=1e-10)return o;return-9999}const Tr={init:function(){var t=this.b/this.a;this.es=1-t*t,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=Sr(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},forward:function(t){var e,r,n=t.x,i=t.y;if(i*Ye>90&&i*Ye<-90&&n*Ye>180&&n*Ye<-180)return null;if(Math.abs(Math.abs(i)-He)<=$e)return null;if(this.sphere)e=this.x0+this.a*this.k0*Nr(n-this.long0),r=this.y0+this.a*this.k0*Math.log(Math.tan(Xe+.5*i));else{var o=Math.sin(i),s=Ar(this.e,i,o);e=this.x0+this.a*this.k0*Nr(n-this.long0),r=this.y0-this.a*this.k0*Math.log(s)}return t.x=e,t.y=r,t},inverse:function(t){var e,r,n=t.x-this.x0,i=t.y-this.y0;if(this.sphere)r=He-2*Math.atan(Math.exp(-i/(this.a*this.k0)));else{var o=Math.exp(-i/(this.a*this.k0));if(-9999===(r=Or(this.e,o)))return null}return e=Nr(this.long0+n/(this.a*this.k0)),t.x=e,t.y=r,t},names:["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]};function Rr(t){return t}const Pr={init:function(){},forward:Rr,inverse:Rr,names:["longlat","identity"]};var Cr=r(5108),jr=[Tr,Pr],Ir={},Lr=[];function kr(t,e){var r=Lr.length;return t.names?(Lr[r]=t,t.names.forEach((function(t){Ir[t.toLowerCase()]=r})),this):(Cr.log(e),!0)}const Dr={start:function(){jr.forEach(kr)},add:kr,get:function(t){if(!t)return!1;var e=t.toLowerCase();return void 0!==Ir[e]&&Lr[Ir[e]]?Lr[Ir[e]]:void 0}};var qr={MERIT:{a:6378137,rf:298.257,ellipseName:"MERIT 1983"},SGS85:{a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},GRS80:{a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},IAU76:{a:6378140,rf:298.257,ellipseName:"IAU 1976"},airy:{a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},APL4:{a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},NWL9D:{a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},mod_airy:{a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},andrae:{a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},aust_SA:{a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},GRS67:{a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},bessel:{a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},bess_nam:{a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},clrk66:{a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},clrk80:{a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},clrk58:{a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},CPM:{a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},delmbr:{a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},engelis:{a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},evrst30:{a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},evrst48:{a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},evrst56:{a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},evrst69:{a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},evrstSS:{a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},fschr60:{a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},fschr60m:{a:6378155,rf:298.3,ellipseName:"Fischer 1960"},fschr68:{a:6378150,rf:298.3,ellipseName:"Fischer 1968"},helmert:{a:6378200,rf:298.3,ellipseName:"Helmert 1906"},hough:{a:6378270,rf:297,ellipseName:"Hough"},intl:{a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},kaula:{a:6378163,rf:298.24,ellipseName:"Kaula 1961"},lerch:{a:6378139,rf:298.257,ellipseName:"Lerch 1979"},mprts:{a:6397300,rf:191,ellipseName:"Maupertius 1738"},new_intl:{a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},plessis:{a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},krass:{a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},SEasia:{a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},walbeck:{a:6376896,b:6355834.8467,ellipseName:"Walbeck"},WGS60:{a:6378165,rf:298.3,ellipseName:"WGS 60"},WGS66:{a:6378145,rf:298.25,ellipseName:"WGS 66"},WGS7:{a:6378135,rf:298.26,ellipseName:"WGS 72"}},Fr=qr.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};qr.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};var Ur={};Ur.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},Ur.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},Ur.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},Ur.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},Ur.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},Ur.potsdam={towgs84:"598.1,73.7,418.2,0.202,0.045,-2.455,6.7",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},Ur.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},Ur.hermannskogel={towgs84:"577.326,90.129,463.919,5.137,1.474,5.297,2.4232",ellipse:"bessel",datumName:"Hermannskogel"},Ur.osni52={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"airy",datumName:"Irish National"},Ur.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},Ur.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},Ur.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},Ur.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},Ur.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},Ur.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},Ur.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},Ur.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"};const Br=function(t,e,r,n,i,o,s){var a={};return a.datum_type=void 0===t||"none"===t?qe:4,e&&(a.datum_params=e.map(parseFloat),0===a.datum_params[0]&&0===a.datum_params[1]&&0===a.datum_params[2]||(a.datum_type=Le),a.datum_params.length>3&&(0===a.datum_params[3]&&0===a.datum_params[4]&&0===a.datum_params[5]&&0===a.datum_params[6]||(a.datum_type=ke,a.datum_params[3]*=Ge,a.datum_params[4]*=Ge,a.datum_params[5]*=Ge,a.datum_params[6]=a.datum_params[6]/1e6+1))),s&&(a.datum_type=De,a.grids=s),a.a=r,a.b=n,a.es=i,a.ep2=o,a};var Gr=r(5108),Hr={};function Vr(t){if(0===t.length)return null;var e="@"===t[0];return e&&(t=t.slice(1)),"null"===t?{name:"null",mandatory:!e,grid:null,isNull:!0}:{name:t,mandatory:!e,grid:Hr[t]||null,isNull:!1}}function zr(t){return t/3600*Math.PI/180}function Wr(t,e,r){return String.fromCharCode.apply(null,new Uint8Array(t.buffer.slice(e,r)))}function $r(t){return t.map((function(t){return[zr(t.longitudeShift),zr(t.latitudeShift)]}))}function Jr(t,e,r){return{name:Wr(t,e+8,e+16).trim(),parent:Wr(t,e+24,e+24+8).trim(),lowerLatitude:t.getFloat64(e+72,r),upperLatitude:t.getFloat64(e+88,r),lowerLongitude:t.getFloat64(e+104,r),upperLongitude:t.getFloat64(e+120,r),latitudeInterval:t.getFloat64(e+136,r),longitudeInterval:t.getFloat64(e+152,r),gridNodeCount:t.getInt32(e+168,r)}}function Yr(t,e,r,n){for(var i=e+176,o=[],s=0;s-1.001*He)u=-He;else if(u>He&&u<1.001*He)u=He;else{if(u<-He)return{x:-1/0,y:-1/0,z:t.z};if(u>He)return{x:1/0,y:1/0,z:t.z}}return a>Math.PI&&(a-=2*Math.PI),i=Math.sin(u),s=Math.cos(u),o=i*i,{x:((n=r/Math.sqrt(1-e*o))+c)*s*Math.cos(a),y:(n+c)*s*Math.sin(a),z:(n*(1-e)+c)*i}}function Zr(t,e,r,n){var i,o,s,a,u,c,l,h,f,p,d,y,g,m,b,v=1e-12,w=t.x,E=t.y,_=t.z?t.z:0;if(i=Math.sqrt(w*w+E*E),o=Math.sqrt(w*w+E*E+_*_),i/r1e-24&&g<30);return{x:m,y:Math.atan(d/Math.abs(p)),z:b}}var tn=r(5108);function en(t){return t===Le||t===ke}function rn(t,e,r){if(function(t,e){return t.datum_type===e.datum_type&&!(t.a!==e.a||Math.abs(t.es-e.es)>5e-11)&&(t.datum_type===Le?t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]:t.datum_type!==ke||t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]&&t.datum_params[3]===e.datum_params[3]&&t.datum_params[4]===e.datum_params[4]&&t.datum_params[5]===e.datum_params[5]&&t.datum_params[6]===e.datum_params[6])}(t,e))return r;if(t.datum_type===qe||e.datum_type===qe)return r;var n=t.a,i=t.es;if(t.datum_type===De){if(0!==nn(t,!1,r))return;n=Fe,i=Be}var o=e.a,s=e.b,a=e.es;if(e.datum_type===De&&(o=Fe,s=Ue,a=Be),i===a&&n===o&&!en(t.datum_type)&&!en(e.datum_type))return r;if((r=Kr(r,i,n),en(t.datum_type)&&(r=function(t,e,r){if(e===Le)return{x:t.x+r[0],y:t.y+r[1],z:t.z+r[2]};if(e===ke){var n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5],c=r[6];return{x:c*(t.x-u*t.y+a*t.z)+n,y:c*(u*t.x+t.y-s*t.z)+i,z:c*(-a*t.x+s*t.y+t.z)+o}}}(r,t.datum_type,t.datum_params)),en(e.datum_type)&&(r=function(t,e,r){if(e===Le)return{x:t.x-r[0],y:t.y-r[1],z:t.z-r[2]};if(e===ke){var n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5],c=r[6],l=(t.x-n)/c,h=(t.y-i)/c,f=(t.z-o)/c;return{x:l+u*h-a*f,y:-u*l+h+s*f,z:a*l-s*h+f}}}(r,e.datum_type,e.datum_params)),r=Zr(r,a,o,s),e.datum_type===De)&&0!==nn(e,!0,r))return;return r}function nn(t,e,r){if(null===t.grids||0===t.grids.length)return tn.log("Grid shift grids not found"),-1;for(var n={x:-r.x,y:r.y},i={x:Number.NaN,y:Number.NaN},o=[],s=0;sn.y||l>n.x||p1e-12&&Math.abs(s.y)>1e-12);if(u<0)return tn.log("Inverse grid shift iterator failed to converge."),n;n.x=Nr(o.x+r.ll[0]),n.y=o.y+r.ll[1]}else isNaN(o.x)||(n.x=t.x+o.x,n.y=t.y+o.y);return n}function sn(t,e){var r,n={x:t.x/e.del[0],y:t.y/e.del[1]},i=Math.floor(n.x),o=Math.floor(n.y),s=n.x-1*i,a=n.y-1*o,u={x:Number.NaN,y:Number.NaN};if(i<0||i>=e.lim[0])return u;if(o<0||o>=e.lim[1])return u;r=o*e.lim[0]+i;var c=e.cvs[r][0],l=e.cvs[r][1];r++;var h=e.cvs[r][0],f=e.cvs[r][1];r+=e.lim[0];var p=e.cvs[r][0],d=e.cvs[r][1];r--;var y=e.cvs[r][0],g=e.cvs[r][1],m=s*a,b=s*(1-a),v=(1-s)*(1-a),w=(1-s)*a;return u.x=v*c+b*h+w*y+m*p,u.y=v*l+b*f+w*g+m*d,u}function an(t,e,r){var n,i,o,s=r.x,a=r.y,u=r.z||0,c={};for(o=0;o<3;o++)if(!e||2!==o||void 0!==r.z)switch(0===o?(n=s,i=-1!=="ew".indexOf(t.axis[o])?"x":"y"):1===o?(n=a,i=-1!=="ns".indexOf(t.axis[o])?"y":"x"):(n=u,i="z"),t.axis[o]){case"e":case"n":c[i]=n;break;case"w":case"s":c[i]=-n;break;case"u":void 0!==r[i]&&(c.z=n);break;case"d":void 0!==r[i]&&(c.z=-n);break;default:return null}return c}function un(t){var e={x:t[0],y:t[1]};return t.length>2&&(e.z=t[2]),t.length>3&&(e.m=t[3]),e}function cn(t){if("function"==typeof Number.isFinite){if(Number.isFinite(t))return;throw new TypeError("coordinates must be finite numbers")}if("number"!=typeof t||t!=t||!isFinite(t))throw new TypeError("coordinates must be finite numbers")}function ln(t,e,r,n){var i;if(Array.isArray(r)&&(r=un(r)),function(t){cn(t.x),cn(t.y)}(r),t.datum&&e.datum&&function(t,e){return(t.datum.datum_type===Le||t.datum.datum_type===ke)&&"WGS84"!==e.datumCode||(e.datum.datum_type===Le||e.datum.datum_type===ke)&&"WGS84"!==t.datumCode}(t,e)&&(r=ln(t,i=new Qr("WGS84"),r,n),t=i),n&&"enu"!==t.axis&&(r=an(t,!1,r)),"longlat"===t.projName)r={x:r.x*Je,y:r.y*Je,z:r.z||0};else if(t.to_meter&&(r={x:r.x*t.to_meter,y:r.y*t.to_meter,z:r.z||0}),!(r=t.inverse(r)))return;if(t.from_greenwich&&(r.x+=t.from_greenwich),r=rn(t.datum,e.datum,r))return e.from_greenwich&&(r={x:r.x-e.from_greenwich,y:r.y,z:r.z||0}),"longlat"===e.projName?r={x:r.x*Ye,y:r.y*Ye,z:r.z||0}:(r=e.forward(r),e.to_meter&&(r={x:r.x/e.to_meter,y:r.y/e.to_meter,z:r.z||0})),n&&"enu"!==e.axis?an(e,!0,r):r}var hn=Qr("WGS84");function fn(t,e,r,n){var i,o,s;return Array.isArray(r)?(i=ln(t,e,r,n)||{x:NaN,y:NaN},r.length>2?void 0!==t.name&&"geocent"===t.name||void 0!==e.name&&"geocent"===e.name?"number"==typeof i.z?[i.x,i.y,i.z].concat(r.splice(3)):[i.x,i.y,r[2]].concat(r.splice(3)):[i.x,i.y].concat(r.splice(2)):[i.x,i.y]):(o=ln(t,e,r,n),2===(s=Object.keys(r)).length||s.forEach((function(n){if(void 0!==t.name&&"geocent"===t.name||void 0!==e.name&&"geocent"===e.name){if("x"===n||"y"===n||"z"===n)return}else if("x"===n||"y"===n)return;o[n]=r[n]})),o)}function pn(t){return t instanceof Qr?t:t.oProj?t.oProj:Qr(t)}const dn=function(t,e,r){t=pn(t);var n,i=!1;return void 0===e?(e=t,t=hn,i=!0):(void 0!==e.x||Array.isArray(e))&&(r=e,e=t,t=hn,i=!0),e=pn(e),r?fn(t,e,r):(n={forward:function(r,n){return fn(t,e,r,n)},inverse:function(r,n){return fn(e,t,r,n)}},i&&(n.oProj=e),n)};var yn=6,gn="AJSAJS",mn="AFAFAF",bn=65,vn=73,wn=79,En=86,_n=90;const Mn={forward:Sn,inverse:function(t){var e=On(Pn(t.toUpperCase()));if(e.lat&&e.lon)return[e.lon,e.lat,e.lon,e.lat];return[e.left,e.bottom,e.right,e.top]},toPoint:xn};function Sn(t,e){return e=e||5,function(t,e){var r="00000"+t.easting,n="00000"+t.northing;return t.zoneNumber+t.zoneLetter+(p=t.easting,d=t.northing,y=t.zoneNumber,g=Rn(y),m=Math.floor(p/1e5),b=Math.floor(d/1e5)%20,i=m,o=b,s=g,a=s-1,u=gn.charCodeAt(a),c=mn.charCodeAt(a),l=u+i-1,h=c+o,f=!1,l>_n&&(l=l-_n+bn-1,f=!0),(l===vn||uvn||(l>vn||uwn||(l>wn||u_n&&(l=l-_n+bn-1),h>En?(h=h-En+bn-1,f=!0):f=!1,(h===vn||cvn||(h>vn||cwn||(h>wn||cEn&&(h=h-En+bn-1),String.fromCharCode(l)+String.fromCharCode(h))+r.substr(r.length-5,e)+n.substr(n.length-5,e);var i,o,s,a,u,c,l,h,f;var p,d,y,g,m,b}(function(t){var e,r,n,i,o,s,a,u,c=t.lat,l=t.lon,h=6378137,f=.00669438,p=.9996,d=Nn(c),y=Nn(l);u=Math.floor((l+180)/6)+1,180===l&&(u=60);c>=56&&c<64&&l>=3&&l<12&&(u=32);c>=72&&c<84&&(l>=0&&l<9?u=31:l>=9&&l<21?u=33:l>=21&&l<33?u=35:l>=33&&l<42&&(u=37));a=Nn(6*(u-1)-180+3),e=f/(1-f),r=h/Math.sqrt(1-f*Math.sin(d)*Math.sin(d)),n=Math.tan(d)*Math.tan(d),i=e*Math.cos(d)*Math.cos(d),o=Math.cos(d)*(y-a),s=h*((1-f/4-3*f*f/64-5*f*f*f/256)*d-(3*f/8+3*f*f/32+45*f*f*f/1024)*Math.sin(2*d)+(15*f*f/256+45*f*f*f/1024)*Math.sin(4*d)-35*f*f*f/3072*Math.sin(6*d));var g=p*r*(o+(1-n+i)*o*o*o/6+(5-18*n+n*n+72*i-58*e)*o*o*o*o*o/120)+5e5,m=p*(s+r*Math.tan(d)*(o*o/2+(5-n+9*i+4*i*i)*o*o*o*o/24+(61-58*n+n*n+600*i-330*e)*o*o*o*o*o*o/720));c<0&&(m+=1e7);return{northing:Math.round(m),easting:Math.round(g),zoneNumber:u,zoneLetter:Tn(c)}}({lat:t[1],lon:t[0]}),e)}function xn(t){var e=On(Pn(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat]:[(e.left+e.right)/2,(e.top+e.bottom)/2]}function Nn(t){return t*(Math.PI/180)}function An(t){return t/Math.PI*180}function On(t){var e=t.northing,r=t.easting,n=t.zoneLetter,i=t.zoneNumber;if(i<0||i>60)return null;var o,s,a,u,c,l,h,f,p,d=.9996,y=6378137,g=.00669438,m=(1-Math.sqrt(.99330562))/(1+Math.sqrt(.99330562)),b=r-5e5,v=e;n<"N"&&(v-=1e7),h=6*(i-1)-180+3,o=.006739496752268451,p=(f=v/d/6367449.145945056)+(3*m/2-27*m*m*m/32)*Math.sin(2*f)+(21*m*m/16-55*m*m*m*m/32)*Math.sin(4*f)+151*m*m*m/96*Math.sin(6*f),s=y/Math.sqrt(1-g*Math.sin(p)*Math.sin(p)),a=Math.tan(p)*Math.tan(p),u=o*Math.cos(p)*Math.cos(p),c=.99330562*y/Math.pow(1-g*Math.sin(p)*Math.sin(p),1.5),l=b/(s*d);var w=p-s*Math.tan(p)/c*(l*l/2-(5+3*a+10*u-4*u*u-9*o)*l*l*l*l/24+(61+90*a+298*u+45*a*a-1.6983531815716497-3*u*u)*l*l*l*l*l*l/720);w=An(w);var E,_=(l-(1+2*a+u)*l*l*l/6+(5-2*u+28*a-3*u*u+8*o+24*a*a)*l*l*l*l*l/120)/Math.cos(p);if(_=h+An(_),t.accuracy){var M=On({northing:t.northing+t.accuracy,easting:t.easting+t.accuracy,zoneLetter:t.zoneLetter,zoneNumber:t.zoneNumber});E={top:M.lat,right:M.lon,bottom:w,left:_}}else E={lat:w,lon:_};return E}function Tn(t){var e="Z";return 84>=t&&t>=72?e="X":72>t&&t>=64?e="W":64>t&&t>=56?e="V":56>t&&t>=48?e="U":48>t&&t>=40?e="T":40>t&&t>=32?e="S":32>t&&t>=24?e="R":24>t&&t>=16?e="Q":16>t&&t>=8?e="P":8>t&&t>=0?e="N":0>t&&t>=-8?e="M":-8>t&&t>=-16?e="L":-16>t&&t>=-24?e="K":-24>t&&t>=-32?e="J":-32>t&&t>=-40?e="H":-40>t&&t>=-48?e="G":-48>t&&t>=-56?e="F":-56>t&&t>=-64?e="E":-64>t&&t>=-72?e="D":-72>t&&t>=-80&&(e="C"),e}function Rn(t){var e=t%yn;return 0===e&&(e=yn),e}function Pn(t){if(t&&0===t.length)throw"MGRSPoint coverting from nothing";for(var e,r=t.length,n=null,i="",o=0;!/[A-Z]/.test(e=t.charAt(o));){if(o>=2)throw"MGRSPoint bad conversion from: "+t;i+=e,o++}var s=parseInt(i,10);if(0===o||o+3>r)throw"MGRSPoint bad conversion from: "+t;var a=t.charAt(o++);if(a<="A"||"B"===a||"Y"===a||a>="Z"||"I"===a||"O"===a)throw"MGRSPoint zone letter "+a+" not handled: "+t;n=t.substring(o,o+=2);for(var u=Rn(s),c=function(t,e){var r=gn.charCodeAt(e-1),n=1e5,i=!1;for(;r!==t.charCodeAt(0);){if(++r===vn&&r++,r===wn&&r++,r>_n){if(i)throw"Bad character: "+t;r=bn,i=!0}n+=1e5}return n}(n.charAt(0),u),l=function(t,e){if(t>"V")throw"MGRSPoint given invalid Northing "+t;var r=mn.charCodeAt(e-1),n=0,i=!1;for(;r!==t.charCodeAt(0);){if(++r===vn&&r++,r===wn&&r++,r>En){if(i)throw"Bad character: "+t;r=bn,i=!0}n+=1e5}return n}(n.charAt(1),u);l0&&(f=1e5/Math.pow(10,y),p=t.substring(o,o+y),g=parseFloat(p)*f,d=t.substring(o+y),m=parseFloat(d)*f),{easting:g+c,northing:m+l,zoneLetter:a,zoneNumber:s,accuracy:f}}function Cn(t){var e;switch(t){case"C":e=11e5;break;case"D":e=2e6;break;case"E":e=28e5;break;case"F":e=37e5;break;case"G":e=46e5;break;case"H":e=55e5;break;case"J":e=64e5;break;case"K":e=73e5;break;case"L":e=82e5;break;case"M":e=91e5;break;case"N":e=0;break;case"P":e=8e5;break;case"Q":e=17e5;break;case"R":e=26e5;break;case"S":e=35e5;break;case"T":e=44e5;break;case"U":e=53e5;break;case"V":e=62e5;break;case"W":e=7e6;break;case"X":e=79e5;break;default:e=-1}if(e>=0)return e;throw"Invalid zone letter: "+t}var jn=r(5108);function In(t,e,r){if(!(this instanceof In))return new In(t,e,r);if(Array.isArray(t))this.x=t[0],this.y=t[1],this.z=t[2]||0;else if("object"==typeof t)this.x=t.x,this.y=t.y,this.z=t.z||0;else if("string"==typeof t&&void 0===e){var n=t.split(",");this.x=parseFloat(n[0],10),this.y=parseFloat(n[1],10),this.z=parseFloat(n[2],10)||0}else this.x=t,this.y=e,this.z=r||0;jn.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}In.fromMGRS=function(t){return new In(xn(t))},In.prototype.toMGRS=function(t){return Sn([this.x,this.y],t)};const Ln=In;var kn=1,Dn=.25,qn=.046875,Fn=.01953125,Un=.01068115234375,Bn=.75,Gn=.46875,Hn=.013020833333333334,Vn=.007120768229166667,zn=.3645833333333333,Wn=.005696614583333333,$n=.3076171875;function Jn(t){var e=[];e[0]=kn-t*(Dn+t*(qn+t*(Fn+t*Un))),e[1]=t*(Bn-t*(qn+t*(Fn+t*Un)));var r=t*t;return e[2]=r*(Gn-t*(Hn+t*Vn)),r*=t,e[3]=r*(zn-t*Wn),e[4]=r*t*$n,e}function Yn(t,e,r,n){return r*=e,e*=e,n[0]*t-r*(n[1]+e*(n[2]+e*(n[3]+e*n[4])))}var Xn=20;function Qn(t,e,r){for(var n=1/(1-e),i=t,o=Xn;o;--o){var s=Math.sin(i),a=1-e*s*s;if(i-=a=(Yn(i,s,Math.cos(i),r)-t)*(a*Math.sqrt(a))*n,Math.abs(a)<$e)return i}return i}const Kn={init:function(){this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.es&&(this.en=Jn(this.es),this.ml0=Yn(this.lat0,Math.sin(this.lat0),Math.cos(this.lat0),this.en))},forward:function(t){var e,r,n,i=t.x,o=t.y,s=Nr(i-this.long0),a=Math.sin(o),u=Math.cos(o);if(this.es){var c=u*s,l=Math.pow(c,2),h=this.ep2*Math.pow(u,2),f=Math.pow(h,2),p=Math.abs(u)>$e?Math.tan(o):0,d=Math.pow(p,2),y=Math.pow(d,2);e=1-this.es*Math.pow(a,2),c/=Math.sqrt(e);var g=Yn(o,a,u,this.en);r=this.a*(this.k0*c*(1+l/6*(1-d+h+l/20*(5-18*d+y+14*h-58*d*h+l/42*(61+179*y-y*d-479*d)))))+this.x0,n=this.a*(this.k0*(g-this.ml0+a*s*c/2*(1+l/12*(5-d+9*h+4*f+l/30*(61+y-58*d+270*h-330*d*h+l/56*(1385+543*y-y*d-3111*d))))))+this.y0}else{var m=u*Math.sin(s);if(Math.abs(Math.abs(m)-1)<$e)return 93;if(r=.5*this.a*this.k0*Math.log((1+m)/(1-m))+this.x0,n=u*Math.cos(s)/Math.sqrt(1-Math.pow(m,2)),(m=Math.abs(n))>=1){if(m-1>$e)return 93;n=0}else n=Math.acos(n);o<0&&(n=-n),n=this.a*this.k0*(n-this.lat0)+this.y0}return t.x=r,t.y=n,t},inverse:function(t){var e,r,n,i,o=(t.x-this.x0)*(1/this.a),s=(t.y-this.y0)*(1/this.a);if(this.es)if(r=Qn(e=this.ml0+s/this.k0,this.es,this.en),Math.abs(r)$e?Math.tan(r):0,l=this.ep2*Math.pow(u,2),h=Math.pow(l,2),f=Math.pow(c,2),p=Math.pow(f,2);e=1-this.es*Math.pow(a,2);var d=o*Math.sqrt(e)/this.k0,y=Math.pow(d,2);n=r-(e*=c)*y/(1-this.es)*.5*(1-y/12*(5+3*f-9*l*f+l-4*h-y/30*(61+90*f-252*l*f+45*p+46*l-y/56*(1385+3633*f+4095*p+1574*p*f)))),i=Nr(this.long0+d*(1-y/6*(1+2*f+l-y/20*(5+28*f+24*p+8*l*f+6*l-y/42*(61+662*f+1320*p+720*p*f))))/u)}else n=He*xr(s),i=0;else{var g=Math.exp(o/this.k0),m=.5*(g-1/g),b=this.lat0+s/this.k0,v=Math.cos(b);e=Math.sqrt((1-Math.pow(v,2))/(1+Math.pow(m,2))),n=Math.asin(e),s<0&&(n=-n),i=0===m&&0===v?0:Nr(Math.atan2(m,v)+this.long0)}return t.x=i,t.y=n,t},names:["Fast_Transverse_Mercator","Fast Transverse Mercator"]};function Zn(t){var e=Math.exp(t);return e=(e-1/e)/2}function ti(t,e){t=Math.abs(t),e=Math.abs(e);var r=Math.max(t,e),n=Math.min(t,e)/(r||1);return r*Math.sqrt(1+Math.pow(n,2))}function ei(t){var e=Math.abs(t);return e=function(t){var e=1+t,r=e-1;return 0===r?t:t*Math.log(e)/r}(e*(1+e/(ti(1,e)+1))),t<0?-e:e}function ri(t,e){for(var r,n=2*Math.cos(2*e),i=t.length-1,o=t[i],s=0;--i>=0;)r=n*o-s+t[i],s=o,o=r;return e+r*Math.sin(2*e)}function ni(t,e,r){for(var n,i,o=Math.sin(e),s=Math.cos(e),a=Zn(r),u=function(t){var e=Math.exp(t);return(e+1/e)/2}(r),c=2*s*u,l=-2*o*a,h=t.length-1,f=t[h],p=0,d=0,y=0;--h>=0;)n=d,i=p,f=c*(d=f)-n-l*(p=y)+t[h],y=l*d-i+c*p;return[(c=o*u)*f-(l=s*a)*y,c*y+l*f]}const ii={init:function(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(Kn.init.apply(this),this.forward=Kn.forward,this.inverse=Kn.inverse),this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var t=this.es/(1+Math.sqrt(1-this.es)),e=t/(2-t),r=e;this.cgb[0]=e*(2+e*(-2/3+e*(e*(116/45+e*(26/45+e*(-2854/675)))-2))),this.cbg[0]=e*(e*(2/3+e*(4/3+e*(-82/45+e*(32/45+e*(4642/4725)))))-2),r*=e,this.cgb[1]=r*(7/3+e*(e*(-227/45+e*(2704/315+e*(2323/945)))-1.6)),this.cbg[1]=r*(5/3+e*(-16/15+e*(-13/9+e*(904/315+e*(-1522/945))))),r*=e,this.cgb[2]=r*(56/15+e*(-136/35+e*(-1262/105+e*(73814/2835)))),this.cbg[2]=r*(-26/15+e*(34/21+e*(1.6+e*(-12686/2835)))),r*=e,this.cgb[3]=r*(4279/630+e*(-332/35+e*(-399572/14175))),this.cbg[3]=r*(1237/630+e*(e*(-24832/14175)-2.4)),r*=e,this.cgb[4]=r*(4174/315+e*(-144838/6237)),this.cbg[4]=r*(-734/315+e*(109598/31185)),r*=e,this.cgb[5]=r*(601676/22275),this.cbg[5]=r*(444337/155925),r=Math.pow(e,2),this.Qn=this.k0/(1+e)*(1+r*(1/4+r*(1/64+r/256))),this.utg[0]=e*(e*(2/3+e*(-37/96+e*(1/360+e*(81/512+e*(-96199/604800)))))-.5),this.gtu[0]=e*(.5+e*(-2/3+e*(5/16+e*(41/180+e*(-127/288+e*(7891/37800)))))),this.utg[1]=r*(-1/48+e*(-1/15+e*(437/1440+e*(-46/105+e*(1118711/3870720))))),this.gtu[1]=r*(13/48+e*(e*(557/1440+e*(281/630+e*(-1983433/1935360)))-.6)),r*=e,this.utg[2]=r*(-17/480+e*(37/840+e*(209/4480+e*(-5569/90720)))),this.gtu[2]=r*(61/240+e*(-103/140+e*(15061/26880+e*(167603/181440)))),r*=e,this.utg[3]=r*(-4397/161280+e*(11/504+e*(830251/7257600))),this.gtu[3]=r*(49561/161280+e*(-179/168+e*(6601661/7257600))),r*=e,this.utg[4]=r*(-4583/161280+e*(108847/3991680)),this.gtu[4]=r*(34729/80640+e*(-3418889/1995840)),r*=e,this.utg[5]=r*(-20648693/638668800),this.gtu[5]=.6650675310896665*r;var n=ri(this.cbg,this.lat0);this.Zb=-this.Qn*(n+function(t,e){for(var r,n=2*Math.cos(e),i=t.length-1,o=t[i],s=0;--i>=0;)r=n*o-s+t[i],s=o,o=r;return Math.sin(e)*r}(this.gtu,2*n))},forward:function(t){var e=Nr(t.x-this.long0),r=t.y;r=ri(this.cbg,r);var n=Math.sin(r),i=Math.cos(r),o=Math.sin(e),s=Math.cos(e);r=Math.atan2(n,s*i),e=Math.atan2(o*i,ti(n,i*s)),e=ei(Math.tan(e));var a,u,c=ni(this.gtu,2*r,2*e);return r+=c[0],e+=c[1],Math.abs(e)<=2.623395162778?(a=this.a*(this.Qn*e)+this.x0,u=this.a*(this.Qn*r+this.Zb)+this.y0):(a=1/0,u=1/0),t.x=a,t.y=u,t},inverse:function(t){var e,r,n=(t.x-this.x0)*(1/this.a),i=(t.y-this.y0)*(1/this.a);if(i=(i-this.Zb)/this.Qn,n/=this.Qn,Math.abs(n)<=2.623395162778){var o=ni(this.utg,2*i,2*n);i+=o[0],n+=o[1],n=Math.atan(Zn(n));var s=Math.sin(i),a=Math.cos(i),u=Math.sin(n),c=Math.cos(n);i=Math.atan2(s*c,ti(u,c*a)),e=Nr((n=Math.atan2(u,c*a))+this.long0),r=ri(this.cgb,i)}else e=1/0,r=1/0;return t.x=e,t.y=r,t},names:["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","tmerc"]};const oi={init:function(){var t=function(t,e){if(void 0===t){if((t=Math.floor(30*(Nr(e)+Math.PI)/Math.PI)+1)<0)return 0;if(t>60)return 60}return t}(this.zone,this.long0);if(void 0===t)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(t)-183)*Je,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,ii.init.apply(this),this.forward=ii.forward,this.inverse=ii.inverse},names:["Universal Transverse Mercator System","utm"],dependsOn:"etmerc"};function si(t,e){return Math.pow((1-t)/(1+t),e)}const ai={init:function(){var t=Math.sin(this.lat0),e=Math.cos(this.lat0);e*=e,this.rc=Math.sqrt(1-this.es)/(1-this.es*t*t),this.C=Math.sqrt(1+this.es*e*e/(1-this.es)),this.phic0=Math.asin(t/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+Xe)/(Math.pow(Math.tan(.5*this.lat0+Xe),this.C)*si(this.e*t,this.ratexp))},forward:function(t){var e=t.x,r=t.y;return t.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*r+Xe),this.C)*si(this.e*Math.sin(r),this.ratexp))-He,t.x=this.C*e,t},inverse:function(t){for(var e=t.x/this.C,r=t.y,n=Math.pow(Math.tan(.5*r+Xe)/this.K,1/this.C),i=20;i>0&&(r=2*Math.atan(n*si(this.e*Math.sin(t.y),-.5*this.e))-He,!(Math.abs(r-t.y)<1e-14));--i)t.y=r;return i?(t.x=e,t.y=r,t):null},names:["gauss"]};const ui={init:function(){ai.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},forward:function(t){var e,r,n,i;return t.x=Nr(t.x-this.long0),ai.forward.apply(this,[t]),e=Math.sin(t.y),r=Math.cos(t.y),n=Math.cos(t.x),i=this.k0*this.R2/(1+this.sinc0*e+this.cosc0*r*n),t.x=i*r*Math.sin(t.x),t.y=i*(this.cosc0*e-this.sinc0*r*n),t.x=this.a*t.x+this.x0,t.y=this.a*t.y+this.y0,t},inverse:function(t){var e,r,n,i,o;if(t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,o=Math.sqrt(t.x*t.x+t.y*t.y)){var s=2*Math.atan2(o,this.R2);e=Math.sin(s),r=Math.cos(s),i=Math.asin(r*this.sinc0+t.y*e*this.cosc0/o),n=Math.atan2(t.x*e,o*this.cosc0*r-t.y*this.sinc0*e)}else i=this.phic0,n=0;return t.x=n,t.y=i,ai.inverse.apply(this,[t]),t.x=Nr(t.x+this.long0),t},names:["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative","Double_Stereographic"]};const ci={init:function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=$e&&(this.k0=.5*(1+xr(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=$e&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=$e&&(this.k0=.5*this.cons*Sr(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/Ar(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=Sr(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-He,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},forward:function(t){var e,r,n,i,o,s,a=t.x,u=t.y,c=Math.sin(u),l=Math.cos(u),h=Nr(a-this.long0);return Math.abs(Math.abs(a-this.long0)-Math.PI)<=$e&&Math.abs(u+this.lat0)<=$e?(t.x=NaN,t.y=NaN,t):this.sphere?(e=2*this.k0/(1+this.sinlat0*c+this.coslat0*l*Math.cos(h)),t.x=this.a*e*l*Math.sin(h)+this.x0,t.y=this.a*e*(this.coslat0*c-this.sinlat0*l*Math.cos(h))+this.y0,t):(r=2*Math.atan(this.ssfn_(u,c,this.e))-He,i=Math.cos(r),n=Math.sin(r),Math.abs(this.coslat0)<=$e?(o=Ar(this.e,u*this.con,this.con*c),s=2*this.a*this.k0*o/this.cons,t.x=this.x0+s*Math.sin(a-this.long0),t.y=this.y0-this.con*s*Math.cos(a-this.long0),t):(Math.abs(this.sinlat0)<$e?(e=2*this.a*this.k0/(1+i*Math.cos(h)),t.y=e*n):(e=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*n+this.cosX0*i*Math.cos(h))),t.y=e*(this.cosX0*n-this.sinX0*i*Math.cos(h))+this.y0),t.x=e*i*Math.sin(h)+this.x0,t))},inverse:function(t){var e,r,n,i,o;t.x-=this.x0,t.y-=this.y0;var s=Math.sqrt(t.x*t.x+t.y*t.y);if(this.sphere){var a=2*Math.atan(s/(2*this.a*this.k0));return e=this.long0,r=this.lat0,s<=$e?(t.x=e,t.y=r,t):(r=Math.asin(Math.cos(a)*this.sinlat0+t.y*Math.sin(a)*this.coslat0/s),e=Math.abs(this.coslat0)<$e?this.lat0>0?Nr(this.long0+Math.atan2(t.x,-1*t.y)):Nr(this.long0+Math.atan2(t.x,t.y)):Nr(this.long0+Math.atan2(t.x*Math.sin(a),s*this.coslat0*Math.cos(a)-t.y*this.sinlat0*Math.sin(a))),t.x=e,t.y=r,t)}if(Math.abs(this.coslat0)<=$e){if(s<=$e)return r=this.lat0,e=this.long0,t.x=e,t.y=r,t;t.x*=this.con,t.y*=this.con,n=s*this.cons/(2*this.a*this.k0),r=this.con*Or(this.e,n),e=this.con*Nr(this.con*this.long0+Math.atan2(t.x,-1*t.y))}else i=2*Math.atan(s*this.cosX0/(2*this.a*this.k0*this.ms1)),e=this.long0,s<=$e?o=this.X0:(o=Math.asin(Math.cos(i)*this.sinX0+t.y*Math.sin(i)*this.cosX0/s),e=Nr(this.long0+Math.atan2(t.x*Math.sin(i),s*this.cosX0*Math.cos(i)-t.y*this.sinX0*Math.sin(i)))),r=-1*Or(this.e,Math.tan(.5*(He+o)));return t.x=e,t.y=r,t},names:["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"],ssfn_:function(t,e,r){return e*=r,Math.tan(.5*(He+t))*Math.pow((1-e)/(1+e),.5*r)}};const li={init:function(){var t=this.lat0;this.lambda0=this.long0;var e=Math.sin(t),r=this.a,n=1/this.rf,i=2*n-Math.pow(n,2),o=this.e=Math.sqrt(i);this.R=this.k0*r*Math.sqrt(1-i)/(1-i*Math.pow(e,2)),this.alpha=Math.sqrt(1+i/(1-i)*Math.pow(Math.cos(t),4)),this.b0=Math.asin(e/this.alpha);var s=Math.log(Math.tan(Math.PI/4+this.b0/2)),a=Math.log(Math.tan(Math.PI/4+t/2)),u=Math.log((1+o*e)/(1-o*e));this.K=s-this.alpha*a+this.alpha*o/2*u},forward:function(t){var e=Math.log(Math.tan(Math.PI/4-t.y/2)),r=this.e/2*Math.log((1+this.e*Math.sin(t.y))/(1-this.e*Math.sin(t.y))),n=-this.alpha*(e+r)+this.K,i=2*(Math.atan(Math.exp(n))-Math.PI/4),o=this.alpha*(t.x-this.lambda0),s=Math.atan(Math.sin(o)/(Math.sin(this.b0)*Math.tan(i)+Math.cos(this.b0)*Math.cos(o))),a=Math.asin(Math.cos(this.b0)*Math.sin(i)-Math.sin(this.b0)*Math.cos(i)*Math.cos(o));return t.y=this.R/2*Math.log((1+Math.sin(a))/(1-Math.sin(a)))+this.y0,t.x=this.R*s+this.x0,t},inverse:function(t){for(var e=t.x-this.x0,r=t.y-this.y0,n=e/this.R,i=2*(Math.atan(Math.exp(r/this.R))-Math.PI/4),o=Math.asin(Math.cos(this.b0)*Math.sin(i)+Math.sin(this.b0)*Math.cos(i)*Math.cos(n)),s=Math.atan(Math.sin(n)/(Math.cos(this.b0)*Math.cos(n)-Math.sin(this.b0)*Math.tan(i))),a=this.lambda0+s/this.alpha,u=0,c=o,l=-1e3,h=0;Math.abs(c-l)>1e-7;){if(++h>20)return;u=1/this.alpha*(Math.log(Math.tan(Math.PI/4+o/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(c))/2)),l=c,c=2*Math.atan(Math.exp(u))-Math.PI/2}return t.x=a,t.y=c,t},names:["somerc"]};var hi=1e-7;const fi={init:function(){var t,e,r,n,i,o,s,a,u,c,l,h,f,p=0,d=0,y=0,g=0,m=0,b=0,v=0;this.no_off=(f="object"==typeof(h=this).PROJECTION?Object.keys(h.PROJECTION)[0]:h.PROJECTION,"no_uoff"in h||"no_off"in h||-1!==["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"].indexOf(f)),this.no_rot="no_rot"in this;var w=!1;"alpha"in this&&(w=!0);var E=!1;if("rectified_grid_angle"in this&&(E=!0),w&&(v=this.alpha),E&&(p=this.rectified_grid_angle*Je),w||E)d=this.longc;else if(y=this.long1,m=this.lat1,g=this.long2,b=this.lat2,Math.abs(m-b)<=hi||(t=Math.abs(m))<=hi||Math.abs(t-He)<=hi||Math.abs(Math.abs(this.lat0)-He)<=hi||Math.abs(Math.abs(b)-He)<=hi)throw new Error;var _=1-this.es;e=Math.sqrt(_),Math.abs(this.lat0)>$e?(a=Math.sin(this.lat0),r=Math.cos(this.lat0),t=1-this.es*a*a,this.B=r*r,this.B=Math.sqrt(1+this.es*this.B*this.B/_),this.A=this.B*this.k0*e/t,(i=(n=this.B*e/(r*Math.sqrt(t)))*n-1)<=0?i=0:(i=Math.sqrt(i),this.lat0<0&&(i=-i)),this.E=i+=n,this.E*=Math.pow(Ar(this.e,this.lat0,a),this.B)):(this.B=1/e,this.A=this.k0,this.E=n=i=1),w||E?(w?(l=Math.asin(Math.sin(v)/n),E||(p=v)):(l=p,v=Math.asin(n*Math.sin(l))),this.lam0=d-Math.asin(.5*(i-1/i)*Math.tan(l))/this.B):(o=Math.pow(Ar(this.e,m,Math.sin(m)),this.B),s=Math.pow(Ar(this.e,b,Math.sin(b)),this.B),i=this.E/o,u=(s-o)/(s+o),c=((c=this.E*this.E)-s*o)/(c+s*o),(t=y-g)<-Math.pi?g-=Qe:t>Math.pi&&(g+=Qe),this.lam0=Nr(.5*(y+g)-Math.atan(c*Math.tan(.5*this.B*(y-g))/u)/this.B),l=Math.atan(2*Math.sin(this.B*Nr(y-this.lam0))/(i-1/i)),p=v=Math.asin(n*Math.sin(l))),this.singam=Math.sin(l),this.cosgam=Math.cos(l),this.sinrot=Math.sin(p),this.cosrot=Math.cos(p),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A,this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(n*n-1)/Math.cos(v))),this.lat0<0&&(this.u_0=-this.u_0)),i=.5*l,this.v_pole_n=this.ArB*Math.log(Math.tan(Xe-i)),this.v_pole_s=this.ArB*Math.log(Math.tan(Xe+i))},forward:function(t){var e,r,n,i,o,s,a,u,c={};if(t.x=t.x-this.lam0,Math.abs(Math.abs(t.y)-He)>$e){if(e=.5*((o=this.E/Math.pow(Ar(this.e,t.y,Math.sin(t.y)),this.B))-(s=1/o)),r=.5*(o+s),i=Math.sin(this.B*t.x),n=(e*this.singam-i*this.cosgam)/r,Math.abs(Math.abs(n)-1)<$e)throw new Error;u=.5*this.ArB*Math.log((1-n)/(1+n)),s=Math.cos(this.B*t.x),a=Math.abs(s)0?this.v_pole_n:this.v_pole_s,a=this.ArB*t.y;return this.no_rot?(c.x=a,c.y=u):(a-=this.u_0,c.x=u*this.cosrot+a*this.sinrot,c.y=a*this.cosrot-u*this.sinrot),c.x=this.a*c.x+this.x0,c.y=this.a*c.y+this.y0,c},inverse:function(t){var e,r,n,i,o,s,a,u={};if(t.x=(t.x-this.x0)*(1/this.a),t.y=(t.y-this.y0)*(1/this.a),this.no_rot?(r=t.y,e=t.x):(r=t.x*this.cosrot-t.y*this.sinrot,e=t.y*this.cosrot+t.x*this.sinrot+this.u_0),i=.5*((n=Math.exp(-this.BrA*r))-1/n),o=.5*(n+1/n),a=((s=Math.sin(this.BrA*e))*this.cosgam+i*this.singam)/o,Math.abs(Math.abs(a)-1)<$e)u.x=0,u.y=a<0?-He:He;else{if(u.y=this.E/Math.sqrt((1+a)/(1-a)),u.y=Or(this.e,Math.pow(u.y,1/this.B)),u.y===1/0)throw new Error;u.x=-this.rB*Math.atan2(i*this.cosgam-s*this.singam,Math.cos(this.BrA*e))}return u.x+=this.lam0,u},names:["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Two_Point_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","Oblique_Mercator","omerc"]};const pi={init:function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<$e)){var t=this.b/this.a;this.e=Math.sqrt(1-t*t);var e=Math.sin(this.lat1),r=Math.cos(this.lat1),n=Sr(this.e,e,r),i=Ar(this.e,this.lat1,e),o=Math.sin(this.lat2),s=Math.cos(this.lat2),a=Sr(this.e,o,s),u=Ar(this.e,this.lat2,o),c=Ar(this.e,this.lat0,Math.sin(this.lat0));Math.abs(this.lat1-this.lat2)>$e?this.ns=Math.log(n/a)/Math.log(i/u):this.ns=e,isNaN(this.ns)&&(this.ns=e),this.f0=n/(this.ns*Math.pow(i,this.ns)),this.rh=this.a*this.f0*Math.pow(c,this.ns),this.title||(this.title="Lambert Conformal Conic")}},forward:function(t){var e=t.x,r=t.y;Math.abs(2*Math.abs(r)-Math.PI)<=$e&&(r=xr(r)*(He-2*$e));var n,i,o=Math.abs(Math.abs(r)-He);if(o>$e)n=Ar(this.e,r,Math.sin(r)),i=this.a*this.f0*Math.pow(n,this.ns);else{if((o=r*this.ns)<=0)return null;i=0}var s=this.ns*Nr(e-this.long0);return t.x=this.k0*(i*Math.sin(s))+this.x0,t.y=this.k0*(this.rh-i*Math.cos(s))+this.y0,t},inverse:function(t){var e,r,n,i,o,s=(t.x-this.x0)/this.k0,a=this.rh-(t.y-this.y0)/this.k0;this.ns>0?(e=Math.sqrt(s*s+a*a),r=1):(e=-Math.sqrt(s*s+a*a),r=-1);var u=0;if(0!==e&&(u=Math.atan2(r*s,r*a)),0!==e||this.ns>0){if(r=1/this.ns,n=Math.pow(e/(this.a*this.f0),r),-9999===(i=Or(this.e,n)))return null}else i=-He;return o=Nr(u/this.ns+this.long0),t.x=o,t.y=i,t},names:["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc","Lambert Conic Conformal (1SP)","Lambert Conic Conformal (2SP)"]};const di={init:function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},forward:function(t){var e,r,n,i,o,s,a,u=t.x,c=t.y,l=Nr(u-this.long0);return e=Math.pow((1+this.e*Math.sin(c))/(1-this.e*Math.sin(c)),this.alfa*this.e/2),r=2*(Math.atan(this.k*Math.pow(Math.tan(c/2+this.s45),this.alfa)/e)-this.s45),n=-l*this.alfa,i=Math.asin(Math.cos(this.ad)*Math.sin(r)+Math.sin(this.ad)*Math.cos(r)*Math.cos(n)),o=Math.asin(Math.cos(r)*Math.sin(n)/Math.cos(i)),s=this.n*o,a=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(i/2+this.s45),this.n),t.y=a*Math.cos(s)/1,t.x=a*Math.sin(s)/1,this.czech||(t.y*=-1,t.x*=-1),t},inverse:function(t){var e,r,n,i,o,s,a,u=t.x;t.x=t.y,t.y=u,this.czech||(t.y*=-1,t.x*=-1),o=Math.sqrt(t.x*t.x+t.y*t.y),i=Math.atan2(t.y,t.x)/Math.sin(this.s0),n=2*(Math.atan(Math.pow(this.ro0/o,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),e=Math.asin(Math.cos(this.ad)*Math.sin(n)-Math.sin(this.ad)*Math.cos(n)*Math.cos(i)),r=Math.asin(Math.cos(n)*Math.sin(i)/Math.cos(e)),t.x=this.long0-r/this.alfa,s=e,a=0;var c=0;do{t.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(e/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(s))/(1-this.e*Math.sin(s)),this.e/2))-this.s45),Math.abs(s-t.y)<1e-10&&(a=1),s=t.y,c+=1}while(0===a&&c<15);return c>=15?null:t},names:["Krovak","krovak"]};function yi(t,e,r,n,i){return t*i-e*Math.sin(2*i)+r*Math.sin(4*i)-n*Math.sin(6*i)}function gi(t){return 1-.25*t*(1+t/16*(3+1.25*t))}function mi(t){return.375*t*(1+.25*t*(1+.46875*t))}function bi(t){return.05859375*t*t*(1+.75*t)}function vi(t){return t*t*t*(35/3072)}function wi(t,e,r){var n=e*r;return t/Math.sqrt(1-n*n)}function Ei(t){return Math.abs(t)1e-7?(1-t*t)*(e/(1-(r=t*e)*r)-.5/t*Math.log((1-r)/(1+r))):2*e}var xi=.3333333333333333,Ni=.17222222222222222,Ai=.10257936507936508,Oi=.06388888888888888,Ti=.0664021164021164,Ri=.016415012942191543;const Pi={init:function(){var t,e=Math.abs(this.lat0);if(Math.abs(e-He)<$e?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(e)<$e?this.mode=this.EQUIT:this.mode=this.OBLIQ,this.es>0)switch(this.qp=Si(this.e,1),this.mmf=.5/(1-this.es),this.apa=function(t){var e,r=[];return r[0]=t*xi,e=t*t,r[0]+=e*Ni,r[1]=e*Oi,e*=t,r[0]+=e*Ai,r[1]+=e*Ti,r[2]=e*Ri,r}(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),t=Math.sin(this.lat0),this.sinb1=Si(this.e,t)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*t*t)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},forward:function(t){var e,r,n,i,o,s,a,u,c,l,h=t.x,f=t.y;if(h=Nr(h-this.long0),this.sphere){if(o=Math.sin(f),l=Math.cos(f),n=Math.cos(h),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((r=this.mode===this.EQUIT?1+l*n:1+this.sinph0*o+this.cosph0*l*n)<=$e)return null;e=(r=Math.sqrt(2/r))*l*Math.sin(h),r*=this.mode===this.EQUIT?o:this.cosph0*o-this.sinph0*l*n}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(n=-n),Math.abs(f+this.lat0)<$e)return null;r=Xe-.5*f,e=(r=2*(this.mode===this.S_POLE?Math.cos(r):Math.sin(r)))*Math.sin(h),r*=n}}else{switch(a=0,u=0,c=0,n=Math.cos(h),i=Math.sin(h),o=Math.sin(f),s=Si(this.e,o),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(a=s/this.qp,u=Math.sqrt(1-a*a)),this.mode){case this.OBLIQ:c=1+this.sinb1*a+this.cosb1*u*n;break;case this.EQUIT:c=1+u*n;break;case this.N_POLE:c=He+f,s=this.qp-s;break;case this.S_POLE:c=f-He,s=this.qp+s}if(Math.abs(c)<$e)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:c=Math.sqrt(2/c),r=this.mode===this.OBLIQ?this.ymf*c*(this.cosb1*a-this.sinb1*u*n):(c=Math.sqrt(2/(1+u*n)))*a*this.ymf,e=this.xmf*c*u*i;break;case this.N_POLE:case this.S_POLE:s>=0?(e=(c=Math.sqrt(s))*i,r=n*(this.mode===this.S_POLE?c:-c)):e=r=0}}return t.x=this.a*e+this.x0,t.y=this.a*r+this.y0,t},inverse:function(t){t.x-=this.x0,t.y-=this.y0;var e,r,n,i,o,s,a,u,c,l,h=t.x/this.a,f=t.y/this.a;if(this.sphere){var p,d=0,y=0;if((r=.5*(p=Math.sqrt(h*h+f*f)))>1)return null;switch(r=2*Math.asin(r),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(y=Math.sin(r),d=Math.cos(r)),this.mode){case this.EQUIT:r=Math.abs(p)<=$e?0:Math.asin(f*y/p),h*=y,f=d*p;break;case this.OBLIQ:r=Math.abs(p)<=$e?this.lat0:Math.asin(d*this.sinph0+f*y*this.cosph0/p),h*=y*this.cosph0,f=(d-Math.sin(r)*this.sinph0)*p;break;case this.N_POLE:f=-f,r=He-r;break;case this.S_POLE:r-=He}e=0!==f||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(h,f):0}else{if(a=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(h/=this.dd,f*=this.dd,(s=Math.sqrt(h*h+f*f))<$e)return t.x=this.long0,t.y=this.lat0,t;i=2*Math.asin(.5*s/this.rq),n=Math.cos(i),h*=i=Math.sin(i),this.mode===this.OBLIQ?(a=n*this.sinb1+f*i*this.cosb1/s,o=this.qp*a,f=s*this.cosb1*n-f*this.sinb1*i):(a=f*i/s,o=this.qp*a,f=s*n)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(f=-f),!(o=h*h+f*f))return t.x=this.long0,t.y=this.lat0,t;a=1-o/this.qp,this.mode===this.S_POLE&&(a=-a)}e=Math.atan2(h,f),u=Math.asin(a),c=this.apa,l=u+u,r=u+c[0]*Math.sin(l)+c[1]*Math.sin(l+l)+c[2]*Math.sin(l+l+l)}return t.x=Nr(this.long0+e),t.y=r,t},names:["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"],S_POLE:1,N_POLE:2,EQUIT:3,OBLIQ:4};function Ci(t){return Math.abs(t)>1&&(t=t>1?1:-1),Math.asin(t)}const ji={init:function(){Math.abs(this.lat1+this.lat2)<$e||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=Sr(this.e3,this.sin_po,this.cos_po),this.qs1=Si(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=Sr(this.e3,this.sin_po,this.cos_po),this.qs2=Si(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=Si(this.e3,this.sin_po,this.cos_po),Math.abs(this.lat1-this.lat2)>$e?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},forward:function(t){var e=t.x,r=t.y;this.sin_phi=Math.sin(r),this.cos_phi=Math.cos(r);var n=Si(this.e3,this.sin_phi,this.cos_phi),i=this.a*Math.sqrt(this.c-this.ns0*n)/this.ns0,o=this.ns0*Nr(e-this.long0),s=i*Math.sin(o)+this.x0,a=this.rh-i*Math.cos(o)+this.y0;return t.x=s,t.y=a,t},inverse:function(t){var e,r,n,i,o,s;return t.x-=this.x0,t.y=this.rh-t.y+this.y0,this.ns0>=0?(e=Math.sqrt(t.x*t.x+t.y*t.y),n=1):(e=-Math.sqrt(t.x*t.x+t.y*t.y),n=-1),i=0,0!==e&&(i=Math.atan2(n*t.x,n*t.y)),n=e*this.ns0/this.a,this.sphere?s=Math.asin((this.c-n*n)/(2*this.ns0)):(r=(this.c-n*n)/this.ns0,s=this.phi1z(this.e3,r)),o=Nr(i/this.ns0+this.long0),t.x=o,t.y=s,t},names:["Albers_Conic_Equal_Area","Albers","aea"],phi1z:function(t,e){var r,n,i,o,s=Ci(.5*e);if(t<$e)return s;for(var a=t*t,u=1;u<=25;u++)if(s+=o=.5*(i=1-(n=t*(r=Math.sin(s)))*n)*i/Math.cos(s)*(e/(1-a)-r/i+.5/t*Math.log((1-n)/(1+n))),Math.abs(o)<=1e-7)return s;return null}};const Ii={init:function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0),this.infinity_dist=1e3*this.a,this.rc=1},forward:function(t){var e,r,n,i,o,s,a,u=t.x,c=t.y;return n=Nr(u-this.long0),e=Math.sin(c),r=Math.cos(c),i=Math.cos(n),1,(o=this.sin_p14*e+this.cos_p14*r*i)>0||Math.abs(o)<=$e?(s=this.x0+1*this.a*r*Math.sin(n)/o,a=this.y0+1*this.a*(this.cos_p14*e-this.sin_p14*r*i)/o):(s=this.x0+this.infinity_dist*r*Math.sin(n),a=this.y0+this.infinity_dist*(this.cos_p14*e-this.sin_p14*r*i)),t.x=s,t.y=a,t},inverse:function(t){var e,r,n,i,o,s;return t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,(e=Math.sqrt(t.x*t.x+t.y*t.y))?(i=Math.atan2(e,this.rc),r=Math.sin(i),s=Ci((n=Math.cos(i))*this.sin_p14+t.y*r*this.cos_p14/e),o=Math.atan2(t.x*r,e*this.cos_p14*n-t.y*this.sin_p14*r),o=Nr(this.long0+o)):(s=this.phic0,o=0),t.x=o,t.y=s,t},names:["gnom"]};const Li={init:function(){this.sphere||(this.k0=Sr(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},forward:function(t){var e,r,n=t.x,i=t.y,o=Nr(n-this.long0);if(this.sphere)e=this.x0+this.a*o*Math.cos(this.lat_ts),r=this.y0+this.a*Math.sin(i)/Math.cos(this.lat_ts);else{var s=Si(this.e,Math.sin(i));e=this.x0+this.a*this.k0*o,r=this.y0+this.a*s*.5/this.k0}return t.x=e,t.y=r,t},inverse:function(t){var e,r;return t.x-=this.x0,t.y-=this.y0,this.sphere?(e=Nr(this.long0+t.x/this.a/Math.cos(this.lat_ts)),r=Math.asin(t.y/this.a*Math.cos(this.lat_ts))):(r=function(t,e){var r=1-(1-t*t)/(2*t)*Math.log((1-t)/(1+t));if(Math.abs(Math.abs(e)-r)<1e-6)return e<0?-1*He:He;for(var n,i,o,s,a=Math.asin(.5*e),u=0;u<30;u++)if(i=Math.sin(a),o=Math.cos(a),s=t*i,a+=n=Math.pow(1-s*s,2)/(2*o)*(e/(1-t*t)-i/(1-s*s)+.5/t*Math.log((1-s)/(1+s))),Math.abs(n)<=1e-10)return a;return NaN}(this.e,2*t.y*this.k0/this.a),e=Nr(this.long0+t.x/(this.a*this.k0))),t.x=e,t.y=r,t},names:["cea"]};const ki={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)},forward:function(t){var e=t.x,r=t.y,n=Nr(e-this.long0),i=Ei(r-this.lat0);return t.x=this.x0+this.a*n*this.rc,t.y=this.y0+this.a*i,t},inverse:function(t){var e=t.x,r=t.y;return t.x=Nr(this.long0+(e-this.x0)/(this.a*this.rc)),t.y=Ei(this.lat0+(r-this.y0)/this.a),t},names:["Equirectangular","Equidistant_Cylindrical","eqc"]};const Di={init:function(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=gi(this.es),this.e1=mi(this.es),this.e2=bi(this.es),this.e3=vi(this.es),this.ml0=this.a*yi(this.e0,this.e1,this.e2,this.e3,this.lat0)},forward:function(t){var e,r,n,i=t.x,o=t.y,s=Nr(i-this.long0);if(n=s*Math.sin(o),this.sphere)Math.abs(o)<=$e?(e=this.a*s,r=-1*this.a*this.lat0):(e=this.a*Math.sin(n)/Math.tan(o),r=this.a*(Ei(o-this.lat0)+(1-Math.cos(n))/Math.tan(o)));else if(Math.abs(o)<=$e)e=this.a*s,r=-1*this.ml0;else{var a=wi(this.a,this.e,Math.sin(o))/Math.tan(o);e=a*Math.sin(n),r=this.a*yi(this.e0,this.e1,this.e2,this.e3,o)-this.ml0+a*(1-Math.cos(n))}return t.x=e+this.x0,t.y=r+this.y0,t},inverse:function(t){var e,r,n,i,o,s,a,u,c;if(n=t.x-this.x0,i=t.y-this.y0,this.sphere)if(Math.abs(i+this.a*this.lat0)<=$e)e=Nr(n/this.a+this.long0),r=0;else{var l;for(s=this.lat0+i/this.a,a=n*n/this.a/this.a+s*s,u=s,o=20;o;--o)if(u+=c=-1*(s*(u*(l=Math.tan(u))+1)-u-.5*(u*u+a)*l)/((u-s)/l-1),Math.abs(c)<=$e){r=u;break}e=Nr(this.long0+Math.asin(n*Math.tan(u)/this.a)/Math.sin(r))}else if(Math.abs(i+this.ml0)<=$e)r=0,e=Nr(this.long0+n/this.a);else{var h,f,p,d,y;for(s=(this.ml0+i)/this.a,a=n*n/this.a/this.a+s*s,u=s,o=20;o;--o)if(y=this.e*Math.sin(u),h=Math.sqrt(1-y*y)*Math.tan(u),f=this.a*yi(this.e0,this.e1,this.e2,this.e3,u),p=this.e0-2*this.e1*Math.cos(2*u)+4*this.e2*Math.cos(4*u)-6*this.e3*Math.cos(6*u),u-=c=(s*(h*(d=f/this.a)+1)-d-.5*h*(d*d+a))/(this.es*Math.sin(2*u)*(d*d+a-2*s*d)/(4*h)+(s-d)*(h*p-2/Math.sin(2*u))-p),Math.abs(c)<=$e){r=u;break}h=Math.sqrt(1-this.es*Math.pow(Math.sin(r),2))*Math.tan(r),e=Nr(this.long0+Math.asin(n*h/this.a)/Math.sin(r))}return t.x=e,t.y=r,t},names:["Polyconic","poly"]};const qi={init:function(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013},forward:function(t){var e,r=t.x,n=t.y-this.lat0,i=r-this.long0,o=n/Ge*1e-5,s=i,a=1,u=0;for(e=1;e<=10;e++)a*=o,u+=this.A[e]*a;var c,l=u,h=s,f=1,p=0,d=0,y=0;for(e=1;e<=6;e++)c=p*l+f*h,f=f*l-p*h,p=c,d=d+this.B_re[e]*f-this.B_im[e]*p,y=y+this.B_im[e]*f+this.B_re[e]*p;return t.x=y*this.a+this.x0,t.y=d*this.a+this.y0,t},inverse:function(t){var e,r,n=t.x,i=t.y,o=n-this.x0,s=(i-this.y0)/this.a,a=o/this.a,u=1,c=0,l=0,h=0;for(e=1;e<=6;e++)r=c*s+u*a,u=u*s-c*a,c=r,l=l+this.C_re[e]*u-this.C_im[e]*c,h=h+this.C_im[e]*u+this.C_re[e]*c;for(var f=0;f.999999999999&&(r=.999999999999),e=Math.asin(r);var n=Nr(this.long0+t.x/(.900316316158*this.a*Math.cos(e)));n<-Math.PI&&(n=-Math.PI),n>Math.PI&&(n=Math.PI),r=(2*e+Math.sin(2*e))/Math.PI,Math.abs(r)>1&&(r=1);var i=Math.asin(r);return t.x=n,t.y=i,t},names:["Mollweide","moll"]};const Gi={init:function(){Math.abs(this.lat1+this.lat2)<$e||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=gi(this.es),this.e1=mi(this.es),this.e2=bi(this.es),this.e3=vi(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=Sr(this.e,this.sinphi,this.cosphi),this.ml1=yi(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<$e?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=Sr(this.e,this.sinphi,this.cosphi),this.ml2=yi(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=yi(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},forward:function(t){var e,r=t.x,n=t.y;if(this.sphere)e=this.a*(this.g-n);else{var i=yi(this.e0,this.e1,this.e2,this.e3,n);e=this.a*(this.g-i)}var o=this.ns*Nr(r-this.long0),s=this.x0+e*Math.sin(o),a=this.y0+this.rh-e*Math.cos(o);return t.x=s,t.y=a,t},inverse:function(t){var e,r,n,i;t.x-=this.x0,t.y=this.rh-t.y+this.y0,this.ns>=0?(r=Math.sqrt(t.x*t.x+t.y*t.y),e=1):(r=-Math.sqrt(t.x*t.x+t.y*t.y),e=-1);var o=0;return 0!==r&&(o=Math.atan2(e*t.x,e*t.y)),this.sphere?(i=Nr(this.long0+o/this.ns),n=Ei(this.g-r/this.a),t.x=i,t.y=n,t):(n=_i(this.g-r/this.a,this.e0,this.e1,this.e2,this.e3),i=Nr(this.long0+o/this.ns),t.x=i,t.y=n,t)},names:["Equidistant_Conic","eqdc"]};const Hi={init:function(){this.R=this.a},forward:function(t){var e,r,n=t.x,i=t.y,o=Nr(n-this.long0);Math.abs(i)<=$e&&(e=this.x0+this.R*o,r=this.y0);var s=Ci(2*Math.abs(i/Math.PI));(Math.abs(o)<=$e||Math.abs(Math.abs(i)-He)<=$e)&&(e=this.x0,r=i>=0?this.y0+Math.PI*this.R*Math.tan(.5*s):this.y0+Math.PI*this.R*-Math.tan(.5*s));var a=.5*Math.abs(Math.PI/o-o/Math.PI),u=a*a,c=Math.sin(s),l=Math.cos(s),h=l/(c+l-1),f=h*h,p=h*(2/c-1),d=p*p,y=Math.PI*this.R*(a*(h-d)+Math.sqrt(u*(h-d)*(h-d)-(d+u)*(f-d)))/(d+u);o<0&&(y=-y),e=this.x0+y;var g=u+h;return y=Math.PI*this.R*(p*g-a*Math.sqrt((d+u)*(u+1)-g*g))/(d+u),r=i>=0?this.y0+y:this.y0-y,t.x=e,t.y=r,t},inverse:function(t){var e,r,n,i,o,s,a,u,c,l,h,f;return t.x-=this.x0,t.y-=this.y0,h=Math.PI*this.R,o=(n=t.x/h)*n+(i=t.y/h)*i,h=3*(i*i/(u=-2*(s=-Math.abs(i)*(1+o))+1+2*i*i+o*o)+(2*(a=s-2*i*i+n*n)*a*a/u/u/u-9*s*a/u/u)/27)/(c=(s-a*a/3/u)/u)/(l=2*Math.sqrt(-c/3)),Math.abs(h)>1&&(h=h>=0?1:-1),f=Math.acos(h)/3,r=t.y>=0?(-l*Math.cos(f+Math.PI/3)-a/3/u)*Math.PI:-(-l*Math.cos(f+Math.PI/3)-a/3/u)*Math.PI,e=Math.abs(n)<$e?this.long0:Nr(this.long0+Math.PI*(o-1+Math.sqrt(1+2*(n*n-i*i)+o*o))/2/n),t.x=e,t.y=r,t},names:["Van_der_Grinten_I","VanDerGrinten","vandg"]};const Vi={init:function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},forward:function(t){var e,r,n,i,o,s,a,u,c,l,h,f,p,d,y,g,m,b,v,w,E,_,M=t.x,S=t.y,x=Math.sin(t.y),N=Math.cos(t.y),A=Nr(M-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=$e?(t.x=this.x0+this.a*(He-S)*Math.sin(A),t.y=this.y0-this.a*(He-S)*Math.cos(A),t):Math.abs(this.sin_p12+1)<=$e?(t.x=this.x0+this.a*(He+S)*Math.sin(A),t.y=this.y0+this.a*(He+S)*Math.cos(A),t):(b=this.sin_p12*x+this.cos_p12*N*Math.cos(A),m=(g=Math.acos(b))?g/Math.sin(g):1,t.x=this.x0+this.a*m*N*Math.sin(A),t.y=this.y0+this.a*m*(this.cos_p12*x-this.sin_p12*N*Math.cos(A)),t):(e=gi(this.es),r=mi(this.es),n=bi(this.es),i=vi(this.es),Math.abs(this.sin_p12-1)<=$e?(o=this.a*yi(e,r,n,i,He),s=this.a*yi(e,r,n,i,S),t.x=this.x0+(o-s)*Math.sin(A),t.y=this.y0-(o-s)*Math.cos(A),t):Math.abs(this.sin_p12+1)<=$e?(o=this.a*yi(e,r,n,i,He),s=this.a*yi(e,r,n,i,S),t.x=this.x0+(o+s)*Math.sin(A),t.y=this.y0+(o+s)*Math.cos(A),t):(a=x/N,u=wi(this.a,this.e,this.sin_p12),c=wi(this.a,this.e,x),l=Math.atan((1-this.es)*a+this.es*u*this.sin_p12/(c*N)),v=0===(h=Math.atan2(Math.sin(A),this.cos_p12*Math.tan(l)-this.sin_p12*Math.cos(A)))?Math.asin(this.cos_p12*Math.sin(l)-this.sin_p12*Math.cos(l)):Math.abs(Math.abs(h)-Math.PI)<=$e?-Math.asin(this.cos_p12*Math.sin(l)-this.sin_p12*Math.cos(l)):Math.asin(Math.sin(A)*Math.cos(l)/Math.sin(h)),f=this.e*this.sin_p12/Math.sqrt(1-this.es),g=u*v*(1-(w=v*v)*(y=(p=this.e*this.cos_p12*Math.cos(h)/Math.sqrt(1-this.es))*p)*(1-y)/6+(E=w*v)/8*(d=f*p)*(1-2*y)+(_=E*v)/120*(y*(4-7*y)-3*f*f*(1-7*y))-_*v/48*d),t.x=this.x0+g*Math.sin(h),t.y=this.y0+g*Math.cos(h),t))},inverse:function(t){var e,r,n,i,o,s,a,u,c,l,h,f,p,d,y,g,m,b,v,w,E,_,M;if(t.x-=this.x0,t.y-=this.y0,this.sphere){if((e=Math.sqrt(t.x*t.x+t.y*t.y))>2*He*this.a)return;return r=e/this.a,n=Math.sin(r),i=Math.cos(r),o=this.long0,Math.abs(e)<=$e?s=this.lat0:(s=Ci(i*this.sin_p12+t.y*n*this.cos_p12/e),a=Math.abs(this.lat0)-He,o=Math.abs(a)<=$e?this.lat0>=0?Nr(this.long0+Math.atan2(t.x,-t.y)):Nr(this.long0-Math.atan2(-t.x,t.y)):Nr(this.long0+Math.atan2(t.x*n,e*this.cos_p12*i-t.y*this.sin_p12*n))),t.x=o,t.y=s,t}return u=gi(this.es),c=mi(this.es),l=bi(this.es),h=vi(this.es),Math.abs(this.sin_p12-1)<=$e?(s=_i(((f=this.a*yi(u,c,l,h,He))-(e=Math.sqrt(t.x*t.x+t.y*t.y)))/this.a,u,c,l,h),o=Nr(this.long0+Math.atan2(t.x,-1*t.y)),t.x=o,t.y=s,t):Math.abs(this.sin_p12+1)<=$e?(f=this.a*yi(u,c,l,h,He),s=_i(((e=Math.sqrt(t.x*t.x+t.y*t.y))-f)/this.a,u,c,l,h),o=Nr(this.long0+Math.atan2(t.x,t.y)),t.x=o,t.y=s,t):(e=Math.sqrt(t.x*t.x+t.y*t.y),y=Math.atan2(t.x,t.y),p=wi(this.a,this.e,this.sin_p12),g=Math.cos(y),b=-(m=this.e*this.cos_p12*g)*m/(1-this.es),v=3*this.es*(1-b)*this.sin_p12*this.cos_p12*g/(1-this.es),_=1-b*(E=(w=e/p)-b*(1+b)*Math.pow(w,3)/6-v*(1+3*b)*Math.pow(w,4)/24)*E/2-w*E*E*E/6,d=Math.asin(this.sin_p12*Math.cos(E)+this.cos_p12*Math.sin(E)*g),o=Nr(this.long0+Math.asin(Math.sin(y)*Math.sin(E)/Math.cos(d))),M=Math.sin(d),s=Math.atan2((M-this.es*_*this.sin_p12)*Math.tan(d),M*(1-this.es)),t.x=o,t.y=s,t)},names:["Azimuthal_Equidistant","aeqd"]};const zi={init:function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)},forward:function(t){var e,r,n,i,o,s,a,u=t.x,c=t.y;return n=Nr(u-this.long0),e=Math.sin(c),r=Math.cos(c),i=Math.cos(n),1,((o=this.sin_p14*e+this.cos_p14*r*i)>0||Math.abs(o)<=$e)&&(s=1*this.a*r*Math.sin(n),a=this.y0+1*this.a*(this.cos_p14*e-this.sin_p14*r*i)),t.x=s,t.y=a,t},inverse:function(t){var e,r,n,i,o,s,a;return t.x-=this.x0,t.y-=this.y0,r=Ci((e=Math.sqrt(t.x*t.x+t.y*t.y))/this.a),n=Math.sin(r),i=Math.cos(r),s=this.long0,Math.abs(e)<=$e?(a=this.lat0,t.x=s,t.y=a,t):(a=Ci(i*this.sin_p14+t.y*n*this.cos_p14/e),o=Math.abs(this.lat0)-He,Math.abs(o)<=$e?(s=this.lat0>=0?Nr(this.long0+Math.atan2(t.x,-t.y)):Nr(this.long0-Math.atan2(-t.x,t.y)),t.x=s,t.y=a,t):(s=Nr(this.long0+Math.atan2(t.x*n,e*this.cos_p14*i-t.y*this.sin_p14*n)),t.x=s,t.y=a,t))},names:["ortho"]};var Wi=1,$i=2,Ji=3,Yi=4,Xi=5,Qi=6,Ki={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function Zi(t,e,r,n){var i;return t<$e?(n.value=Ki.AREA_0,i=0):(i=Math.atan2(e,r),Math.abs(i)<=Xe?n.value=Ki.AREA_0:i>Xe&&i<=He+Xe?(n.value=Ki.AREA_1,i-=He):i>He+Xe||i<=-(He+Xe)?(n.value=Ki.AREA_2,i=i>=0?i-Ke:i+Ke):(n.value=Ki.AREA_3,i+=He)),i}function to(t,e){var r=t+e;return r<-Ke?r+=Qe:r>+Ke&&(r-=Qe),r}const eo={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=He-Xe/2?this.face=Xi:this.lat0<=-(He-Xe/2)?this.face=Qi:Math.abs(this.long0)<=Xe?this.face=Wi:Math.abs(this.long0)<=He+Xe?this.face=this.long0>0?$i:Yi:this.face=Ji,0!==this.es&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)},forward:function(t){var e,r,n,i,o,s,a={x:0,y:0},u={value:0};if(t.x-=this.long0,e=0!==this.es?Math.atan(this.one_minus_f_squared*Math.tan(t.y)):t.y,r=t.x,this.face===Xi)i=He-e,r>=Xe&&r<=He+Xe?(u.value=Ki.AREA_0,n=r-He):r>He+Xe||r<=-(He+Xe)?(u.value=Ki.AREA_1,n=r>0?r-Ke:r+Ke):r>-(He+Xe)&&r<=-Xe?(u.value=Ki.AREA_2,n=r+He):(u.value=Ki.AREA_3,n=r);else if(this.face===Qi)i=He+e,r>=Xe&&r<=He+Xe?(u.value=Ki.AREA_0,n=-r+He):r=-Xe?(u.value=Ki.AREA_1,n=-r):r<-Xe&&r>=-(He+Xe)?(u.value=Ki.AREA_2,n=-r-He):(u.value=Ki.AREA_3,n=r>0?-r+Ke:-r-Ke);else{var c,l,h,f,p,d;this.face===$i?r=to(r,+He):this.face===Ji?r=to(r,+Ke):this.face===Yi&&(r=to(r,-He)),f=Math.sin(e),p=Math.cos(e),d=Math.sin(r),c=p*Math.cos(r),l=p*d,h=f,this.face===Wi?n=Zi(i=Math.acos(c),h,l,u):this.face===$i?n=Zi(i=Math.acos(l),h,-c,u):this.face===Ji?n=Zi(i=Math.acos(-c),h,-l,u):this.face===Yi?n=Zi(i=Math.acos(-l),h,c,u):(i=n=0,u.value=Ki.AREA_0)}return s=Math.atan(12/Ke*(n+Math.acos(Math.sin(n)*Math.cos(Xe))-He)),o=Math.sqrt((1-Math.cos(i))/(Math.cos(s)*Math.cos(s))/(1-Math.cos(Math.atan(1/Math.cos(n))))),u.value===Ki.AREA_1?s+=He:u.value===Ki.AREA_2?s+=Ke:u.value===Ki.AREA_3&&(s+=1.5*Ke),a.x=o*Math.cos(s),a.y=o*Math.sin(s),a.x=a.x*this.a+this.x0,a.y=a.y*this.a+this.y0,t.x=a.x,t.y=a.y,t},inverse:function(t){var e,r,n,i,o,s,a,u,c,l,h,f,p={lam:0,phi:0},d={value:0};if(t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,r=Math.atan(Math.sqrt(t.x*t.x+t.y*t.y)),e=Math.atan2(t.y,t.x),t.x>=0&&t.x>=Math.abs(t.y)?d.value=Ki.AREA_0:t.y>=0&&t.y>=Math.abs(t.x)?(d.value=Ki.AREA_1,e-=He):t.x<0&&-t.x>=Math.abs(t.y)?(d.value=Ki.AREA_2,e=e<0?e+Ke:e-Ke):(d.value=Ki.AREA_3,e+=He),c=Ke/12*Math.tan(e),o=Math.sin(c)/(Math.cos(c)-1/Math.sqrt(2)),s=Math.atan(o),(a=1-(n=Math.cos(e))*n*(i=Math.tan(r))*i*(1-Math.cos(Math.atan(1/Math.cos(s)))))<-1?a=-1:a>1&&(a=1),this.face===Xi)u=Math.acos(a),p.phi=He-u,d.value===Ki.AREA_0?p.lam=s+He:d.value===Ki.AREA_1?p.lam=s<0?s+Ke:s-Ke:d.value===Ki.AREA_2?p.lam=s-He:p.lam=s;else if(this.face===Qi)u=Math.acos(a),p.phi=u-He,d.value===Ki.AREA_0?p.lam=-s+He:d.value===Ki.AREA_1?p.lam=-s:d.value===Ki.AREA_2?p.lam=-s-He:p.lam=s<0?-s-Ke:-s+Ke;else{var y,g,m;c=(y=a)*y,g=(c+=(m=c>=1?0:Math.sqrt(1-c)*Math.sin(s))*m)>=1?0:Math.sqrt(1-c),d.value===Ki.AREA_1?(c=g,g=-m,m=c):d.value===Ki.AREA_2?(g=-g,m=-m):d.value===Ki.AREA_3&&(c=g,g=m,m=-c),this.face===$i?(c=y,y=-g,g=c):this.face===Ji?(y=-y,g=-g):this.face===Yi&&(c=y,y=g,g=-c),p.phi=Math.acos(-m)-He,p.lam=Math.atan2(g,y),this.face===$i?p.lam=to(p.lam,-He):this.face===Ji?p.lam=to(p.lam,-Ke):this.face===Yi&&(p.lam=to(p.lam,+He))}return 0!==this.es&&(l=p.phi<0?1:0,h=Math.tan(p.phi),f=this.b/Math.sqrt(h*h+this.one_minus_f_squared),p.phi=Math.atan(Math.sqrt(this.a*this.a-f*f)/(this.one_minus_f*f)),l&&(p.phi=-p.phi)),p.lam+=this.long0,t.x=p.lam,t.y=p.phi,t},names:["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"]};var ro=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-9.86701e-7],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,1.8736e-8],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,9.34959e-7],[.7986,-.00755338,-500009e-10,9.35324e-7],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],no=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-1.26793e-9,4.22642e-10],[.124,.0124,5.07171e-9,-1.60604e-9],[.186,.0123999,-1.90189e-8,6.00152e-9],[.248,.0124002,7.10039e-8,-2.24e-8],[.31,.0123992,-2.64997e-7,8.35986e-8],[.372,.0124029,9.88983e-7,-3.11994e-7],[.434,.0123893,-369093e-11,-4.35621e-7],[.4958,.0123198,-102252e-10,-3.45523e-7],[.5571,.0121916,-154081e-10,-5.82288e-7],[.6176,.0119938,-241424e-10,-5.25327e-7],[.6769,.011713,-320223e-10,-5.16405e-7],[.7346,.0113541,-397684e-10,-6.09052e-7],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-1.40374e-9],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],io=.8487,oo=1.3523,so=Ye/5,ao=1/so,uo=18,co=function(t,e){return t[0]+e*(t[1]+e*(t[2]+e*t[3]))};const lo={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,this.es=0,this.title=this.title||"Robinson"},forward:function(t){var e=Nr(t.x-this.long0),r=Math.abs(t.y),n=Math.floor(r*so);n<0?n=0:n>=uo&&(n=17);var i={x:co(ro[n],r=Ye*(r-ao*n))*e,y:co(no[n],r)};return t.y<0&&(i.y=-i.y),i.x=i.x*this.a*io+this.x0,i.y=i.y*this.a*oo+this.y0,i},inverse:function(t){var e={x:(t.x-this.x0)/(this.a*io),y:Math.abs(t.y-this.y0)/(this.a*oo)};if(e.y>=1)e.x/=ro[18][0],e.y=t.y<0?-He:He;else{var r=Math.floor(e.y*uo);for(r<0?r=0:r>=uo&&(r=17);;)if(no[r][0]>e.y)--r;else{if(!(no[r+1][0]<=e.y))break;++r}var n=no[r],i=5*(e.y-n[0])/(no[r+1][0]-n[0]);i=function(t,e,r,n){for(var i=e;n;--n){var o=t(i);if(i-=o,Math.abs(o)1e10)throw new Error;if(this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,0!==this.es){var t=1-this.es,e=1/t;this.radius_p=Math.sqrt(t),this.radius_p2=t,this.radius_p_inv2=e,this.shape="ellipse"}else this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape="sphere";this.title||(this.title="Geostationary Satellite View")},forward:function(t){var e,r,n,i,o=t.x,s=t.y;if(o-=this.long0,"ellipse"===this.shape){s=Math.atan(this.radius_p2*Math.tan(s));var a=this.radius_p/ti(this.radius_p*Math.cos(s),Math.sin(s));if(r=a*Math.cos(o)*Math.cos(s),n=a*Math.sin(o)*Math.cos(s),i=a*Math.sin(s),(this.radius_g-r)*r-n*n-i*i*this.radius_p_inv2<0)return t.x=Number.NaN,t.y=Number.NaN,t;e=this.radius_g-r,this.flip_axis?(t.x=this.radius_g_1*Math.atan(n/ti(i,e)),t.y=this.radius_g_1*Math.atan(i/e)):(t.x=this.radius_g_1*Math.atan(n/e),t.y=this.radius_g_1*Math.atan(i/ti(n,e)))}else"sphere"===this.shape&&(e=Math.cos(s),r=Math.cos(o)*e,n=Math.sin(o)*e,i=Math.sin(s),e=this.radius_g-r,this.flip_axis?(t.x=this.radius_g_1*Math.atan(n/ti(i,e)),t.y=this.radius_g_1*Math.atan(i/e)):(t.x=this.radius_g_1*Math.atan(n/e),t.y=this.radius_g_1*Math.atan(i/ti(n,e))));return t.x=t.x*this.a,t.y=t.y*this.a,t},inverse:function(t){var e,r,n,i,o=-1,s=0,a=0;if(t.x=t.x/this.a,t.y=t.y/this.a,"ellipse"===this.shape){this.flip_axis?(a=Math.tan(t.y/this.radius_g_1),s=Math.tan(t.x/this.radius_g_1)*ti(1,a)):(s=Math.tan(t.x/this.radius_g_1),a=Math.tan(t.y/this.radius_g_1)*ti(1,s));var u=a/this.radius_p;if(e=s*s+u*u+o*o,(n=(r=2*this.radius_g*o)*r-4*e*this.C)<0)return t.x=Number.NaN,t.y=Number.NaN,t;i=(-r-Math.sqrt(n))/(2*e),o=this.radius_g+i*o,s*=i,a*=i,t.x=Math.atan2(s,o),t.y=Math.atan(a*Math.cos(t.x)/o),t.y=Math.atan(this.radius_p_inv2*Math.tan(t.y))}else if("sphere"===this.shape){if(this.flip_axis?(a=Math.tan(t.y/this.radius_g_1),s=Math.tan(t.x/this.radius_g_1)*Math.sqrt(1+a*a)):(s=Math.tan(t.x/this.radius_g_1),a=Math.tan(t.y/this.radius_g_1)*Math.sqrt(1+s*s)),e=s*s+a*a+o*o,(n=(r=2*this.radius_g*o)*r-4*e*this.C)<0)return t.x=Number.NaN,t.y=Number.NaN,t;i=(-r-Math.sqrt(n))/(2*e),o=this.radius_g+i*o,s*=i,a*=i,t.x=Math.atan2(s,o),t.y=Math.atan(a*Math.cos(t.x)/o)}return t.x=t.x+this.long0,t},names:["Geostationary Satellite View","Geostationary_Satellite","geos"]};dn.defaultDatum="WGS84",dn.Proj=Qr,dn.WGS84=new dn.Proj("WGS84"),dn.Point=Ln,dn.toPoint=un,dn.defs=vr,dn.nadgrid=function(t,e){var r=new DataView(e),n=function(t){var e=t.getInt32(8,!1);if(11===e)return!1;e=t.getInt32(8,!0),11!==e&&Gr.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian");return!0}(r),i=function(t,e){return{nFields:t.getInt32(8,e),nSubgridFields:t.getInt32(24,e),nSubgrids:t.getInt32(40,e),shiftType:Wr(t,56,64).trim(),fromSemiMajorAxis:t.getFloat64(120,e),fromSemiMinorAxis:t.getFloat64(136,e),toSemiMajorAxis:t.getFloat64(152,e),toSemiMinorAxis:t.getFloat64(168,e)}}(r,n);i.nSubgrids>1&&Gr.log("Only single NTv2 subgrids are currently supported, subsequent sub grids are ignored");var o=function(t,e,r){for(var n=176,i=[],o=0;o{"use strict";var n=r(453),i=r(41),o=r(592)(),s=r(5795),a=n("%TypeError%"),u=n("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new a("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||u(e)!==e)throw new a("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,c=!0;if("length"in t&&s){var l=s(t,"length");l&&!l.configurable&&(n=!1),l&&!l.writable&&(c=!1)}return(n||c||!r)&&(o?i(t,"length",e,!0,!0):i(t,"length",e)),t}},920:(t,e,r)=>{"use strict";var n=r(453),i=r(8075),o=r(8859),s=n("%TypeError%"),a=n("%WeakMap%",!0),u=n("%Map%",!0),c=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),f=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),d=i("Map.prototype.has",!0),y=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new s("Side channel does not contain "+o(t))},get:function(n){if(a&&n&&("object"==typeof n||"function"==typeof n)){if(t)return c(t,n)}else if(u){if(e)return f(e,n)}else if(r)return function(t,e){var r=y(t,e);return r&&r.value}(r,n)},has:function(n){if(a&&n&&("object"==typeof n||"function"==typeof n)){if(t)return h(t,n)}else if(u){if(e)return d(e,n)}else if(r)return function(t,e){return!!y(t,e)}(r,n);return!1},set:function(n,i){a&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new a),l(t,n,i)):u?(e||(e=new u),p(e,n,i)):(r||(r={key:{},next:null}),function(t,e,r){var n=y(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,i))}};return n}},1568:(t,e,r)=>{var n=r(5537),i=r(6917),o=r(7510),s=r(6866),a=r(8835),u=e;u.request=function(t,e){t="string"==typeof t?a.parse(t):o(t);var i=-1===r.g.location.protocol.search(/^https?:$/)?"http:":"",s=t.protocol||i,u=t.hostname||t.host,c=t.port,l=t.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),t.url=(u?s+"//"+u:"")+(c?":"+c:"")+l,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var h=new n(t);return e&&h.on("response",e),h},u.get=function(t,e){var r=u.request(t,e);return r.end(),r},u.ClientRequest=n,u.IncomingMessage=i.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=s,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]},6688:(t,e,r)=>{var n;function i(){if(void 0!==n)return n;if(r.g.XMLHttpRequest){n=new r.g.XMLHttpRequest;try{n.open("GET",r.g.XDomainRequest?"/":"https://example.com")}catch(t){n=null}}else n=null;return n}function o(t){var e=i();if(!e)return!1;try{return e.responseType=t,e.responseType===t}catch(t){}return!1}function s(t){return"function"==typeof t}e.fetch=s(r.g.fetch)&&s(r.g.ReadableStream),e.writableStream=s(r.g.WritableStream),e.abortController=s(r.g.AbortController),e.arraybuffer=e.fetch||o("arraybuffer"),e.msstream=!e.fetch&&o("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&o("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||!!i()&&s(i().overrideMimeType),n=null},5537:(t,e,r)=>{var n=r(8287).Buffer,i=r(5606),o=r(6688),s=r(6698),a=r(6917),u=r(3242),c=a.IncomingMessage,l=a.readyStates;var h=t.exports=function(t){var e,r=this;u.Writable.call(r),r._opts=t,r._body=[],r._headers={},t.auth&&r.setHeader("Authorization","Basic "+n.from(t.auth).toString("base64")),Object.keys(t.headers).forEach((function(e){r.setHeader(e,t.headers[e])}));var i=!0;if("disable-fetch"===t.mode||"requestTimeout"in t&&!o.abortController)i=!1,e=!0;else if("prefer-streaming"===t.mode)e=!1;else if("allow-wrong-content-type"===t.mode)e=!o.overrideMimeType;else{if(t.mode&&"default"!==t.mode&&"prefer-fast"!==t.mode)throw new Error("Invalid value for opts.mode");e=!0}r._mode=function(t,e){return o.fetch&&e?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&t?"arraybuffer":"text"}(e,i),r._fetchTimer=null,r._socketTimeout=null,r._socketTimer=null,r.on("finish",(function(){r._onFinish()}))};s(h,u.Writable),h.prototype.setHeader=function(t,e){var r=t.toLowerCase();-1===f.indexOf(r)&&(this._headers[r]={name:t,value:e})},h.prototype.getHeader=function(t){var e=this._headers[t.toLowerCase()];return e?e.value:null},h.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},h.prototype._onFinish=function(){var t=this;if(!t._destroyed){var e=t._opts;"timeout"in e&&0!==e.timeout&&t.setTimeout(e.timeout);var n=t._headers,s=null;"GET"!==e.method&&"HEAD"!==e.method&&(s=new Blob(t._body,{type:(n["content-type"]||{}).value||""}));var a=[];if(Object.keys(n).forEach((function(t){var e=n[t].name,r=n[t].value;Array.isArray(r)?r.forEach((function(t){a.push([e,t])})):a.push([e,r])})),"fetch"===t._mode){var u=null;if(o.abortController){var c=new AbortController;u=c.signal,t._fetchAbortController=c,"requestTimeout"in e&&0!==e.requestTimeout&&(t._fetchTimer=r.g.setTimeout((function(){t.emit("requestTimeout"),t._fetchAbortController&&t._fetchAbortController.abort()}),e.requestTimeout))}r.g.fetch(t._opts.url,{method:t._opts.method,headers:a,body:s||void 0,mode:"cors",credentials:e.withCredentials?"include":"same-origin",signal:u}).then((function(e){t._fetchResponse=e,t._resetTimers(!1),t._connect()}),(function(e){t._resetTimers(!0),t._destroyed||t.emit("error",e)}))}else{var h=t._xhr=new r.g.XMLHttpRequest;try{h.open(t._opts.method,t._opts.url,!0)}catch(e){return void i.nextTick((function(){t.emit("error",e)}))}"responseType"in h&&(h.responseType=t._mode),"withCredentials"in h&&(h.withCredentials=!!e.withCredentials),"text"===t._mode&&"overrideMimeType"in h&&h.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in e&&(h.timeout=e.requestTimeout,h.ontimeout=function(){t.emit("requestTimeout")}),a.forEach((function(t){h.setRequestHeader(t[0],t[1])})),t._response=null,h.onreadystatechange=function(){switch(h.readyState){case l.LOADING:case l.DONE:t._onXHRProgress()}},"moz-chunked-arraybuffer"===t._mode&&(h.onprogress=function(){t._onXHRProgress()}),h.onerror=function(){t._destroyed||(t._resetTimers(!0),t.emit("error",new Error("XHR error")))};try{h.send(s)}catch(e){return void i.nextTick((function(){t.emit("error",e)}))}}}},h.prototype._onXHRProgress=function(){var t=this;t._resetTimers(!1),function(t){try{var e=t.status;return null!==e&&0!==e}catch(t){return!1}}(t._xhr)&&!t._destroyed&&(t._response||t._connect(),t._response._onXHRProgress(t._resetTimers.bind(t)))},h.prototype._connect=function(){var t=this;t._destroyed||(t._response=new c(t._xhr,t._fetchResponse,t._mode,t._resetTimers.bind(t)),t._response.on("error",(function(e){t.emit("error",e)})),t.emit("response",t._response))},h.prototype._write=function(t,e,r){this._body.push(t),r()},h.prototype._resetTimers=function(t){var e=this;r.g.clearTimeout(e._socketTimer),e._socketTimer=null,t?(r.g.clearTimeout(e._fetchTimer),e._fetchTimer=null):e._socketTimeout&&(e._socketTimer=r.g.setTimeout((function(){e.emit("timeout")}),e._socketTimeout))},h.prototype.abort=h.prototype.destroy=function(t){var e=this;e._destroyed=!0,e._resetTimers(!0),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort(),t&&e.emit("error",t)},h.prototype.end=function(t,e,r){"function"==typeof t&&(r=t,t=void 0),u.Writable.prototype.end.call(this,t,e,r)},h.prototype.setTimeout=function(t,e){var r=this;e&&r.once("timeout",e),r._socketTimeout=t,r._resetTimers(!1)},h.prototype.flushHeaders=function(){},h.prototype.setNoDelay=function(){},h.prototype.setSocketKeepAlive=function(){};var f=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]},6917:(t,e,r)=>{var n=r(5606),i=r(8287).Buffer,o=r(6688),s=r(6698),a=r(3242),u=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=e.IncomingMessage=function(t,e,r,s){var u=this;if(a.Readable.call(u),u._mode=r,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",(function(){n.nextTick((function(){u.emit("close")}))})),"fetch"===r){if(u._fetchResponse=e,u.url=e.url,u.statusCode=e.status,u.statusMessage=e.statusText,e.headers.forEach((function(t,e){u.headers[e.toLowerCase()]=t,u.rawHeaders.push(e,t)})),o.writableStream){var c=new WritableStream({write:function(t){return s(!1),new Promise((function(e,r){u._destroyed?r():u.push(i.from(t))?e():u._resumeFetch=e}))},close:function(){s(!0),u._destroyed||u.push(null)},abort:function(t){s(!0),u._destroyed||u.emit("error",t)}});try{return void e.body.pipeTo(c).catch((function(t){s(!0),u._destroyed||u.emit("error",t)}))}catch(t){}}var l=e.body.getReader();!function t(){l.read().then((function(e){u._destroyed||(s(e.done),e.done?u.push(null):(u.push(i.from(e.value)),t()))})).catch((function(t){s(!0),u._destroyed||u.emit("error",t)}))}()}else{if(u._xhr=t,u._pos=0,u.url=t.responseURL,u.statusCode=t.status,u.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach((function(t){var e=t.match(/^([^:]+):\s*(.*)/);if(e){var r=e[1].toLowerCase();"set-cookie"===r?(void 0===u.headers[r]&&(u.headers[r]=[]),u.headers[r].push(e[2])):void 0!==u.headers[r]?u.headers[r]+=", "+e[2]:u.headers[r]=e[2],u.rawHeaders.push(e[1],e[2])}})),u._charset="x-user-defined",!o.overrideMimeType){var h=u.rawHeaders["mime-type"];if(h){var f=h.match(/;\s*charset=([^;])(;|$)/);f&&(u._charset=f[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};s(c,a.Readable),c.prototype._read=function(){var t=this._resumeFetch;t&&(this._resumeFetch=null,t())},c.prototype._onXHRProgress=function(t){var e=this,n=e._xhr,o=null;switch(e._mode){case"text":if((o=n.responseText).length>e._pos){var s=o.substr(e._pos);if("x-user-defined"===e._charset){for(var a=i.alloc(s.length),c=0;ce._pos&&(e.push(i.from(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){t(!0),e.push(null)},l.readAsArrayBuffer(o)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&(t(!0),e.push(null))}},3157:t=>{"use strict";var e={};function r(t,r,n){n||(n=Error);var i=function(t){var e,n;function i(e,n,i){return t.call(this,function(t,e,n){return"string"==typeof r?r:r(t,e,n)}(e,n,i))||this}return n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,i}(n);i.prototype.name=n.name,i.prototype.code=t,e[t]=i}function n(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}r("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(t,e,r){var i,o,s,a;if("string"==typeof e&&(o="not ",e.substr(!s||s<0?0:+s,o.length)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))a="The ".concat(t," ").concat(i," ").concat(n(e,"type"));else{var u=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";a='The "'.concat(t,'" ').concat(u," ").concat(i," ").concat(n(e,"type"))}return a+=". Received type ".concat(typeof r)}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=e},3527:(t,e,r)=>{"use strict";var n=r(5606),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=l;var o=r(2341),s=r(9573);r(6698)(l,o);for(var a=i(s.prototype),u=0;u{"use strict";t.exports=i;var n=r(5689);function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r(6698)(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},2341:(t,e,r)=>{"use strict";var n,i=r(5606);t.exports=x,x.ReadableState=S;r(7007).EventEmitter;var o=function(t,e){return t.listeners(e).length},s=r(1914),a=r(8287).Buffer,u=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var c,l=r(6833);c=l&&l.debuglog?l.debuglog("stream"):function(){};var h,f,p,d=r(272),y=r(6057),g=r(1922).getHighWaterMark,m=r(3157).F,b=m.ERR_INVALID_ARG_TYPE,v=m.ERR_STREAM_PUSH_AFTER_EOF,w=m.ERR_METHOD_NOT_IMPLEMENTED,E=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(6698)(x,s);var _=y.errorOrDestroy,M=["error","close","destroy","pause","resume"];function S(t,e,i){n=n||r(3527),t=t||{},"boolean"!=typeof i&&(i=e instanceof n),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=g(this,t,"readableHighWaterMark",i),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=r(3141).I),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function x(t){if(n=n||r(3527),!(this instanceof x))return new x(t);var e=this instanceof n;this._readableState=new S(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function N(t,e,r,n,i){c("readableAddChunk",e);var o,s=t._readableState;if(null===e)s.reading=!1,function(t,e){if(c("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?R(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,P(t)))}(t,s);else if(i||(o=function(t,e){var r;n=e,a.isBuffer(n)||n instanceof u||"string"==typeof e||void 0===e||t.objectMode||(r=new b("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(s,e)),o)_(t,o);else if(s.objectMode||e&&e.length>0)if("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===a.prototype||(e=function(t){return a.from(t)}(e)),n)s.endEmitted?_(t,new E):A(t,s,e,!0);else if(s.ended)_(t,new v);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(e=s.decoder.write(e),s.objectMode||0!==e.length?A(t,s,e,!1):C(t,s)):A(t,s,e,!1)}else n||(s.reading=!1,C(t,s));return!s.ended&&(s.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=O?t=O:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function R(t){var e=t._readableState;c("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(c("emitReadable",e.flowing),e.emittedReadable=!0,i.nextTick(P,t))}function P(t){var e=t._readableState;c("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,D(t)}function C(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(j,t,e))}function j(t,e){for(;!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function L(t){c("readable nexttick read 0"),t.read(0)}function k(t,e){c("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),D(t),e.flowing&&!e.reading&&t.read(0)}function D(t){var e=t._readableState;for(c("flow",e.flowing);e.flowing&&null!==t.read(););}function q(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function F(t){var e=t._readableState;c("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,i.nextTick(U,e,t))}function U(t,e){if(c("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function B(t,e){for(var r=0,n=t.length;r=e.highWaterMark:e.length>0)||e.ended))return c("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?F(this):R(this),null;if(0===(t=T(t,e))&&e.ended)return 0===e.length&&F(this),null;var n,i=e.needReadable;return c("need readable",i),(0===e.length||e.length-t0?q(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&F(this)),null!==n&&this.emit("data",n),n},x.prototype._read=function(t){_(this,new w("_read()"))},x.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t)}n.pipesCount+=1,c("pipe count=%d opts=%j",n.pipesCount,e);var s=(!e||!1!==e.end)&&t!==i.stdout&&t!==i.stderr?u:g;function a(e,i){c("onunpipe"),e===r&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,c("cleanup"),t.removeListener("close",d),t.removeListener("finish",y),t.removeListener("drain",l),t.removeListener("error",p),t.removeListener("unpipe",a),r.removeListener("end",u),r.removeListener("end",g),r.removeListener("data",f),h=!0,!n.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function u(){c("onend"),t.end()}n.endEmitted?i.nextTick(s):r.once("end",s),t.on("unpipe",a);var l=function(t){return function(){var e=t._readableState;c("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,D(t))}}(r);t.on("drain",l);var h=!1;function f(e){c("ondata");var i=t.write(e);c("dest.write",i),!1===i&&((1===n.pipesCount&&n.pipes===t||n.pipesCount>1&&-1!==B(n.pipes,t))&&!h&&(c("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function p(e){c("onerror",e),g(),t.removeListener("error",p),0===o(t,"error")&&_(t,e)}function d(){t.removeListener("finish",y),g()}function y(){c("onfinish"),t.removeListener("close",d),g()}function g(){c("unpipe"),r.unpipe(t)}return r.on("data",f),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",p),t.once("close",d),t.once("finish",y),t.emit("pipe",r),n.flowing||(c("pipe resume"),r.resume()),t},x.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o0,!1!==n.flowing&&this.resume()):"readable"===t&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,c("on readable",n.length,n.reading),n.length?R(this):n.reading||i.nextTick(L,this))),r},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(t,e){var r=s.prototype.removeListener.call(this,t,e);return"readable"===t&&i.nextTick(I,this),r},x.prototype.removeAllListeners=function(t){var e=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||i.nextTick(I,this),e},x.prototype.resume=function(){var t=this._readableState;return t.flowing||(c("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(k,t,e))}(this,t)),t.paused=!1,this},x.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(c("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(c("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o{"use strict";t.exports=l;var n=r(3157).F,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(3527);function c(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length{"use strict";var n,i=r(5606);function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}t.exports=x,x.WritableState=S;var s={deprecate:r(4643)},a=r(1914),u=r(8287).Buffer,c=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,h=r(6057),f=r(1922).getHighWaterMark,p=r(3157).F,d=p.ERR_INVALID_ARG_TYPE,y=p.ERR_METHOD_NOT_IMPLEMENTED,g=p.ERR_MULTIPLE_CALLBACK,m=p.ERR_STREAM_CANNOT_PIPE,b=p.ERR_STREAM_DESTROYED,v=p.ERR_STREAM_NULL_VALUES,w=p.ERR_STREAM_WRITE_AFTER_END,E=p.ERR_UNKNOWN_ENCODING,_=h.errorOrDestroy;function M(){}function S(t,e,s){n=n||r(3527),t=t||{},"boolean"!=typeof s&&(s=e instanceof n),this.objectMode=!!t.objectMode,s&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,o=r.writecb;if("function"!=typeof o)throw new g;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,o){--e.pendingcb,r?(i.nextTick(o,n),i.nextTick(P,t,e),t._writableState.errorEmitted=!0,_(t,n)):(o(n),t._writableState.errorEmitted=!0,_(t,n),P(t,e))}(t,r,n,e,o);else{var s=T(r)||t.destroyed;s||r.corked||r.bufferProcessing||!r.bufferedRequest||O(t,r),n?i.nextTick(A,t,r,s,o):A(t,r,s,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function x(t){var e=this instanceof(n=n||r(3527));if(!e&&!l.call(x,this))return new x(t);this._writableState=new S(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),a.call(this)}function N(t,e,r,n,i,o,s){e.writelen=n,e.writecb=s,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new b("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function A(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),P(t,e)}function O(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),s=e.corkedRequestsFree;s.entry=r;for(var a=0,u=!0;r;)i[a]=r,r.isBuf||(u=!1),r=r.next,a+=1;i.allBuffers=u,N(t,e,!0,e.length,i,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,h=r.callback;if(N(t,e,!1,e.objectMode?1:c.length,c,l,h),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function T(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function R(t,e){t._final((function(r){e.pendingcb--,r&&_(t,r),e.prefinished=!0,t.emit("prefinish"),P(t,e)}))}function P(t,e){var r=T(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,i.nextTick(R,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}r(6698)(x,a),S.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(S.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(t){return!!l.call(this,t)||this===x&&(t&&t._writableState instanceof S)}})):l=function(t){return t instanceof this},x.prototype.pipe=function(){_(this,new m)},x.prototype.write=function(t,e,r){var n,o=this._writableState,s=!1,a=!o.objectMode&&(n=t,u.isBuffer(n)||n instanceof c);return a&&!u.isBuffer(t)&&(t=function(t){return u.from(t)}(t)),"function"==typeof e&&(r=e,e=null),a?e="buffer":e||(e=o.defaultEncoding),"function"!=typeof r&&(r=M),o.ending?function(t,e){var r=new w;_(t,r),i.nextTick(e,r)}(this,r):(a||function(t,e,r,n){var o;return null===r?o=new v:"string"==typeof r||e.objectMode||(o=new d("chunk",["string","Buffer"],r)),!o||(_(t,o),i.nextTick(n,o),!1)}(this,o,t,r))&&(o.pendingcb++,s=function(t,e,r,n,i,o){if(!r){var s=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=u.from(e,r));return e}(e,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=e.objectMode?1:n.length;e.length+=a;var c=e.length-1))throw new E(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(t,e,r){r(new y("_write()"))},x.prototype._writev=null,x.prototype.end=function(t,e,r){var n=this._writableState;return"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||function(t,e,r){e.ending=!0,P(t,e),r&&(e.finished?i.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),x.prototype.destroy=h.destroy,x.prototype._undestroy=h.undestroy,x.prototype._destroy=function(t,e){e(t)}},7356:(t,e,r)=>{"use strict";var n,i=r(5606);function o(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(9959),a=Symbol("lastResolve"),u=Symbol("lastReject"),c=Symbol("error"),l=Symbol("ended"),h=Symbol("lastPromise"),f=Symbol("handlePromise"),p=Symbol("stream");function d(t,e){return{value:t,done:e}}function y(t){var e=t[a];if(null!==e){var r=t[p].read();null!==r&&(t[h]=null,t[a]=null,t[u]=null,e(d(r,!1)))}}function g(t){i.nextTick(y,t)}var m=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((o(n={get stream(){return this[p]},next:function(){var t=this,e=this[c];if(null!==e)return Promise.reject(e);if(this[l])return Promise.resolve(d(void 0,!0));if(this[p].destroyed)return new Promise((function(e,r){i.nextTick((function(){t[c]?r(t[c]):e(d(void 0,!0))}))}));var r,n=this[h];if(n)r=new Promise(function(t,e){return function(r,n){t.then((function(){e[l]?r(d(void 0,!0)):e[f](r,n)}),n)}}(n,this));else{var o=this[p].read();if(null!==o)return Promise.resolve(d(o,!1));r=new Promise(this[f])}return this[h]=r,r}},Symbol.asyncIterator,(function(){return this})),o(n,"return",(function(){var t=this;return new Promise((function(e,r){t[p].destroy(null,(function(t){t?r(t):e(d(void 0,!0))}))}))})),n),m);t.exports=function(t){var e,r=Object.create(b,(o(e={},p,{value:t,writable:!0}),o(e,a,{value:null,writable:!0}),o(e,u,{value:null,writable:!0}),o(e,c,{value:null,writable:!0}),o(e,l,{value:t._readableState.endEmitted,writable:!0}),o(e,f,{value:function(t,e){var n=r[p].read();n?(r[h]=null,r[a]=null,r[u]=null,t(d(n,!1))):(r[a]=t,r[u]=e)},writable:!0}),e));return r[h]=null,s(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[u];return null!==e&&(r[h]=null,r[a]=null,r[u]=null,e(t)),void(r[c]=t)}var n=r[a];null!==n&&(r[h]=null,r[a]=null,r[u]=null,n(d(void 0,!0))),r[l]=!0})),t.on("readable",g.bind(null,r)),r}},272:(t,e,r)=>{"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return u.alloc(0);for(var e,r,n,i=u.allocUnsafe(t>>>0),o=this.head,s=0;o;)e=o.data,r=i,n=s,u.prototype.copy.call(e,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var r;return ti.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0==(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=u.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:l,value:function(t,e){return c(this,i(i({},e),{},{depth:0,customInspect:!1}))}}])&&s(e.prototype,r),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},6057:(t,e,r)=>{"use strict";var n=r(5606);function i(t,e){s(t,e),o(t)}function o(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function s(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,a=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return a||u?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(s,this,t)):n.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?r._writableState?r._writableState.errorEmitted?n.nextTick(o,r):(r._writableState.errorEmitted=!0,n.nextTick(i,r,t)):n.nextTick(i,r,t):e?(n.nextTick(o,r),e(t)):n.nextTick(o,r)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}},9959:(t,e,r)=>{"use strict";var n=r(3157).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,r,o){if("function"==typeof r)return t(e,null,r);r||(r={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i{t.exports=function(){throw new Error("Readable.from is not available in the browser")}},7413:(t,e,r)=>{"use strict";var n;var i=r(3157).F,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function a(t){if(t)throw t}function u(t){t()}function c(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),i=0;i0,(function(t){l||(l=t),t&&f.forEach(u),o||(f.forEach(u),h(l))}))}));return e.reduce(c)}},1922:(t,e,r)=>{"use strict";var n=r(3157).F.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,i){var o=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},1914:(t,e,r)=>{t.exports=r(7007).EventEmitter},3242:(t,e,r)=>{(e=t.exports=r(2341)).Stream=e,e.Readable=e,e.Writable=r(9573),e.Duplex=r(3527),e.Transform=r(5689),e.PassThrough=r(2571),e.finished=r(9959),e.pipeline=r(7413)},3141:(t,e,r)=>{"use strict";var n=r(2861).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=c,e=4;break;case"utf8":this.fillLast=a,e=4;break;case"base64":this.text=l,this.end=h,e=3;break;default:return this.write=f,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function s(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function a(t){var e=this.lastTotal-this.lastNeed,r=function(t,e){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function l(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function p(t){return t&&t.length?this.write(t):""}e.I=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(t.lastNeed=i-1),i;if(--n=0)return i>0&&(t.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},3337:function(t,e,r){!function(e,n){if("object"==typeof t.exports)t.exports=n(r(7375));else if("object"==typeof navigator){if(!e.Terraformer)throw new Error("Terraformer.WKT requires the core Terraformer library. http://github.com/esri/terraformer");e.Terraformer.WKT=n(e.Terraformer)}}(this,(function(t){var e={},r=function(){var t={trace:function(){},yy:{},symbols_:{error:2,expressions:3,point:4,EOF:5,linestring:6,polygon:7,multipoint:8,multilinestring:9,multipolygon:10,coordinate:11,DOUBLE_TOK:12,ptarray:13,COMMA:14,ring_list:15,ring:16,"(":17,")":18,POINT:19,Z:20,ZM:21,M:22,EMPTY:23,point_untagged:24,polygon_list:25,polygon_untagged:26,point_list:27,LINESTRING:28,POLYGON:29,MULTIPOINT:30,MULTILINESTRING:31,MULTIPOLYGON:32,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",12:"DOUBLE_TOK",14:"COMMA",17:"(",18:")",19:"POINT",20:"Z",21:"ZM",22:"M",23:"EMPTY",28:"LINESTRING",29:"POLYGON",30:"MULTIPOINT",31:"MULTILINESTRING",32:"MULTIPOLYGON"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[3,2],[3,2],[11,2],[11,3],[11,4],[13,3],[13,1],[15,3],[15,1],[16,3],[4,4],[4,5],[4,5],[4,5],[4,2],[24,1],[24,3],[25,3],[25,1],[26,3],[27,3],[27,1],[6,4],[6,5],[6,5],[6,5],[6,2],[7,4],[7,5],[7,5],[7,5],[7,2],[8,4],[8,5],[8,5],[8,5],[8,2],[9,4],[9,5],[9,5],[9,5],[9,2],[10,4],[10,5],[10,5],[10,5],[10,2]],performAction:function(t,e,r,i,u,c,l){var h=c.length-1;switch(u){case 1:case 2:case 3:case 4:case 5:case 6:return c[h-1];case 7:this.$=new n([Number(c[h-1]),Number(c[h])]);break;case 8:this.$=new n([Number(c[h-2]),Number(c[h-1]),Number(c[h])]);break;case 9:this.$=new n([Number(c[h-3]),Number(c[h-2]),Number(c[h-1]),Number(c[h])]);break;case 10:case 25:this.$=c[h-2].addPoint(c[h]);break;case 11:case 20:case 26:this.$=c[h];break;case 12:this.$=c[h-2].addRing(c[h]);break;case 13:this.$=new s(c[h]);break;case 14:this.$=new o(c[h-1]);break;case 15:this.$={type:"Point",coordinates:c[h-1].data[0]};break;case 16:this.$={type:"Point",coordinates:c[h-1].data[0],properties:{z:!0}};break;case 17:this.$={type:"Point",coordinates:c[h-1].data[0],properties:{z:!0,m:!0}};break;case 18:this.$={type:"Point",coordinates:c[h-1].data[0],properties:{m:!0}};break;case 19:this.$={type:"Point",coordinates:[]};break;case 21:case 24:this.$=c[h-1];break;case 22:this.$=c[h-2].addPolygon(c[h]);break;case 23:this.$=new a(c[h]);break;case 27:this.$={type:"LineString",coordinates:c[h-1].data};break;case 28:this.$={type:"LineString",coordinates:c[h-1].data,properties:{z:!0}};break;case 29:this.$={type:"LineString",coordinates:c[h-1].data,properties:{m:!0}};break;case 30:this.$={type:"LineString",coordinates:c[h-1].data,properties:{z:!0,m:!0}};break;case 31:this.$={type:"LineString",coordinates:[]};break;case 32:this.$={type:"Polygon",coordinates:c[h-1].toJSON()};break;case 33:this.$={type:"Polygon",coordinates:c[h-1].toJSON(),properties:{z:!0}};break;case 34:this.$={type:"Polygon",coordinates:c[h-1].toJSON(),properties:{m:!0}};break;case 35:this.$={type:"Polygon",coordinates:c[h-1].toJSON(),properties:{z:!0,m:!0}};break;case 36:this.$={type:"Polygon",coordinates:[]};break;case 37:this.$={type:"MultiPoint",coordinates:c[h-1].data};break;case 38:this.$={type:"MultiPoint",coordinates:c[h-1].data,properties:{z:!0}};break;case 39:this.$={type:"MultiPoint",coordinates:c[h-1].data,properties:{m:!0}};break;case 40:this.$={type:"MultiPoint",coordinates:c[h-1].data,properties:{z:!0,m:!0}};break;case 41:this.$={type:"MultiPoint",coordinates:[]};break;case 42:this.$={type:"MultiLineString",coordinates:c[h-1].toJSON()};break;case 43:this.$={type:"MultiLineString",coordinates:c[h-1].toJSON(),properties:{z:!0}};break;case 44:this.$={type:"MultiLineString",coordinates:c[h-1].toJSON(),properties:{m:!0}};break;case 45:this.$={type:"MultiLineString",coordinates:c[h-1].toJSON(),properties:{z:!0,m:!0}};break;case 46:this.$={type:"MultiLineString",coordinates:[]};break;case 47:this.$={type:"MultiPolygon",coordinates:c[h-1].toJSON()};break;case 48:this.$={type:"MultiPolygon",coordinates:c[h-1].toJSON(),properties:{z:!0}};break;case 49:this.$={type:"MultiPolygon",coordinates:c[h-1].toJSON(),properties:{m:!0}};break;case 50:this.$={type:"MultiPolygon",coordinates:c[h-1].toJSON(),properties:{z:!0,m:!0}};break;case 51:this.$={type:"MultiPolygon",coordinates:[]}}},table:[{3:1,4:2,6:3,7:4,8:5,9:6,10:7,19:[1,8],28:[1,9],29:[1,10],30:[1,11],31:[1,12],32:[1,13]},{1:[3]},{5:[1,14]},{5:[1,15]},{5:[1,16]},{5:[1,17]},{5:[1,18]},{5:[1,19]},{17:[1,20],20:[1,21],21:[1,22],22:[1,23],23:[1,24]},{17:[1,25],20:[1,26],21:[1,28],22:[1,27],23:[1,29]},{17:[1,30],20:[1,31],21:[1,33],22:[1,32],23:[1,34]},{17:[1,35],20:[1,36],21:[1,38],22:[1,37],23:[1,39]},{17:[1,40],20:[1,41],21:[1,43],22:[1,42],23:[1,44]},{17:[1,45],20:[1,46],21:[1,48],22:[1,47],23:[1,49]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{11:51,12:[1,52],13:50},{17:[1,53]},{17:[1,54]},{17:[1,55]},{5:[2,19]},{11:58,12:[1,52],17:[1,59],24:57,27:56},{17:[1,60]},{17:[1,61]},{17:[1,62]},{5:[2,31]},{15:63,16:64,17:[1,65]},{17:[1,66]},{17:[1,67]},{17:[1,68]},{5:[2,36]},{11:58,12:[1,52],17:[1,59],24:57,27:69},{17:[1,70]},{17:[1,71]},{17:[1,72]},{5:[2,41]},{15:73,16:64,17:[1,65]},{17:[1,74]},{17:[1,75]},{17:[1,76]},{5:[2,46]},{17:[1,79],25:77,26:78},{17:[1,80]},{17:[1,81]},{17:[1,82]},{5:[2,51]},{14:[1,84],18:[1,83]},{14:[2,11],18:[2,11]},{12:[1,85]},{11:51,12:[1,52],13:86},{11:51,12:[1,52],13:87},{11:51,12:[1,52],13:88},{14:[1,90],18:[1,89]},{14:[2,26],18:[2,26]},{14:[2,20],18:[2,20]},{11:91,12:[1,52]},{11:58,12:[1,52],17:[1,59],24:57,27:92},{11:58,12:[1,52],17:[1,59],24:57,27:93},{11:58,12:[1,52],17:[1,59],24:57,27:94},{14:[1,96],18:[1,95]},{14:[2,13],18:[2,13]},{11:51,12:[1,52],13:97},{15:98,16:64,17:[1,65]},{15:99,16:64,17:[1,65]},{15:100,16:64,17:[1,65]},{14:[1,90],18:[1,101]},{11:58,12:[1,52],17:[1,59],24:57,27:102},{11:58,12:[1,52],17:[1,59],24:57,27:103},{11:58,12:[1,52],17:[1,59],24:57,27:104},{14:[1,96],18:[1,105]},{15:106,16:64,17:[1,65]},{15:107,16:64,17:[1,65]},{15:108,16:64,17:[1,65]},{14:[1,110],18:[1,109]},{14:[2,23],18:[2,23]},{15:111,16:64,17:[1,65]},{17:[1,79],25:112,26:78},{17:[1,79],25:113,26:78},{17:[1,79],25:114,26:78},{5:[2,15]},{11:115,12:[1,52]},{12:[1,116],14:[2,7],18:[2,7]},{14:[1,84],18:[1,117]},{14:[1,84],18:[1,118]},{14:[1,84],18:[1,119]},{5:[2,27]},{11:58,12:[1,52],17:[1,59],24:120},{18:[1,121]},{14:[1,90],18:[1,122]},{14:[1,90],18:[1,123]},{14:[1,90],18:[1,124]},{5:[2,32]},{16:125,17:[1,65]},{14:[1,84],18:[1,126]},{14:[1,96],18:[1,127]},{14:[1,96],18:[1,128]},{14:[1,96],18:[1,129]},{5:[2,37]},{14:[1,90],18:[1,130]},{14:[1,90],18:[1,131]},{14:[1,90],18:[1,132]},{5:[2,42]},{14:[1,96],18:[1,133]},{14:[1,96],18:[1,134]},{14:[1,96],18:[1,135]},{5:[2,47]},{17:[1,79],26:136},{14:[1,96],18:[1,137]},{14:[1,110],18:[1,138]},{14:[1,110],18:[1,139]},{14:[1,110],18:[1,140]},{14:[2,10],18:[2,10]},{12:[1,141],14:[2,8],18:[2,8]},{5:[2,16]},{5:[2,17]},{5:[2,18]},{14:[2,25],18:[2,25]},{14:[2,21],18:[2,21]},{5:[2,28]},{5:[2,29]},{5:[2,30]},{14:[2,12],18:[2,12]},{14:[2,14],18:[2,14]},{5:[2,33]},{5:[2,34]},{5:[2,35]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,43]},{5:[2,44]},{5:[2,45]},{14:[2,22],18:[2,22]},{14:[2,24],18:[2,24]},{5:[2,48]},{5:[2,49]},{5:[2,50]},{14:[2,9],18:[2,9]}],defaultActions:{14:[2,1],15:[2,2],16:[2,3],17:[2,4],18:[2,5],19:[2,6],24:[2,19],29:[2,31],34:[2,36],39:[2,41],44:[2,46],49:[2,51],83:[2,15],89:[2,27],95:[2,32],101:[2,37],105:[2,42],109:[2,47],117:[2,16],118:[2,17],119:[2,18],122:[2,28],123:[2,29],124:[2,30],127:[2,33],128:[2,34],129:[2,35],130:[2,38],131:[2,39],132:[2,40],133:[2,43],134:[2,44],135:[2,45],138:[2,48],139:[2,49],140:[2,50]},parseError:function(t,e){throw new Error(t)},parse:function(t){var e=this,r=[0],n=[null],i=[],o=this.table,s="",a=0,u=0,c=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var l=this.lexer.yylloc;i.push(l);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var f,p,d,y,g,m,b,v,w,E,_={};;){if(d=r[r.length-1],this.defaultActions[d]?y=this.defaultActions[d]:(null==f&&(E=void 0,"number"!=typeof(E=e.lexer.lex()||1)&&(E=e.symbols_[E]||E),f=E),y=o[d]&&o[d][f]),void 0===y||!y.length||!y[0]){var M="";if(!c){for(m in w=[],o[d])this.terminals_[m]&&m>2&&w.push("'"+this.terminals_[m]+"'");M=this.lexer.showPosition?"Parse error on line "+(a+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(M,{text:this.lexer.match,token:this.terminals_[f]||f,line:this.lexer.yylineno,loc:l,expected:w})}}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+d+", token: "+f);switch(y[0]){case 1:r.push(f),n.push(this.lexer.yytext),i.push(this.lexer.yylloc),r.push(y[1]),f=null,p?(f=p,p=null):(u=this.lexer.yyleng,s=this.lexer.yytext,a=this.lexer.yylineno,l=this.lexer.yylloc,c>0&&c--);break;case 2:if(b=this.productions_[y[1]][1],_.$=n[n.length-b],_._$={first_line:i[i.length-(b||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(b||1)].first_column,last_column:i[i.length-1].last_column},h&&(_._$.range=[i[i.length-(b||1)].range[0],i[i.length-1].range[1]]),void 0!==(g=this.performAction.call(_,s,u,a,this.yy,y[1],n,i)))return g;b&&(r=r.slice(0,-1*b*2),n=n.slice(0,-1*b),i=i.slice(0,-1*b)),r.push(this.productions_[y[1]][0]),n.push(_.$),i.push(_._$),v=o[r[r.length-2]][r[r.length-1]],r.push(v);break;case 3:return!0}}return!0}},e=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e,r,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),s=0;se[0].length)||(e=r,n=s,this.options.flex));s++);return e?((i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,o[n],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},options:{},performAction:function(t,e,r,n){switch(r){case 0:break;case 1:return 17;case 2:return 18;case 3:return 12;case 4:return 19;case 5:return 28;case 6:return 29;case 7:return 30;case 8:return 31;case 9:return 32;case 10:return 14;case 11:return 23;case 12:return 22;case 13:return 20;case 14:return 21;case 15:return 5;case 16:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:\()/,/^(?:\))/,/^(?:-?[0-9]+(\.[0-9]+)?([eE][\-\+]?[0-9]+)?)/,/^(?:POINT\b)/,/^(?:LINESTRING\b)/,/^(?:POLYGON\b)/,/^(?:MULTIPOINT\b)/,/^(?:MULTILINESTRING\b)/,/^(?:MULTIPOLYGON\b)/,/^(?:,)/,/^(?:EMPTY\b)/,/^(?:M\b)/,/^(?:Z\b)/,/^(?:ZM\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],inclusive:!0}}};return t}();function r(){this.yy={}}return t.lexer=e,r.prototype=t,t.Parser=r,new r}();function n(t){this.data=[t],this.type="PointArray"}function o(t){this.data=t,this.type="Ring"}function s(t){this.data=[t],this.type="RingList"}function a(t){this.data=[t],this.type="PolygonList"}function u(t){for(var e=[],r="",n=0;nr)&&(r=h),(null===n||fi)&&(i=f)}return[e,n,r,i]}(t.coordinates);case"Feature":return t.geometry?u(t.geometry):null;case"FeatureCollection":return function(t){for(var e,r=[],n=t.features.length-1;n>=0;n--)e=u(t.features[n].geometry),r.push([e[0],e[1]]),r.push([e[2],e[3]]);return l(r)}(t);case"GeometryCollection":return function(t){for(var e,r=[],n=t.geometries.length-1;n>=0;n--)e=u(t.geometries[n]),r.push([e[0],e[1]]),r.push([e[2],e[3]]);return l(r)}(t);default:throw new Error("Unknown type: "+t.type)}return null}function c(t){for(var e=null,r=null,n=null,i=null,o=0;or)&&(r=c),(null===n||li)&&(i=l)}return[e,n,r,i]}function l(t){for(var e=null,r=null,n=null,i=null,o=0;or)&&(r=a),(null===n||ui)&&(i=u)}return[e,n,r,i]}function h(t){var e=u(t);return{x:e[0],y:e[1],w:Math.abs(e[0]-e[2]),h:Math.abs(e[1]-e[3])}}function f(t){return t*r}function p(t){return t*n}function d(t,e){for(var r=0;re[0]?-1:t[0]e[1]?-1:t[1]i?1:0;var n,i}function _(t,e){var r=e[0]-t[0],n=e[1]-t[1];return r*r+n*n}function M(t,e){var r=e;for(var n in t){var i=E(e,r,t[n]);(-1===i||0===i&&_(e,t[n])>_(e,r))&&(r=t[n])}return r}function S(t){if(0===t.length)return[];if(1===t.length)return t;for(var e=[t.sort(w)[0]],r=0;r=2))throw"Terraformer: invalid input for Terraformer.Point";this.coordinates=e}this.type="Point"}function k(t){if(t&&"MultiPoint"===t.type&&t.coordinates)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.MultiPoint";this.coordinates=t}this.type="MultiPoint"}function D(t){if(t&&"LineString"===t.type&&t.coordinates)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.LineString";this.coordinates=t}this.type="LineString"}function q(t){if(t&&"MultiLineString"===t.type&&t.coordinates)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.MultiLineString";this.coordinates=t}this.type="MultiLineString"}function F(t){if(t&&"Polygon"===t.type&&t.coordinates)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.Polygon";this.coordinates=t}this.type="Polygon"}function U(t){if(t&&"MultiPolygon"===t.type&&t.coordinates)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.MultiPolygon";this.coordinates=t}this.type="MultiPolygon"}function B(t){if(t&&"Feature"===t.type)a(this,t);else{if(!(t&&t.type&&t.coordinates))throw"Terraformer: invalid input for Terraformer.Feature";this.geometry=t}this.type="Feature"}function G(t){if(t&&"FeatureCollection"===t.type&&t.features)a(this,t);else{if(!s(t))throw"Terraformer: invalid input for Terraformer.FeatureCollection";this.features=t}this.type="FeatureCollection"}function H(t){if(t&&"GeometryCollection"===t.type&&t.geometries)a(this,t);else if(s(t))this.geometries=t;else{if(!t.coordinates||!t.type)throw"Terraformer: invalid input for Terraformer.GeometryCollection";this.type="GeometryCollection",this.geometries=[t]}this.type="GeometryCollection"}function V(t,e,r){for(var n=g(t),i=r||64,o={type:"Polygon",coordinates:[[]]},s=1;s<=i;s++){var a=s*(360/i)*Math.PI/180;o.coordinates[0].push([n[0]+e*Math.cos(a),n[1]+e*Math.sin(a)])}return o.coordinates=R(o.coordinates),v(o)}function z(t,e,r){var n=r||64,i=e||250;if(!t||t.length<2||!i||!n)throw new Error("Terraformer: missing parameter for Terraformer.Circle");a(this,new B({type:"Feature",geometry:V(t,i,n),properties:{radius:i,center:t,steps:n}}))}return I.prototype.toMercator=function(){return b(this)},I.prototype.toGeographic=function(){return v(this)},I.prototype.envelope=function(){return h(this)},I.prototype.bbox=function(){return u(this)},I.prototype.convexHull=function(){var t,e,r=[];if("Point"===this.type)return null;if("LineString"===this.type||"MultiPoint"===this.type){if(!(this.coordinates&&this.coordinates.length>=3))return null;r=this.coordinates}else if("Polygon"===this.type||"MultiLineString"===this.type){if(!(this.coordinates&&this.coordinates.length>0))return null;for(t=0;t0))return null;for(t=0;t1},F.prototype.holes=function(){var t=[];if(this.hasHoles())for(var e=1;e0||!e&&a<0)return!1}return!0},t.MercatorCRS=i,t.GeographicCRS={type:"link",properties:{href:"http://spatialreference.org/ref/epsg/4326/ogcwkt/",type:"ogcwkt"}},t},"object"==typeof t.exports&&(t.exports=i()),"object"==typeof window&&(n.Terraformer=i())},2150:(t,e)=>{var r=Function.prototype.bind,n=Array.prototype.slice,i=Object.prototype.toString;function o(t){return t="[object "+t+"]",function(e){return i.call(e)===t}}e.bind=function(t,e){var i=n.call(arguments,2);return r?(i.unshift(e),r.apply(t,i)):function(){return t.apply(e,i.concat(n.call(arguments)))}},e.slice=function(t,e,r){return n.call(t,e,r)},e.toString=function(t){return i.call(t)},e.isNull=o("Null"),e.isDate=o("Date"),e.isMath=o("Math"),e.isJSON=o("JSON"),e.isError=o("Error"),e.isArray=Array.isArray||o("Array"),e.isObject=o("Object"),e.isRegExp=o("RegExp"),e.isNumber=o("Number"),e.isString=o("String"),e.isBoolean=o("Boolean"),e.isFunction=o("Function"),e.isArguments=o("Arguments"),e.isUndefined=o("Undefined"),e.isValid=function(t){return!e.isInvalid(t)},e.isInvalid=function(t){return e.isNull(t)||e.isUndefined(t)},e.isImmutable=function(t){return!e.isMutable(t)},e.isMutable=function(t){return t&&!e.isNumber(t)&&!e.isString(t)&&!e.isBoolean(t)},e.isEnumerable=function(t){return!!t&&(e.isNumber(t)?e.isInteger(t):e.isInteger(t.length)?t.length>=0:e.isEnumerableObject(t))},e.isEnumerableObject=function(t){for(var e in t)return!0;return!1},e.isEmpty=function(t){return e.isObject(t)?!e.isEnumerableObject(t):!e.isEnumerable(t)},e.isFiniteNumber=function(t){return e.isNumber(t)&&isFinite(t)},e.isInteger=function(t){return e.isFiniteNumber(t)&&Math.floor(t)===t},e.isVague=function(t){return t&&"object"==typeof t},e.isList=function(t){return e.isVague(t)&&e.isInteger(t.length)&&t.length>=0},e.isNaN=isNaN,e.nativeTypeOf=function(t){var e=t.toString(t);return e.substring(8,e.length-1)},e.typeOf=function(t){return e.isObject(t)?t.constructor.name||"Object":e.nativeTypeOf(t)},e.safeApply=function(t,r,n){return e.isFunction(t)?t.apply(n||this,r):void 0},e.enumerate=function(t,r,n,i){if(!t)return t;if(n=n||this,!i&&e.isFunction(t.forEach))return t.forEach(r,n);var o=0,s=t.length;if(e.isString(t))for(;oe||e>=n}))):void 0}},1270:function(t,e,r){var n;/*! https://mths.be/punycode v1.4.1 by @mathias */t=r.nmd(t),function(){e&&e.nodeType,t&&t.nodeType;var i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self;var o,s=2147483647,a=36,u=1,c=26,l=38,h=700,f=72,p=128,d="-",y=/^xn--/,g=/[^\x20-\x7E]/,m=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=a-u,w=Math.floor,E=String.fromCharCode;function _(t){throw new RangeError(b[t])}function M(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function S(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+M((t=t.replace(m,".")).split("."),e).join(".")}function x(t){for(var e,r,n=[],i=0,o=t.length;i=55296&&e<=56319&&i65535&&(e+=E((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=E(t)})).join("")}function A(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function O(t,e,r){var n=0;for(t=r?w(t/h):t>>1,t+=w(t/e);t>v*c>>1;n+=a)t=w(t/v);return w(n+(v+1)*t/(t+l))}function T(t){var e,r,n,i,o,l,h,y,g,m,b,v=[],E=t.length,M=0,S=p,x=f;for((r=t.lastIndexOf(d))<0&&(r=0),n=0;n=128&&_("not-basic"),v.push(t.charCodeAt(n));for(i=r>0?r+1:0;i=E&&_("invalid-input"),((y=(b=t.charCodeAt(i++))-48<10?b-22:b-65<26?b-65:b-97<26?b-97:a)>=a||y>w((s-M)/l))&&_("overflow"),M+=y*l,!(y<(g=h<=x?u:h>=x+c?c:h-x));h+=a)l>w(s/(m=a-g))&&_("overflow"),l*=m;x=O(M-o,e=v.length+1,0==o),w(M/e)>s-S&&_("overflow"),S+=w(M/e),M%=e,v.splice(M++,0,S)}return N(v)}function R(t){var e,r,n,i,o,l,h,y,g,m,b,v,M,S,N,T=[];for(v=(t=x(t)).length,e=p,r=0,o=f,l=0;l=e&&bw((s-r)/(M=n+1))&&_("overflow"),r+=(h-e)*M,e=h,l=0;ls&&_("overflow"),b==e){for(y=r,g=a;!(y<(m=g<=o?u:g>=o+c?c:g-o));g+=a)N=y-m,S=a-m,T.push(E(A(m+N%S,0))),y=w(N/S);T.push(E(A(y,0))),o=O(r,M,n==i),r=0,++n}++r,++e}return T.join("")}o={version:"1.4.1",ucs2:{decode:x,encode:N},decode:T,encode:R,toASCII:function(t){return S(t,(function(t){return g.test(t)?"xn--"+R(t):t}))},toUnicode:function(t){return S(t,(function(t){return y.test(t)?T(t.slice(4).toLowerCase()):t}))}},void 0===(n=function(){return o}.call(e,r,e,t))||(t.exports=n)}()},5902:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC1738",i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:n,RFC3986:i}},3098:(t,e,r)=>{"use strict";var n=r(1207),i=r(969),o=r(5902);t.exports={formats:o,parse:i,stringify:n}},969:(t,e,r)=>{"use strict";var n=r(2795),i=Object.prototype.hasOwnProperty,o=Array.isArray,s={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},a=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},u=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c=function(t,e,r,n){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(o),c=a?o.slice(0,a.index):o,l=[];if(c){if(!r.plainObjects&&i.call(Object.prototype,c)&&!r.allowPrototypes)return;l.push(c)}for(var h=0;r.depth>0&&null!==(a=s.exec(o))&&h=0;--o){var s,a=t[o];if("[]"===a&&r.parseArrays)s=[].concat(i);else{s=r.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=parseInt(c,10);r.parseArrays||""!==c?!isNaN(l)&&a!==c&&String(l)===c&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(s=[])[l]=i:"__proto__"!==c&&(s[c]=i):s={0:i}}i=s}return i}(l,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:s.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var l="string"==typeof t?function(t,e){var r,c={__proto__:null},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,h=e.parameterLimit===1/0?void 0:e.parameterLimit,f=l.split(e.delimiter,h),p=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(g=o(g)?[g]:g),i.call(c,y)?c[y]=n.combine(c[y],g):c[y]=g}return c}(t,r):t,h=r.plainObjects?Object.create(null):{},f=Object.keys(l),p=0;p{"use strict";var n=r(920),i=r(2795),o=r(5902),s=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,c=Array.prototype.push,l=function(t,e){c.apply(t,u(e)?e:[e])},h=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},d={},y=function t(e,r,o,s,a,c,h,f,y,g,m,b,v,w,E,_){for(var M,S=e,x=_,N=0,A=!1;void 0!==(x=x.get(d))&&!A;){var O=x.get(e);if(N+=1,void 0!==O){if(O===N)throw new RangeError("Cyclic object value");A=!0}void 0===x.get(d)&&(N=0)}if("function"==typeof f?S=f(r,S):S instanceof Date?S=m(S):"comma"===o&&u(S)&&(S=i.maybeMap(S,(function(t){return t instanceof Date?m(t):t}))),null===S){if(a)return h&&!w?h(r,p.encoder,E,"key",b):r;S=""}if("string"==typeof(M=S)||"number"==typeof M||"boolean"==typeof M||"symbol"==typeof M||"bigint"==typeof M||i.isBuffer(S))return h?[v(w?r:h(r,p.encoder,E,"key",b))+"="+v(h(S,p.encoder,E,"value",b))]:[v(r)+"="+v(String(S))];var T,R=[];if(void 0===S)return R;if("comma"===o&&u(S))w&&h&&(S=i.maybeMap(S,h)),T=[{value:S.length>0?S.join(",")||null:void 0}];else if(u(f))T=f;else{var P=Object.keys(S);T=y?P.sort(y):P}for(var C=s&&u(S)&&1===S.length?r+"[]":r,j=0;j0?E+w:""}},2795:(t,e,r)=>{"use strict";var n=r(5902),i=Object.prototype.hasOwnProperty,o=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),a=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n1;){var e=t.pop(),r=e.obj[e.prop];if(o(r)){for(var n=[],i=0;i=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===n.RFC1738&&(40===l||41===l)?u+=a.charAt(c):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&a.charCodeAt(c)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var r=[],n=0;n{"use strict";var n=r(1270);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(u),l=["%","/","?",";","#"].concat(c),h=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=r(3098);function b(t,e,r){if(t&&"object"==typeof t&&t instanceof i)return t;var n=new i;return n.parse(t,e,r),n}i.prototype.parse=function(t,e,r){if("string"!=typeof t)throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),s=-1!==i&&i127?C+="x":C+=P[j];if(!C.match(f)){var L=T.slice(0,N),k=T.slice(N+1),D=P.match(p);D&&(L.push(D[1]),k.unshift(D[2])),k.length&&(b="/"+k.join(".")+b),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=n.toASCII(this.hostname));var q=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+q,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!d[E])for(N=0,R=c.length;N0)&&r.host.split("@"))&&(r.auth=O.shift(),r.hostname=O.shift(),r.host=r.hostname);return r.search=t.search,r.query=t.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!_.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=_.slice(-1)[0],x=(r.host||t.host||_.length>1)&&("."===S||".."===S)||""===S,N=0,A=_.length;A>=0;A--)"."===(S=_[A])?_.splice(A,1):".."===S?(_.splice(A,1),N++):N&&(_.splice(A,1),N--);if(!w&&!E)for(;N--;N)_.unshift("..");!w||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),x&&"/"!==_.join("/").substr(-1)&&_.push("");var O,T=""===_[0]||_[0]&&"/"===_[0].charAt(0);M&&(r.hostname=T?"":_.length?_.shift():"",r.host=r.hostname,(O=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=O.shift(),r.hostname=O.shift(),r.host=r.hostname));return(w=w||r.host&&_.length)&&!T&&_.unshift(""),_.length>0?r.pathname=_.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var t=this.host,e=s.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},e.parse=b,e.resolve=function(t,e){return b(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?b(t,!1,!0).resolveObject(e):e},e.format=function(t){return"string"==typeof t&&(t=b(t)),t instanceof i?t.format():i.prototype.format.call(t)},e.Url=i},4643:(t,e,r)=>{var n=r(6763);function i(t){try{if(!r.g.localStorage)return!1}catch(t){return!1}var e=r.g.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}t.exports=function(t,e){if(i("noDeprecation"))return t;var r=!1;return function(){if(!r){if(i("throwDeprecation"))throw new Error(e);i("traceDeprecation")?n.trace(e):n.warn(e),r=!0}return t.apply(this,arguments)}}},1135:t=>{t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},9032:(t,e,r)=>{"use strict";var n=r(7244),i=r(8184),o=r(5767),s=r(5680);function a(t){return t.call.bind(t)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=a(Object.prototype.toString),h=a(Number.prototype.valueOf),f=a(String.prototype.valueOf),p=a(Boolean.prototype.valueOf);if(u)var d=a(BigInt.prototype.valueOf);if(c)var y=a(Symbol.prototype.valueOf);function g(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function m(t){return"[object Map]"===l(t)}function b(t){return"[object Set]"===l(t)}function v(t){return"[object WeakMap]"===l(t)}function w(t){return"[object WeakSet]"===l(t)}function E(t){return"[object ArrayBuffer]"===l(t)}function _(t){return"undefined"!=typeof ArrayBuffer&&(E.working?E(t):t instanceof ArrayBuffer)}function M(t){return"[object DataView]"===l(t)}function S(t){return"undefined"!=typeof DataView&&(M.working?M(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=i,e.isTypedArray=s,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):s(t)||S(t)},e.isUint8Array=function(t){return"Uint8Array"===o(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===o(t)},e.isUint16Array=function(t){return"Uint16Array"===o(t)},e.isUint32Array=function(t){return"Uint32Array"===o(t)},e.isInt8Array=function(t){return"Int8Array"===o(t)},e.isInt16Array=function(t){return"Int16Array"===o(t)},e.isInt32Array=function(t){return"Int32Array"===o(t)},e.isFloat32Array=function(t){return"Float32Array"===o(t)},e.isFloat64Array=function(t){return"Float64Array"===o(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===o(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===o(t)},m.working="undefined"!=typeof Map&&m(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(m.working?m(t):t instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(b.working?b(t):t instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(v.working?v(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),e.isWeakSet=function(t){return w(t)},E.working="undefined"!=typeof ArrayBuffer&&E(new ArrayBuffer),e.isArrayBuffer=_,M.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&M(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=S;var x="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function N(t){return"[object SharedArrayBuffer]"===l(t)}function A(t){return void 0!==x&&(void 0===N.working&&(N.working=N(new x)),N.working?N(t):t instanceof x)}function O(t){return g(t,h)}function T(t){return g(t,f)}function R(t){return g(t,p)}function P(t){return u&&g(t,d)}function C(t){return c&&g(t,y)}e.isSharedArrayBuffer=A,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===l(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===l(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===l(t)},e.isGeneratorObject=function(t){return"[object Generator]"===l(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===l(t)},e.isNumberObject=O,e.isStringObject=T,e.isBooleanObject=R,e.isBigIntObject=P,e.isSymbolObject=C,e.isBoxedPrimitive=function(t){return O(t)||T(t)||R(t)||P(t)||C(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(_(t)||A(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},537:(t,e,r)=>{var n=r(5606),i=r(6763),o=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),a=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(r)?n.showHidden=r:r&&e._extend(n,r),E(n.showHidden)&&(n.showHidden=!1),E(n.depth)&&(n.depth=2),E(n.colors)&&(n.colors=!1),E(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=h),p(n,t,n.depth)}function h(t,e){var r=l.styles[e];return r?"["+l.colors[r][0]+"m"+t+"["+l.colors[r][1]+"m":t}function f(t,e){return t}function p(t,r,n){if(t.customInspect&&r&&N(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return w(i)||(i=p(t,i,n)),i}var o=function(t,e){if(E(e))return t.stylize("undefined","undefined");if(w(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(v(e))return t.stylize(""+e,"number");if(m(e))return t.stylize(""+e,"boolean");if(b(e))return t.stylize("null","null")}(t,r);if(o)return o;var s=Object.keys(r),a=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(r)),x(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return d(r);if(0===s.length){if(N(r)){var u=r.name?": "+r.name:"";return t.stylize("[Function"+u+"]","special")}if(_(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return t.stylize(Date.prototype.toString.call(r),"date");if(x(r))return d(r)}var c,l="",h=!1,f=["{","}"];(g(r)&&(h=!0,f=["[","]"]),N(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return _(r)&&(l=" "+RegExp.prototype.toString.call(r)),S(r)&&(l=" "+Date.prototype.toUTCString.call(r)),x(r)&&(l=" "+d(r)),0!==s.length||h&&0!=r.length?n<0?_(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),c=h?function(t,e,r,n,i){for(var o=[],s=0,a=e.length;s=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(c,l,f)):f[0]+l+f[1]}function d(t){return"["+Error.prototype.toString.call(t)+"]"}function y(t,e,r,n,i,o){var s,a,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(a=t.stylize("[Setter]","special")),R(n,i)||(s="["+i+"]"),a||(t.seen.indexOf(u.value)<0?(a=b(r)?p(t,u.value,null):p(t,u.value,r-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map((function(t){return" "+t})).join("\n").slice(2):"\n"+a.split("\n").map((function(t){return" "+t})).join("\n")):a=t.stylize("[Circular]","special")),E(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+a}function g(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function b(t){return null===t}function v(t){return"number"==typeof t}function w(t){return"string"==typeof t}function E(t){return void 0===t}function _(t){return M(t)&&"[object RegExp]"===A(t)}function M(t){return"object"==typeof t&&null!==t}function S(t){return M(t)&&"[object Date]"===A(t)}function x(t){return M(t)&&("[object Error]"===A(t)||t instanceof Error)}function N(t){return"function"==typeof t}function A(t){return Object.prototype.toString.call(t)}function O(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!a[t])if(u.test(t)){var r=n.pid;a[t]=function(){var n=e.format.apply(e,arguments);i.error("%s %d: %s",t,r,n)}}else a[t]=function(){};return a[t]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(9032),e.isArray=g,e.isBoolean=m,e.isNull=b,e.isNullOrUndefined=function(t){return null==t},e.isNumber=v,e.isString=w,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=E,e.isRegExp=_,e.types.isRegExp=_,e.isObject=M,e.isDate=S,e.types.isDate=S,e.isError=x,e.types.isNativeError=x,e.isFunction=N,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(1135);var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;i.log("%s - %s",(t=new Date,r=[O(t.getHours()),O(t.getMinutes()),O(t.getSeconds())].join(":"),[t.getDate(),T[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(6698),e._extend=function(t,e){if(!e||!M(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function C(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(P&&t[P]){var e;if("function"!=typeof(e=t[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,P,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),i=[],o=0;o{"use strict";var n=r(2682),i=r(9209),o=r(487),s=r(8075),a=r(5795),u=s("Object.prototype.toString"),c=r(9092)(),l="undefined"==typeof globalThis?r.g:globalThis,h=i(),f=s("String.prototype.slice"),p=Object.getPrototypeOf,d=s("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r-1?e:"Object"===e&&function(t){var e=!1;return n(y,(function(r,n){if(!e)try{r(t),e=f(n,1)}catch(t){}})),e}(t)}return a?function(t){var e=!1;return n(y,(function(r,n){if(!e)try{"$"+r(t)===n&&(e=f(n,1))}catch(t){}})),e}(t):null}},3631:(t,e,r)=>{var n=r(6763);!function(t){"use strict";var e=function(t,e){for(var r=0;r0&&this.init(t)}function g(t){arguments.length>0&&this.init(t)}function m(t,e){arguments.length>0&&this.init(t,e)}function b(t,e){arguments.length>0&&this.init(t,e)}function v(t,e){arguments.length>0&&this.init(t,e)}function w(t,e){arguments.length>0&&this.init(t,e)}function E(t,e){arguments.length>0&&this.init(t,e)}function _(t,e){arguments.length>0&&this.init(t,e)}function M(t,e){arguments.length>0&&this.init(t,e)}function S(t,e){arguments.length>0&&this.init(t,e)}function x(t,e){arguments.length>0&&this.init(t,e)}function N(t,e){arguments.length>0&&this.init(t,e)}function A(t,e){arguments.length>0&&this.init(t,e)}function O(t,e){arguments.length>0&&this.init(t,e)}function T(t,e){arguments.length>0&&this.init(t,e)}function R(t,e){arguments.length>0&&this.init(t,e)}function P(t,e){arguments.length>0&&this.init(t,e)}function C(t,e,r){arguments.length>0&&this.init(t,e,r)}function j(t){for(;t&&t.parentNode;)t=t.parentNode;return t}function I(t,e,r){return C.applyPredicates(t.predicates,e,C.applyStep(t,e,r))}function L(t,e,r){return function(t){for(var e=[],r=0;r0&&this.init(t,e)}function D(t,e,r){arguments.length>0&&this.init(t,e,r)}function q(t,e){arguments.length>0&&this.init(t,e)}function F(t){arguments.length>0&&this.init(t)}function U(t,e){arguments.length>0&&this.init(t,e)}h.prototype=new Object,h.prototype.constructor=h,h.superclass=Object.prototype,h.prototype.init=function(){this.reduceActions=[],this.reduceActions[3]=function(t){return new b(t[0],t[2])},this.reduceActions[5]=function(t){return new v(t[0],t[2])},this.reduceActions[7]=function(t){return new w(t[0],t[2])},this.reduceActions[8]=function(t){return new E(t[0],t[2])},this.reduceActions[10]=function(t){return new _(t[0],t[2])},this.reduceActions[11]=function(t){return new M(t[0],t[2])},this.reduceActions[12]=function(t){return new S(t[0],t[2])},this.reduceActions[13]=function(t){return new x(t[0],t[2])},this.reduceActions[15]=function(t){return new N(t[0],t[2])},this.reduceActions[16]=function(t){return new A(t[0],t[2])},this.reduceActions[18]=function(t){return new O(t[0],t[2])},this.reduceActions[19]=function(t){return new T(t[0],t[2])},this.reduceActions[20]=function(t){return new R(t[0],t[2])},this.reduceActions[22]=function(t){return new g(t[1])},this.reduceActions[24]=function(t){return new P(t[0],t[2])},this.reduceActions[25]=function(t){return new C(void 0,void 0,t[0])},this.reduceActions[27]=function(t){return t[0].locationPath=t[2],t[0]},this.reduceActions[28]=function(t){return t[0].locationPath=t[2],t[0].locationPath.steps.unshift(new D(D.DESCENDANTORSELF,q.nodeTest,[])),t[0]},this.reduceActions[29]=function(t){return new C(t[0],[],void 0)},this.reduceActions[30]=function(t){return Z.instance_of(t[0],C)?(null==t[0].filterPredicates&&(t[0].filterPredicates=[]),t[0].filterPredicates.push(t[1]),t[0]):new C(t[0],[t[1]],void 0)},this.reduceActions[32]=function(t){return t[1]},this.reduceActions[33]=function(t){return new G(t[0])},this.reduceActions[34]=function(t){return new H(t[0])},this.reduceActions[36]=function(t){return new U(t[0],[])},this.reduceActions[37]=function(t){return new U(t[0],t[2])},this.reduceActions[38]=function(t){return[t[0]]},this.reduceActions[39]=function(t){return t[2].unshift(t[0]),t[2]},this.reduceActions[43]=function(t){return new k(!0,[])},this.reduceActions[44]=function(t){return t[1].absolute=!0,t[1]},this.reduceActions[46]=function(t){return new k(!1,[t[0]])},this.reduceActions[47]=function(t){return t[0].steps.push(t[2]),t[0]},this.reduceActions[49]=function(t){return new D(t[0],t[1],[])},this.reduceActions[50]=function(t){return new D(D.CHILD,t[0],[])},this.reduceActions[51]=function(t){return new D(t[0],t[1],t[2])},this.reduceActions[52]=function(t){return new D(D.CHILD,t[0],t[1])},this.reduceActions[54]=function(t){return[t[0]]},this.reduceActions[55]=function(t){return t[1].unshift(t[0]),t[1]},this.reduceActions[56]=function(t){return"ancestor"==t[0]?D.ANCESTOR:"ancestor-or-self"==t[0]?D.ANCESTORORSELF:"attribute"==t[0]?D.ATTRIBUTE:"child"==t[0]?D.CHILD:"descendant"==t[0]?D.DESCENDANT:"descendant-or-self"==t[0]?D.DESCENDANTORSELF:"following"==t[0]?D.FOLLOWING:"following-sibling"==t[0]?D.FOLLOWINGSIBLING:"namespace"==t[0]?D.NAMESPACE:"parent"==t[0]?D.PARENT:"preceding"==t[0]?D.PRECEDING:"preceding-sibling"==t[0]?D.PRECEDINGSIBLING:"self"==t[0]?D.SELF:-1},this.reduceActions[57]=function(t){return D.ATTRIBUTE},this.reduceActions[59]=function(t){return"comment"==t[0]?q.commentTest:"text"==t[0]?q.textTest:"processing-instruction"==t[0]?q.anyPiTest:"node"==t[0]?q.nodeTest:new q(-1,void 0)},this.reduceActions[60]=function(t){return new q.PITest(t[2])},this.reduceActions[61]=function(t){return t[1]},this.reduceActions[63]=function(t){return t[1].absolute=!0,t[1].steps.unshift(new D(D.DESCENDANTORSELF,q.nodeTest,[])),t[1]},this.reduceActions[64]=function(t){return t[0].steps.push(new D(D.DESCENDANTORSELF,q.nodeTest,[])),t[0].steps.push(t[2]),t[0]},this.reduceActions[65]=function(t){return new D(D.SELF,q.nodeTest,[])},this.reduceActions[66]=function(t){return new D(D.PARENT,q.nodeTest,[])},this.reduceActions[67]=function(t){return new F(t[1])},this.reduceActions[68]=function(t){return q.nameTestAny},this.reduceActions[69]=function(t){return new q.NameTestPrefixAny(t[0].split(":")[0])},this.reduceActions[70]=function(t){return new q.NameTestQName(t[0])}},h.actionTable=[" s s sssssssss s ss s ss"," s ","r rrrrrrrrr rrrrrrr rr r "," rrrrr "," s s sssssssss s ss s ss","rs rrrrrrrr s sssssrrrrrr rrs rs "," s s sssssssss s ss s ss"," s "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s "," s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr r ","a ","r s rr r ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrs rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r srrrrrrrr rrrrrrs rr sr ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r "," sssss ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrr rrrrr rr r "," s "," s "," rrrrr "," s s sssssssss s sss s ss","r srrrrrrrr rrrrrrs rr r "," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss ss s ss"," s s sssssssss s ss s ss"," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr rr "," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," rr "," s "," rs ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrr rr r "," r "," s ","r srrrrrrrr rrrrrrs rr r ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s s sssssssss s ss s ss","r rrrrrrrrr rrrrrrr rr rr "," r "],h.actionTableNumber=[" 1 0 /.-,+*)(' & %$ # \"!"," J ","a aaaaaaaaa aaaaaaa aa a "," YYYYY "," 1 0 /.-,+*)(' & %$ # \"!","K1 KKKKKKKK . +*)('KKKKKK KK# K\" "," 1 0 /.-,+*)(' & %$ # \"!"," N "," O ","e eeeeeeeee eeeeeee ee ee ","f fffffffff fffffff ff ff ","d ddddddddd ddddddd dd dd ","B BBBBBBBBB BBBBBBB BB BB ","A AAAAAAAAA AAAAAAA AA AA "," P "," Q "," 1 . +*)(' # \" ","b bbbbbbbbb bbbbbbb bb b "," ","! S !! ! ",'" T" "" " ',"$ V $$ U $$ $ ","& &ZY&& &XW && & ",") ))))) )))\\[ )) ) ",". ....._^] ..... .. . ","1 11111111 11111 11 1 ","5 55555555 55555` 55 5 ","7 77777777 777777 77 7 ","9 99999999 999999 99 9 ",": c:::::::: ::::::b :: a: ","I fIIIIIIII IIIIIIe II I ","= ========= ======= == == ","? ????????? ??????? ?? ?? ","C CCCCCCCCC CCCCCCC CC CC ","J JJJJJJJJ JJJJJJ JJ J ","M MMMMMMMM MMMMMM MM M ","N NNNNNNNNN NNNNNNN NN N ","P PPPPPPPPP PPPPPPP PP P "," +*)(' ","R RRRRRRRRR RRRRRRR RR aR ","U UUUUUUUUU UUUUUUU UU U ","Z ZZZZZZZZZ ZZZZZZZ ZZ ZZ ","c ccccccccc ccccccc cc cc "," j ","L fLLLLLLLL LLLLLLe LL L ","6 66666666 66666 66 6 "," k "," l "," XXXXX "," 1 0 /.-,+*)(' & %$m # \"!","_ f________ ______e __ _ "," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 . +*)(' # \" "," 1 . +*)(' # \" ","> >>>>>>>>> >>>>>>> >> >> "," 1 . +*)(' # \" "," 1 . +*)(' # \" ","Q QQQQQQQQQ QQQQQQQ QQ aQ ","V VVVVVVVVV VVVVVVV VV aV ","T TTTTTTTTT TTTTTTT TT T ","@ @@@@@@@@@ @@@@@@@ @@ @@ "," ‡ ","[ [[[[[[[[[ [[[[[[[ [[ [[ ","D DDDDDDDDD DDDDDDD DD DD "," HH "," ˆ "," F‰ ","# T# ## # ","% V %% U %% % ","' 'ZY'' 'XW '' ' ","( (ZY(( (XW (( ( ","+ +++++ +++\\[ ++ + ","* ***** ***\\[ ** * ","- ----- ---\\[ -- - ",", ,,,,, ,,,\\[ ,, , ","0 00000_^] 00000 00 0 ","/ /////_^] ///// // / ","2 22222222 22222 22 2 ","3 33333333 33333 33 3 ","4 44444444 44444 44 4 ","8 88888888 888888 88 8 "," ^ "," Š ","; f;;;;;;;; ;;;;;;e ;; ; ","< f<<<<<<<< <<<<<?@ AB CDEFGH IJ "," "," "," ","L456789:;<=>?@ AB CDEFGH IJ "," M EFGH IJ "," N;<=>?@ AB CDEFGH IJ "," "," "," "," "," "," "," "," "," "," S EFGH IJ "," "," "," "," "," "," "," "," "," "," "," "," "," e "," "," "," "," "," "," "," "," "," h J "," i j "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABpqCDEFGH IJ "," "," r6789:;<=>?@ AB CDEFGH IJ "," s789:;<=>?@ AB CDEFGH IJ "," t89:;<=>?@ AB CDEFGH IJ "," u89:;<=>?@ AB CDEFGH IJ "," v9:;<=>?@ AB CDEFGH IJ "," w9:;<=>?@ AB CDEFGH IJ "," x9:;<=>?@ AB CDEFGH IJ "," y9:;<=>?@ AB CDEFGH IJ "," z:;<=>?@ AB CDEFGH IJ "," {:;<=>?@ AB CDEFGH IJ "," |;<=>?@ AB CDEFGH IJ "," };<=>?@ AB CDEFGH IJ "," ~;<=>?@ AB CDEFGH IJ "," =>?@ AB CDEFGH IJ ","€456789:;<=>?@ AB CDEFGH IJ"," ‚ EFGH IJ "," ƒ EFGH IJ "," "," „ GH IJ "," … GH IJ "," i † "," i ‡ "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABŒqCDEFGH IJ "," "," "],h.productions=[[1,1,2],[2,1,3],[3,1,4],[3,3,3,-9,4],[4,1,5],[4,3,4,-8,5],[5,1,6],[5,3,5,-22,6],[5,3,5,-5,6],[6,1,7],[6,3,6,-23,7],[6,3,6,-24,7],[6,3,6,-6,7],[6,3,6,-7,7],[7,1,8],[7,3,7,-25,8],[7,3,7,-26,8],[8,1,9],[8,3,8,-12,9],[8,3,8,-11,9],[8,3,8,-10,9],[9,1,10],[9,2,-26,9],[10,1,11],[10,3,10,-27,11],[11,1,12],[11,1,13],[11,3,13,-28,14],[11,3,13,-4,14],[13,1,15],[13,2,13,16],[15,1,17],[15,3,-29,2,-30],[15,1,-15],[15,1,-16],[15,1,18],[18,3,-13,-29,-30],[18,4,-13,-29,19,-30],[19,1,20],[19,3,20,-31,19],[20,1,2],[12,1,14],[12,1,21],[21,1,-28],[21,2,-28,14],[21,1,22],[14,1,23],[14,3,14,-28,23],[14,1,24],[23,2,25,26],[23,1,26],[23,3,25,26,27],[23,2,26,27],[23,1,28],[27,1,16],[27,2,16,27],[25,2,-14,-3],[25,1,-32],[26,1,29],[26,3,-20,-29,-30],[26,4,-21,-29,-15,-30],[16,3,-33,30,-34],[30,1,2],[22,2,-4,14],[24,3,14,-4,23],[28,1,-35],[28,1,-2],[17,2,-36,-18],[29,1,-17],[29,1,-19],[29,1,-18]],h.DOUBLEDOT=2,h.DOUBLECOLON=3,h.DOUBLESLASH=4,h.NOTEQUAL=5,h.LESSTHANOREQUAL=6,h.GREATERTHANOREQUAL=7,h.AND=8,h.OR=9,h.MOD=10,h.DIV=11,h.MULTIPLYOPERATOR=12,h.FUNCTIONNAME=13,h.AXISNAME=14,h.LITERAL=15,h.NUMBER=16,h.ASTERISKNAMETEST=17,h.QNAME=18,h.NCNAMECOLONASTERISK=19,h.NODETYPE=20,h.PROCESSINGINSTRUCTIONWITHLITERAL=21,h.EQUALS=22,h.LESSTHAN=23,h.GREATERTHAN=24,h.PLUS=25,h.MINUS=26,h.BAR=27,h.SLASH=28,h.LEFTPARENTHESIS=29,h.RIGHTPARENTHESIS=30,h.COMMA=31,h.AT=32,h.LEFTBRACKET=33,h.RIGHTBRACKET=34,h.DOT=35,h.DOLLAR=36,h.prototype.tokenize=function(t){for(var e=[],r=[],n=t+"\0",i=0,o=n.charAt(i++);;){for(;" "==o||"\t"==o||"\r"==o||"\n"==o;)o=n.charAt(i++);if("\0"==o||i>=n.length)break;if("("!=o)if(")"!=o)if("["!=o)if("]"!=o)if("@"!=o)if(","!=o)if("|"!=o)if("+"!=o)if("-"!=o)if("="!=o)if("$"!=o)if("."!=o)if("'"!=o&&'"'!=o)if(o>="0"&&o<="9"){l=o;for(o=n.charAt(i++);o>="0"&&o<="9";)l+=o,o=n.charAt(i++);if("."==o&&n.charAt(i)>="0"&&n.charAt(i)<="9")for(l+=o,l+=n.charAt(i++),o=n.charAt(i++);o>="0"&&o<="9";)l+=o,o=n.charAt(i++);e.push(h.NUMBER),r.push(l)}else if("*"!=o)if(":"!=o||":"!=n.charAt(i))if("/"!=o)if("!"!=o||"="!=n.charAt(i))if("<"!=o)if(">"!=o){if("_"!=o&&!Z.isLetter(o.charCodeAt(0)))throw new Error("Unexpected character "+o);var s=o;for(o=n.charAt(i++);Z.isNCNameChar(o.charCodeAt(0));)s+=o,o=n.charAt(i++);if(e.length>0&&(a=e[e.length-1])!=h.AT&&a!=h.DOUBLECOLON&&a!=h.LEFTPARENTHESIS&&a!=h.LEFTBRACKET&&a!=h.AND&&a!=h.OR&&a!=h.MOD&&a!=h.DIV&&a!=h.MULTIPLYOPERATOR&&a!=h.SLASH&&a!=h.DOUBLESLASH&&a!=h.BAR&&a!=h.PLUS&&a!=h.MINUS&&a!=h.EQUALS&&a!=h.NOTEQUAL&&a!=h.LESSTHAN&&a!=h.LESSTHANOREQUAL&&a!=h.GREATERTHAN&&a!=h.GREATERTHANOREQUAL){if("and"==s){e.push(h.AND),r.push(s);continue}if("or"==s){e.push(h.OR),r.push(s);continue}if("mod"==s){e.push(h.MOD),r.push(s);continue}if("div"==s){e.push(h.DIV),r.push(s);continue}}if(":"==o){if("*"==n.charAt(i)){e.push(h.NCNAMECOLONASTERISK),r.push(s+":*"),i++,o=n.charAt(i++);continue}if("_"==n.charAt(i)||Z.isLetter(n.charCodeAt(i))){for(s+=":",o=n.charAt(i++);Z.isNCNameChar(o.charCodeAt(0));)s+=o,o=n.charAt(i++);if("("==o){e.push(h.FUNCTIONNAME),r.push(s);continue}e.push(h.QNAME),r.push(s);continue}if(":"==n.charAt(i)){e.push(h.AXISNAME),r.push(s);continue}}if("("==o){if("comment"==s||"text"==s||"node"==s){e.push(h.NODETYPE),r.push(s);continue}if("processing-instruction"==s){")"==n.charAt(i)?e.push(h.NODETYPE):e.push(h.PROCESSINGINSTRUCTIONWITHLITERAL),r.push(s);continue}e.push(h.FUNCTIONNAME),r.push(s);continue}e.push(h.QNAME),r.push(s)}else{if("="==n.charAt(i)){e.push(h.GREATERTHANOREQUAL),r.push(">="),i++,o=n.charAt(i++);continue}e.push(h.GREATERTHAN),r.push(">"),o=n.charAt(i++)}else{if("="==n.charAt(i)){e.push(h.LESSTHANOREQUAL),r.push("<="),i++,o=n.charAt(i++);continue}e.push(h.LESSTHAN),r.push("<"),o=n.charAt(i++)}else e.push(h.NOTEQUAL),r.push("!="),i++,o=n.charAt(i++);else{if("/"==(o=n.charAt(i++))){e.push(h.DOUBLESLASH),r.push("//"),o=n.charAt(i++);continue}e.push(h.SLASH),r.push("/")}else e.push(h.DOUBLECOLON),r.push("::"),i++,o=n.charAt(i++);else{var a;if(e.length>0&&(a=e[e.length-1])!=h.AT&&a!=h.DOUBLECOLON&&a!=h.LEFTPARENTHESIS&&a!=h.LEFTBRACKET&&a!=h.AND&&a!=h.OR&&a!=h.MOD&&a!=h.DIV&&a!=h.MULTIPLYOPERATOR&&a!=h.SLASH&&a!=h.DOUBLESLASH&&a!=h.BAR&&a!=h.PLUS&&a!=h.MINUS&&a!=h.EQUALS&&a!=h.NOTEQUAL&&a!=h.LESSTHAN&&a!=h.LESSTHANOREQUAL&&a!=h.GREATERTHAN&&a!=h.GREATERTHANOREQUAL){e.push(h.MULTIPLYOPERATOR),r.push(o),o=n.charAt(i++);continue}e.push(h.ASTERISKNAMETEST),r.push(o),o=n.charAt(i++)}else{for(var u=o,c="";i="0"&&o<="9"){var l="."+o;for(o=n.charAt(i++);o>="0"&&o<="9";)l+=o,o=n.charAt(i++);e.push(h.NUMBER),r.push(l);continue}e.push(h.DOT),r.push(".")}else e.push(h.DOLLAR),r.push(o),o=n.charAt(i++);else e.push(h.EQUALS),r.push(o),o=n.charAt(i++);else e.push(h.MINUS),r.push(o),o=n.charAt(i++);else e.push(h.PLUS),r.push(o),o=n.charAt(i++);else e.push(h.BAR),r.push(o),o=n.charAt(i++);else e.push(h.COMMA),r.push(o),o=n.charAt(i++);else e.push(h.AT),r.push(o),o=n.charAt(i++);else e.push(h.RIGHTBRACKET),r.push(o),o=n.charAt(i++);else e.push(h.LEFTBRACKET),r.push(o),o=n.charAt(i++);else e.push(h.RIGHTPARENTHESIS),r.push(o),o=n.charAt(i++);else e.push(h.LEFTPARENTHESIS),r.push(o),o=n.charAt(i++)}return e.push(1),r.push("[EOF]"),[e,r]},h.SHIFT="s",h.REDUCE="r",h.ACCEPT="a",h.prototype.parse=function(t){var e,r,n=this.tokenize(t);if(null!=n){e=n[0],r=n[1];var i,o,s=0,a=[],u=[],c=[];for(a.push(0),u.push(1),c.push("_S"),i=e[s],o=r[s++];;)switch(t=a[a.length-1],h.actionTable[t].charAt(i-1)){case h.SHIFT:u.push(-i),c.push(o),a.push(h.actionTableNumber[t].charCodeAt(i-1)-32),i=e[s],o=r[s++];break;case h.REDUCE:for(var l=h.productions[h.actionTableNumber[t].charCodeAt(i-1)-32][1],p=[],d=0;d"},d.prototype.evaluate=function(t){throw new Error("Could not evaluate expression.")},y.prototype=new d,y.prototype.constructor=y,y.superclass=d.prototype,y.prototype.init=function(t){this.rhs=t},g.prototype=new y,g.prototype.constructor=g,g.superclass=y.prototype,g.prototype.init=function(t){g.superclass.init.call(this,t)},g.prototype.evaluate=function(t){return this.rhs.evaluate(t).number().negate()},g.prototype.toString=function(){return"-"+this.rhs.toString()},m.prototype=new d,m.prototype.constructor=m,m.superclass=d.prototype,m.prototype.init=function(t,e){this.lhs=t,this.rhs=e},b.prototype=new m,b.prototype.constructor=b,b.superclass=m.prototype,b.prototype.init=function(t,e){b.superclass.init.call(this,t,e)},b.prototype.toString=function(){return"("+this.lhs.toString()+" or "+this.rhs.toString()+")"},b.prototype.evaluate=function(t){var e=this.lhs.evaluate(t).bool();return e.booleanValue()?e:this.rhs.evaluate(t).bool()},v.prototype=new m,v.prototype.constructor=v,v.superclass=m.prototype,v.prototype.init=function(t,e){v.superclass.init.call(this,t,e)},v.prototype.toString=function(){return"("+this.lhs.toString()+" and "+this.rhs.toString()+")"},v.prototype.evaluate=function(t){var e=this.lhs.evaluate(t).bool();return e.booleanValue()?this.rhs.evaluate(t).bool():e},w.prototype=new m,w.prototype.constructor=w,w.superclass=m.prototype,w.prototype.init=function(t,e){w.superclass.init.call(this,t,e)},w.prototype.toString=function(){return"("+this.lhs.toString()+" = "+this.rhs.toString()+")"},w.prototype.evaluate=function(t){return this.lhs.evaluate(t).equals(this.rhs.evaluate(t))},E.prototype=new m,E.prototype.constructor=E,E.superclass=m.prototype,E.prototype.init=function(t,e){E.superclass.init.call(this,t,e)},E.prototype.toString=function(){return"("+this.lhs.toString()+" != "+this.rhs.toString()+")"},E.prototype.evaluate=function(t){return this.lhs.evaluate(t).notequal(this.rhs.evaluate(t))},_.prototype=new m,_.prototype.constructor=_,_.superclass=m.prototype,_.prototype.init=function(t,e){_.superclass.init.call(this,t,e)},_.prototype.evaluate=function(t){return this.lhs.evaluate(t).lessthan(this.rhs.evaluate(t))},_.prototype.toString=function(){return"("+this.lhs.toString()+" < "+this.rhs.toString()+")"},M.prototype=new m,M.prototype.constructor=M,M.superclass=m.prototype,M.prototype.init=function(t,e){M.superclass.init.call(this,t,e)},M.prototype.evaluate=function(t){return this.lhs.evaluate(t).greaterthan(this.rhs.evaluate(t))},M.prototype.toString=function(){return"("+this.lhs.toString()+" > "+this.rhs.toString()+")"},S.prototype=new m,S.prototype.constructor=S,S.superclass=m.prototype,S.prototype.init=function(t,e){S.superclass.init.call(this,t,e)},S.prototype.evaluate=function(t){return this.lhs.evaluate(t).lessthanorequal(this.rhs.evaluate(t))},S.prototype.toString=function(){return"("+this.lhs.toString()+" <= "+this.rhs.toString()+")"},x.prototype=new m,x.prototype.constructor=x,x.superclass=m.prototype,x.prototype.init=function(t,e){x.superclass.init.call(this,t,e)},x.prototype.evaluate=function(t){return this.lhs.evaluate(t).greaterthanorequal(this.rhs.evaluate(t))},x.prototype.toString=function(){return"("+this.lhs.toString()+" >= "+this.rhs.toString()+")"},N.prototype=new m,N.prototype.constructor=N,N.superclass=m.prototype,N.prototype.init=function(t,e){N.superclass.init.call(this,t,e)},N.prototype.evaluate=function(t){return this.lhs.evaluate(t).number().plus(this.rhs.evaluate(t).number())},N.prototype.toString=function(){return"("+this.lhs.toString()+" + "+this.rhs.toString()+")"},A.prototype=new m,A.prototype.constructor=A,A.superclass=m.prototype,A.prototype.init=function(t,e){A.superclass.init.call(this,t,e)},A.prototype.evaluate=function(t){return this.lhs.evaluate(t).number().minus(this.rhs.evaluate(t).number())},A.prototype.toString=function(){return"("+this.lhs.toString()+" - "+this.rhs.toString()+")"},O.prototype=new m,O.prototype.constructor=O,O.superclass=m.prototype,O.prototype.init=function(t,e){O.superclass.init.call(this,t,e)},O.prototype.evaluate=function(t){return this.lhs.evaluate(t).number().multiply(this.rhs.evaluate(t).number())},O.prototype.toString=function(){return"("+this.lhs.toString()+" * "+this.rhs.toString()+")"},T.prototype=new m,T.prototype.constructor=T,T.superclass=m.prototype,T.prototype.init=function(t,e){T.superclass.init.call(this,t,e)},T.prototype.evaluate=function(t){return this.lhs.evaluate(t).number().div(this.rhs.evaluate(t).number())},T.prototype.toString=function(){return"("+this.lhs.toString()+" div "+this.rhs.toString()+")"},R.prototype=new m,R.prototype.constructor=R,R.superclass=m.prototype,R.prototype.init=function(t,e){R.superclass.init.call(this,t,e)},R.prototype.evaluate=function(t){return this.lhs.evaluate(t).number().mod(this.rhs.evaluate(t).number())},R.prototype.toString=function(){return"("+this.lhs.toString()+" mod "+this.rhs.toString()+")"},P.prototype=new m,P.prototype.constructor=P,P.superclass=m.prototype,P.prototype.init=function(t,e){P.superclass.init.call(this,t,e)},P.prototype.evaluate=function(t){return this.lhs.evaluate(t).nodeset().union(this.rhs.evaluate(t).nodeset())},P.prototype.toString=function(){return i(o,[this.lhs,this.rhs]).join(" | ")},C.prototype=new d,C.prototype.constructor=C,C.superclass=d.prototype,C.prototype.init=function(t,e,r){C.superclass.init.call(this),this.filter=t,this.filterPredicates=e,this.locationPath=r},C.applyPredicates=function(t,n,i){if(0===t.length)return i;var o=n.extend({});return r((function(t,r){return o.contextSize=t.length,n=function(t,e){return o.contextNode=t,o.contextPosition=e+1,C.predicateMatches(r,o)},i=[],e((function(t,e){n(t,e)&&i.push(t)}),t),i;var n,i}),i,t)},C.getRoot=function(t,e){var r=e[0];if(9===r.nodeType)return r;if(t.virtualRoot)return t.virtualRoot;var n=r.ownerDocument;if(n)return n;for(var i=r;null!=i.parentNode;)i=i.parentNode;return i},C.applyStep=function(t,e,r){var n=[];switch(e.contextNode=r,t.axis){case D.ANCESTOR:if(e.contextNode===e.virtualRoot)break;for(i=2==e.contextNode.nodeType?C.getOwnerElement(e.contextNode):e.contextNode.parentNode;null!=i&&(t.nodeTest.matches(i,e)&&n.push(i),i!==e.virtualRoot);)i=i.parentNode;break;case D.ANCESTORORSELF:for(var i=e.contextNode;null!=i&&(t.nodeTest.matches(i,e)&&n.push(i),i!==e.virtualRoot);i=2==i.nodeType?C.getOwnerElement(i):i.parentNode);break;case D.ATTRIBUTE:var o=e.contextNode.attributes;if(null!=o)for(var s=0;s0;)for(i=a.pop();null!=i;)t.nodeTest.matches(i,e)&&n.push(i),null!=i.firstChild?(a.push(i.nextSibling),i=i.firstChild):i=i.nextSibling;break;case D.DESCENDANTORSELF:t.nodeTest.matches(e.contextNode,e)&&n.push(e.contextNode);for(a=[e.contextNode.firstChild];a.length>0;)for(i=a.pop();null!=i;)t.nodeTest.matches(i,e)&&n.push(i),null!=i.firstChild?(a.push(i.nextSibling),i=i.firstChild):i=i.nextSibling;break;case D.FOLLOWING:if(e.contextNode===e.virtualRoot)break;a=[];null!=e.contextNode.firstChild?a.unshift(e.contextNode.firstChild):a.unshift(e.contextNode.nextSibling);for(i=e.contextNode.parentNode;null!=i&&9!=i.nodeType&&i!==e.virtualRoot;i=i.parentNode)a.unshift(i.nextSibling);do{for(i=a.pop();null!=i;)t.nodeTest.matches(i,e)&&n.push(i),null!=i.firstChild?(a.push(i.nextSibling),i=i.firstChild):i=i.nextSibling}while(a.length>0);break;case D.FOLLOWINGSIBLING:if(e.contextNode===e.virtualRoot)break;for(i=e.contextNode.nextSibling;null!=i;i=i.nextSibling)t.nodeTest.matches(i,e)&&n.push(i);break;case D.NAMESPACE:var u={};if(1==e.contextNode.nodeType){u.xml=f.XML_NAMESPACE_URI,u.xmlns=f.XMLNS_NAMESPACE_URI;for(i=e.contextNode;null!=i&&1==i.nodeType;i=i.parentNode)for(s=0;s6&&"xmlns:"==l.substring(0,6)){null==u[h=l.substring(6,l.length)]&&(u[h]=c.value)}}for(var h in u){var p=new $(h,u[h],e.contextNode);t.nodeTest.matches(p,e)&&n.push(p)}}break;case D.PARENT:i=null,e.contextNode!==e.virtualRoot&&(i=2==e.contextNode.nodeType?C.getOwnerElement(e.contextNode):e.contextNode.parentNode),null!=i&&t.nodeTest.matches(i,e)&&n.push(i);break;case D.PRECEDING:a=null!=e.virtualRoot?[e.virtualRoot]:[j(e.contextNode)];t:for(;a.length>0;)for(i=a.pop();null!=i;){if(i==e.contextNode)break t;t.nodeTest.matches(i,e)&&n.unshift(i),null!=i.firstChild?(a.push(i.nextSibling),i=i.firstChild):i=i.nextSibling}break;case D.PRECEDINGSIBLING:if(e.contextNode===e.virtualRoot)break;for(i=e.contextNode.previousSibling;null!=i;i=i.previousSibling)t.nodeTest.matches(i,e)&&n.push(i);break;case D.SELF:t.nodeTest.matches(e.contextNode,e)&&n.push(e.contextNode)}return n},C.applySteps=function(t,e,n){return r(L.bind(null,e),n,t)},C.prototype.applyFilter=function(t,e){if(!this.filter)return{nodes:[t.contextNode]};var r=this.filter.evaluate(t);if(!Z.instance_of(r,W)){if(null!=this.filterPredicates&&this.filterPredicates.length>0||null!=this.locationPath)throw new Error("Path expression filter must evaluate to a nodeset if predicates or location path are used");return{nonNodes:r}}return{nodes:C.applyPredicates(this.filterPredicates||[],e,r.toUnsortedArray())}},C.applyLocationPath=function(t,e,r){if(!t)return r;var n=t.absolute?[C.getRoot(e,r)]:r;return C.applySteps(t.steps,e,n)},C.prototype.evaluate=function(t){var e=l(new J,t),r=this.applyFilter(t,e);if("nonNodes"in r)return r.nonNodes;var n=new W;return n.addArray(C.applyLocationPath(this.locationPath,e,r.nodes)),n},C.predicateMatches=function(t,e){var r=t.evaluate(e);return Z.instance_of(r,H)?e.contextPosition===r.numberValue():r.booleanValue()},C.predicateString=function(t){return a("[","]",t.toString())},C.predicatesString=function(t){return s("",i(C.predicateString,t))},C.prototype.toString=function(){if(null!=this.filter){var t=o(this.filter);return Z.instance_of(this.filter,G)?a("'","'",t):null!=this.filterPredicates&&this.filterPredicates.length?a("(",")",t)+C.predicatesString(this.filterPredicates):null!=this.locationPath?t+(this.locationPath.absolute?"":"/")+o(this.locationPath):t}return o(this.locationPath)},C.getOwnerElement=function(t){if(t.ownerElement)return t.ownerElement;try{if(t.selectSingleNode)return t.selectSingleNode("..")}catch(t){}for(var e=(9==t.nodeType?t:t.ownerDocument).getElementsByTagName("*"),r=0;r"},q.prototype.matches=function(t,e){n.warn("unknown node test type")},q.NAMETESTANY=0,q.NAMETESTPREFIXANY=1,q.NAMETESTQNAME=2,q.COMMENT=3,q.TEXT=4,q.PI=5,q.NODE=6,q.isNodeType=function(t){return function(e){return function(t,e){for(var r=0;r1?e[0]:null,this.localName=e[e.length>1?1:0]})),q.PITest=q.makeNodeTestType(q.PI,{matches:function(t,e){return q.isNodeType([7])(t)&&(t.target||t.nodeName)===this.name},toString:function(){return a('processing-instruction("','")',this.name)}},(function(t){this.name=t})),q.nameTestAny=q.makeNodeTypeTest(q.NAMETESTANY,[1,2,$.XPATH_NAMESPACE_NODE],"*"),q.textTest=q.makeNodeTypeTest(q.TEXT,[3,4],"text()"),q.commentTest=q.makeNodeTypeTest(q.COMMENT,[8],"comment()"),q.nodeTest=q.makeNodeTypeTest(q.NODE,[1,2,3,4,7,8,9],"node()"),q.anyPiTest=q.makeNodeTypeTest(q.PI,[7],"processing-instruction()"),F.prototype=new d,F.prototype.constructor=F,F.superclass=d.prototype,F.prototype.init=function(t){this.variable=t},F.prototype.toString=function(){return"$"+this.variable},F.prototype.evaluate=function(t){var e=Z.resolveQName(this.variable,t.namespaceResolver,t.contextNode,!1);if(null==e[0])throw new Error("Cannot resolve QName "+fn);var r=t.variableResolver.getVariable(e[1],e[0]);if(!r)throw tt.fromMessage("Undeclared variable: "+this.toString());return r},U.prototype=new d,U.prototype.constructor=U,U.superclass=d.prototype,U.prototype.init=function(t,e){this.functionName=t,this.arguments=e},U.prototype.toString=function(){for(var t=this.functionName+"(",e=0;e0&&(t+=", "),t+=this.arguments[e].toString();return t+")"},U.prototype.evaluate=function(t){var e=X.getFunctionFromContext(this.functionName,t);if(!e)throw new Error("Unknown function "+this.functionName);var r=[t].concat(this.arguments);return e.apply(t.functionResolver.thisArg,r)};var B=new Object;function G(t){arguments.length>0&&this.init(t)}function H(t){arguments.length>0&&this.init(t)}function V(t){arguments.length>0&&this.init(t)}function z(t){this.init(t)}function W(){this.init()}function $(t,e,r){this.isXPathNamespace=!0,this.ownerDocument=r.ownerDocument,this.nodeName="#namespace",this.prefix=t,this.localName=t,this.namespaceURI=e,this.nodeValue=e,this.ownerElement=r,this.nodeType=$.XPATH_NAMESPACE_NODE}function J(t,e,r){this.variableResolver=null!=t?t:new Y,this.namespaceResolver=null!=e?e:new Q,this.functionResolver=null!=r?r:new X}function Y(){}function X(t){this.thisArg=null!=t?t:K,this.functions=new Object,this.addStandardFunctions()}function Q(){}B.equals=function(t,e){return t.equals(e)},B.notequal=function(t,e){return t.notequal(e)},B.lessthan=function(t,e){return t.lessthan(e)},B.greaterthan=function(t,e){return t.greaterthan(e)},B.lessthanorequal=function(t,e){return t.lessthanorequal(e)},B.greaterthanorequal=function(t,e){return t.greaterthanorequal(e)},G.prototype=new d,G.prototype.constructor=G,G.superclass=d.prototype,G.prototype.init=function(t){this.str=String(t)},G.prototype.toString=function(){return this.str},G.prototype.evaluate=function(t){return this},G.prototype.string=function(){return this},G.prototype.number=function(){return new H(this.str)},G.prototype.bool=function(){return new V(this.str)},G.prototype.nodeset=function(){throw new Error("Cannot convert string to nodeset")},G.prototype.stringValue=function(){return this.str},G.prototype.numberValue=function(){return this.number().numberValue()},G.prototype.booleanValue=function(){return this.bool().booleanValue()},G.prototype.equals=function(t){return Z.instance_of(t,V)?this.bool().equals(t):Z.instance_of(t,H)?this.number().equals(t):Z.instance_of(t,W)?t.compareWithString(this,B.equals):new V(this.str==t.str)},G.prototype.notequal=function(t){return Z.instance_of(t,V)?this.bool().notequal(t):Z.instance_of(t,H)?this.number().notequal(t):Z.instance_of(t,W)?t.compareWithString(this,B.notequal):new V(this.str!=t.str)},G.prototype.lessthan=function(t){return this.number().lessthan(t)},G.prototype.greaterthan=function(t){return this.number().greaterthan(t)},G.prototype.lessthanorequal=function(t){return this.number().lessthanorequal(t)},G.prototype.greaterthanorequal=function(t){return this.number().greaterthanorequal(t)},H.prototype=new d,H.prototype.constructor=H,H.superclass=d.prototype,H.prototype.init=function(t){this.num="string"==typeof t?this.parse(t):Number(t)},H.prototype.numberFormat=/^\s*-?[0-9]*\.?[0-9]+\s*$/,H.prototype.parse=function(t){return this.numberFormat.test(t)?parseFloat(t):Number.NaN},H.prototype.toString=function(){var t=this.num.toString();return-1!==t.indexOf("e-")?function(t){for(var e=t.split("e-"),r=e[0].replace(".",""),n=Number(e[1]),i=0;it.num)},H.prototype.lessthanorequal=function(t){return Z.instance_of(t,W)?t.compareWithNumber(this,B.greaterthanorequal):Z.instance_of(t,V)||Z.instance_of(t,G)?this.lessthanorequal(t.number()):new V(this.num<=t.num)},H.prototype.greaterthanorequal=function(t){return Z.instance_of(t,W)?t.compareWithNumber(this,B.lessthanorequal):Z.instance_of(t,V)||Z.instance_of(t,G)?this.greaterthanorequal(t.number()):new V(this.num>=t.num)},H.prototype.plus=function(t){return new H(this.num+t.num)},H.prototype.minus=function(t){return new H(this.num-t.num)},H.prototype.multiply=function(t){return new H(this.num*t.num)},H.prototype.div=function(t){return new H(this.num/t.num)},H.prototype.mod=function(t){return new H(this.num%t.num)},V.prototype=new d,V.prototype.constructor=V,V.superclass=d.prototype,V.prototype.init=function(t){this.b=Boolean(t)},V.prototype.toString=function(){return this.b.toString()},V.prototype.evaluate=function(t){return this},V.prototype.string=function(){return new G(this.b)},V.prototype.number=function(){return new H(this.b)},V.prototype.bool=function(){return this},V.prototype.nodeset=function(){throw new Error("Cannot convert boolean to nodeset")},V.prototype.stringValue=function(){return this.string().stringValue()},V.prototype.numberValue=function(){return this.number().numberValue()},V.prototype.booleanValue=function(){return this.b},V.prototype.not=function(){return new V(!this.b)},V.prototype.equals=function(t){return Z.instance_of(t,G)||Z.instance_of(t,H)?this.equals(t.bool()):Z.instance_of(t,W)?t.compareWithBoolean(this,B.equals):new V(this.b==t.b)},V.prototype.notequal=function(t){return Z.instance_of(t,G)||Z.instance_of(t,H)?this.notequal(t.bool()):Z.instance_of(t,W)?t.compareWithBoolean(this,B.notequal):new V(this.b!=t.b)},V.prototype.lessthan=function(t){return this.number().lessthan(t)},V.prototype.greaterthan=function(t){return this.number().greaterthan(t)},V.prototype.lessthanorequal=function(t){return this.number().lessthanorequal(t)},V.prototype.greaterthanorequal=function(t){return this.number().greaterthanorequal(t)},V.true_=new V(!0),V.false_=new V(!1),z.prototype=new Object,z.prototype.constructor=z,z.superclass=Object.prototype,z.prototype.init=function(t){this.left=null,this.right=null,this.node=t,this.depth=1},z.prototype.balance=function(){var t=null==this.left?0:this.left.depth,e=null==this.right?0:this.right.depth;if(t>e+1)(null==this.left.left?0:this.left.left.depth)<(null==this.left.right?0:this.left.right.depth)&&this.left.rotateRR(),this.rotateLL();else if(t+1r&&this.right.rotateLL(),this.rotateRR()}},z.prototype.rotateLL=function(){var t=this.node,e=this.right;this.node=this.left.node,this.right=this.left,this.left=this.left.left,this.right.left=this.right.right,this.right.right=e,this.right.node=t,this.right.updateInNewLocation(),this.updateInNewLocation()},z.prototype.rotateRR=function(){var t=this.node,e=this.left;this.node=this.right.node,this.left=this.right,this.right=this.right.right,this.left.right=this.left.left,this.left.left=e,this.left.node=t,this.left.updateInNewLocation(),this.updateInNewLocation()},z.prototype.updateInNewLocation=function(){this.getDepthFromChildren()},z.prototype.getDepthFromChildren=function(){this.depth=null==this.node?0:1,null!=this.left&&(this.depth=this.left.depth+1),null!=this.right&&this.depth<=this.right.depth&&(this.depth=this.right.depth+1)},z.prototype.add=function(t){if(t===this.node)return!1;var e=function(t,e){if(t===e)return 0;if(t.compareDocumentPosition){var r=t.compareDocumentPosition(e);return 1&r||10&r?1:20&r?-1:0}for(var n=0,i=0,o=t;null!=o;o=o.parentNode||o.ownerElement)n++;for(var s=e;null!=s;s=s.parentNode||s.ownerElement)i++;if(n>i){for(;n>i;)t=t.parentNode||t.ownerElement,n--;if(t===e)return 1}else if(i>n){for(;i>n;)e=e.parentNode||e.ownerElement,i--;if(t===e)return-1}for(var a=t.parentNode||t.ownerElement,u=e.parentNode||e.ownerElement;a!==u;)e=u,a=(t=a).parentNode||t.ownerElement,u=e.parentNode||e.ownerElement;var c=Z.isAttribute(t),l=Z.isAttribute(e);if(c&&!l)return-1;if(!c&&l)return 1;if(a)for(var h=c?a.attributes:a.childNodes,f=h.length,p=0;pc.length?"":c[r]),t}),{},u);return new G(s("",i((function(t){return t in l?l[t]:t}),a)))},K.boolean_=function(){var t=arguments[0];if(2!=arguments.length)throw new Error("Function boolean expects (object)");return arguments[1].evaluate(t).bool()},K.not=function(t,e){if(2!=arguments.length)throw new Error("Function not expects (object)");return e.evaluate(t).bool().not()},K.true_=function(){if(1!=arguments.length)throw new Error("Function true expects ()");return V.true_},K.false_=function(){if(1!=arguments.length)throw new Error("Function false expects ()");return V.false_},K.lang=function(){var t,e=arguments[0];if(2!=arguments.length)throw new Error("Function lang expects (string)");for(var r=e.contextNode;null!=r&&9!=r.nodeType;r=r.parentNode){var n=r.getAttributeNS(f.XML_NAMESPACE_URI,"lang");if(null!=n){t=String(n);break}}if(null==t)return V.false_;var i=arguments[1].evaluate(e).stringValue();return new V(t.substring(0,i.length)==i&&(t.length==i.length||"-"==t.charAt(i.length)))},K.number=function(){var t=arguments[0];if(1!=arguments.length&&2!=arguments.length)throw new Error("Function number expects (object?)");return 1==arguments.length?new H(W.prototype.stringForNode(t.contextNode)):arguments[1].evaluate(t).number()},K.sum=function(){var t,e=arguments[0];if(2!=arguments.length||!Z.instance_of(t=arguments[1].evaluate(e),W))throw new Error("Function sum expects (node-set)");t=t.toUnsortedArray();for(var r=0,n=0;n=65&&t<=90||t>=97&&t<=122||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=255||t>=256&&t<=305||t>=308&&t<=318||t>=321&&t<=328||t>=330&&t<=382||t>=384&&t<=451||t>=461&&t<=496||t>=500&&t<=501||t>=506&&t<=535||t>=592&&t<=680||t>=699&&t<=705||902==t||t>=904&&t<=906||908==t||t>=910&&t<=929||t>=931&&t<=974||t>=976&&t<=982||986==t||988==t||990==t||992==t||t>=994&&t<=1011||t>=1025&&t<=1036||t>=1038&&t<=1103||t>=1105&&t<=1116||t>=1118&&t<=1153||t>=1168&&t<=1220||t>=1223&&t<=1224||t>=1227&&t<=1228||t>=1232&&t<=1259||t>=1262&&t<=1269||t>=1272&&t<=1273||t>=1329&&t<=1366||1369==t||t>=1377&&t<=1414||t>=1488&&t<=1514||t>=1520&&t<=1522||t>=1569&&t<=1594||t>=1601&&t<=1610||t>=1649&&t<=1719||t>=1722&&t<=1726||t>=1728&&t<=1742||t>=1744&&t<=1747||1749==t||t>=1765&&t<=1766||t>=2309&&t<=2361||2365==t||t>=2392&&t<=2401||t>=2437&&t<=2444||t>=2447&&t<=2448||t>=2451&&t<=2472||t>=2474&&t<=2480||2482==t||t>=2486&&t<=2489||t>=2524&&t<=2525||t>=2527&&t<=2529||t>=2544&&t<=2545||t>=2565&&t<=2570||t>=2575&&t<=2576||t>=2579&&t<=2600||t>=2602&&t<=2608||t>=2610&&t<=2611||t>=2613&&t<=2614||t>=2616&&t<=2617||t>=2649&&t<=2652||2654==t||t>=2674&&t<=2676||t>=2693&&t<=2699||2701==t||t>=2703&&t<=2705||t>=2707&&t<=2728||t>=2730&&t<=2736||t>=2738&&t<=2739||t>=2741&&t<=2745||2749==t||2784==t||t>=2821&&t<=2828||t>=2831&&t<=2832||t>=2835&&t<=2856||t>=2858&&t<=2864||t>=2866&&t<=2867||t>=2870&&t<=2873||2877==t||t>=2908&&t<=2909||t>=2911&&t<=2913||t>=2949&&t<=2954||t>=2958&&t<=2960||t>=2962&&t<=2965||t>=2969&&t<=2970||2972==t||t>=2974&&t<=2975||t>=2979&&t<=2980||t>=2984&&t<=2986||t>=2990&&t<=2997||t>=2999&&t<=3001||t>=3077&&t<=3084||t>=3086&&t<=3088||t>=3090&&t<=3112||t>=3114&&t<=3123||t>=3125&&t<=3129||t>=3168&&t<=3169||t>=3205&&t<=3212||t>=3214&&t<=3216||t>=3218&&t<=3240||t>=3242&&t<=3251||t>=3253&&t<=3257||3294==t||t>=3296&&t<=3297||t>=3333&&t<=3340||t>=3342&&t<=3344||t>=3346&&t<=3368||t>=3370&&t<=3385||t>=3424&&t<=3425||t>=3585&&t<=3630||3632==t||t>=3634&&t<=3635||t>=3648&&t<=3653||t>=3713&&t<=3714||3716==t||t>=3719&&t<=3720||3722==t||3725==t||t>=3732&&t<=3735||t>=3737&&t<=3743||t>=3745&&t<=3747||3749==t||3751==t||t>=3754&&t<=3755||t>=3757&&t<=3758||3760==t||t>=3762&&t<=3763||3773==t||t>=3776&&t<=3780||t>=3904&&t<=3911||t>=3913&&t<=3945||t>=4256&&t<=4293||t>=4304&&t<=4342||4352==t||t>=4354&&t<=4355||t>=4357&&t<=4359||4361==t||t>=4363&&t<=4364||t>=4366&&t<=4370||4412==t||4414==t||4416==t||4428==t||4430==t||4432==t||t>=4436&&t<=4437||4441==t||t>=4447&&t<=4449||4451==t||4453==t||4455==t||4457==t||t>=4461&&t<=4462||t>=4466&&t<=4467||4469==t||4510==t||4520==t||4523==t||t>=4526&&t<=4527||t>=4535&&t<=4536||4538==t||t>=4540&&t<=4546||4587==t||4592==t||4601==t||t>=7680&&t<=7835||t>=7840&&t<=7929||t>=7936&&t<=7957||t>=7960&&t<=7965||t>=7968&&t<=8005||t>=8008&&t<=8013||t>=8016&&t<=8023||8025==t||8027==t||8029==t||t>=8031&&t<=8061||t>=8064&&t<=8116||t>=8118&&t<=8124||8126==t||t>=8130&&t<=8132||t>=8134&&t<=8140||t>=8144&&t<=8147||t>=8150&&t<=8155||t>=8160&&t<=8172||t>=8178&&t<=8180||t>=8182&&t<=8188||8486==t||t>=8490&&t<=8491||8494==t||t>=8576&&t<=8578||t>=12353&&t<=12436||t>=12449&&t<=12538||t>=12549&&t<=12588||t>=44032&&t<=55203||t>=19968&&t<=40869||12295==t||t>=12321&&t<=12329},Z.isNCNameChar=function(t){return t>=48&&t<=57||t>=1632&&t<=1641||t>=1776&&t<=1785||t>=2406&&t<=2415||t>=2534&&t<=2543||t>=2662&&t<=2671||t>=2790&&t<=2799||t>=2918&&t<=2927||t>=3047&&t<=3055||t>=3174&&t<=3183||t>=3302&&t<=3311||t>=3430&&t<=3439||t>=3664&&t<=3673||t>=3792&&t<=3801||t>=3872&&t<=3881||46==t||45==t||95==t||Z.isLetter(t)||t>=768&&t<=837||t>=864&&t<=865||t>=1155&&t<=1158||t>=1425&&t<=1441||t>=1443&&t<=1465||t>=1467&&t<=1469||1471==t||t>=1473&&t<=1474||1476==t||t>=1611&&t<=1618||1648==t||t>=1750&&t<=1756||t>=1757&&t<=1759||t>=1760&&t<=1764||t>=1767&&t<=1768||t>=1770&&t<=1773||t>=2305&&t<=2307||2364==t||t>=2366&&t<=2380||2381==t||t>=2385&&t<=2388||t>=2402&&t<=2403||t>=2433&&t<=2435||2492==t||2494==t||2495==t||t>=2496&&t<=2500||t>=2503&&t<=2504||t>=2507&&t<=2509||2519==t||t>=2530&&t<=2531||2562==t||2620==t||2622==t||2623==t||t>=2624&&t<=2626||t>=2631&&t<=2632||t>=2635&&t<=2637||t>=2672&&t<=2673||t>=2689&&t<=2691||2748==t||t>=2750&&t<=2757||t>=2759&&t<=2761||t>=2763&&t<=2765||t>=2817&&t<=2819||2876==t||t>=2878&&t<=2883||t>=2887&&t<=2888||t>=2891&&t<=2893||t>=2902&&t<=2903||t>=2946&&t<=2947||t>=3006&&t<=3010||t>=3014&&t<=3016||t>=3018&&t<=3021||3031==t||t>=3073&&t<=3075||t>=3134&&t<=3140||t>=3142&&t<=3144||t>=3146&&t<=3149||t>=3157&&t<=3158||t>=3202&&t<=3203||t>=3262&&t<=3268||t>=3270&&t<=3272||t>=3274&&t<=3277||t>=3285&&t<=3286||t>=3330&&t<=3331||t>=3390&&t<=3395||t>=3398&&t<=3400||t>=3402&&t<=3405||3415==t||3633==t||t>=3636&&t<=3642||t>=3655&&t<=3662||3761==t||t>=3764&&t<=3769||t>=3771&&t<=3772||t>=3784&&t<=3789||t>=3864&&t<=3865||3893==t||3895==t||3897==t||3902==t||3903==t||t>=3953&&t<=3972||t>=3974&&t<=3979||t>=3984&&t<=3989||3991==t||t>=3993&&t<=4013||t>=4017&&t<=4023||4025==t||t>=8400&&t<=8412||8417==t||t>=12330&&t<=12335||12441==t||12442==t||183==t||720==t||721==t||903==t||1600==t||3654==t||3782==t||12293==t||t>=12337&&t<=12341||t>=12445&&t<=12446||t>=12540&&t<=12542},Z.coalesceText=function(t){for(var e=t.firstChild;null!=e;e=e.nextSibling)if(3==e.nodeType||4==e.nodeType){var r=e.nodeValue,n=e;for(e=e.nextSibling;null!=e&&(3==e.nodeType||4==e.nodeType);){r+=e.nodeValue;var i=e;e=e.nextSibling,i.parentNode.removeChild(i)}if(4==n.nodeType){var o=n.parentNode;if(null==n.nextSibling)o.removeChild(n),o.appendChild(o.ownerDocument.createTextNode(r));else{var s=n.nextSibling;o.removeChild(n),o.insertBefore(o.ownerDocument.createTextNode(r),s)}}else n.nodeValue=r;if(null==e)break}else 1==e.nodeType&&Z.coalesceText(e)},Z.instance_of=function(t,e){for(;null!=t;){if(t.constructor===e)return!0;if(t===Object)return!1;t=t.constructor.superclass}return!1},Z.getElementById=function(t,e){if(1==t.nodeType&&(t.getAttribute("id")==e||t.getAttributeNS(null,"id")==e))return t;for(var r=t.firstChild;null!=r;r=r.nextSibling){var n=Z.getElementById(r,e);if(null!=n)return n}return null};var tt=function(){function t(e,r,n){var i=Error.call(this,function(e,r){var n=r?": "+r.toString():"";switch(e){case t.INVALID_EXPRESSION_ERR:return"Invalid expression"+n;case t.TYPE_ERR:return"Type error"+n}return null}(e,r)||n);return i.code=e,i.exception=r,i}return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.superclass=Error,t.prototype.toString=function(){return this.message},t.fromMessage=function(e,r){return new t(null,r,e)},t.INVALID_EXPRESSION_ERR=51,t.TYPE_ERR=52,t}();function et(t,e,r){this.xpath=r.parse(t),this.context=new J,this.context.namespaceResolver=new rt(e)}function rt(t){this.xpathNSResolver=t}function nt(t){this.node=t,this.namespaceResolver=new Q}function it(t,e){switch(e==it.ANY_TYPE&&(t.constructor===G?e=it.STRING_TYPE:t.constructor===H?e=it.NUMBER_TYPE:t.constructor===V?e=it.BOOLEAN_TYPE:t.constructor===W&&(e=it.UNORDERED_NODE_ITERATOR_TYPE)),this.resultType=e,e){case it.NUMBER_TYPE:return void(this.numberValue=t.numberValue());case it.STRING_TYPE:return void(this.stringValue=t.stringValue());case it.BOOLEAN_TYPE:return void(this.booleanValue=t.booleanValue());case it.ANY_UNORDERED_NODE_TYPE:case it.FIRST_ORDERED_NODE_TYPE:if(t.constructor===W)return void(this.singleNodeValue=t.first());break;case it.UNORDERED_NODE_ITERATOR_TYPE:case it.ORDERED_NODE_ITERATOR_TYPE:if(t.constructor===W)return this.invalidIteratorState=!1,this.nodes=t.toArray(),void(this.iteratorIndex=0);break;case it.UNORDERED_NODE_SNAPSHOT_TYPE:case it.ORDERED_NODE_SNAPSHOT_TYPE:if(t.constructor===W)return this.nodes=t.toArray(),void(this.snapshotLength=this.nodes.length)}throw new tt(tt.TYPE_ERR)}function ot(t,e){t.createExpression=function(t,r){try{return new et(t,r,e)}catch(t){throw new tt(tt.INVALID_EXPRESSION_ERR,t)}},t.createNSResolver=function(t){return new nt(t)},t.evaluate=function(r,n,i,o,s){if(o<0||o>9)throw{code:0,toString:function(){return"Request type not supported"}};return t.createExpression(r,i,e).evaluate(n,o,s)}}et.prototype={},et.prototype.constructor=et,et.superclass=Object.prototype,et.getOwnerDocument=function(t){return 9===t.nodeType?t:t.ownerDocument},et.detectHtmlDom=function(t){if(!t)return!1;var e=et.getOwnerDocument(t);try{return e.implementation.hasFeature("HTML","2.0")}catch(t){return!0}},et.prototype.evaluate=function(t,e,r){return this.context.expressionContextNode=t,this.context.caseInsensitive=et.detectHtmlDom(t),new it(this.xpath.evaluate(this.context),e)},rt.prototype={},rt.prototype.constructor=rt,rt.superclass=Object.prototype,rt.prototype.getNamespace=function(t,e){return null==this.xpathNSResolver?null:this.xpathNSResolver.lookupNamespaceURI(t)},nt.prototype={},nt.prototype.constructor=nt,nt.superclass=Object.prototype,nt.prototype.lookupNamespaceURI=function(t){return this.namespaceResolver.getNamespace(t,this.node)},it.prototype={},it.prototype.constructor=it,it.superclass=Object.prototype,it.prototype.iterateNext=function(){if(this.resultType!=it.UNORDERED_NODE_ITERATOR_TYPE&&this.resultType!=it.ORDERED_NODE_ITERATOR_TYPE)throw new tt(tt.TYPE_ERR);return this.nodes[this.iteratorIndex++]},it.prototype.snapshotItem=function(t){if(this.resultType!=it.UNORDERED_NODE_SNAPSHOT_TYPE&&this.resultType!=it.ORDERED_NODE_SNAPSHOT_TYPE)throw new tt(tt.TYPE_ERR);return this.nodes[t]},it.ANY_TYPE=0,it.NUMBER_TYPE=1,it.STRING_TYPE=2,it.BOOLEAN_TYPE=3,it.UNORDERED_NODE_ITERATOR_TYPE=4,it.ORDERED_NODE_ITERATOR_TYPE=5,it.UNORDERED_NODE_SNAPSHOT_TYPE=6,it.ORDERED_NODE_SNAPSHOT_TYPE=7,it.ANY_UNORDERED_NODE_TYPE=8,it.FIRST_ORDERED_NODE_TYPE=9;try{var st=!0;try{document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("XPath",null)&&(st=!1)}catch(t){}st&&ot(document,new h)}catch(t){}ot(t,new h),function(){var e=new h,r=new Q,n=new X,i=new Y;function o(t){return{getNamespace:function(e,n){return t(e,n)||r.getNamespace(e,n)}}}function s(t){return t&&"function"==typeof t.getNamespace?o((e=t).getNamespace.bind(e)):"function"==typeof t?o(t):"object"==typeof t?function(t){return o((function(e){return t[e]}))}(t):r;var e}function a(t){if(null==t||t instanceof G||t instanceof V||t instanceof H||t instanceof W)return t;switch(typeof t){case"string":return new G(t);case"boolean":return new V(t);case"number":return new H(t)}var e=new W;return e.addArray([].concat(t)),e}function u(t){return{getFunction:function(e,r){var i=t(e,r);return i?function(t){return function(e){var r=Array.prototype.slice.call(arguments,1).map((function(t){return t.evaluate(e)}));return a(t.apply(this,[].concat(e,r)))}}(i):n.getFunction(e,r)}}}function c(t){return t&&"function"==typeof t.getFunction?u((e=t).getFunction.bind(e)):"function"==typeof t?u(t):"object"==typeof t?function(t){return u((function(e){return t[e]}))}(t):n;var e}function l(t){return{getVariable:function(e,r){return a(t(e,r))}}}function f(t,e,r){t in r&&(e[t]=r[t])}function p(t){var e=new J;return t?(e.namespaceResolver=s(t.namespaces),e.functionResolver=c(t.functions),e.variableResolver=function(t){if(t){if("function"==typeof t.getVariable)return l(t.getVariable.bind(t));if("function"==typeof t)return l(t);if("object"==typeof t)return l((function(e){return t[e]}))}return i}(t.variables),e.expressionContextNode=t.node,f("allowAnyNamespaceForNoPrefix",e,t),f("isHtml",e,t)):e.namespaceResolver=r,e}var d={evaluate:function(t){return function(t,e){var r=p(e);return t.evaluate(r)}(this.expression,t)},evaluateNumber:function(t){return this.evaluate(t).numberValue()},evaluateString:function(t){return this.evaluate(t).stringValue()},evaluateBoolean:function(t){return this.evaluate(t).booleanValue()},evaluateNodeSet:function(t){return this.evaluate(t).nodeset()},select:function(t){return this.evaluateNodeSet(t).toArray()},select1:function(t){return this.select(t)[0]}};t.parse=function(t){var r=e.parse(t);return Object.create(d,{expression:{value:r}})}}(),l(t,{XPath:f,XPathParser:h,XPathResult:it,Step:D,PathExpr:C,NodeTest:q,LocationPath:k,OrOperation:b,AndOperation:v,BarOperation:P,EqualsOperation:w,NotEqualOperation:E,LessThanOperation:_,GreaterThanOperation:M,LessThanOrEqualOperation:S,GreaterThanOrEqualOperation:x,PlusOperation:N,MinusOperation:A,MultiplyOperation:O,DivOperation:T,ModOperation:R,UnaryMinusOperation:g,FunctionCall:U,VariableReference:F,XPathContext:J,XNodeSet:W,XBoolean:V,XString:G,XNumber:H,NamespaceResolver:Q,FunctionResolver:X,VariableResolver:Y,Utilities:Z}),t.select=function(e,r,n){return t.selectWithResolver(e,r,null,n)},t.useNamespaces=function(e){var r={mappings:e||{},lookupNamespaceURI:function(t){return this.mappings[t]}};return function(e,n,i){return t.selectWithResolver(e,n,r,i)}},t.selectWithResolver=function(t,e,r,n){var i=new et(t,r,new h),o=it.ANY_TYPE,s=i.evaluate(e,o,null);return s.resultType==it.STRING_TYPE?s=s.stringValue:s.resultType==it.NUMBER_TYPE?s=s.numberValue:s.resultType==it.BOOLEAN_TYPE?s=s.booleanValue:(s=s.nodes,n&&(s=s[0])),s},t.select1=function(e,r){return t.select(e,r,!0)}}(e)},7510:t=>{t.exports=function(){for(var t={},r=0;r{},9169:()=>{},6833:()=>{},9209:(t,e,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?r.g:globalThis;t.exports=function(){for(var t=[],e=0;e{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n={};return(()=>{"use strict";r.d(n,{default:()=>jo});var t={};function e(t,e){return function(){return t.apply(e,arguments)}}r.r(t),r.d(t,{hasBrowserEnv:()=>dt,hasStandardBrowserEnv:()=>gt,hasStandardBrowserWebWorkerEnv:()=>mt,navigator:()=>yt,origin:()=>bt});var i=r(5606);const{toString:o}=Object.prototype,{getPrototypeOf:s}=Object,a=(u=Object.create(null),t=>{const e=o.call(t);return u[e]||(u[e]=e.slice(8,-1).toLowerCase())});var u;const c=t=>(t=t.toLowerCase(),e=>a(e)===t),l=t=>e=>typeof e===t,{isArray:h}=Array,f=l("undefined");const p=c("ArrayBuffer");const d=l("string"),y=l("function"),g=l("number"),m=t=>null!==t&&"object"==typeof t,b=t=>{if("object"!==a(t))return!1;const e=s(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},v=c("Date"),w=c("File"),E=c("Blob"),_=c("FileList"),M=c("URLSearchParams"),[S,x,N,A]=["ReadableStream","Request","Response","Headers"].map(c);function O(t,e,{allOwnKeys:r=!1}={}){if(null==t)return;let n,i;if("object"!=typeof t&&(t=[t]),h(t))for(n=0,i=t.length;n0;)if(n=r[i],e===n.toLowerCase())return n;return null}const R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,P=t=>!f(t)&&t!==R;const C=(j="undefined"!=typeof Uint8Array&&s(Uint8Array),t=>j&&t instanceof j);var j;const I=c("HTMLFormElement"),L=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),k=c("RegExp"),D=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};O(r,((r,i)=>{let o;!1!==(o=e(r,i,t))&&(n[i]=o||r)})),Object.defineProperties(t,n)},q="abcdefghijklmnopqrstuvwxyz",F="0123456789",U={DIGIT:F,ALPHA:q,ALPHA_DIGIT:q+q.toUpperCase()+F};const B=c("AsyncFunction"),G=(H="function"==typeof setImmediate,V=y(R.postMessage),H?setImmediate:V?(z=`axios@${Math.random()}`,W=[],R.addEventListener("message",(({source:t,data:e})=>{t===R&&e===z&&W.length&&W.shift()()}),!1),t=>{W.push(t),R.postMessage(z,"*")}):t=>setTimeout(t));var H,V,z,W;const $="undefined"!=typeof queueMicrotask?queueMicrotask.bind(R):void 0!==i&&i.nextTick||G,J={isArray:h,isArrayBuffer:p,isBuffer:function(t){return null!==t&&!f(t)&&null!==t.constructor&&!f(t.constructor)&&y(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||y(t.append)&&("formdata"===(e=a(t))||"object"===e&&y(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&p(t.buffer),e},isString:d,isNumber:g,isBoolean:t=>!0===t||!1===t,isObject:m,isPlainObject:b,isReadableStream:S,isRequest:x,isResponse:N,isHeaders:A,isUndefined:f,isDate:v,isFile:w,isBlob:E,isRegExp:k,isFunction:y,isStream:t=>m(t)&&y(t.pipe),isURLSearchParams:M,isTypedArray:C,isFileList:_,forEach:O,merge:function t(){const{caseless:e}=P(this)&&this||{},r={},n=(n,i)=>{const o=e&&T(r,i)||i;b(r[o])&&b(n)?r[o]=t(r[o],n):b(n)?r[o]=t({},n):h(n)?r[o]=n.slice():r[o]=n};for(let t=0,e=arguments.length;t(O(r,((r,i)=>{n&&y(r)?t[i]=e(r,n):t[i]=r}),{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let i,o,a;const u={};if(e=e||{},null==t)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)a=i[o],n&&!n(a,t,e)||u[a]||(e[a]=t[a],u[a]=!0);t=!1!==r&&s(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:a,kindOfTest:c,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(h(t))return t;let e=t.length;if(!g(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:I,hasOwnProperty:L,hasOwnProp:L,reduceDescriptors:D,freezeMethods:t=>{D(t,((e,r)=>{if(y(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];y(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return h(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:T,global:R,isContextDefined:P,ALPHABET:U,generateString:(t=16,e=U.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&y(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(m(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const i=h(t)?[]:{};return O(t,((t,e)=>{const o=r(t,n+1);!f(o)&&(i[e]=o)})),e[n]=void 0,i}}return t};return r(t,0)},isAsyncFn:B,isThenable:t=>t&&(m(t)||y(t))&&y(t.then)&&y(t.catch),setImmediate:G,asap:$};function Y(t,e,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}J.inherits(Y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.status}}});const X=Y.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{Q[t]={value:t}})),Object.defineProperties(Y,Q),Object.defineProperty(X,"isAxiosError",{value:!0}),Y.from=(t,e,r,n,i,o)=>{const s=Object.create(X);return J.toFlatObject(t,s,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),Y.call(s,t.message,e,r,n,i),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};const K=Y;var Z=r(8287).Buffer;function tt(t){return J.isPlainObject(t)||J.isArray(t)}function et(t){return J.endsWith(t,"[]")?t.slice(0,-2):t}function rt(t,e,r){return t?t.concat(e).map((function(t,e){return t=et(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const nt=J.toFlatObject(J,{},null,(function(t){return/^is[A-Z]/.test(t)}));const it=function(t,e,r){if(!J.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=J.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!J.isUndefined(e[t])}))).metaTokens,i=r.visitor||c,o=r.dots,s=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&J.isSpecCompliantForm(e);if(!J.isFunction(i))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(J.isDate(t))return t.toISOString();if(!a&&J.isBlob(t))throw new K("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(t)||J.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):Z.from(t):t}function c(t,r,i){let a=t;if(t&&!i&&"object"==typeof t)if(J.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(J.isArray(t)&&function(t){return J.isArray(t)&&!t.some(tt)}(t)||(J.isFileList(t)||J.endsWith(r,"[]"))&&(a=J.toArray(t)))return r=et(r),a.forEach((function(t,n){!J.isUndefined(t)&&null!==t&&e.append(!0===s?rt([r],n,o):null===s?r:r+"[]",u(t))})),!1;return!!tt(t)||(e.append(rt(i,r,o),u(t)),!1)}const l=[],h=Object.assign(nt,{defaultVisitor:c,convertValue:u,isVisitable:tt});if(!J.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!J.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),J.forEach(r,(function(r,o){!0===(!(J.isUndefined(r)||null===r)&&i.call(e,r,J.isString(o)?o.trim():o,n,h))&&t(r,n?n.concat(o):[o])})),l.pop()}}(t),e};function ot(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function st(t,e){this._pairs=[],t&&it(t,this,e)}const at=st.prototype;at.append=function(t,e){this._pairs.push([t,e])},at.toString=function(t){const e=t?function(e){return t.call(this,e,ot)}:ot;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const ut=st;function ct(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function lt(t,e,r){if(!e)return t;const n=r&&r.encode||ct,i=r&&r.serialize;let o;if(o=i?i(e,r):J.isURLSearchParams(e)?e.toString():new ut(e,r).toString(n),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}const ht=class{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){J.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},ft={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ut,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},dt="undefined"!=typeof window&&"undefined"!=typeof document,yt="object"==typeof navigator&&navigator||void 0,gt=dt&&(!yt||["ReactNative","NativeScript","NS"].indexOf(yt.product)<0),mt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,bt=dt&&window.location.href||"http://localhost",vt={...t,...pt};const wt=function(t){function e(t,r,n,i){let o=t[i++];if("__proto__"===o)return!0;const s=Number.isFinite(+o),a=i>=t.length;if(o=!o&&J.isArray(n)?n.length:o,a)return J.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!s;n[o]&&J.isObject(n[o])||(n[o]=[]);return e(t,r,n[o],i)&&J.isArray(n[o])&&(n[o]=function(t){const e={},r=Object.keys(t);let n;const i=r.length;let o;for(n=0;n{e(function(t){return J.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null};const Et={transitional:ft,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,i=J.isObject(t);i&&J.isHTMLForm(t)&&(t=new FormData(t));if(J.isFormData(t))return n?JSON.stringify(wt(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t)||J.isReadableStream(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return it(t,new vt.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return vt.isNode&&J.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=J.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return it(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return i||n?(e.setContentType("application/json",!1),function(t,e,r){if(J.isString(t))try{return(e||JSON.parse)(t),J.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Et.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(J.isResponse(t)||J.isReadableStream(t))return t;if(t&&J.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw K.from(t,K.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vt.classes.FormData,Blob:vt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],(t=>{Et.headers[t]={}}));const _t=Et,Mt=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),St=Symbol("internals");function xt(t){return t&&String(t).trim().toLowerCase()}function Nt(t){return!1===t||null==t?t:J.isArray(t)?t.map(Nt):String(t)}function At(t,e,r,n,i){return J.isFunction(n)?n.call(this,e,r):(i&&(e=r),J.isString(e)?J.isString(n)?-1!==e.indexOf(n):J.isRegExp(n)?n.test(e):void 0:void 0)}class Ot{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function i(t,e,r){const i=xt(e);if(!i)throw new Error("header name must be a non-empty string");const o=J.findKey(n,i);(!o||void 0===n[o]||!0===r||void 0===r&&!1!==n[o])&&(n[o||e]=Nt(t))}const o=(t,e)=>J.forEach(t,((t,r)=>i(t,r,e)));if(J.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if(J.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))o((t=>{const e={};let r,n,i;return t&&t.split("\n").forEach((function(t){i=t.indexOf(":"),r=t.substring(0,i).trim().toLowerCase(),n=t.substring(i+1).trim(),!r||e[r]&&Mt[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e);else if(J.isHeaders(t))for(const[e,n]of t.entries())i(n,e,r);else null!=t&&i(e,t,r);return this}get(t,e){if(t=xt(t)){const r=J.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(J.isFunction(e))return e.call(this,t,r);if(J.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=xt(t)){const r=J.findKey(this,t);return!(!r||void 0===this[r]||e&&!At(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function i(t){if(t=xt(t)){const i=J.findKey(r,t);!i||e&&!At(0,r[i],i,e)||(delete r[i],n=!0)}}return J.isArray(t)?t.forEach(i):i(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const i=e[r];t&&!At(0,this[i],i,t,!0)||(delete this[i],n=!0)}return n}normalize(t){const e=this,r={};return J.forEach(this,((n,i)=>{const o=J.findKey(r,i);if(o)return e[o]=Nt(n),void delete e[i];const s=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(i):String(i).trim();s!==i&&delete e[i],e[s]=Nt(n),r[s]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return J.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&J.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const r=new this(t);return e.forEach((t=>r.set(t))),r}static accessor(t){const e=(this[St]=this[St]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=xt(t);e[n]||(!function(t,e){const r=J.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,i){return this[n].call(this,e,t,r,i)},configurable:!0})}))}(r,t),e[n]=!0)}return J.isArray(t)?t.forEach(n):n(t),this}}Ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),J.reduceDescriptors(Ot.prototype,(({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[r]=t}}})),J.freezeMethods(Ot);const Tt=Ot;function Rt(t,e){const r=this||_t,n=e||r,i=Tt.from(n.headers);let o=n.data;return J.forEach(t,(function(t){o=t.call(r,o,i.normalize(),e?e.status:void 0)})),i.normalize(),o}function Pt(t){return!(!t||!t.__CANCEL__)}function Ct(t,e,r){K.call(this,null==t?"canceled":t,K.ERR_CANCELED,e,r),this.name="CanceledError"}J.inherits(Ct,K,{__CANCEL__:!0});const jt=Ct;function It(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new K("Request failed with status code "+r.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}const Lt=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i,o=0,s=0;return e=void 0!==e?e:1e3,function(a){const u=Date.now(),c=n[s];i||(i=u),r[o]=a,n[o]=u;let l=s,h=0;for(;l!==o;)h+=r[l++],l%=t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),u-i{i=o,r=null,n&&(clearTimeout(n),n=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),a=e-i;a>=o?s(t,e):(r=t,n||(n=setTimeout((()=>{n=null,s(r)}),o-a)))},()=>r&&s(r)]},Dt=(t,e,r=3)=>{let n=0;const i=Lt(50,250);return kt((r=>{const o=r.loaded,s=r.lengthComputable?r.total:void 0,a=o-n,u=i(a);n=o;t({loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:u||void 0,estimated:u&&s&&o<=s?(s-o)/u:void 0,event:r,lengthComputable:null!=s,[e?"download":"upload"]:!0})}),r)},qt=(t,e)=>{const r=null!=t;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},Ft=t=>(...e)=>J.asap((()=>t(...e))),Ut=vt.hasStandardBrowserEnv?function(){const t=vt.navigator&&/(msie|trident)/i.test(vt.navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=J.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0},Bt=vt.hasStandardBrowserEnv?{write(t,e,r,n,i,o){const s=[t+"="+encodeURIComponent(e)];J.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),J.isString(n)&&s.push("path="+n),J.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Gt(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Ht=t=>t instanceof Tt?{...t}:t;function Vt(t,e){e=e||{};const r={};function n(t,e,r){return J.isPlainObject(t)&&J.isPlainObject(e)?J.merge.call({caseless:r},t,e):J.isPlainObject(e)?J.merge({},e):J.isArray(e)?e.slice():e}function i(t,e,r){return J.isUndefined(e)?J.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function o(t,e){if(!J.isUndefined(e))return n(void 0,e)}function s(t,e){return J.isUndefined(e)?J.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function a(r,i,o){return o in e?n(r,i):o in t?n(void 0,r):void 0}const u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(t,e)=>i(Ht(t),Ht(e),!0)};return J.forEach(Object.keys(Object.assign({},t,e)),(function(n){const o=u[n]||i,s=o(t[n],e[n],n);J.isUndefined(s)&&o!==a||(r[n]=s)})),r}const zt=t=>{const e=Vt({},t);let r,{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:u}=e;if(e.headers=a=Tt.from(a),e.url=lt(Gt(e.baseURL,e.url),t.params,t.paramsSerializer),u&&a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),J.isFormData(n))if(vt.hasStandardBrowserEnv||vt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(r=a.getContentType())){const[t,...e]=r?r.split(";").map((t=>t.trim())).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(vt.hasStandardBrowserEnv&&(i&&J.isFunction(i)&&(i=i(e)),i||!1!==i&&Ut(e.url))){const t=o&&s&&Bt.read(s);t&&a.set(o,t)}return e},Wt="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){const n=zt(t);let i=n.data;const o=Tt.from(n.headers).normalize();let s,a,u,c,l,{responseType:h,onUploadProgress:f,onDownloadProgress:p}=n;function d(){c&&c(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(s),n.signal&&n.signal.removeEventListener("abort",s)}let y=new XMLHttpRequest;function g(){if(!y)return;const n=Tt.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());It((function(t){e(t),d()}),(function(t){r(t),d()}),{data:h&&"text"!==h&&"json"!==h?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:t,request:y}),y=null}y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=g:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(g)},y.onabort=function(){y&&(r(new K("Request aborted",K.ECONNABORTED,t,y)),y=null)},y.onerror=function(){r(new K("Network Error",K.ERR_NETWORK,t,y)),y=null},y.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const i=n.transitional||ft;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new K(e,i.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,t,y)),y=null},void 0===i&&o.setContentType(null),"setRequestHeader"in y&&J.forEach(o.toJSON(),(function(t,e){y.setRequestHeader(e,t)})),J.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),h&&"json"!==h&&(y.responseType=n.responseType),p&&([u,l]=Dt(p,!0),y.addEventListener("progress",u)),f&&y.upload&&([a,c]=Dt(f),y.upload.addEventListener("progress",a),y.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(s=e=>{y&&(r(!e||e.type?new jt(null,t,y):e),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(s),n.signal&&(n.signal.aborted?s():n.signal.addEventListener("abort",s)));const m=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(n.url);m&&-1===vt.protocols.indexOf(m)?r(new K("Unsupported protocol "+m+":",K.ERR_BAD_REQUEST,t)):y.send(i||null)}))},$t=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let r,n=new AbortController;const i=function(t){if(!r){r=!0,s();const e=t instanceof Error?t:this.reason;n.abort(e instanceof K?e:new jt(e instanceof Error?e.message:e))}};let o=e&&setTimeout((()=>{o=null,i(new K(`timeout ${e} of ms exceeded`,K.ETIMEDOUT))}),e);const s=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(i):t.removeEventListener("abort",i)})),t=null)};t.forEach((t=>t.addEventListener("abort",i)));const{signal:a}=n;return a.unsubscribe=()=>J.asap(s),a}},Jt=function*(t,e){let r=t.byteLength;if(!e||r{const i=async function*(t,e){for await(const r of Yt(t))yield*Jt(r,e)}(t,e);let o,s=0,a=t=>{o||(o=!0,n&&n(t))};return new ReadableStream({async pull(t){try{const{done:e,value:n}=await i.next();if(e)return a(),void t.close();let o=n.byteLength;if(r){let t=s+=o;r(t)}t.enqueue(new Uint8Array(n))}catch(t){throw a(t),t}},cancel:t=>(a(t),i.return())},{highWaterMark:2})},Qt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Kt=Qt&&"function"==typeof ReadableStream,Zt=Qt&&("function"==typeof TextEncoder?(te=new TextEncoder,t=>te.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var te;const ee=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},re=Kt&&ee((()=>{let t=!1;const e=new Request(vt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),ne=Kt&&ee((()=>J.isReadableStream(new Response("").body))),ie={stream:ne&&(t=>t.body)};var oe;Qt&&(oe=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!ie[t]&&(ie[t]=J.isFunction(oe[t])?e=>e[t]():(e,r)=>{throw new K(`Response type '${t}' is not supported`,K.ERR_NOT_SUPPORT,r)})})));const se=async(t,e)=>{const r=J.toFiniteNumber(t.getContentLength());return null==r?(async t=>{if(null==t)return 0;if(J.isBlob(t))return t.size;if(J.isSpecCompliantForm(t)){const e=new Request(vt.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return J.isArrayBufferView(t)||J.isArrayBuffer(t)?t.byteLength:(J.isURLSearchParams(t)&&(t+=""),J.isString(t)?(await Zt(t)).byteLength:void 0)})(e):r},ae={http:null,xhr:Wt,fetch:Qt&&(async t=>{let{url:e,method:r,data:n,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:u,responseType:c,headers:l,withCredentials:h="same-origin",fetchOptions:f}=zt(t);c=c?(c+"").toLowerCase():"text";let p,d=$t([i,o&&o.toAbortSignal()],s);const y=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let g;try{if(u&&re&&"get"!==r&&"head"!==r&&0!==(g=await se(l,n))){let t,r=new Request(e,{method:"POST",body:n,duplex:"half"});if(J.isFormData(n)&&(t=r.headers.get("content-type"))&&l.setContentType(t),r.body){const[t,e]=qt(g,Dt(Ft(u)));n=Xt(r.body,65536,t,e)}}J.isString(h)||(h=h?"include":"omit");const i="credentials"in Request.prototype;p=new Request(e,{...f,signal:d,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:i?h:void 0});let o=await fetch(p);const s=ne&&("stream"===c||"response"===c);if(ne&&(a||s&&y)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=o[e]}));const e=J.toFiniteNumber(o.headers.get("content-length")),[r,n]=a&&qt(e,Dt(Ft(a),!0))||[];o=new Response(Xt(o.body,65536,r,(()=>{n&&n(),y&&y()})),t)}c=c||"text";let m=await ie[J.findKey(ie,c)||"text"](o,t);return!s&&y&&y(),await new Promise(((e,r)=>{It(e,r,{data:m,headers:Tt.from(o.headers),status:o.status,statusText:o.statusText,config:t,request:p})}))}catch(e){if(y&&y(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new K("Network Error",K.ERR_NETWORK,t,p),{cause:e.cause||e});throw K.from(e,e&&e.code,t,p)}})};J.forEach(ae,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const ue=t=>`- ${t}`,ce=t=>J.isFunction(t)||null===t||!1===t,le=t=>{t=J.isArray(t)?t:[t];const{length:e}=t;let r,n;const i={};for(let o=0;o`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let r=e?t.length>1?"since :\n"+t.map(ue).join("\n"):" "+ue(t[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n};function he(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new jt(null,t)}function fe(t){he(t),t.headers=Tt.from(t.headers),t.data=Rt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return le(t.adapter||_t.adapter)(t).then((function(e){return he(t),e.data=Rt.call(t,t.transformResponse,e),e.headers=Tt.from(e.headers),e}),(function(e){return Pt(e)||(he(t),e&&e.response&&(e.response.data=Rt.call(t,t.transformResponse,e.response),e.response.headers=Tt.from(e.response.headers))),Promise.reject(e)}))}const pe="1.7.7";var de=r(6763);const ye={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{ye[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const ge={};ye.transitional=function(t,e,r){function n(t,e){return"[Axios v1.7.7] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,i,o)=>{if(!1===t)throw new K(n(i," has been removed"+(e?" in "+e:"")),K.ERR_DEPRECATED);return e&&!ge[i]&&(ge[i]=!0,de.warn(n(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,i,o)}};const me={assertOptions:function(t,e,r){if("object"!=typeof t)throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;for(;i-- >0;){const o=n[i],s=e[o];if(s){const e=t[o],r=void 0===e||s(e,o,t);if(!0!==r)throw new K("option "+o+" must be "+r,K.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new K("Unknown option "+o,K.ERR_BAD_OPTION)}},validators:ye},be=me.validators;class ve{constructor(t){this.defaults=t,this.interceptors={request:new ht,response:new ht}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const r=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Vt(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:i}=e;void 0!==r&&me.assertOptions(r,{silentJSONParsing:be.transitional(be.boolean),forcedJSONParsing:be.transitional(be.boolean),clarifyTimeoutError:be.transitional(be.boolean)},!1),null!=n&&(J.isFunction(n)?e.paramsSerializer={serialize:n}:me.assertOptions(n,{encode:be.function,serialize:be.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=i&&J.merge(i.common,i[e.method]);i&&J.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete i[t]})),e.headers=Tt.concat(o,i);const s=[];let a=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,h=0;if(!a){const t=[fe.bind(this),void 0];for(t.unshift.apply(t,s),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);h{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,i){r.reason||(r.reason=new jt(t,n,i),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new Ee((function(e){t=e})),cancel:t}}}const _e=Ee;const Me={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Me).forEach((([t,e])=>{Me[e]=t}));const Se=Me;const xe=function t(r){const n=new we(r),i=e(we.prototype.request,n);return J.extend(i,we.prototype,n,{allOwnKeys:!0}),J.extend(i,n,null,{allOwnKeys:!0}),i.create=function(e){return t(Vt(r,e))},i}(_t);xe.Axios=we,xe.CanceledError=jt,xe.CancelToken=_e,xe.isCancel=Pt,xe.VERSION=pe,xe.toFormData=it,xe.AxiosError=K,xe.Cancel=xe.CanceledError,xe.all=function(t){return Promise.all(t)},xe.spread=function(t){return function(e){return t.apply(null,e)}},xe.isAxiosError=function(t){return J.isObject(t)&&!0===t.isAxiosError},xe.mergeConfig=Vt,xe.AxiosHeaders=Tt,xe.formToJSON=t=>wt(J.isHTMLForm(t)?new FormData(t):t),xe.getAdapter=le,xe.HttpStatusCode=Se,xe.default=xe;const Ne=xe;var Ae=r(6645),Oe=r(2288),Te=r(5606);const Re={};"undefined"==typeof window&&(Te.env.HTTP_PROXY&&(Re.httpAgent=new Ae.HttpProxyAgent(Te.env.HTTP_PROXY)),Te.env.HTTPS_PROXY&&(Re.httpsAgent=new Oe.HttpsProxyAgent(Te.env.HTTPS_PROXY)),Re.proxy=!1);const Pe=Ne.create(Re);var Ce=r(3631),je=r(8978);const Ie=function(t){var e=(new je.DOMParser).parseFromString(t),r=Ce.useNamespaces({wfs:"http://www.opengis.net/wfs/2.0"})("//wfs:Name/text()",e),n=[];return r.forEach((function(t){n.push(t.toString())})),n};var Le=r(3337);function ke(t,e,r){if(null!==t)for(var n,i,o,s,a,u,c,l,h=0,f=0,p=t.type,d="FeatureCollection"===p,y="Feature"===p,g=d?t.features.length:1,m=0;m=this.text.length)return;t=this.text[this.place++]}switch(this.state){case yr:return this.neutral(t);case 2:return this.keyword(t);case 4:return this.quoted(t);case 5:return this.afterquote(t);case 3:return this.number(t);case-1:return}},Er.prototype.afterquote=function(t){if('"'===t)return this.word+='"',void(this.state=4);if(vr.test(t))return this.word=this.word.trim(),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in afterquote yet, index '+this.place)},Er.prototype.afterItem=function(t){return","===t?(null!==this.word&&this.currentObject.push(this.word),this.word=null,void(this.state=yr)):"]"===t?(this.level--,null!==this.word&&(this.currentObject.push(this.word),this.word=null),this.state=yr,this.currentObject=this.stack.pop(),void(this.currentObject||(this.state=-1))):void 0},Er.prototype.number=function(t){if(!wr.test(t)){if(vr.test(t))return this.word=parseFloat(this.word),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in number yet, index '+this.place)}this.word+=t},Er.prototype.quoted=function(t){'"'!==t?this.word+=t:this.state=5},Er.prototype.keyword=function(t){if(br.test(t))this.word+=t;else{if("["===t){var e=[];return e.push(this.word),this.level++,null===this.root?this.root=e:this.currentObject.push(e),this.stack.push(this.currentObject),this.currentObject=e,void(this.state=yr)}if(!vr.test(t))throw new Error("havn't handled \""+t+'" in keyword yet, index '+this.place);this.afterItem(t)}},Er.prototype.neutral=function(t){if(mr.test(t))return this.word=t,void(this.state=2);if('"'===t)return this.word="",void(this.state=4);if(wr.test(t))return this.word=t,void(this.state=3);if(!vr.test(t))throw new Error("havn't handled \""+t+'" in neutral yet, index '+this.place);this.afterItem(t)},Er.prototype.output=function(){for(;this.place0?90:-90),t.lat_ts=t.lat1)}(i),i}var Ar=r(6763);function Or(t){var e=this;if(2===arguments.length){var r=arguments[1];"string"==typeof r?"+"===r.charAt(0)?Or[t]=pr(arguments[1]):Or[t]=Nr(arguments[1]):Or[t]=r}else if(1===arguments.length){if(Array.isArray(t))return t.map((function(t){Array.isArray(t)?Or.apply(e,t):Or(t)}));if("string"==typeof t){if(t in Or)return Or[t]}else"EPSG"in t?Or["EPSG:"+t.EPSG]=t:"ESRI"in t?Or["ESRI:"+t.ESRI]=t:"IAU2000"in t?Or["IAU2000:"+t.IAU2000]=t:Ar.log(t);return}}!function(t){t("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),t("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),t("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),t.WGS84=t["EPSG:4326"],t["EPSG:3785"]=t["EPSG:3857"],t.GOOGLE=t["EPSG:3857"],t["EPSG:900913"]=t["EPSG:3857"],t["EPSG:102113"]=t["EPSG:3857"]}(Or);const Tr=Or;var Rr=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];var Pr=["3857","900913","3785","102113"];const Cr=function(t){if(!function(t){return"string"==typeof t}(t))return t;if(function(t){return t in Tr}(t))return Tr[t];if(function(t){return Rr.some((function(e){return t.indexOf(e)>-1}))}(t)){var e=Nr(t);if(function(t){var e=fr(t,"authority");if(e){var r=fr(e,"epsg");return r&&Pr.indexOf(r)>-1}}(e))return Tr["EPSG:3857"];var r=function(t){var e=fr(t,"extension");if(e)return fr(e,"proj4")}(e);return r?pr(r):e}return function(t){return"+"===t[0]}(t)?pr(t):void 0};function jr(t,e){var r,n;if(t=t||{},!e)return t;for(n in e)void 0!==(r=e[n])&&(t[n]=r);return t}function Ir(t,e,r){var n=t*e;return r/Math.sqrt(1-n*n)}function Lr(t){return t<0?-1:1}function kr(t){return Math.abs(t)<=ur?t:t-Lr(t)*ar}function Dr(t,e,r){var n=t*r,i=.5*t;return n=Math.pow((1-n)/(1+n),i),Math.tan(.5*(Ze-e))/n}function qr(t,e){for(var r,n,i=.5*t,o=Ze-2*Math.atan(e),s=0;s<=15;s++)if(r=t*Math.sin(o),o+=n=Ze-2*Math.atan(e*Math.pow((1-r)/(1+r),i))-o,Math.abs(n)<=1e-10)return o;return-9999}const Fr={init:function(){var t=this.b/this.a;this.es=1-t*t,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=Ir(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},forward:function(t){var e,r,n=t.x,i=t.y;if(i*or>90&&i*or<-90&&n*or>180&&n*or<-180)return null;if(Math.abs(Math.abs(i)-Ze)<=nr)return null;if(this.sphere)e=this.x0+this.a*this.k0*kr(n-this.long0),r=this.y0+this.a*this.k0*Math.log(Math.tan(sr+.5*i));else{var o=Math.sin(i),s=Dr(this.e,i,o);e=this.x0+this.a*this.k0*kr(n-this.long0),r=this.y0-this.a*this.k0*Math.log(s)}return t.x=e,t.y=r,t},inverse:function(t){var e,r,n=t.x-this.x0,i=t.y-this.y0;if(this.sphere)r=Ze-2*Math.atan(Math.exp(-i/(this.a*this.k0)));else{var o=Math.exp(-i/(this.a*this.k0));if(-9999===(r=qr(this.e,o)))return null}return e=kr(this.long0+n/(this.a*this.k0)),t.x=e,t.y=r,t},names:["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]};function Ur(t){return t}const Br={init:function(){},forward:Ur,inverse:Ur,names:["longlat","identity"]};var Gr=r(6763),Hr=[Fr,Br],Vr={},zr=[];function Wr(t,e){var r=zr.length;return t.names?(zr[r]=t,t.names.forEach((function(t){Vr[t.toLowerCase()]=r})),this):(Gr.log(e),!0)}const $r={start:function(){Hr.forEach(Wr)},add:Wr,get:function(t){if(!t)return!1;var e=t.toLowerCase();return void 0!==Vr[e]&&zr[Vr[e]]?zr[Vr[e]]:void 0}};var Jr={MERIT:{a:6378137,rf:298.257,ellipseName:"MERIT 1983"},SGS85:{a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},GRS80:{a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},IAU76:{a:6378140,rf:298.257,ellipseName:"IAU 1976"},airy:{a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},APL4:{a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},NWL9D:{a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},mod_airy:{a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},andrae:{a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},aust_SA:{a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},GRS67:{a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},bessel:{a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},bess_nam:{a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},clrk66:{a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},clrk80:{a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},clrk58:{a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},CPM:{a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},delmbr:{a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},engelis:{a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},evrst30:{a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},evrst48:{a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},evrst56:{a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},evrst69:{a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},evrstSS:{a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},fschr60:{a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},fschr60m:{a:6378155,rf:298.3,ellipseName:"Fischer 1960"},fschr68:{a:6378150,rf:298.3,ellipseName:"Fischer 1968"},helmert:{a:6378200,rf:298.3,ellipseName:"Helmert 1906"},hough:{a:6378270,rf:297,ellipseName:"Hough"},intl:{a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},kaula:{a:6378163,rf:298.24,ellipseName:"Kaula 1961"},lerch:{a:6378139,rf:298.257,ellipseName:"Lerch 1979"},mprts:{a:6397300,rf:191,ellipseName:"Maupertius 1738"},new_intl:{a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},plessis:{a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},krass:{a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},SEasia:{a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},walbeck:{a:6376896,b:6355834.8467,ellipseName:"Walbeck"},WGS60:{a:6378165,rf:298.3,ellipseName:"WGS 60"},WGS66:{a:6378145,rf:298.25,ellipseName:"WGS 66"},WGS7:{a:6378135,rf:298.26,ellipseName:"WGS 72"}},Yr=Jr.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};Jr.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};var Xr={};Xr.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},Xr.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},Xr.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},Xr.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},Xr.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},Xr.potsdam={towgs84:"598.1,73.7,418.2,0.202,0.045,-2.455,6.7",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},Xr.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},Xr.hermannskogel={towgs84:"577.326,90.129,463.919,5.137,1.474,5.297,2.4232",ellipse:"bessel",datumName:"Hermannskogel"},Xr.osni52={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"airy",datumName:"Irish National"},Xr.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},Xr.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},Xr.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},Xr.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},Xr.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},Xr.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},Xr.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},Xr.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"};const Qr=function(t,e,r,n,i,o,s){var a={};return a.datum_type=void 0===t||"none"===t?Je:4,e&&(a.datum_params=e.map(parseFloat),0===a.datum_params[0]&&0===a.datum_params[1]&&0===a.datum_params[2]||(a.datum_type=ze),a.datum_params.length>3&&(0===a.datum_params[3]&&0===a.datum_params[4]&&0===a.datum_params[5]&&0===a.datum_params[6]||(a.datum_type=We,a.datum_params[3]*=Ke,a.datum_params[4]*=Ke,a.datum_params[5]*=Ke,a.datum_params[6]=a.datum_params[6]/1e6+1))),s&&(a.datum_type=$e,a.grids=s),a.a=r,a.b=n,a.es=i,a.ep2=o,a};var Kr=r(6763),Zr={};function tn(t){if(0===t.length)return null;var e="@"===t[0];return e&&(t=t.slice(1)),"null"===t?{name:"null",mandatory:!e,grid:null,isNull:!0}:{name:t,mandatory:!e,grid:Zr[t]||null,isNull:!1}}function en(t){return t/3600*Math.PI/180}function rn(t,e,r){return String.fromCharCode.apply(null,new Uint8Array(t.buffer.slice(e,r)))}function nn(t){return t.map((function(t){return[en(t.longitudeShift),en(t.latitudeShift)]}))}function on(t,e,r){return{name:rn(t,e+8,e+16).trim(),parent:rn(t,e+24,e+24+8).trim(),lowerLatitude:t.getFloat64(e+72,r),upperLatitude:t.getFloat64(e+88,r),lowerLongitude:t.getFloat64(e+104,r),upperLongitude:t.getFloat64(e+120,r),latitudeInterval:t.getFloat64(e+136,r),longitudeInterval:t.getFloat64(e+152,r),gridNodeCount:t.getInt32(e+168,r)}}function sn(t,e,r,n){for(var i=e+176,o=[],s=0;s-1.001*Ze)u=-Ze;else if(u>Ze&&u<1.001*Ze)u=Ze;else{if(u<-Ze)return{x:-1/0,y:-1/0,z:t.z};if(u>Ze)return{x:1/0,y:1/0,z:t.z}}return a>Math.PI&&(a-=2*Math.PI),i=Math.sin(u),s=Math.cos(u),o=i*i,{x:((n=r/Math.sqrt(1-e*o))+c)*s*Math.cos(a),y:(n+c)*s*Math.sin(a),z:(n*(1-e)+c)*i}}function ln(t,e,r,n){var i,o,s,a,u,c,l,h,f,p,d,y,g,m,b,v=1e-12,w=t.x,E=t.y,_=t.z?t.z:0;if(i=Math.sqrt(w*w+E*E),o=Math.sqrt(w*w+E*E+_*_),i/r1e-24&&g<30);return{x:m,y:Math.atan(d/Math.abs(p)),z:b}}var hn=r(6763);function fn(t){return t===ze||t===We}function pn(t,e,r){if(function(t,e){return t.datum_type===e.datum_type&&!(t.a!==e.a||Math.abs(t.es-e.es)>5e-11)&&(t.datum_type===ze?t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]:t.datum_type!==We||t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]&&t.datum_params[3]===e.datum_params[3]&&t.datum_params[4]===e.datum_params[4]&&t.datum_params[5]===e.datum_params[5]&&t.datum_params[6]===e.datum_params[6])}(t,e))return r;if(t.datum_type===Je||e.datum_type===Je)return r;var n=t.a,i=t.es;if(t.datum_type===$e){if(0!==dn(t,!1,r))return;n=Ye,i=Qe}var o=e.a,s=e.b,a=e.es;if(e.datum_type===$e&&(o=Ye,s=Xe,a=Qe),i===a&&n===o&&!fn(t.datum_type)&&!fn(e.datum_type))return r;if((r=cn(r,i,n),fn(t.datum_type)&&(r=function(t,e,r){if(e===ze)return{x:t.x+r[0],y:t.y+r[1],z:t.z+r[2]};if(e===We){var n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5],c=r[6];return{x:c*(t.x-u*t.y+a*t.z)+n,y:c*(u*t.x+t.y-s*t.z)+i,z:c*(-a*t.x+s*t.y+t.z)+o}}}(r,t.datum_type,t.datum_params)),fn(e.datum_type)&&(r=function(t,e,r){if(e===ze)return{x:t.x-r[0],y:t.y-r[1],z:t.z-r[2]};if(e===We){var n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5],c=r[6],l=(t.x-n)/c,h=(t.y-i)/c,f=(t.z-o)/c;return{x:l+u*h-a*f,y:-u*l+h+s*f,z:a*l-s*h+f}}}(r,e.datum_type,e.datum_params)),r=ln(r,a,o,s),e.datum_type===$e)&&0!==dn(e,!0,r))return;return r}function dn(t,e,r){if(null===t.grids||0===t.grids.length)return hn.log("Grid shift grids not found"),-1;for(var n={x:-r.x,y:r.y},i={x:Number.NaN,y:Number.NaN},o=[],s=0;sn.y||l>n.x||p1e-12&&Math.abs(s.y)>1e-12);if(u<0)return hn.log("Inverse grid shift iterator failed to converge."),n;n.x=kr(o.x+r.ll[0]),n.y=o.y+r.ll[1]}else isNaN(o.x)||(n.x=t.x+o.x,n.y=t.y+o.y);return n}function gn(t,e){var r,n={x:t.x/e.del[0],y:t.y/e.del[1]},i=Math.floor(n.x),o=Math.floor(n.y),s=n.x-1*i,a=n.y-1*o,u={x:Number.NaN,y:Number.NaN};if(i<0||i>=e.lim[0])return u;if(o<0||o>=e.lim[1])return u;r=o*e.lim[0]+i;var c=e.cvs[r][0],l=e.cvs[r][1];r++;var h=e.cvs[r][0],f=e.cvs[r][1];r+=e.lim[0];var p=e.cvs[r][0],d=e.cvs[r][1];r--;var y=e.cvs[r][0],g=e.cvs[r][1],m=s*a,b=s*(1-a),v=(1-s)*(1-a),w=(1-s)*a;return u.x=v*c+b*h+w*y+m*p,u.y=v*l+b*f+w*g+m*d,u}function mn(t,e,r){var n,i,o,s=r.x,a=r.y,u=r.z||0,c={};for(o=0;o<3;o++)if(!e||2!==o||void 0!==r.z)switch(0===o?(n=s,i=-1!=="ew".indexOf(t.axis[o])?"x":"y"):1===o?(n=a,i=-1!=="ns".indexOf(t.axis[o])?"y":"x"):(n=u,i="z"),t.axis[o]){case"e":case"n":c[i]=n;break;case"w":case"s":c[i]=-n;break;case"u":void 0!==r[i]&&(c.z=n);break;case"d":void 0!==r[i]&&(c.z=-n);break;default:return null}return c}function bn(t){var e={x:t[0],y:t[1]};return t.length>2&&(e.z=t[2]),t.length>3&&(e.m=t[3]),e}function vn(t){if("function"==typeof Number.isFinite){if(Number.isFinite(t))return;throw new TypeError("coordinates must be finite numbers")}if("number"!=typeof t||t!=t||!isFinite(t))throw new TypeError("coordinates must be finite numbers")}function wn(t,e,r,n){var i;if(Array.isArray(r)&&(r=bn(r)),function(t){vn(t.x),vn(t.y)}(r),t.datum&&e.datum&&function(t,e){return(t.datum.datum_type===ze||t.datum.datum_type===We)&&"WGS84"!==e.datumCode||(e.datum.datum_type===ze||e.datum.datum_type===We)&&"WGS84"!==t.datumCode}(t,e)&&(r=wn(t,i=new un("WGS84"),r,n),t=i),n&&"enu"!==t.axis&&(r=mn(t,!1,r)),"longlat"===t.projName)r={x:r.x*ir,y:r.y*ir,z:r.z||0};else if(t.to_meter&&(r={x:r.x*t.to_meter,y:r.y*t.to_meter,z:r.z||0}),!(r=t.inverse(r)))return;if(t.from_greenwich&&(r.x+=t.from_greenwich),r=pn(t.datum,e.datum,r))return e.from_greenwich&&(r={x:r.x-e.from_greenwich,y:r.y,z:r.z||0}),"longlat"===e.projName?r={x:r.x*or,y:r.y*or,z:r.z||0}:(r=e.forward(r),e.to_meter&&(r={x:r.x/e.to_meter,y:r.y/e.to_meter,z:r.z||0})),n&&"enu"!==e.axis?mn(e,!0,r):r}var En=un("WGS84");function _n(t,e,r,n){var i,o,s;return Array.isArray(r)?(i=wn(t,e,r,n)||{x:NaN,y:NaN},r.length>2?void 0!==t.name&&"geocent"===t.name||void 0!==e.name&&"geocent"===e.name?"number"==typeof i.z?[i.x,i.y,i.z].concat(r.splice(3)):[i.x,i.y,r[2]].concat(r.splice(3)):[i.x,i.y].concat(r.splice(2)):[i.x,i.y]):(o=wn(t,e,r,n),2===(s=Object.keys(r)).length||s.forEach((function(n){if(void 0!==t.name&&"geocent"===t.name||void 0!==e.name&&"geocent"===e.name){if("x"===n||"y"===n||"z"===n)return}else if("x"===n||"y"===n)return;o[n]=r[n]})),o)}function Mn(t){return t instanceof un?t:t.oProj?t.oProj:un(t)}const Sn=function(t,e,r){t=Mn(t);var n,i=!1;return void 0===e?(e=t,t=En,i=!0):(void 0!==e.x||Array.isArray(e))&&(r=e,e=t,t=En,i=!0),e=Mn(e),r?_n(t,e,r):(n={forward:function(r,n){return _n(t,e,r,n)},inverse:function(r,n){return _n(e,t,r,n)}},i&&(n.oProj=e),n)};var xn=6,Nn="AJSAJS",An="AFAFAF",On=65,Tn=73,Rn=79,Pn=86,Cn=90;const jn={forward:In,inverse:function(t){var e=qn(Bn(t.toUpperCase()));if(e.lat&&e.lon)return[e.lon,e.lat,e.lon,e.lat];return[e.left,e.bottom,e.right,e.top]},toPoint:Ln};function In(t,e){return e=e||5,function(t,e){var r="00000"+t.easting,n="00000"+t.northing;return t.zoneNumber+t.zoneLetter+(p=t.easting,d=t.northing,y=t.zoneNumber,g=Un(y),m=Math.floor(p/1e5),b=Math.floor(d/1e5)%20,i=m,o=b,s=g,a=s-1,u=Nn.charCodeAt(a),c=An.charCodeAt(a),l=u+i-1,h=c+o,f=!1,l>Cn&&(l=l-Cn+On-1,f=!0),(l===Tn||uTn||(l>Tn||uRn||(l>Rn||uCn&&(l=l-Cn+On-1),h>Pn?(h=h-Pn+On-1,f=!0):f=!1,(h===Tn||cTn||(h>Tn||cRn||(h>Rn||cPn&&(h=h-Pn+On-1),String.fromCharCode(l)+String.fromCharCode(h))+r.substr(r.length-5,e)+n.substr(n.length-5,e);var i,o,s,a,u,c,l,h,f;var p,d,y,g,m,b}(function(t){var e,r,n,i,o,s,a,u,c=t.lat,l=t.lon,h=6378137,f=.00669438,p=.9996,d=kn(c),y=kn(l);u=Math.floor((l+180)/6)+1,180===l&&(u=60);c>=56&&c<64&&l>=3&&l<12&&(u=32);c>=72&&c<84&&(l>=0&&l<9?u=31:l>=9&&l<21?u=33:l>=21&&l<33?u=35:l>=33&&l<42&&(u=37));a=kn(6*(u-1)-180+3),e=f/(1-f),r=h/Math.sqrt(1-f*Math.sin(d)*Math.sin(d)),n=Math.tan(d)*Math.tan(d),i=e*Math.cos(d)*Math.cos(d),o=Math.cos(d)*(y-a),s=h*((1-f/4-3*f*f/64-5*f*f*f/256)*d-(3*f/8+3*f*f/32+45*f*f*f/1024)*Math.sin(2*d)+(15*f*f/256+45*f*f*f/1024)*Math.sin(4*d)-35*f*f*f/3072*Math.sin(6*d));var g=p*r*(o+(1-n+i)*o*o*o/6+(5-18*n+n*n+72*i-58*e)*o*o*o*o*o/120)+5e5,m=p*(s+r*Math.tan(d)*(o*o/2+(5-n+9*i+4*i*i)*o*o*o*o/24+(61-58*n+n*n+600*i-330*e)*o*o*o*o*o*o/720));c<0&&(m+=1e7);return{northing:Math.round(m),easting:Math.round(g),zoneNumber:u,zoneLetter:Fn(c)}}({lat:t[1],lon:t[0]}),e)}function Ln(t){var e=qn(Bn(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat]:[(e.left+e.right)/2,(e.top+e.bottom)/2]}function kn(t){return t*(Math.PI/180)}function Dn(t){return t/Math.PI*180}function qn(t){var e=t.northing,r=t.easting,n=t.zoneLetter,i=t.zoneNumber;if(i<0||i>60)return null;var o,s,a,u,c,l,h,f,p,d=.9996,y=6378137,g=.00669438,m=(1-Math.sqrt(.99330562))/(1+Math.sqrt(.99330562)),b=r-5e5,v=e;n<"N"&&(v-=1e7),h=6*(i-1)-180+3,o=.006739496752268451,p=(f=v/d/6367449.145945056)+(3*m/2-27*m*m*m/32)*Math.sin(2*f)+(21*m*m/16-55*m*m*m*m/32)*Math.sin(4*f)+151*m*m*m/96*Math.sin(6*f),s=y/Math.sqrt(1-g*Math.sin(p)*Math.sin(p)),a=Math.tan(p)*Math.tan(p),u=o*Math.cos(p)*Math.cos(p),c=.99330562*y/Math.pow(1-g*Math.sin(p)*Math.sin(p),1.5),l=b/(s*d);var w=p-s*Math.tan(p)/c*(l*l/2-(5+3*a+10*u-4*u*u-9*o)*l*l*l*l/24+(61+90*a+298*u+45*a*a-1.6983531815716497-3*u*u)*l*l*l*l*l*l/720);w=Dn(w);var E,_=(l-(1+2*a+u)*l*l*l/6+(5-2*u+28*a-3*u*u+8*o+24*a*a)*l*l*l*l*l/120)/Math.cos(p);if(_=h+Dn(_),t.accuracy){var M=qn({northing:t.northing+t.accuracy,easting:t.easting+t.accuracy,zoneLetter:t.zoneLetter,zoneNumber:t.zoneNumber});E={top:M.lat,right:M.lon,bottom:w,left:_}}else E={lat:w,lon:_};return E}function Fn(t){var e="Z";return 84>=t&&t>=72?e="X":72>t&&t>=64?e="W":64>t&&t>=56?e="V":56>t&&t>=48?e="U":48>t&&t>=40?e="T":40>t&&t>=32?e="S":32>t&&t>=24?e="R":24>t&&t>=16?e="Q":16>t&&t>=8?e="P":8>t&&t>=0?e="N":0>t&&t>=-8?e="M":-8>t&&t>=-16?e="L":-16>t&&t>=-24?e="K":-24>t&&t>=-32?e="J":-32>t&&t>=-40?e="H":-40>t&&t>=-48?e="G":-48>t&&t>=-56?e="F":-56>t&&t>=-64?e="E":-64>t&&t>=-72?e="D":-72>t&&t>=-80&&(e="C"),e}function Un(t){var e=t%xn;return 0===e&&(e=xn),e}function Bn(t){if(t&&0===t.length)throw"MGRSPoint coverting from nothing";for(var e,r=t.length,n=null,i="",o=0;!/[A-Z]/.test(e=t.charAt(o));){if(o>=2)throw"MGRSPoint bad conversion from: "+t;i+=e,o++}var s=parseInt(i,10);if(0===o||o+3>r)throw"MGRSPoint bad conversion from: "+t;var a=t.charAt(o++);if(a<="A"||"B"===a||"Y"===a||a>="Z"||"I"===a||"O"===a)throw"MGRSPoint zone letter "+a+" not handled: "+t;n=t.substring(o,o+=2);for(var u=Un(s),c=function(t,e){var r=Nn.charCodeAt(e-1),n=1e5,i=!1;for(;r!==t.charCodeAt(0);){if(++r===Tn&&r++,r===Rn&&r++,r>Cn){if(i)throw"Bad character: "+t;r=On,i=!0}n+=1e5}return n}(n.charAt(0),u),l=function(t,e){if(t>"V")throw"MGRSPoint given invalid Northing "+t;var r=An.charCodeAt(e-1),n=0,i=!1;for(;r!==t.charCodeAt(0);){if(++r===Tn&&r++,r===Rn&&r++,r>Pn){if(i)throw"Bad character: "+t;r=On,i=!0}n+=1e5}return n}(n.charAt(1),u);l0&&(f=1e5/Math.pow(10,y),p=t.substring(o,o+y),g=parseFloat(p)*f,d=t.substring(o+y),m=parseFloat(d)*f),{easting:g+c,northing:m+l,zoneLetter:a,zoneNumber:s,accuracy:f}}function Gn(t){var e;switch(t){case"C":e=11e5;break;case"D":e=2e6;break;case"E":e=28e5;break;case"F":e=37e5;break;case"G":e=46e5;break;case"H":e=55e5;break;case"J":e=64e5;break;case"K":e=73e5;break;case"L":e=82e5;break;case"M":e=91e5;break;case"N":e=0;break;case"P":e=8e5;break;case"Q":e=17e5;break;case"R":e=26e5;break;case"S":e=35e5;break;case"T":e=44e5;break;case"U":e=53e5;break;case"V":e=62e5;break;case"W":e=7e6;break;case"X":e=79e5;break;default:e=-1}if(e>=0)return e;throw"Invalid zone letter: "+t}var Hn=r(6763);function Vn(t,e,r){if(!(this instanceof Vn))return new Vn(t,e,r);if(Array.isArray(t))this.x=t[0],this.y=t[1],this.z=t[2]||0;else if("object"==typeof t)this.x=t.x,this.y=t.y,this.z=t.z||0;else if("string"==typeof t&&void 0===e){var n=t.split(",");this.x=parseFloat(n[0],10),this.y=parseFloat(n[1],10),this.z=parseFloat(n[2],10)||0}else this.x=t,this.y=e,this.z=r||0;Hn.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}Vn.fromMGRS=function(t){return new Vn(Ln(t))},Vn.prototype.toMGRS=function(t){return In([this.x,this.y],t)};const zn=Vn;var Wn=1,$n=.25,Jn=.046875,Yn=.01953125,Xn=.01068115234375,Qn=.75,Kn=.46875,Zn=.013020833333333334,ti=.007120768229166667,ei=.3645833333333333,ri=.005696614583333333,ni=.3076171875;function ii(t){var e=[];e[0]=Wn-t*($n+t*(Jn+t*(Yn+t*Xn))),e[1]=t*(Qn-t*(Jn+t*(Yn+t*Xn)));var r=t*t;return e[2]=r*(Kn-t*(Zn+t*ti)),r*=t,e[3]=r*(ei-t*ri),e[4]=r*t*ni,e}function oi(t,e,r,n){return r*=e,e*=e,n[0]*t-r*(n[1]+e*(n[2]+e*(n[3]+e*n[4])))}var si=20;function ai(t,e,r){for(var n=1/(1-e),i=t,o=si;o;--o){var s=Math.sin(i),a=1-e*s*s;if(i-=a=(oi(i,s,Math.cos(i),r)-t)*(a*Math.sqrt(a))*n,Math.abs(a)nr?Math.tan(o):0,d=Math.pow(p,2),y=Math.pow(d,2);e=1-this.es*Math.pow(a,2),c/=Math.sqrt(e);var g=oi(o,a,u,this.en);r=this.a*(this.k0*c*(1+l/6*(1-d+h+l/20*(5-18*d+y+14*h-58*d*h+l/42*(61+179*y-y*d-479*d)))))+this.x0,n=this.a*(this.k0*(g-this.ml0+a*s*c/2*(1+l/12*(5-d+9*h+4*f+l/30*(61+y-58*d+270*h-330*d*h+l/56*(1385+543*y-y*d-3111*d))))))+this.y0}else{var m=u*Math.sin(s);if(Math.abs(Math.abs(m)-1)=1){if(m-1>nr)return 93;n=0}else n=Math.acos(n);o<0&&(n=-n),n=this.a*this.k0*(n-this.lat0)+this.y0}return t.x=r,t.y=n,t},inverse:function(t){var e,r,n,i,o=(t.x-this.x0)*(1/this.a),s=(t.y-this.y0)*(1/this.a);if(this.es)if(r=ai(e=this.ml0+s/this.k0,this.es,this.en),Math.abs(r)nr?Math.tan(r):0,l=this.ep2*Math.pow(u,2),h=Math.pow(l,2),f=Math.pow(c,2),p=Math.pow(f,2);e=1-this.es*Math.pow(a,2);var d=o*Math.sqrt(e)/this.k0,y=Math.pow(d,2);n=r-(e*=c)*y/(1-this.es)*.5*(1-y/12*(5+3*f-9*l*f+l-4*h-y/30*(61+90*f-252*l*f+45*p+46*l-y/56*(1385+3633*f+4095*p+1574*p*f)))),i=kr(this.long0+d*(1-y/6*(1+2*f+l-y/20*(5+28*f+24*p+8*l*f+6*l-y/42*(61+662*f+1320*p+720*p*f))))/u)}else n=Ze*Lr(s),i=0;else{var g=Math.exp(o/this.k0),m=.5*(g-1/g),b=this.lat0+s/this.k0,v=Math.cos(b);e=Math.sqrt((1-Math.pow(v,2))/(1+Math.pow(m,2))),n=Math.asin(e),s<0&&(n=-n),i=0===m&&0===v?0:kr(Math.atan2(m,v)+this.long0)}return t.x=i,t.y=n,t},names:["Fast_Transverse_Mercator","Fast Transverse Mercator"]};function ci(t){var e=Math.exp(t);return e=(e-1/e)/2}function li(t,e){t=Math.abs(t),e=Math.abs(e);var r=Math.max(t,e),n=Math.min(t,e)/(r||1);return r*Math.sqrt(1+Math.pow(n,2))}function hi(t){var e=Math.abs(t);return e=function(t){var e=1+t,r=e-1;return 0===r?t:t*Math.log(e)/r}(e*(1+e/(li(1,e)+1))),t<0?-e:e}function fi(t,e){for(var r,n=2*Math.cos(2*e),i=t.length-1,o=t[i],s=0;--i>=0;)r=n*o-s+t[i],s=o,o=r;return e+r*Math.sin(2*e)}function pi(t,e,r){for(var n,i,o=Math.sin(e),s=Math.cos(e),a=ci(r),u=function(t){var e=Math.exp(t);return(e+1/e)/2}(r),c=2*s*u,l=-2*o*a,h=t.length-1,f=t[h],p=0,d=0,y=0;--h>=0;)n=d,i=p,f=c*(d=f)-n-l*(p=y)+t[h],y=l*d-i+c*p;return[(c=o*u)*f-(l=s*a)*y,c*y+l*f]}const di={init:function(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(ui.init.apply(this),this.forward=ui.forward,this.inverse=ui.inverse),this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var t=this.es/(1+Math.sqrt(1-this.es)),e=t/(2-t),r=e;this.cgb[0]=e*(2+e*(-2/3+e*(e*(116/45+e*(26/45+e*(-2854/675)))-2))),this.cbg[0]=e*(e*(2/3+e*(4/3+e*(-82/45+e*(32/45+e*(4642/4725)))))-2),r*=e,this.cgb[1]=r*(7/3+e*(e*(-227/45+e*(2704/315+e*(2323/945)))-1.6)),this.cbg[1]=r*(5/3+e*(-16/15+e*(-13/9+e*(904/315+e*(-1522/945))))),r*=e,this.cgb[2]=r*(56/15+e*(-136/35+e*(-1262/105+e*(73814/2835)))),this.cbg[2]=r*(-26/15+e*(34/21+e*(1.6+e*(-12686/2835)))),r*=e,this.cgb[3]=r*(4279/630+e*(-332/35+e*(-399572/14175))),this.cbg[3]=r*(1237/630+e*(e*(-24832/14175)-2.4)),r*=e,this.cgb[4]=r*(4174/315+e*(-144838/6237)),this.cbg[4]=r*(-734/315+e*(109598/31185)),r*=e,this.cgb[5]=r*(601676/22275),this.cbg[5]=r*(444337/155925),r=Math.pow(e,2),this.Qn=this.k0/(1+e)*(1+r*(1/4+r*(1/64+r/256))),this.utg[0]=e*(e*(2/3+e*(-37/96+e*(1/360+e*(81/512+e*(-96199/604800)))))-.5),this.gtu[0]=e*(.5+e*(-2/3+e*(5/16+e*(41/180+e*(-127/288+e*(7891/37800)))))),this.utg[1]=r*(-1/48+e*(-1/15+e*(437/1440+e*(-46/105+e*(1118711/3870720))))),this.gtu[1]=r*(13/48+e*(e*(557/1440+e*(281/630+e*(-1983433/1935360)))-.6)),r*=e,this.utg[2]=r*(-17/480+e*(37/840+e*(209/4480+e*(-5569/90720)))),this.gtu[2]=r*(61/240+e*(-103/140+e*(15061/26880+e*(167603/181440)))),r*=e,this.utg[3]=r*(-4397/161280+e*(11/504+e*(830251/7257600))),this.gtu[3]=r*(49561/161280+e*(-179/168+e*(6601661/7257600))),r*=e,this.utg[4]=r*(-4583/161280+e*(108847/3991680)),this.gtu[4]=r*(34729/80640+e*(-3418889/1995840)),r*=e,this.utg[5]=r*(-20648693/638668800),this.gtu[5]=.6650675310896665*r;var n=fi(this.cbg,this.lat0);this.Zb=-this.Qn*(n+function(t,e){for(var r,n=2*Math.cos(e),i=t.length-1,o=t[i],s=0;--i>=0;)r=n*o-s+t[i],s=o,o=r;return Math.sin(e)*r}(this.gtu,2*n))},forward:function(t){var e=kr(t.x-this.long0),r=t.y;r=fi(this.cbg,r);var n=Math.sin(r),i=Math.cos(r),o=Math.sin(e),s=Math.cos(e);r=Math.atan2(n,s*i),e=Math.atan2(o*i,li(n,i*s)),e=hi(Math.tan(e));var a,u,c=pi(this.gtu,2*r,2*e);return r+=c[0],e+=c[1],Math.abs(e)<=2.623395162778?(a=this.a*(this.Qn*e)+this.x0,u=this.a*(this.Qn*r+this.Zb)+this.y0):(a=1/0,u=1/0),t.x=a,t.y=u,t},inverse:function(t){var e,r,n=(t.x-this.x0)*(1/this.a),i=(t.y-this.y0)*(1/this.a);if(i=(i-this.Zb)/this.Qn,n/=this.Qn,Math.abs(n)<=2.623395162778){var o=pi(this.utg,2*i,2*n);i+=o[0],n+=o[1],n=Math.atan(ci(n));var s=Math.sin(i),a=Math.cos(i),u=Math.sin(n),c=Math.cos(n);i=Math.atan2(s*c,li(u,c*a)),e=kr((n=Math.atan2(u,c*a))+this.long0),r=fi(this.cgb,i)}else e=1/0,r=1/0;return t.x=e,t.y=r,t},names:["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","tmerc"]};const yi={init:function(){var t=function(t,e){if(void 0===t){if((t=Math.floor(30*(kr(e)+Math.PI)/Math.PI)+1)<0)return 0;if(t>60)return 60}return t}(this.zone,this.long0);if(void 0===t)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(t)-183)*ir,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,di.init.apply(this),this.forward=di.forward,this.inverse=di.inverse},names:["Universal Transverse Mercator System","utm"],dependsOn:"etmerc"};function gi(t,e){return Math.pow((1-t)/(1+t),e)}const mi={init:function(){var t=Math.sin(this.lat0),e=Math.cos(this.lat0);e*=e,this.rc=Math.sqrt(1-this.es)/(1-this.es*t*t),this.C=Math.sqrt(1+this.es*e*e/(1-this.es)),this.phic0=Math.asin(t/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+sr)/(Math.pow(Math.tan(.5*this.lat0+sr),this.C)*gi(this.e*t,this.ratexp))},forward:function(t){var e=t.x,r=t.y;return t.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*r+sr),this.C)*gi(this.e*Math.sin(r),this.ratexp))-Ze,t.x=this.C*e,t},inverse:function(t){for(var e=t.x/this.C,r=t.y,n=Math.pow(Math.tan(.5*r+sr)/this.K,1/this.C),i=20;i>0&&(r=2*Math.atan(n*gi(this.e*Math.sin(t.y),-.5*this.e))-Ze,!(Math.abs(r-t.y)<1e-14));--i)t.y=r;return i?(t.x=e,t.y=r,t):null},names:["gauss"]};const bi={init:function(){mi.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},forward:function(t){var e,r,n,i;return t.x=kr(t.x-this.long0),mi.forward.apply(this,[t]),e=Math.sin(t.y),r=Math.cos(t.y),n=Math.cos(t.x),i=this.k0*this.R2/(1+this.sinc0*e+this.cosc0*r*n),t.x=i*r*Math.sin(t.x),t.y=i*(this.cosc0*e-this.sinc0*r*n),t.x=this.a*t.x+this.x0,t.y=this.a*t.y+this.y0,t},inverse:function(t){var e,r,n,i,o;if(t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,o=Math.sqrt(t.x*t.x+t.y*t.y)){var s=2*Math.atan2(o,this.R2);e=Math.sin(s),r=Math.cos(s),i=Math.asin(r*this.sinc0+t.y*e*this.cosc0/o),n=Math.atan2(t.x*e,o*this.cosc0*r-t.y*this.sinc0*e)}else i=this.phic0,n=0;return t.x=n,t.y=i,mi.inverse.apply(this,[t]),t.x=kr(t.x+this.long0),t},names:["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative","Double_Stereographic"]};const vi={init:function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=nr&&(this.k0=.5*(1+Lr(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=nr&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=nr&&(this.k0=.5*this.cons*Ir(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/Dr(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=Ir(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-Ze,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},forward:function(t){var e,r,n,i,o,s,a=t.x,u=t.y,c=Math.sin(u),l=Math.cos(u),h=kr(a-this.long0);return Math.abs(Math.abs(a-this.long0)-Math.PI)<=nr&&Math.abs(u+this.lat0)<=nr?(t.x=NaN,t.y=NaN,t):this.sphere?(e=2*this.k0/(1+this.sinlat0*c+this.coslat0*l*Math.cos(h)),t.x=this.a*e*l*Math.sin(h)+this.x0,t.y=this.a*e*(this.coslat0*c-this.sinlat0*l*Math.cos(h))+this.y0,t):(r=2*Math.atan(this.ssfn_(u,c,this.e))-Ze,i=Math.cos(r),n=Math.sin(r),Math.abs(this.coslat0)<=nr?(o=Dr(this.e,u*this.con,this.con*c),s=2*this.a*this.k0*o/this.cons,t.x=this.x0+s*Math.sin(a-this.long0),t.y=this.y0-this.con*s*Math.cos(a-this.long0),t):(Math.abs(this.sinlat0)0?kr(this.long0+Math.atan2(t.x,-1*t.y)):kr(this.long0+Math.atan2(t.x,t.y)):kr(this.long0+Math.atan2(t.x*Math.sin(a),s*this.coslat0*Math.cos(a)-t.y*this.sinlat0*Math.sin(a))),t.x=e,t.y=r,t)}if(Math.abs(this.coslat0)<=nr){if(s<=nr)return r=this.lat0,e=this.long0,t.x=e,t.y=r,t;t.x*=this.con,t.y*=this.con,n=s*this.cons/(2*this.a*this.k0),r=this.con*qr(this.e,n),e=this.con*kr(this.con*this.long0+Math.atan2(t.x,-1*t.y))}else i=2*Math.atan(s*this.cosX0/(2*this.a*this.k0*this.ms1)),e=this.long0,s<=nr?o=this.X0:(o=Math.asin(Math.cos(i)*this.sinX0+t.y*Math.sin(i)*this.cosX0/s),e=kr(this.long0+Math.atan2(t.x*Math.sin(i),s*this.cosX0*Math.cos(i)-t.y*this.sinX0*Math.sin(i)))),r=-1*qr(this.e,Math.tan(.5*(Ze+o)));return t.x=e,t.y=r,t},names:["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"],ssfn_:function(t,e,r){return e*=r,Math.tan(.5*(Ze+t))*Math.pow((1-e)/(1+e),.5*r)}};const wi={init:function(){var t=this.lat0;this.lambda0=this.long0;var e=Math.sin(t),r=this.a,n=1/this.rf,i=2*n-Math.pow(n,2),o=this.e=Math.sqrt(i);this.R=this.k0*r*Math.sqrt(1-i)/(1-i*Math.pow(e,2)),this.alpha=Math.sqrt(1+i/(1-i)*Math.pow(Math.cos(t),4)),this.b0=Math.asin(e/this.alpha);var s=Math.log(Math.tan(Math.PI/4+this.b0/2)),a=Math.log(Math.tan(Math.PI/4+t/2)),u=Math.log((1+o*e)/(1-o*e));this.K=s-this.alpha*a+this.alpha*o/2*u},forward:function(t){var e=Math.log(Math.tan(Math.PI/4-t.y/2)),r=this.e/2*Math.log((1+this.e*Math.sin(t.y))/(1-this.e*Math.sin(t.y))),n=-this.alpha*(e+r)+this.K,i=2*(Math.atan(Math.exp(n))-Math.PI/4),o=this.alpha*(t.x-this.lambda0),s=Math.atan(Math.sin(o)/(Math.sin(this.b0)*Math.tan(i)+Math.cos(this.b0)*Math.cos(o))),a=Math.asin(Math.cos(this.b0)*Math.sin(i)-Math.sin(this.b0)*Math.cos(i)*Math.cos(o));return t.y=this.R/2*Math.log((1+Math.sin(a))/(1-Math.sin(a)))+this.y0,t.x=this.R*s+this.x0,t},inverse:function(t){for(var e=t.x-this.x0,r=t.y-this.y0,n=e/this.R,i=2*(Math.atan(Math.exp(r/this.R))-Math.PI/4),o=Math.asin(Math.cos(this.b0)*Math.sin(i)+Math.sin(this.b0)*Math.cos(i)*Math.cos(n)),s=Math.atan(Math.sin(n)/(Math.cos(this.b0)*Math.cos(n)-Math.sin(this.b0)*Math.tan(i))),a=this.lambda0+s/this.alpha,u=0,c=o,l=-1e3,h=0;Math.abs(c-l)>1e-7;){if(++h>20)return;u=1/this.alpha*(Math.log(Math.tan(Math.PI/4+o/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(c))/2)),l=c,c=2*Math.atan(Math.exp(u))-Math.PI/2}return t.x=a,t.y=c,t},names:["somerc"]};var Ei=1e-7;const _i={init:function(){var t,e,r,n,i,o,s,a,u,c,l,h,f,p=0,d=0,y=0,g=0,m=0,b=0,v=0;this.no_off=(f="object"==typeof(h=this).PROJECTION?Object.keys(h.PROJECTION)[0]:h.PROJECTION,"no_uoff"in h||"no_off"in h||-1!==["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"].indexOf(f)),this.no_rot="no_rot"in this;var w=!1;"alpha"in this&&(w=!0);var E=!1;if("rectified_grid_angle"in this&&(E=!0),w&&(v=this.alpha),E&&(p=this.rectified_grid_angle*ir),w||E)d=this.longc;else if(y=this.long1,m=this.lat1,g=this.long2,b=this.lat2,Math.abs(m-b)<=Ei||(t=Math.abs(m))<=Ei||Math.abs(t-Ze)<=Ei||Math.abs(Math.abs(this.lat0)-Ze)<=Ei||Math.abs(Math.abs(b)-Ze)<=Ei)throw new Error;var _=1-this.es;e=Math.sqrt(_),Math.abs(this.lat0)>nr?(a=Math.sin(this.lat0),r=Math.cos(this.lat0),t=1-this.es*a*a,this.B=r*r,this.B=Math.sqrt(1+this.es*this.B*this.B/_),this.A=this.B*this.k0*e/t,(i=(n=this.B*e/(r*Math.sqrt(t)))*n-1)<=0?i=0:(i=Math.sqrt(i),this.lat0<0&&(i=-i)),this.E=i+=n,this.E*=Math.pow(Dr(this.e,this.lat0,a),this.B)):(this.B=1/e,this.A=this.k0,this.E=n=i=1),w||E?(w?(l=Math.asin(Math.sin(v)/n),E||(p=v)):(l=p,v=Math.asin(n*Math.sin(l))),this.lam0=d-Math.asin(.5*(i-1/i)*Math.tan(l))/this.B):(o=Math.pow(Dr(this.e,m,Math.sin(m)),this.B),s=Math.pow(Dr(this.e,b,Math.sin(b)),this.B),i=this.E/o,u=(s-o)/(s+o),c=((c=this.E*this.E)-s*o)/(c+s*o),(t=y-g)<-Math.pi?g-=ar:t>Math.pi&&(g+=ar),this.lam0=kr(.5*(y+g)-Math.atan(c*Math.tan(.5*this.B*(y-g))/u)/this.B),l=Math.atan(2*Math.sin(this.B*kr(y-this.lam0))/(i-1/i)),p=v=Math.asin(n*Math.sin(l))),this.singam=Math.sin(l),this.cosgam=Math.cos(l),this.sinrot=Math.sin(p),this.cosrot=Math.cos(p),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A,this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(n*n-1)/Math.cos(v))),this.lat0<0&&(this.u_0=-this.u_0)),i=.5*l,this.v_pole_n=this.ArB*Math.log(Math.tan(sr-i)),this.v_pole_s=this.ArB*Math.log(Math.tan(sr+i))},forward:function(t){var e,r,n,i,o,s,a,u,c={};if(t.x=t.x-this.lam0,Math.abs(Math.abs(t.y)-Ze)>nr){if(e=.5*((o=this.E/Math.pow(Dr(this.e,t.y,Math.sin(t.y)),this.B))-(s=1/o)),r=.5*(o+s),i=Math.sin(this.B*t.x),n=(e*this.singam-i*this.cosgam)/r,Math.abs(Math.abs(n)-1)0?this.v_pole_n:this.v_pole_s,a=this.ArB*t.y;return this.no_rot?(c.x=a,c.y=u):(a-=this.u_0,c.x=u*this.cosrot+a*this.sinrot,c.y=a*this.cosrot-u*this.sinrot),c.x=this.a*c.x+this.x0,c.y=this.a*c.y+this.y0,c},inverse:function(t){var e,r,n,i,o,s,a,u={};if(t.x=(t.x-this.x0)*(1/this.a),t.y=(t.y-this.y0)*(1/this.a),this.no_rot?(r=t.y,e=t.x):(r=t.x*this.cosrot-t.y*this.sinrot,e=t.y*this.cosrot+t.x*this.sinrot+this.u_0),i=.5*((n=Math.exp(-this.BrA*r))-1/n),o=.5*(n+1/n),a=((s=Math.sin(this.BrA*e))*this.cosgam+i*this.singam)/o,Math.abs(Math.abs(a)-1)nr?this.ns=Math.log(n/a)/Math.log(i/u):this.ns=e,isNaN(this.ns)&&(this.ns=e),this.f0=n/(this.ns*Math.pow(i,this.ns)),this.rh=this.a*this.f0*Math.pow(c,this.ns),this.title||(this.title="Lambert Conformal Conic")}},forward:function(t){var e=t.x,r=t.y;Math.abs(2*Math.abs(r)-Math.PI)<=nr&&(r=Lr(r)*(Ze-2*nr));var n,i,o=Math.abs(Math.abs(r)-Ze);if(o>nr)n=Dr(this.e,r,Math.sin(r)),i=this.a*this.f0*Math.pow(n,this.ns);else{if((o=r*this.ns)<=0)return null;i=0}var s=this.ns*kr(e-this.long0);return t.x=this.k0*(i*Math.sin(s))+this.x0,t.y=this.k0*(this.rh-i*Math.cos(s))+this.y0,t},inverse:function(t){var e,r,n,i,o,s=(t.x-this.x0)/this.k0,a=this.rh-(t.y-this.y0)/this.k0;this.ns>0?(e=Math.sqrt(s*s+a*a),r=1):(e=-Math.sqrt(s*s+a*a),r=-1);var u=0;if(0!==e&&(u=Math.atan2(r*s,r*a)),0!==e||this.ns>0){if(r=1/this.ns,n=Math.pow(e/(this.a*this.f0),r),-9999===(i=qr(this.e,n)))return null}else i=-Ze;return o=kr(u/this.ns+this.long0),t.x=o,t.y=i,t},names:["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc","Lambert Conic Conformal (1SP)","Lambert Conic Conformal (2SP)"]};const Si={init:function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},forward:function(t){var e,r,n,i,o,s,a,u=t.x,c=t.y,l=kr(u-this.long0);return e=Math.pow((1+this.e*Math.sin(c))/(1-this.e*Math.sin(c)),this.alfa*this.e/2),r=2*(Math.atan(this.k*Math.pow(Math.tan(c/2+this.s45),this.alfa)/e)-this.s45),n=-l*this.alfa,i=Math.asin(Math.cos(this.ad)*Math.sin(r)+Math.sin(this.ad)*Math.cos(r)*Math.cos(n)),o=Math.asin(Math.cos(r)*Math.sin(n)/Math.cos(i)),s=this.n*o,a=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(i/2+this.s45),this.n),t.y=a*Math.cos(s)/1,t.x=a*Math.sin(s)/1,this.czech||(t.y*=-1,t.x*=-1),t},inverse:function(t){var e,r,n,i,o,s,a,u=t.x;t.x=t.y,t.y=u,this.czech||(t.y*=-1,t.x*=-1),o=Math.sqrt(t.x*t.x+t.y*t.y),i=Math.atan2(t.y,t.x)/Math.sin(this.s0),n=2*(Math.atan(Math.pow(this.ro0/o,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),e=Math.asin(Math.cos(this.ad)*Math.sin(n)-Math.sin(this.ad)*Math.cos(n)*Math.cos(i)),r=Math.asin(Math.cos(n)*Math.sin(i)/Math.cos(e)),t.x=this.long0-r/this.alfa,s=e,a=0;var c=0;do{t.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(e/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(s))/(1-this.e*Math.sin(s)),this.e/2))-this.s45),Math.abs(s-t.y)<1e-10&&(a=1),s=t.y,c+=1}while(0===a&&c<15);return c>=15?null:t},names:["Krovak","krovak"]};function xi(t,e,r,n,i){return t*i-e*Math.sin(2*i)+r*Math.sin(4*i)-n*Math.sin(6*i)}function Ni(t){return 1-.25*t*(1+t/16*(3+1.25*t))}function Ai(t){return.375*t*(1+.25*t*(1+.46875*t))}function Oi(t){return.05859375*t*t*(1+.75*t)}function Ti(t){return t*t*t*(35/3072)}function Ri(t,e,r){var n=e*r;return t/Math.sqrt(1-n*n)}function Pi(t){return Math.abs(t)1e-7?(1-t*t)*(e/(1-(r=t*e)*r)-.5/t*Math.log((1-r)/(1+r))):2*e}var Li=.3333333333333333,ki=.17222222222222222,Di=.10257936507936508,qi=.06388888888888888,Fi=.0664021164021164,Ui=.016415012942191543;const Bi={init:function(){var t,e=Math.abs(this.lat0);if(Math.abs(e-Ze)0)switch(this.qp=Ii(this.e,1),this.mmf=.5/(1-this.es),this.apa=function(t){var e,r=[];return r[0]=t*Li,e=t*t,r[0]+=e*ki,r[1]=e*qi,e*=t,r[0]+=e*Di,r[1]+=e*Fi,r[2]=e*Ui,r}(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),t=Math.sin(this.lat0),this.sinb1=Ii(this.e,t)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*t*t)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},forward:function(t){var e,r,n,i,o,s,a,u,c,l,h=t.x,f=t.y;if(h=kr(h-this.long0),this.sphere){if(o=Math.sin(f),l=Math.cos(f),n=Math.cos(h),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((r=this.mode===this.EQUIT?1+l*n:1+this.sinph0*o+this.cosph0*l*n)<=nr)return null;e=(r=Math.sqrt(2/r))*l*Math.sin(h),r*=this.mode===this.EQUIT?o:this.cosph0*o-this.sinph0*l*n}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(n=-n),Math.abs(f+this.lat0)=0?(e=(c=Math.sqrt(s))*i,r=n*(this.mode===this.S_POLE?c:-c)):e=r=0}}return t.x=this.a*e+this.x0,t.y=this.a*r+this.y0,t},inverse:function(t){t.x-=this.x0,t.y-=this.y0;var e,r,n,i,o,s,a,u,c,l,h=t.x/this.a,f=t.y/this.a;if(this.sphere){var p,d=0,y=0;if((r=.5*(p=Math.sqrt(h*h+f*f)))>1)return null;switch(r=2*Math.asin(r),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(y=Math.sin(r),d=Math.cos(r)),this.mode){case this.EQUIT:r=Math.abs(p)<=nr?0:Math.asin(f*y/p),h*=y,f=d*p;break;case this.OBLIQ:r=Math.abs(p)<=nr?this.lat0:Math.asin(d*this.sinph0+f*y*this.cosph0/p),h*=y*this.cosph0,f=(d-Math.sin(r)*this.sinph0)*p;break;case this.N_POLE:f=-f,r=Ze-r;break;case this.S_POLE:r-=Ze}e=0!==f||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(h,f):0}else{if(a=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(h/=this.dd,f*=this.dd,(s=Math.sqrt(h*h+f*f))1&&(t=t>1?1:-1),Math.asin(t)}const Hi={init:function(){Math.abs(this.lat1+this.lat2)nr?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},forward:function(t){var e=t.x,r=t.y;this.sin_phi=Math.sin(r),this.cos_phi=Math.cos(r);var n=Ii(this.e3,this.sin_phi,this.cos_phi),i=this.a*Math.sqrt(this.c-this.ns0*n)/this.ns0,o=this.ns0*kr(e-this.long0),s=i*Math.sin(o)+this.x0,a=this.rh-i*Math.cos(o)+this.y0;return t.x=s,t.y=a,t},inverse:function(t){var e,r,n,i,o,s;return t.x-=this.x0,t.y=this.rh-t.y+this.y0,this.ns0>=0?(e=Math.sqrt(t.x*t.x+t.y*t.y),n=1):(e=-Math.sqrt(t.x*t.x+t.y*t.y),n=-1),i=0,0!==e&&(i=Math.atan2(n*t.x,n*t.y)),n=e*this.ns0/this.a,this.sphere?s=Math.asin((this.c-n*n)/(2*this.ns0)):(r=(this.c-n*n)/this.ns0,s=this.phi1z(this.e3,r)),o=kr(i/this.ns0+this.long0),t.x=o,t.y=s,t},names:["Albers_Conic_Equal_Area","Albers","aea"],phi1z:function(t,e){var r,n,i,o,s=Gi(.5*e);if(t0||Math.abs(o)<=nr?(s=this.x0+1*this.a*r*Math.sin(n)/o,a=this.y0+1*this.a*(this.cos_p14*e-this.sin_p14*r*i)/o):(s=this.x0+this.infinity_dist*r*Math.sin(n),a=this.y0+this.infinity_dist*(this.cos_p14*e-this.sin_p14*r*i)),t.x=s,t.y=a,t},inverse:function(t){var e,r,n,i,o,s;return t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,(e=Math.sqrt(t.x*t.x+t.y*t.y))?(i=Math.atan2(e,this.rc),r=Math.sin(i),s=Gi((n=Math.cos(i))*this.sin_p14+t.y*r*this.cos_p14/e),o=Math.atan2(t.x*r,e*this.cos_p14*n-t.y*this.sin_p14*r),o=kr(this.long0+o)):(s=this.phic0,o=0),t.x=o,t.y=s,t},names:["gnom"]};const zi={init:function(){this.sphere||(this.k0=Ir(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},forward:function(t){var e,r,n=t.x,i=t.y,o=kr(n-this.long0);if(this.sphere)e=this.x0+this.a*o*Math.cos(this.lat_ts),r=this.y0+this.a*Math.sin(i)/Math.cos(this.lat_ts);else{var s=Ii(this.e,Math.sin(i));e=this.x0+this.a*this.k0*o,r=this.y0+this.a*s*.5/this.k0}return t.x=e,t.y=r,t},inverse:function(t){var e,r;return t.x-=this.x0,t.y-=this.y0,this.sphere?(e=kr(this.long0+t.x/this.a/Math.cos(this.lat_ts)),r=Math.asin(t.y/this.a*Math.cos(this.lat_ts))):(r=function(t,e){var r=1-(1-t*t)/(2*t)*Math.log((1-t)/(1+t));if(Math.abs(Math.abs(e)-r)<1e-6)return e<0?-1*Ze:Ze;for(var n,i,o,s,a=Math.asin(.5*e),u=0;u<30;u++)if(i=Math.sin(a),o=Math.cos(a),s=t*i,a+=n=Math.pow(1-s*s,2)/(2*o)*(e/(1-t*t)-i/(1-s*s)+.5/t*Math.log((1-s)/(1+s))),Math.abs(n)<=1e-10)return a;return NaN}(this.e,2*t.y*this.k0/this.a),e=kr(this.long0+t.x/(this.a*this.k0))),t.x=e,t.y=r,t},names:["cea"]};const Wi={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)},forward:function(t){var e=t.x,r=t.y,n=kr(e-this.long0),i=Pi(r-this.lat0);return t.x=this.x0+this.a*n*this.rc,t.y=this.y0+this.a*i,t},inverse:function(t){var e=t.x,r=t.y;return t.x=kr(this.long0+(e-this.x0)/(this.a*this.rc)),t.y=Pi(this.lat0+(r-this.y0)/this.a),t},names:["Equirectangular","Equidistant_Cylindrical","eqc"]};const $i={init:function(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=Ni(this.es),this.e1=Ai(this.es),this.e2=Oi(this.es),this.e3=Ti(this.es),this.ml0=this.a*xi(this.e0,this.e1,this.e2,this.e3,this.lat0)},forward:function(t){var e,r,n,i=t.x,o=t.y,s=kr(i-this.long0);if(n=s*Math.sin(o),this.sphere)Math.abs(o)<=nr?(e=this.a*s,r=-1*this.a*this.lat0):(e=this.a*Math.sin(n)/Math.tan(o),r=this.a*(Pi(o-this.lat0)+(1-Math.cos(n))/Math.tan(o)));else if(Math.abs(o)<=nr)e=this.a*s,r=-1*this.ml0;else{var a=Ri(this.a,this.e,Math.sin(o))/Math.tan(o);e=a*Math.sin(n),r=this.a*xi(this.e0,this.e1,this.e2,this.e3,o)-this.ml0+a*(1-Math.cos(n))}return t.x=e+this.x0,t.y=r+this.y0,t},inverse:function(t){var e,r,n,i,o,s,a,u,c;if(n=t.x-this.x0,i=t.y-this.y0,this.sphere)if(Math.abs(i+this.a*this.lat0)<=nr)e=kr(n/this.a+this.long0),r=0;else{var l;for(s=this.lat0+i/this.a,a=n*n/this.a/this.a+s*s,u=s,o=20;o;--o)if(u+=c=-1*(s*(u*(l=Math.tan(u))+1)-u-.5*(u*u+a)*l)/((u-s)/l-1),Math.abs(c)<=nr){r=u;break}e=kr(this.long0+Math.asin(n*Math.tan(u)/this.a)/Math.sin(r))}else if(Math.abs(i+this.ml0)<=nr)r=0,e=kr(this.long0+n/this.a);else{var h,f,p,d,y;for(s=(this.ml0+i)/this.a,a=n*n/this.a/this.a+s*s,u=s,o=20;o;--o)if(y=this.e*Math.sin(u),h=Math.sqrt(1-y*y)*Math.tan(u),f=this.a*xi(this.e0,this.e1,this.e2,this.e3,u),p=this.e0-2*this.e1*Math.cos(2*u)+4*this.e2*Math.cos(4*u)-6*this.e3*Math.cos(6*u),u-=c=(s*(h*(d=f/this.a)+1)-d-.5*h*(d*d+a))/(this.es*Math.sin(2*u)*(d*d+a-2*s*d)/(4*h)+(s-d)*(h*p-2/Math.sin(2*u))-p),Math.abs(c)<=nr){r=u;break}h=Math.sqrt(1-this.es*Math.pow(Math.sin(r),2))*Math.tan(r),e=kr(this.long0+Math.asin(n*h/this.a)/Math.sin(r))}return t.x=e,t.y=r,t},names:["Polyconic","poly"]};const Ji={init:function(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013},forward:function(t){var e,r=t.x,n=t.y-this.lat0,i=r-this.long0,o=n/Ke*1e-5,s=i,a=1,u=0;for(e=1;e<=10;e++)a*=o,u+=this.A[e]*a;var c,l=u,h=s,f=1,p=0,d=0,y=0;for(e=1;e<=6;e++)c=p*l+f*h,f=f*l-p*h,p=c,d=d+this.B_re[e]*f-this.B_im[e]*p,y=y+this.B_im[e]*f+this.B_re[e]*p;return t.x=y*this.a+this.x0,t.y=d*this.a+this.y0,t},inverse:function(t){var e,r,n=t.x,i=t.y,o=n-this.x0,s=(i-this.y0)/this.a,a=o/this.a,u=1,c=0,l=0,h=0;for(e=1;e<=6;e++)r=c*s+u*a,u=u*s-c*a,c=r,l=l+this.C_re[e]*u-this.C_im[e]*c,h=h+this.C_im[e]*u+this.C_re[e]*c;for(var f=0;f.999999999999&&(r=.999999999999),e=Math.asin(r);var n=kr(this.long0+t.x/(.900316316158*this.a*Math.cos(e)));n<-Math.PI&&(n=-Math.PI),n>Math.PI&&(n=Math.PI),r=(2*e+Math.sin(2*e))/Math.PI,Math.abs(r)>1&&(r=1);var i=Math.asin(r);return t.x=n,t.y=i,t},names:["Mollweide","moll"]};const Ki={init:function(){Math.abs(this.lat1+this.lat2)=0?(r=Math.sqrt(t.x*t.x+t.y*t.y),e=1):(r=-Math.sqrt(t.x*t.x+t.y*t.y),e=-1);var o=0;return 0!==r&&(o=Math.atan2(e*t.x,e*t.y)),this.sphere?(i=kr(this.long0+o/this.ns),n=Pi(this.g-r/this.a),t.x=i,t.y=n,t):(n=Ci(this.g-r/this.a,this.e0,this.e1,this.e2,this.e3),i=kr(this.long0+o/this.ns),t.x=i,t.y=n,t)},names:["Equidistant_Conic","eqdc"]};const Zi={init:function(){this.R=this.a},forward:function(t){var e,r,n=t.x,i=t.y,o=kr(n-this.long0);Math.abs(i)<=nr&&(e=this.x0+this.R*o,r=this.y0);var s=Gi(2*Math.abs(i/Math.PI));(Math.abs(o)<=nr||Math.abs(Math.abs(i)-Ze)<=nr)&&(e=this.x0,r=i>=0?this.y0+Math.PI*this.R*Math.tan(.5*s):this.y0+Math.PI*this.R*-Math.tan(.5*s));var a=.5*Math.abs(Math.PI/o-o/Math.PI),u=a*a,c=Math.sin(s),l=Math.cos(s),h=l/(c+l-1),f=h*h,p=h*(2/c-1),d=p*p,y=Math.PI*this.R*(a*(h-d)+Math.sqrt(u*(h-d)*(h-d)-(d+u)*(f-d)))/(d+u);o<0&&(y=-y),e=this.x0+y;var g=u+h;return y=Math.PI*this.R*(p*g-a*Math.sqrt((d+u)*(u+1)-g*g))/(d+u),r=i>=0?this.y0+y:this.y0-y,t.x=e,t.y=r,t},inverse:function(t){var e,r,n,i,o,s,a,u,c,l,h,f;return t.x-=this.x0,t.y-=this.y0,h=Math.PI*this.R,o=(n=t.x/h)*n+(i=t.y/h)*i,h=3*(i*i/(u=-2*(s=-Math.abs(i)*(1+o))+1+2*i*i+o*o)+(2*(a=s-2*i*i+n*n)*a*a/u/u/u-9*s*a/u/u)/27)/(c=(s-a*a/3/u)/u)/(l=2*Math.sqrt(-c/3)),Math.abs(h)>1&&(h=h>=0?1:-1),f=Math.acos(h)/3,r=t.y>=0?(-l*Math.cos(f+Math.PI/3)-a/3/u)*Math.PI:-(-l*Math.cos(f+Math.PI/3)-a/3/u)*Math.PI,e=Math.abs(n)2*Ze*this.a)return;return r=e/this.a,n=Math.sin(r),i=Math.cos(r),o=this.long0,Math.abs(e)<=nr?s=this.lat0:(s=Gi(i*this.sin_p12+t.y*n*this.cos_p12/e),a=Math.abs(this.lat0)-Ze,o=Math.abs(a)<=nr?this.lat0>=0?kr(this.long0+Math.atan2(t.x,-t.y)):kr(this.long0-Math.atan2(-t.x,t.y)):kr(this.long0+Math.atan2(t.x*n,e*this.cos_p12*i-t.y*this.sin_p12*n))),t.x=o,t.y=s,t}return u=Ni(this.es),c=Ai(this.es),l=Oi(this.es),h=Ti(this.es),Math.abs(this.sin_p12-1)<=nr?(s=Ci(((f=this.a*xi(u,c,l,h,Ze))-(e=Math.sqrt(t.x*t.x+t.y*t.y)))/this.a,u,c,l,h),o=kr(this.long0+Math.atan2(t.x,-1*t.y)),t.x=o,t.y=s,t):Math.abs(this.sin_p12+1)<=nr?(f=this.a*xi(u,c,l,h,Ze),s=Ci(((e=Math.sqrt(t.x*t.x+t.y*t.y))-f)/this.a,u,c,l,h),o=kr(this.long0+Math.atan2(t.x,t.y)),t.x=o,t.y=s,t):(e=Math.sqrt(t.x*t.x+t.y*t.y),y=Math.atan2(t.x,t.y),p=Ri(this.a,this.e,this.sin_p12),g=Math.cos(y),b=-(m=this.e*this.cos_p12*g)*m/(1-this.es),v=3*this.es*(1-b)*this.sin_p12*this.cos_p12*g/(1-this.es),_=1-b*(E=(w=e/p)-b*(1+b)*Math.pow(w,3)/6-v*(1+3*b)*Math.pow(w,4)/24)*E/2-w*E*E*E/6,d=Math.asin(this.sin_p12*Math.cos(E)+this.cos_p12*Math.sin(E)*g),o=kr(this.long0+Math.asin(Math.sin(y)*Math.sin(E)/Math.cos(d))),M=Math.sin(d),s=Math.atan2((M-this.es*_*this.sin_p12)*Math.tan(d),M*(1-this.es)),t.x=o,t.y=s,t)},names:["Azimuthal_Equidistant","aeqd"]};const eo={init:function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)},forward:function(t){var e,r,n,i,o,s,a,u=t.x,c=t.y;return n=kr(u-this.long0),e=Math.sin(c),r=Math.cos(c),i=Math.cos(n),((o=this.sin_p14*e+this.cos_p14*r*i)>0||Math.abs(o)<=nr)&&(s=1*this.a*r*Math.sin(n),a=this.y0+1*this.a*(this.cos_p14*e-this.sin_p14*r*i)),t.x=s,t.y=a,t},inverse:function(t){var e,r,n,i,o,s,a;return t.x-=this.x0,t.y-=this.y0,r=Gi((e=Math.sqrt(t.x*t.x+t.y*t.y))/this.a),n=Math.sin(r),i=Math.cos(r),s=this.long0,Math.abs(e)<=nr?(a=this.lat0,t.x=s,t.y=a,t):(a=Gi(i*this.sin_p14+t.y*n*this.cos_p14/e),o=Math.abs(this.lat0)-Ze,Math.abs(o)<=nr?(s=this.lat0>=0?kr(this.long0+Math.atan2(t.x,-t.y)):kr(this.long0-Math.atan2(-t.x,t.y)),t.x=s,t.y=a,t):(s=kr(this.long0+Math.atan2(t.x*n,e*this.cos_p14*i-t.y*this.sin_p14*n)),t.x=s,t.y=a,t))},names:["ortho"]};var ro=1,no=2,io=3,oo=4,so=5,ao=6,uo={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function co(t,e,r,n){var i;return tsr&&i<=Ze+sr?(n.value=uo.AREA_1,i-=Ze):i>Ze+sr||i<=-(Ze+sr)?(n.value=uo.AREA_2,i=i>=0?i-ur:i+ur):(n.value=uo.AREA_3,i+=Ze)),i}function lo(t,e){var r=t+e;return r<-ur?r+=ar:r>+ur&&(r-=ar),r}const ho={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=Ze-sr/2?this.face=so:this.lat0<=-(Ze-sr/2)?this.face=ao:Math.abs(this.long0)<=sr?this.face=ro:Math.abs(this.long0)<=Ze+sr?this.face=this.long0>0?no:oo:this.face=io,0!==this.es&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)},forward:function(t){var e,r,n,i,o,s,a={x:0,y:0},u={value:0};if(t.x-=this.long0,e=0!==this.es?Math.atan(this.one_minus_f_squared*Math.tan(t.y)):t.y,r=t.x,this.face===so)i=Ze-e,r>=sr&&r<=Ze+sr?(u.value=uo.AREA_0,n=r-Ze):r>Ze+sr||r<=-(Ze+sr)?(u.value=uo.AREA_1,n=r>0?r-ur:r+ur):r>-(Ze+sr)&&r<=-sr?(u.value=uo.AREA_2,n=r+Ze):(u.value=uo.AREA_3,n=r);else if(this.face===ao)i=Ze+e,r>=sr&&r<=Ze+sr?(u.value=uo.AREA_0,n=-r+Ze):r=-sr?(u.value=uo.AREA_1,n=-r):r<-sr&&r>=-(Ze+sr)?(u.value=uo.AREA_2,n=-r-Ze):(u.value=uo.AREA_3,n=r>0?-r+ur:-r-ur);else{var c,l,h,f,p,d;this.face===no?r=lo(r,+Ze):this.face===io?r=lo(r,+ur):this.face===oo&&(r=lo(r,-Ze)),f=Math.sin(e),p=Math.cos(e),d=Math.sin(r),c=p*Math.cos(r),l=p*d,h=f,this.face===ro?n=co(i=Math.acos(c),h,l,u):this.face===no?n=co(i=Math.acos(l),h,-c,u):this.face===io?n=co(i=Math.acos(-c),h,-l,u):this.face===oo?n=co(i=Math.acos(-l),h,c,u):(i=n=0,u.value=uo.AREA_0)}return s=Math.atan(12/ur*(n+Math.acos(Math.sin(n)*Math.cos(sr))-Ze)),o=Math.sqrt((1-Math.cos(i))/(Math.cos(s)*Math.cos(s))/(1-Math.cos(Math.atan(1/Math.cos(n))))),u.value===uo.AREA_1?s+=Ze:u.value===uo.AREA_2?s+=ur:u.value===uo.AREA_3&&(s+=1.5*ur),a.x=o*Math.cos(s),a.y=o*Math.sin(s),a.x=a.x*this.a+this.x0,a.y=a.y*this.a+this.y0,t.x=a.x,t.y=a.y,t},inverse:function(t){var e,r,n,i,o,s,a,u,c,l,h,f,p={lam:0,phi:0},d={value:0};if(t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,r=Math.atan(Math.sqrt(t.x*t.x+t.y*t.y)),e=Math.atan2(t.y,t.x),t.x>=0&&t.x>=Math.abs(t.y)?d.value=uo.AREA_0:t.y>=0&&t.y>=Math.abs(t.x)?(d.value=uo.AREA_1,e-=Ze):t.x<0&&-t.x>=Math.abs(t.y)?(d.value=uo.AREA_2,e=e<0?e+ur:e-ur):(d.value=uo.AREA_3,e+=Ze),c=ur/12*Math.tan(e),o=Math.sin(c)/(Math.cos(c)-1/Math.sqrt(2)),s=Math.atan(o),(a=1-(n=Math.cos(e))*n*(i=Math.tan(r))*i*(1-Math.cos(Math.atan(1/Math.cos(s)))))<-1?a=-1:a>1&&(a=1),this.face===so)u=Math.acos(a),p.phi=Ze-u,d.value===uo.AREA_0?p.lam=s+Ze:d.value===uo.AREA_1?p.lam=s<0?s+ur:s-ur:d.value===uo.AREA_2?p.lam=s-Ze:p.lam=s;else if(this.face===ao)u=Math.acos(a),p.phi=u-Ze,d.value===uo.AREA_0?p.lam=-s+Ze:d.value===uo.AREA_1?p.lam=-s:d.value===uo.AREA_2?p.lam=-s-Ze:p.lam=s<0?-s-ur:-s+ur;else{var y,g,m;c=(y=a)*y,g=(c+=(m=c>=1?0:Math.sqrt(1-c)*Math.sin(s))*m)>=1?0:Math.sqrt(1-c),d.value===uo.AREA_1?(c=g,g=-m,m=c):d.value===uo.AREA_2?(g=-g,m=-m):d.value===uo.AREA_3&&(c=g,g=m,m=-c),this.face===no?(c=y,y=-g,g=c):this.face===io?(y=-y,g=-g):this.face===oo&&(c=y,y=g,g=-c),p.phi=Math.acos(-m)-Ze,p.lam=Math.atan2(g,y),this.face===no?p.lam=lo(p.lam,-Ze):this.face===io?p.lam=lo(p.lam,-ur):this.face===oo&&(p.lam=lo(p.lam,+Ze))}return 0!==this.es&&(l=p.phi<0?1:0,h=Math.tan(p.phi),f=this.b/Math.sqrt(h*h+this.one_minus_f_squared),p.phi=Math.atan(Math.sqrt(this.a*this.a-f*f)/(this.one_minus_f*f)),l&&(p.phi=-p.phi)),p.lam+=this.long0,t.x=p.lam,t.y=p.phi,t},names:["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"]};var fo=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-9.86701e-7],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,1.8736e-8],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,9.34959e-7],[.7986,-.00755338,-500009e-10,9.35324e-7],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],po=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-1.26793e-9,4.22642e-10],[.124,.0124,5.07171e-9,-1.60604e-9],[.186,.0123999,-1.90189e-8,6.00152e-9],[.248,.0124002,7.10039e-8,-2.24e-8],[.31,.0123992,-2.64997e-7,8.35986e-8],[.372,.0124029,9.88983e-7,-3.11994e-7],[.434,.0123893,-369093e-11,-4.35621e-7],[.4958,.0123198,-102252e-10,-3.45523e-7],[.5571,.0121916,-154081e-10,-5.82288e-7],[.6176,.0119938,-241424e-10,-5.25327e-7],[.6769,.011713,-320223e-10,-5.16405e-7],[.7346,.0113541,-397684e-10,-6.09052e-7],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-1.40374e-9],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],yo=.8487,go=1.3523,mo=or/5,bo=1/mo,vo=18,wo=function(t,e){return t[0]+e*(t[1]+e*(t[2]+e*t[3]))};const Eo={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,this.es=0,this.title=this.title||"Robinson"},forward:function(t){var e=kr(t.x-this.long0),r=Math.abs(t.y),n=Math.floor(r*mo);n<0?n=0:n>=vo&&(n=17);var i={x:wo(fo[n],r=or*(r-bo*n))*e,y:wo(po[n],r)};return t.y<0&&(i.y=-i.y),i.x=i.x*this.a*yo+this.x0,i.y=i.y*this.a*go+this.y0,i},inverse:function(t){var e={x:(t.x-this.x0)/(this.a*yo),y:Math.abs(t.y-this.y0)/(this.a*go)};if(e.y>=1)e.x/=fo[18][0],e.y=t.y<0?-Ze:Ze;else{var r=Math.floor(e.y*vo);for(r<0?r=0:r>=vo&&(r=17);;)if(po[r][0]>e.y)--r;else{if(!(po[r+1][0]<=e.y))break;++r}var n=po[r],i=5*(e.y-n[0])/(po[r+1][0]-n[0]);i=function(t,e,r,n){for(var i=e;n;--n){var o=t(i);if(i-=o,Math.abs(o)1e10)throw new Error;if(this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,0!==this.es){var t=1-this.es,e=1/t;this.radius_p=Math.sqrt(t),this.radius_p2=t,this.radius_p_inv2=e,this.shape="ellipse"}else this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape="sphere";this.title||(this.title="Geostationary Satellite View")},forward:function(t){var e,r,n,i,o=t.x,s=t.y;if(o-=this.long0,"ellipse"===this.shape){s=Math.atan(this.radius_p2*Math.tan(s));var a=this.radius_p/li(this.radius_p*Math.cos(s),Math.sin(s));if(r=a*Math.cos(o)*Math.cos(s),n=a*Math.sin(o)*Math.cos(s),i=a*Math.sin(s),(this.radius_g-r)*r-n*n-i*i*this.radius_p_inv2<0)return t.x=Number.NaN,t.y=Number.NaN,t;e=this.radius_g-r,this.flip_axis?(t.x=this.radius_g_1*Math.atan(n/li(i,e)),t.y=this.radius_g_1*Math.atan(i/e)):(t.x=this.radius_g_1*Math.atan(n/e),t.y=this.radius_g_1*Math.atan(i/li(n,e)))}else"sphere"===this.shape&&(e=Math.cos(s),r=Math.cos(o)*e,n=Math.sin(o)*e,i=Math.sin(s),e=this.radius_g-r,this.flip_axis?(t.x=this.radius_g_1*Math.atan(n/li(i,e)),t.y=this.radius_g_1*Math.atan(i/e)):(t.x=this.radius_g_1*Math.atan(n/e),t.y=this.radius_g_1*Math.atan(i/li(n,e))));return t.x=t.x*this.a,t.y=t.y*this.a,t},inverse:function(t){var e,r,n,i,o=-1,s=0,a=0;if(t.x=t.x/this.a,t.y=t.y/this.a,"ellipse"===this.shape){this.flip_axis?(a=Math.tan(t.y/this.radius_g_1),s=Math.tan(t.x/this.radius_g_1)*li(1,a)):(s=Math.tan(t.x/this.radius_g_1),a=Math.tan(t.y/this.radius_g_1)*li(1,s));var u=a/this.radius_p;if(e=s*s+u*u+o*o,(n=(r=2*this.radius_g*o)*r-4*e*this.C)<0)return t.x=Number.NaN,t.y=Number.NaN,t;i=(-r-Math.sqrt(n))/(2*e),o=this.radius_g+i*o,s*=i,a*=i,t.x=Math.atan2(s,o),t.y=Math.atan(a*Math.cos(t.x)/o),t.y=Math.atan(this.radius_p_inv2*Math.tan(t.y))}else if("sphere"===this.shape){if(this.flip_axis?(a=Math.tan(t.y/this.radius_g_1),s=Math.tan(t.x/this.radius_g_1)*Math.sqrt(1+a*a)):(s=Math.tan(t.x/this.radius_g_1),a=Math.tan(t.y/this.radius_g_1)*Math.sqrt(1+s*s)),e=s*s+a*a+o*o,(n=(r=2*this.radius_g*o)*r-4*e*this.C)<0)return t.x=Number.NaN,t.y=Number.NaN,t;i=(-r-Math.sqrt(n))/(2*e),o=this.radius_g+i*o,s*=i,a*=i,t.x=Math.atan2(s,o),t.y=Math.atan(a*Math.cos(t.x)/o)}return t.x=t.x+this.long0,t},names:["Geostationary Satellite View","Geostationary_Satellite","geos"]};Sn.defaultDatum="WGS84",Sn.Proj=un,Sn.WGS84=new Sn.Proj("WGS84"),Sn.Point=zn,Sn.toPoint=bn,Sn.defs=Tr,Sn.nadgrid=function(t,e){var r=new DataView(e),n=function(t){var e=t.getInt32(8,!1);if(11===e)return!1;e=t.getInt32(8,!0),11!==e&&Kr.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian");return!0}(r),i=function(t,e){return{nFields:t.getInt32(8,e),nSubgridFields:t.getInt32(24,e),nSubgrids:t.getInt32(40,e),shiftType:rn(t,56,64).trim(),fromSemiMajorAxis:t.getFloat64(120,e),fromSemiMinorAxis:t.getFloat64(136,e),toSemiMajorAxis:t.getFloat64(152,e),toSemiMinorAxis:t.getFloat64(168,e)}}(r,n);i.nSubgrids>1&&Kr.log("Only single NTv2 subgrids are currently supported, subsequent sub grids are ignored");var o=function(t,e,r){for(var n=176,i=[],o=0;o